Hi, I'm using tapestry 4.0. I have some different behavior:

on the page Result page I have html code:
<span jwcid="@Insert" value="ognl:userName">
Before redirect to the Result page I'm doing :
        IPage result  = getResultPage();
        PropertyUtils.write(myWCadPage, "userName", "Peter Smith");
        return result;
After this I was redirected to result page I had seen "Peter Smith". But on result page I have form component, so when I clicked some button on the form my form is redirected to itself and this label "Peter Smith" is cleared. I suppose that it's cause because property "userName" is cleared. My question is how I can take care about storing this property from one submit to another on the Result page. What should I do.

Here server-side code of the page:
public abstract class MyResult extends BasePage {
    public abstract Date getCreationDateForSearch();
    public abstract String getUserName();
    public abstract String getLastLogined();

    public void onSearch() {

    }
}


Thanks,
Yura Tkachenko.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to