Hello John, Wednesday, January 16, 2002, 1:02:09 PM, you wrote:
JY> Oleg, JY> The nested tag extension, which I find useful of its own right, solves a JY> completely different problem. JY> <nested:nest> helps where you have nested properties. The tag I'm proposing JY> is simply prefixing an bean name, not property, with a prefix. JY> -- JY> John Hm.. May be it is useful, can you post a code of this tag to the list? JY> At 12:21 pm 16-01-2002 +0300, you wrote: >>Hello John, >> >>Take a look to the nested tags - >> >>www.keyboardmonkey.com/struts >> >>Wednesday, January 16, 2002, 10:12:13 AM, you wrote: >> >>JY> Problem: >> >>JY> The 'session' and the 'request' are "global" pools. There is a need to >>JY> manage the namespace of the attributes stored in these pools. In >>JY> particular, when the developers use more of Tiles to componentize the >>JY> software, there is a need to avoid name clash between the including and >>JY> included pages. >> >>JY> Proposal: >> >>JY> Introduce a <bean:prefix prefix="myPrefix"> tag. >> >>JY> Usage: >> >>JY> <bean:prefix prefix="myPrefix"> >>JY> <bean:write name="person" property="name"/> >>JY> <bean:write name="account" property="balance"/> >>JY> </bean:prefix> >> >>JY> is equivalent to >> >>JY> <bean:write name="myPrefix.person" property="name"/> >>JY> <bean:write name="myPrefix.account" property="balance"/> >> >>JY> If people think it's useful, I'll do the code and submit the patch. >> >>JY> p.s. Open question: The same mechanism can apply to <html:*> taglibs as >>JY> well. If so, where should this <?:prefix> live? >> >> >> >> >>-- >>Best regards, >> Oleg mailto:[EMAIL PROTECTED] >> >> >> >>-- >>To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Best regards, Oleg mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>