Hi all,

First of all, if this query has already been solved earlier, please
ignore below question and simply point me to the solution.

In one of my projects am using Struts framework along with Hibernate.
While Struts provides many tag libs like bean, html and logic I still
felt need to create my own tags to avoid the code repetition and
generalize the coding style. In the course of creating custom tags, I
came across one issue as follows...

How can I pass other tags runtime values to the attributes of my custom
tags like this..

<mt:clink url="/categoryEvent.do?event=edit&id=<bean:write
name="category" property="id"/>">Edit</mt:clink>

In this case it gives me error : org.apache.jasper.JasperException:
/bo/category/categoryList.jsp(36,78) equal symbol expected 
though I have already set the runtime expression value to true in tag
lib as follows..
                <attribute>
                        <name>url</name>
                        <required>true</required>
                        <rtexprvalue>true</rtexprvalue>
                </attribute>
And getting this value in doStartTag method in tag handler class.
        
Actually I am creating one custom tag that will automatically add
context path to the given url so that my app works on any context path.
I am using JSP version 1.1 in my taglib.

Any help or suggestion to do this in better way?

Thanks, 
Lalit 



Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.
        
E-mails are not encrypted and cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses.  The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission.  
If verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities 
or related financial instruments.

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

Reply via email to