You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Yuriy Zubarev <yu...@yahoo.ca> on 2001/07/25 22:28:17 UTC
Form declaration inside logic:equal tags
Hello everyone,
I was just wondering why I cannot use a code like this:
<logic:equal name="userForm" property="action" value="Profile">
<html:form action="/saveUserProfile">
</logic:equal>
<logic:notEqual name="userForm" property="action" value="Profile">
<html:form action="/saveUser">
</logic:notEqual>
I always get exception:
Non-matching extension tags probably occurred due to
an error in /user.jsp line 60: </logic:equal>
I have a lot of logic:equal tags on my page and they worked
fine untill I tried to wrap html:form inside them.
Thank you for your time.
Best of luck,
Yuriy Zubarev
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
Re: Form declaration inside logic:equal tags
Posted by Rama Krishna <kr...@hotmail.com>.
you didnot close your <html:form ...> tag
----- Original Message -----
From: "Yuriy Zubarev" <yu...@yahoo.ca>
To: <st...@jakarta.apache.org>
Sent: Wednesday, July 25, 2001 1:28 PM
Subject: Form declaration inside logic:equal tags
> Hello everyone,
>
> I was just wondering why I cannot use a code like this:
>
> <logic:equal name="userForm" property="action" value="Profile">
> <html:form action="/saveUserProfile">
> </logic:equal>
>
> <logic:notEqual name="userForm" property="action" value="Profile">
> <html:form action="/saveUser">
> </logic:notEqual>
>
> I always get exception:
>
> Non-matching extension tags probably occurred due to
> an error in /user.jsp line 60: </logic:equal>
>
> I have a lot of logic:equal tags on my page and they worked
> fine untill I tried to wrap html:form inside them.
>
> Thank you for your time.
>
> Best of luck,
> Yuriy Zubarev
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>