[JBoss JIRA] Moved: (RF-3282) jsFunction defined inside the datatable has last "var" value
by Ilya Shaikovsky (JIRA)
[ http://jira.jboss.com/jira/browse/RF-3282?page=all ]
Ilya Shaikovsky moved AJSF-137 to RF-3282:
------------------------------------------
Project: RichFaces (was: Ajax4jsf)
Key: RF-3282 (was: AJSF-137)
Fix Version/s: 3.1.4
(was: 3.1.0)
Affects Version/s: (was: 3.1.0)
> jsFunction defined inside the datatable has last "var" value
> ------------------------------------------------------------
>
> Key: RF-3282
> URL: http://jira.jboss.com/jira/browse/RF-3282
> Project: RichFaces
> Issue Type: Bug
> Reporter: Tomislav Tkal?evi?
> Fix For: 3.1.4
>
>
> When using jsFunction inside a datatable(inside a rich:column),
> Code:
> <r:dataTable var="v" value="#{myBean.list}" ...
>
> and that jsFunction has some method like:
> Code:
> <a:jsFunction eventsQueue="red"
> name="js_AddAction" action="#{myBean.process(v)}" />
>
> If some element calls that jsFunction on his event,
> Code:
> <t:inputText value="#{v.property}" onkeypress="js_AddAction();"/>
>
> value of the var inside the jsFunction action attribute (if that jsFunction is defined inside the datatable)
> is always the last value of the var in the datatable,not the current value
> of that var.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months
[JBoss JIRA] Updated: (RF-3282) jsFunction defined inside the datatable has last "var" value
by Ilya Shaikovsky (JIRA)
[ http://jira.jboss.com/jira/browse/RF-3282?page=all ]
Ilya Shaikovsky updated RF-3282:
--------------------------------
Fix Version/s: (was: 3.1.4)
Affects Version/s: 3.1.4
> jsFunction defined inside the datatable has last "var" value
> ------------------------------------------------------------
>
> Key: RF-3282
> URL: http://jira.jboss.com/jira/browse/RF-3282
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.4
> Reporter: Tomislav Tkal?evi?
>
> When using jsFunction inside a datatable(inside a rich:column),
> Code:
> <r:dataTable var="v" value="#{myBean.list}" ...
>
> and that jsFunction has some method like:
> Code:
> <a:jsFunction eventsQueue="red"
> name="js_AddAction" action="#{myBean.process(v)}" />
>
> If some element calls that jsFunction on his event,
> Code:
> <t:inputText value="#{v.property}" onkeypress="js_AddAction();"/>
>
> value of the var inside the jsFunction action attribute (if that jsFunction is defined inside the datatable)
> is always the last value of the var in the datatable,not the current value
> of that var.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months
[JBoss JIRA] Updated: (RF-764) rich:message: FuncSpec-RF-M-CL-015-1.0. The result is not that expected
by Nick Belaevski (JIRA)
[ http://jira.jboss.com/jira/browse/RF-764?page=all ]
Nick Belaevski updated RF-764:
------------------------------
Fix Version/s: 3.2.2
(was: 3.2.1)
> rich:message: FuncSpec-RF-M-CL-015-1.0. The result is not that expected
> -----------------------------------------------------------------------
>
> Key: RF-764
> URL: http://jira.jboss.com/jira/browse/RF-764
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.0
> Environment: richfaces-demo
> Reporter: Sergey Smirnov
> Assigned To: Nick Belaevski
> Fix For: 3.2.2
>
>
> FuncSpec-RF-M-CL-015-1.0 passed state rendering
> Message should not show "passed" state in case of initial rendering. Any state of message should be shown only after some submit occurs (after some validation).
> The current version does not work like this. The "passed" facet is shown event the field is not validated.
> Example:
> <h:form>
> <h:panelGrid columns="3">
> <h:outputText value="Name:" />
> <h:inputText label="Name" id="name" required="true" value="#{userBean.name}">
> <a4j:support event="onblur" ajaxSingle="true" />
> </h:inputText>
> <rich:message for="name">
> <f:facet name="passedMarker">
> <h:outputText value="V" />
> </f:facet>
> <f:facet name="errorMarker">
> <h:outputText value="X" />
> </f:facet>
> </rich:message>
>
> <h:outputText value="Job:" />
> <h:inputText label="Job" id="job" required="true" value="#{userBean.job}">
> <a4j:support event="onblur" ajaxSingle="true"/>
> </h:inputText>
> <rich:message for="job">
> <f:facet name="passedMarker">
> <h:outputText value="V" />
> </f:facet>
> <f:facet name="errorMarker">
> <h:outputText value="X" />
> </f:facet>
> </rich:message>
>
> <h:outputText value="Address:" />
> <h:inputText label="Address" id="address" required="true" value="#{userBean.address}">
> <a4j:support event="onblur" ajaxSingle="true"/>
> </h:inputText>
> <rich:message for="address">
> <f:facet name="passedMarker">
> <h:outputText value="V" />
> </f:facet>
> <f:facet name="errorMarker">
> <h:outputText value="X" />
> </f:facet>
> </rich:message>
>
> </h:panelGrid>
> </h:form>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months