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="/PreRegisterUser.do" onsubmit="return 
validateRegistrationForm(this);">
</auth:if>

<auth:if accept="USER_ROLE, MODERATOR_ROLE">
  <html:javascript formName="editProfileForm"/>
  <html:form method="post" action="/EditProfile.do" onsubmit="return 
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]

Reply via email to