I did something similar with hiding and showing  using JavaScript and a
style sheet
<script>

function checkUnique(lookupForm)
{
  var x= document.getElementById("unique_select");

  x.style.visibility = "visible";

}
</script>
<html:form>
<tr>
            <td><html:select onchange="checkUnique(this.form)" property
="source"> <html:options name="source" labelName="source"/>
                </html:select> </td>
          </tr>
<tr id="unique_label" class='setHidden'>
            <td> Is Base Part Number a MRA Unique Part Number?</td>
          </tr>
          <tr id="unique_select" class='setHidden'>
            <td><html:select property="unique" value="no"> <html:option
value="yes">Yes</html:option>
                <html:option value="no">No</html:option> </html:select>
</td>
          </tr>
        </table>
</html:form>

hope this helps

Tim Bachta
Information Technology
MC 48
816-997-7137


                                                                                       
                                          
                      "Bhamani, Nizar A                                                
                                          
                      TL56E"                   To:       
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>     
                      <Nizar.Bhamani@ac        cc:                                     
                                          
                      e-ina.com>               Subject:  html tags                     
                                          
                                                                                       
                                          
                      11/06/2002 10:40                                                 
                                          
                      AM                                                               
                                          
                      Please respond to                                                
                                          
                      "Struts Users                                                    
                                          
                      Mailing List"                                                    
                                          
                                                                                       
                                          
                                                                                       
                                          




I have a typical problem where, I am using the <html:form/> tags,
in which the contents/fields within the <html:form/> tag needs to be
dynamic.
i.e. the form consists of multiple sections and each of these section has a
few
fields which can change based on certain conditions.  I want to use the

<html:form>
<!--- section 1 - Start -->
<html:text property="field1"
<!--- section 1 - End-->

<!--- section 1 - Start -->
<html:text property="field2"
<!--- section 1 - End-->

</html:form>

Each of these section is put in a tile. However, this is not allowed as the
html tag
used needs to be within the html:form tag. Has anybody faced similar
situation ?
If yes, how did you cope with this problem.

Thanks,



Nizar Bhamani
Senior Software Engineer
YouDecide.com Inc, a subsidiary of Ace INA Holdings Corp
[EMAIL PROTECTED]
(770) 291 7180
http://www.youdecide.com

____________________________________________________________
CONFIDENTIALITY
This e-mail and any attachments are confidential and also may be
privileged.
If you are not the named recipient, or have otherwise received this
communication in error, please delete it from your inbox, notify the sender
immediately, and do not disclose its contents to any other person,
use them for any purpose, or store or copy them in any medium.
Thank you for your cooperation.
____________________________________________________________



--
To unsubscribe, e-mail:   <
mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <
mailto:struts-user-help@;jakarta.apache.org>







--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to