-
1. Re: Dynamically output text value without server round trip?
boy18nj Aug 10, 2010 5:16 PM (in response to boy18nj)Even this is not working-
<s:decorate template="/fields/filter.xhtml"> <ui:define name="label">Acctg Update Date From</ui:define> <rich:calendar id="fromDate" value="#{acctgGltransList.fromDate}" datePattern="MM/dd/yyyy" required="true" requiredMessage="Please enter Acctg Update Date From"> <a:support event="" reRender="oninputclick"/> </rich:calendar> </s:decorate> <s:decorate id="acctgAcctIdField" template="/platform/fields/edit.xhtml"> <h:outputText id="transDate" value="#{acctgGltransList.fromDate}"/> </s:decorate>
On changing the date's either thru mouse or keyboard it won't update the outputText field.
Looks like bug?
-
2. Re: Dynamically output text value without server round trip?
ilya_shaikovsky Aug 11, 2010 8:04 AM (in response to boy18nj)use first snippet but remove
bypassUpdates="true"
P.S. but it's not a "without server round trip" as ajax request - works the same as standard post but withoutfull page update.
-
3. Re: Dynamically output text value without server round trip?
boy18nj Aug 11, 2010 11:07 AM (in response to ilya_shaikovsky)Still it won't work. I receive the following error in my I.E.8
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.5; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; MS-RTC LM 8; .NET CLR 3.5.21022; InfoPath.2)
Timestamp: Wed, 11 Aug 2010 14:56:55 UTC
Message: Object doesn't support this property or method
Line: 2583
Char: 12
Code: 0
URI: http://localhost:8080/ExampleWeb/a4j/g/3_2_2.GA/org/ajax4jsf/framework.pack.js