Monday, July 9, 2007

Twill Tips -Form

Although we may use Form#, for instance "2" in the fv to update item value, it will be unpredictable if the form order or the number the form is different based on dynamic content, it will be hard to select the right form# for fv function. the good news is that we can use form name rather than form # in fv to specify which form we want to update.

Form name=editPage (#2)
## ## __Name__________________ __Type___ __ID________ __Value__________________
1 cancelURL hidden cancelURL /home/home.jsp
2 retURL hidden retURL /home/home.jsp

fv("editPage", "p19", "12")

No comments: