Hi,
I have the following code and two out of three are working.
Both the 'Starting...' and 'Stopped...' are working, but the new java.util.Date() is not.Code:<view-state id="view"> <transition on="poll"> <set name="requestScope.message" value="new java.util.Date()" /> </transition> <transition on="start"> <set name="requestScope.message" value="'Starting...'" /> </transition> <transition on="stop"> <set name="requestScope.message" value="'Stopped...'" /> </transition> </view-state>
The software is deployed with PrimeFaces 3.4 | PrimeFaces Theme 1.0.8 | Mojarra 2.1.13 | Spring Web Flow 2.3.1RELEASE | Spring Framework + Security 3.1.2RELEASE | WebLogic 10.3.4.
The response for the java.util.Date() version is simply:
For the others it is:Code:<?xml version='1.0' encoding='UTF-8'?> <partial-response><changes><update id="j_idt11:content"><![CDATA[<div id="j_idt11:content" class="notice"><label for="j_idt11:message" class="large"> Current Time: </label> <hr /><span id="j_idt11:message" class="large alt"></span></div>]]></update><update id="javax.faces.ViewState"><![CDATA[e1s1]]></update></changes></partial-response>
Does anyone know if there is something that I need to enable to prevent some kind of filtering of these values?Code:<?xml version='1.0' encoding='UTF-8'?> <partial-response><changes><update id="j_idt11:content"><![CDATA[<div id="j_idt11:content" class="notice"><label for="j_idt11:message" class="large"> Current Time: </label> <hr /><span id="j_idt11:message" class="large alt">Stopped...</span></div>]]></update><update id="javax.faces.ViewState"><![CDATA[e1s1]]></update></changes></partial-response>
Thanks,
Stuart


Reply With Quote
