Questions tagged [remotecommand]

64 questions
55
votes
7 answers

Pass parameter to p:remoteCommand from JavaScript

I want to pass value to remoteCommand from javascript. If this is possible, how can I do that and how can I receive them in the backing bean?
Rajat Gupta
  • 25,853
  • 63
  • 179
  • 294
4
votes
1 answer

Cannot use powershell to remotely start WCFapplication (System.ServiceModel)

I have a c# app using System.ServiceModel.dll. I can run the app locally, but when I try to use Power Shell to run it remotely, it hang: Here is the simple code to recreate the problem: using System; using System.ServiceModel; using…
SherryRuan
  • 79
  • 3
4
votes
1 answer

Using a p:remoteCommand to update a p:dataTable

Given the following XHTML code that has one and a having only two columns.
Tiny
  • 27,221
  • 105
  • 339
  • 599
3
votes
1 answer

p:remoteCommand inside iterating component like p:dataTable only works for last row

i was trying to print the value entered in the inputText but it only shows 0 except for the last row it shows the right value! here's a minimal code (i didn't include all the fields and the…
Amine Maalfi
  • 145
  • 9
3
votes
0 answers

MPRemoteCommandCenter Command handlers are not getting executed on remote signals

The following is the code where I am initialising shared instance of MPRemoteCommandCenter. UIApplication.sharedApplication().beginReceivingRemoteControlEvents() MPRemoteCommandCenter.sharedCommandCenter().playCommand.enabled = true …
3
votes
0 answers

Passing an own Object as a parameter to RemoteCommand

We are trying to pass an object of our own as a parameter to Primefaces' remotecommand. We used the following example from: http://www.primefaces.org/showcase-ext/sections/remoteCommand/methodParam.jsf
Lewis
  • 225
  • 1
  • 6
  • 18
3
votes
2 answers

Primeface´s remoteCommand - there is a way to execute once?

Primefaces 3.5 JSF 2.1 I´m using p:remoteCommand to execute async commands and update my view after page loading but looks that in the ends of each iteration it execute again and so on... Is this behaviour correct? How to execute only once the…
andolffer.joseph
  • 613
  • 2
  • 10
  • 24
3
votes
1 answer

p:remoteCommand destroys @ViewScoped managed bean

I am having trouble adding a p:remoteCommand to a form. It looks something like:
Jürgen Simon
  • 876
  • 1
  • 12
  • 35
2
votes
0 answers

rsync over ssh triggers a "Cannot execute command-line and remote command" error

I want to copy files using rsync over ssh, but a "Cannot execute command-line and remote command." is raised, meanwhile it works fine with scp. Command : rsync -ravh folder XXX:folder My ssh config is configured as follows : Host XXX Hostname YY …
2
votes
1 answer

Katalon CLI Command Remote Execution Error

I am trying to run the CLI command generated by Katalon Remotely. But I am getting an error for it. Command - winrs -r: D:\Katalon_Studio_Windows_64-5.4.2\katalon -noSplash -runMode=console -projectPath="D:\Automation\QaAutomation.prj"…
2
votes
1 answer

PowerShell to Get local user membership remotely

Need some help here. I need to get the local user list of a remote computer and what group they belong to using PowerShell script. I tried: Get-LocalUser Get-LocalGroup Get-LocalGroupMember Also: gwmi win32_UserAccount gwmi win32_group but it is…
2
votes
0 answers

Why does the control button disable on lock screen and command center when playing Music?

Why dos the control button disable on lock screen and command center when playing Music? I use MPRemoteCommandCenter to control the access via remote. Please help me,tx very much. Btw The app was not killed. I add admob SDK as my app Interstitial…
Leo
  • 21
  • 2
2
votes
0 answers

remoteCommand is not updating JSF component properly

We have a large application developed with JavaEE (primefaces, wildfly, Websocket). The idea behind the important functionality of our application is that if two or more users are online at same time then they can see each others status. e.g. If…
Tahir
  • 29
  • 3
2
votes
0 answers

Switching User , SSH'ing into remote machine and executing command on one line. ('unknown': unknown terminal type.)

This command use to work on RHEL5.8, however since we upgraded to 6.5 (bash version 4.1.2) it started outputting the following: 'unknown': unknown terminal type. sudo su - *user* -c "ssh *remoteserver* 'sudo /etc/init.d/server1.sh…
Motorahead
  • 75
  • 1
  • 6
2
votes
2 answers

Primefaces RemoteCommand time lag when calling bean

I have performance problem with RemoteCommand caling bean method time lag. Using primefaces 4.0, our xhtml page, at runtime loads significant amount of divs into panel Some SelectOneRadio…
zivc
  • 21
  • 1
  • 2
1
2 3 4 5