You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ZT...@za.safmarine.com on 2003/07/22 20:51:19 UTC

/ /OREF:CPT69AC8 Deep nested properties - just so ya all know....

Recently I busted my ass trying to dynamically load the url of an
image where this url was in a four layer deep nest.
For some reason, the nested:image tag blew up the view when I tried
to access the value of the url property.

I then tried <nested:define id="myPageScopeBeanId" property
= "bean1.bean2.bean3.bean4.property"  /> where bean0 was the type
stored in the array list over which I was iterating.
Then I simply tried: <img src="<%=myPageScopeBeanId%>" /> and it
worked.

I still haven't figured why nested:image or nested:img works - but
what the hell...



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org