shale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jialing (JIRA)" <>
Subject [jira] Created: (SHALE-315) Token Improvement
Date Wed, 18 Oct 2006 13:29:25 GMT
Token Improvement

                 Key: SHALE-315
             Project: Shale
          Issue Type: Improvement
          Components: Core
    Affects Versions: 1.0.3
         Environment: Any
            Reporter: jialing
            Priority: Critical

<h:form id="form1">
   <h:inputText value="#{}" id="selectedDate"/>
   <h:commandButton actionListener="#{bean.query}" id="Button1" value="Query"/>

<h:form id="form2">
   <h:dataTable var="item" value="#{bean.rows}"/>
   <h:commandButton actionListener="#{bean.create}"  id="Button2" value="Create"/>

Button1 do query, get a result(10 rows max), then user can select rows in the dataTable, then
click "create " to submit.
form2 contains token component, the first time it works OK, but  the Next time it will get
failed(because the token value has not changed).

Can I reset token value in a view controller in a action listener(or submit ) method?

my solution:
 wirte a backing bean contains token component, and remove its token value attribute to let
it generate new token value

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message