I have a form with a set of input tags:

<input type="text" name="input_name">

If I write a tag <jay:value attr="input_name"/> that simply outputs a text
string, how do I allow that to be the value of the <input> tag?

With embedded java I'd have:

<input type="text" name="input_name" <% if (all_conditions_met) {
out.println("value=\"some_value\"); } %>>

But with taglibs I can't do an embedded tag, so how do I add an attribute to
the <input> tag, which itself is a tag?

Thanks,
Jay

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to