Check this setting. It is should looks like this:
<webflow:flow-builder-services id="flowBuilderServices" expression-parser="myExpressionParser" />
Type: Posts; User: Hedin; Keyword(s):
Check this setting. It is should looks like this:
<webflow:flow-builder-services id="flowBuilderServices" expression-parser="myExpressionParser" />
We are also get this exception in our program. The reproducing is simple - if you have executing two (or more) ajax requests and one of it is processed for more than 30 second (this can be in the...
RequestContextHolder.getRequestContext().getMessageContext()
You can use SWF message system - it's will be shown by messages tag.
The application map is stored in the ServletContext. Quote from WebLogic documentation:
http://edocs.bea.com/wls/docs92/webapp/sessions.html#wp150448
...but SWF 2.0.6 have another issue with <rich:messages> from richfaces 3.3.0: http://jira.springframework.org/browse/SWF-1073
Example for integration flow "render fragments" with RichFaces:
Flow:
<render fragments=":clientForm:field" />
faces-config.xml:
Try to clear browser cache. In our project, after switching from 3.2.2 to 3.3.0 there was JavaScript errors because of browser caching old scripts. After hitting refresh in IE (F5) - errors are...
Here is a snip from the implementation of render tag (class org.springframework.webflow.action.RenderAction):
context.getFlashScope().put(View.RENDER_FRAGMENTS_ATTRIBUTE, fragments);
As...
In my experience, using more than one AJAX framework in one application - it's a definitely a wrong way. We have tried to use RichFaces together with Trinidad - is was nightmare... After certain...
A simple <set name="var" value="true"/> works fine for me (using jboss-el).
It's because if you are not have any modalPanel in your page - richfaces didn't include modal panel support script. To avoid this you can include dummy panel in modalDialogSupport.xhtml:
...
If Spring Faces popup dialog appears, then you must be using sf:commandButton component - in this case there is spring ajax request issued. For RichFaces ajax you must use a4j:commandButton instead....
Problem is here:
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
Bind this filter to the spring servlet instead.
This code is works for me:
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
...
Facelets didn't use *.tld files. It is use it own format - *.taglib.xml files. JSTL support is coded inside Facelets:
...
Quote from reference:
If this doesn't work, then this is definitely a bug. ;)
This code is works for me:
<view-state id="stateId"...>
<on-entry>
<set name="externalContext.requestMap.targetView" value="'_new'"/>
</on-entry>
</view-state>
I would not give up so easily. :-)
In ExternalContext there is exists more properties to try: sessionMap, globalSessionMap, applicationMap, nativeContext, nativeRequest...
If none of them...
Well, looks like RequestContext isn't alive at that point. You can try to pass parameters from flow by setting data in HttpServletRequest throught use requestParameters or externalContext variables:...
Did you try RequestContextHolder.getRequestContext()?
We use facelets 1.1.14 and don't have any problem with PhaseListener's. All is needed - is just register them in faces-config.xml. If you need access to the flow context - invoke...
You can use JSF capability (PhaseListener for instance) to execute code at the specified moment of the JSF lifecycle.
I just want to share my experience of RichFaces modal dialog support without using Spring JS. Steps to introduce such support into your program (with facelets):
1) Request for popup from server:
...
Hello All!
:idea:
I just want to share the code, that allow using JDK 5 annotations for declarative transactions.
Transacted.java:
package spring.transaction;