>
>>>>>>Ok... so far so good. It´s not problem to visualize the information.
But
>>>>>>I
>>>>>>want to update the whole Object at once. So I´ve make a form in the
>>>>>>Containercomponent and in the Form-T
Tapestry uses for validation the ValidationDelegate - I would recomment
you stick to it, it will make your life much easier, and it is one of
tapestry's most powerfull features:
You can use validators on each of your fields, and that doesn't mean
they have to be preconfigured - you can use a d
de is needed... just ask.
>>>>Thx u... and have a nice WE.
>>>>
>>>>
>>>>Here Some Example Code:
>>>>ContainerComponent.html
>>>>
>>>> >>>value="ognl:ListItem" index="ognl:ListIndex">
If I get this right, there is some kind of iteration over objects inside
the form component.
When the form is submitted, the iteration will be performed again, this
one updating the values.
then you add an "action" binding to the submit, and persist the whole
list of obejcts which were updated:
> value="ognl:ListItem" index="ognl:ListIndex">
>>
>> > editable="true"/>
>>
>>
>> > editable="true"/>
>>
>> ...
There are some approaches to that problem, one approach would be to use
the parameter binding for that:
The component gets a paraemter from its container, and is responsible to
update the parameter.
Say you have a property on your page/container component:
public Data getData() {...}
public
me Example Code:
ContainerComponent.html
...
Der Inhalt halt...
--
View this message in context:
http://www.nabble.com/Dynamic-Working-with-Tapestry...-tf2697699.html#a7523697
Sent from the Tapestry -