Questions tagged [requestcontext]
93 questions
0
votes
1 answer
How do you do Auth with AuthenticationFilter and RequestContext?
We're building a GWT+hibernate+spring web app that's deployed to tomcat and postgres. Looking at http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ and http://www.owasp.org/index.php/Hashing_Java#Complete_Java_Sample, We…

anjanb
- 12,999
- 18
- 77
- 106
0
votes
2 answers
RequestContext sends response but the page doesn't change
I have a JSF page, with some components rendered if a certain value is selected in SelectOneMenu. For that I change their rendered value and call RequestContext.getCurrentInstance().update("@form").
From the client point of view, whenever I select…

SMSk
- 693
- 8
- 25
0
votes
1 answer
Synchronous dialog invocation from managed bean
Is there a way to use PrimeFaces RequestContext to call a dialog defined in the JSF from a managed bean, which has a form, but synchronously, meaning that the managed bean wait its thread execution until the user submits the form?
Currently, I am…

amphibient
- 29,770
- 54
- 146
- 240
0
votes
0 answers
disable close button in a dialog opened from backingbean (primefaces)
there is a bug when opening dialog from ManagedBean with:
requestcontext.getcurrentInstance().opendialog("mydialog",map,null).
I set closable to false in the map as:
map.put(“closable”, false);
but the button close[X] appears in dialog.
I also…

iem
- 93
- 1
- 1
- 11
0
votes
0 answers
Not able to update "growl" in template from Backing bean
I have a template file which contains primefaces growl component. I am using this template in another index.xhtml file. Now I am trying to add a FacesMessage from backing bean in @postconstruct function. However my index.xhtml file is not showing…

Ankit
- 1,075
- 1
- 8
- 19
0
votes
1 answer
requestContext update/execute... doesn't work when is present
I have a portlet deployed in liferay 6.2 (Tomcat 7.0.42).
I use Primefaces 4 and liferay bridge 3.2.4-ga5.
I am aware of this post:
RequestContext won't work
But I have a strange problem here:
Primefaces doesn't work without the h:head tags, but…

Daniel
- 117
- 1
- 11
0
votes
2 answers
RequestContext won't work
I am having trouble to update the view from the bean in the back using PrimeFaces's RequestContext. In the example below I have a button and 2 panels. When pressing the button, I want to update one panel, but not the other one.
It does not work…

Socrates
- 8,724
- 25
- 66
- 113
0
votes
2 answers
InvalidDataAccessApiUsageException: No thread-bound request found:
I am trying to run a function using @Scheduled annotation.
Which in turns, call a repository save. But saving is failing with InvalidDataAccessApiUsageException. Posting my stack trace.
org.springframework.dao.InvalidDataAccessApiUsageException: No…

Benoy Prakash
- 436
- 5
- 17
0
votes
1 answer
Primefaces: Ajax update with RequestContext running only once
I have a component on my view which i want to update from my bean.
It works only once. If i press the second button nothing happen, but the bean method in the actionlistener was called.
I checked the browser log with firebug and have no errors or…

nik the lion
- 458
- 1
- 9
- 22
0
votes
0 answers
RequestContext.getCurrentinstance().create("path for dialog") and destroy this dialog again doesnt work
I've tried to create a dialog from my Backing-Bean with the following code:
Map options = new HashMap();
options.put("modal", true);
options.put("draggable", true);
options.put("resizable",…

iNvAsIoN
- 27
- 6
0
votes
3 answers
GWT RequestFactory: Send changes twice
I need your help with the gwt requestfactory
considering following scenario:
I get an existing entity (let's say a invoice) from the server:
InvoiceEntityProxy invoice = request1.getInvoice();
I want to make some changes, so I edit it with a new…

user1215985
- 11
- 3
0
votes
0 answers
Django RequestContext not available
I can't get RequestContext to work:
Traceback:
File "/Users/Admin/myapp/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
111. response = callback(request, *callback_args, **callback_kwargs)
File…

Nick B
- 9,267
- 17
- 64
- 105
0
votes
1 answer
The method openDialog(String) is undefined for the type RequestContext
I would like to open programmatically.
I tried this code which I found in the DialogBean example of PrimeFaces showcase:
RequestContext.getCurrentInstance().openDialog("viewCars");
However, it caused a compile error:
The method…

Ashish Bansal
- 904
- 1
- 9
- 11
0
votes
0 answers
WCF, The requestContext has been aborted
we had a wcf service and send lots of data for calculation.the code is standardized.
wsHttpBinding is used as communication protocal, and reliable session is enbaled.
The exception is occured occasionally. I catched the trace and got the exception…

Cloud
- 1
0
votes
1 answer
How to implement a custom global login / logout feature in django
I am trying to implement a custom login / logout feature. My requirements are a little different than the in-built django log-in feature.
So, I have to implement this feature in a way where I can just put a value 0 / 1 in the database to check if…

First Blood
- 235
- 1
- 7
- 21