hi,
 
u can use "nested" taglib which will not require "name" attribute, it takes the form_name associated with the <html:form
 
 
<html:form action="">
<html:hidden property="id" />
<html:hidden property="stateId" />
<html:hidden property="editable" />
<table cellpadding=0 cellspacing=0 border=0 width="100%">
.
.
.
<nested:equal property="editable" scope="request" value="true">
............
</nested:equal>


 
-- nagi
 
 
 
-------Original Message-------
 
Date: Thursday, July 17, 2003 01:23:32 PM
Subject: Acces form name in the jsp
 
Hi
I want to know if there is any way to obtain the form name associated to
a JSP without put it form the strut-config.

Because, if the name of the form change on the strut-config; i have to
change the name of the form in all of my JSP's.

Example of the problem:


<html:form action="">
<html:hidden property="id" />
<html:hidden property="stateId" />
<html:hidden property="editable" />
<table cellpadding=0 cellspacing=0 border=0 width="100%">
.
.
.
<logic:equal name="receptionForm" property="editable" scope="request"
value="true">
.

Thanks.

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


.
____________________________________________________
  IncrediMail - Email has finally evolved - Click Here

Reply via email to