On Wed, 2002-06-26 at 03:11, Barbara Post wrote:
Well, this scriplet does not work, it throws an error
(com.sun.tools.javac.Main deprecated), because the name attribute is not
set.
So here we go : what is the name of the current bean using nested tags ?
ahem.
nested:root
%-- here
Hello, I have a bean whose properties are used in a series of nested: ...
/ tag.
I also want to have an image whose source is defined by the same bean I am
using properties of. I am doing something wrong (get the nesting level...?).
I started from keyboardmonkey example so follow its structure
!-- here nesting will build menu --
nested:root
nested:nest property=buildMenu
jsp:include page=buildmenu.jsp /
/nested:nest
/nested:root
jsp:include page=footer.jsp flush=true/
m... recursive nesting through includes, cutting edge :)
nested:equal
Thanks Arron, I was wondering about scriptlet but you're right a programmer
has to be flexible in mind and pragmatic indeed ;-)
Well, maybe the img / image tag could be enhanced LOL. Just kidding.
Babs
- Original Message -
The embedding of the nested:write tag inside the nested:image
Well, this scriplet does not work, it throws an error
(com.sun.tools.javac.Main deprecated), because the name attribute is not
set.
So here we go : what is the name of the current bean using nested tags ?
ahem.
nested:root
%-- here the right image, use scriptlet since one cannot do else --%
5 matches
Mail list logo