The only problem I could see with this is if you have more then one form on the page. What would happen then, and how would you tell the delegates apart?
-Nick On 7/12/05, Andy Chu <[EMAIL PROTECTED]> wrote: > Yes, I agree with Kent's opinion. We usually encapsulate a form in a > component rather than a page. > "page.beans.delegate" should be a more flexible approach. > > Andy > > On 7/12/05, Kent Tong <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > Is there any reason why the default validation delegate of a Form is > > "bean:defaultDelegate", ie, a bean in the Form itself. This makes it > > quite difficult to get this delegate from the other components (eg, > > when showing the errors). I think it is better to set the default to > > "ognl:page.beans.delegate". Any idea? > > > > -- > > Author of e-book for learning Tapestry > > (www.agileskills2.org/EWDT<http://www.agileskills2.org/EWDT> > > ) > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > 我是天空裡的一片雲 > 偶爾投影在妳的波心 > > ----偶然.徐志摩 >
