I have created addRows & delete rows using ajax -direct link using tacos, its
working fine
But still I have a doubt, it will work only when my contactList is stored in
session (@Persist)
i.e during rewind process it will check the values in the hidden fields with
that of the elements
in the con
Actually i remember thinking (or reading about) yet another way..
Make the loop have 10 more rows, and render them hidden (display:none)
Then, the js can make them visible on demand.
Robert Zeigler wrote:
> One other way to do this is to have a (tapestry component) hidden form
> field (make sur
yet another option on similar lines is to have display=none for a bunch of
fields that are actually there in your HTML form and rendered via tapestry,
but show up only when the user clicks on the button to add a row. ( of
course that would mean that you cannot support "infinite" adds! )
On 12/14/
One other way to do this is to have a (tapestry component) hidden form
field (make sure "raw" is set to true). Then when you submit, you can
use js to save the information from the js-added form fields into your
hidden field, and parse it server-side. It would be much more /elegant
/to have th
yep, there's no nice Tapestry way in what you're trying to do, esp.
if you're trying to *avoid ajax*.
Incidentally, this was the most interesting question i got asked while
presenting
Tapestry in out local JUG. It got me thinking of adding a few js helper
functions
that would know how to add new f
also you can consider using Tacos if you're wed to tapestry 4.0.x
On 12/14/06, Ron Piterman <[EMAIL PROTECTED]> wrote:
Tapestry traces the rendered components and uses this info on rewind -
its better not to temper with that.
If you need JS magic, try using T41 - using Ajax this should be
possi
Tapestry traces the rendered components and uses this info on rewind -
its better not to temper with that.
If you need JS magic, try using T41 - using Ajax this should be
possible, though only straight-forward for jesse and other enlightend
developers :)
Cheers,
Ron
Jiju Mathew wrote:
Hi All