name="<%=Action.ERROR_KEY%>">
u missed the quotations probably ...

-----Original Message-----
From: Shamir Juma [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 4:39 PM
To: '[EMAIL PROTECTED]'
Subject: RE: <html:error/> need help? (to TED)


Try this:

<logic:present name=<%=Action.ERROR_KEY%>>
        <html:link page="/editRegistration.do?action=Create">
                <bean:message key="logon.registration"/>

        </html:link>
</logic:present>

Shamir Juma

-----Original Message-----
From: Satyan Nair [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 12:16 PM
To: [EMAIL PROTECTED]
Subject: <html:error/> need help? (to TED)


i want to generate a particular link if there is any error!

according to the example in struts....the error tag is <html:error/>

i want to generate this link only if there is an error
          <html:link page="/editRegistration.do?action=Create"><bean:message
key="logon.registration"/> </html:link>

how do i use the error tag...
i tried doing like

<html:error>
<html:errors/>
          <html:link page="/editRegistration.do?action=Create"><bean:message
key="logon.registration"/>                      </html:link>
</html:error>

but it didn't work(obviously)!

how do i go about it?
take care...





------------------------------------------------------------------------------
The information in this Internet email is confidential and may be 
legally privileged. It is intended solely for the addressee. Access 
to this Internet email by anyone else is unauthorised.

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this Internet email are subject to the terms and conditions
expressed in any applicable governing ING Barings' terms of business or
client engagement letter.

Visit us at www.ingbarings.com

------------------------------------------------------------------------------

Reply via email to