I should know this, but....

2002-06-06 Thread Jerry Jalenak

Hi All,

Really easy question, but I'm apparently too dumb to figure it out  ;)

I get a run time error of 'Missing Term' (about var1 in the anchor tag) when
I do the following:

nested:define id=var1 name=beanName property=var1 /
a href=% =var1 %This is my anchor/a

This is a simplistic example - I actually need to use 'var1' in several
places throughout my jsp inside of deeper nested:? tags.  Any ideas?

Thanks!

Jerry

[EMAIL PROTECTED]

This transmission (and any information attached to it) may be confidential and is 
intended solely for the use of the individual or entity to which it is addressed. If 
you are not the intended recipient or the person responsible for delivering the 
transmission to the intended recipient, be advised that you have received this 
transmission in error and that any use, dissemination, forwarding, printing, or 
copying of this information is strictly prohibited. If you have received this 
transmission in error, please immediately notify LabOne at (800)388-4675.



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: I should know this, but....

2002-06-06 Thread Arron Bates

First off, no need for the name attribute. If it's not working off the 
same bean structure the other nested tags are, then use the original 
bean:define tag using the name attribute to get to the separate bean.

Otherwise from face value the tag markup looks fine... you may want to 
vary the name of the property to the id for clarity however.


Another point which may save you having issues, is that you can use the 
property property like a directory structure with relative and 
absolute references...

Check this out for more informative info...

The The relative references and the property property part...

http://jakarta.apache.org/struts/api/org/apache/struts/taglib/nested/package-summary.html#doc.PropertyProperty


...with that you can just use the bean:write tag where you need it, 
and use the absolute reference from the root of the bean to get to the 
right spot.

Hope any of this helps in some way.


Arron.



Jerry Jalenak wrote:

Hi All,

Really easy question, but I'm apparently too dumb to figure it out  ;)

I get a run time error of 'Missing Term' (about var1 in the anchor tag) when
I do the following:

   nested:define id=var1 name=beanName property=var1 /
   a href=% =var1 %This is my anchor/a

This is a simplistic example - I actually need to use 'var1' in several
places throughout my jsp inside of deeper nested:? tags.  Any ideas?

Thanks!

Jerry

[EMAIL PROTECTED]

This transmission (and any information attached to it) may be confidential and is 
intended solely for the use of the individual or entity to which it is addressed. If 
you are not the intended recipient or the person responsible for delivering the 
transmission to the intended recipient, be advised that you have received this 
transmission in error and that any use, dissemination, forwarding, printing, or 
copying of this information is strictly prohibited. If you have received this 
transmission in error, please immediately notify LabOne at (800)388-4675.



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]