TP4 project on a 1.4 VM. Cannot reproduce the behavior of DirectLink
tutorial without @Persist annotation. My code:
.java
public abstract void setErrorMessage(String message);
public abstract String getErrorMessage();
in .page
<property name="errorMessage" persist="session"/>
in .html
<span jwcid="[EMAIL PROTECTED]" value="ognl:errorMessage"/>
I have a DirectLink, like in the tutorial:
<a href="#" jwcid="[EMAIL PROTECTED]" listener="listener:refresh"
parameters="Errors!!!">refresh error message</a>
and of course #refresh method calls a #setErrorMessage with a string
parameter
Nothing is refreshed. I also have a doSubmit method, in response to a
submit button, that return the same page with a new error message, and
no refresh even in that case.
What is missing?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]