You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Terry <te...@meta-concepts.com> on 2007/03/03 02:35:31 UTC
BeanEditForm
Going forwards, is the plan to try and default the max length values of the
input fields to the maxlength validation annotation on the model?
Is there a way to clear the form if it is set in the ApplicationState?
Can you get hold of the IP address of the client through the request object
somehow?
Will I ever run out of stupid questions?
;)
Terry
--
View this message in context: http://www.nabble.com/BeanEditForm-tf3337016.html#a9280833
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: BeanEditForm
Posted by Howard Lewis Ship <hl...@gmail.com>.
On 3/2/07, Terry <te...@meta-concepts.com> wrote:
>
> Going forwards, is the plan to try and default the max length values of the
> input fields to the maxlength validation annotation on the model?
I'm thinking about how to handle this in the best way; it'll probably
end up being yet another annotation ... the trick is that when the
EJB3/Hibernate support comes it, there will be an annotation there to
be used, so I need to build something that can be tuned a bit.
>
> Is there a way to clear the form if it is set in the ApplicationState?
_myAso = null;
_form.clearErrors();
The ASO will be re-created (empty) and any tracked errors or input in
the Form will be discarded.
>
> Can you get hold of the IP address of the client through the request object
> somehow?
Not yet, but there's a but about that. Just get the HttpServletRequest
from the RequestGlobals service for now.
>
> Will I ever run out of stupid questions?
>
> ;)
>
> Terry
> --
> View this message in context: http://www.nabble.com/BeanEditForm-tf3337016.html#a9280833
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org