On 9/28/2009 3:24 PM, Kalle Korhonen wrote:
I would look into using a BeanEditForm and making a BeanModel with all
synthetic properties based on your XML configuration. If you have a
definite set of parameter types and you can map each into some field
type, then you should be able to do it. See
http://tapestry.apache.org/tapestry5/guide/beaneditform.html

Slick!

To make sure I understand...use the BeanModel methods like add to add the parameters I need?

It looks like I'd go down the chain and end up using PropertyConduits to read and set the values...

Yes, I would make a set of parameter types...things like numeric IP address, stuff like that.

That's cool...

On 9/28/2009 3:34 PM, Christian Riedel wrote:
> Hi Kevin,
>
> I think you could also use AjaxFormLoop:
> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/AjaxFormLoop.html

I looked at AjaxFormLoop from the Jumpstart page. I thought it would work at first, but then I realized I'd still have the problem where each row could need a different validator at a given column. I wasn't sure if it could handle that or not.

Thanks,

Kevin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to