You've closed this tag -----.
<auth:if accept="GUEST_ROLE"/>
 <html:_javascript_ formName="registrationForm"/>
 <html:form method="post" action="" validateRegistrationForm(this);">
</auth:if>





Pavlikus <[EMAIL PROTECTED]>

06/22/2004 01:52 PM

Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>

To
"Struts Users Mailing List" <[EMAIL PROTECTED]>
cc
Subject
Different form tags on same jsp





Hi all.
I want to reuse the jsp page with form where user can Register or Edit
Profile.

I do like:

<auth:if accept="GUEST_ROLE"/>
 <html:_javascript_ formName="registrationForm"/>
 <html:form method="post" action="" validateRegistrationForm(this);">
</auth:if>

<auth:if accept="USER_ROLE, MODERATOR_ROLE">
 <html:_javascript_ formName="editProfileForm"/>
 <html:form method="post" action="" validateEditProfileForm(this);">
</auth:if>

I expect what it render form tag for registrationForm if user have
GUEST_ROLE role, and tag for editProfileForm is user have prepotent
roles.

But when jsp compiles - it show following error:
-- The end tag "</auth:if" is unbalanced'

What happen? Is it possible to render different form tags with this
method at all?


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


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

Reply via email to