It returns either an empty string (""), "disabled" or "readonly" (in java.lang.String
variable). So I do not think this is in violation of section JSP 2.13.1.
Actually the first issue I mentioned with <input:select> is more important for me
since I am not using <input:text> currently in my JSPs.
br
Martti
-----Alkuperäinen viesti-----
Lähettäjä: Kris Schneider [mailto:[EMAIL PROTECTED]
Lähetetty: 20. helmikuuta 2004 14:05
Vastaanottaja: Tag Libraries Users List
Aihe: Re: Problem with <input:select> tag
What does bean.getAttributes() output? Does it contain any embedded quote characters?
The reason this:
attributesText="maxlength=50 size=50 <%= bean.getAttributes() %>"
doesn't work is outlined in the JSP 1.2 Spec. Here's a snippet from secton JSP.2.13.1
Request Time Attribute Values:
The expression must appear by itself (multiple expressions, and mixing of expressions
and string constants are not permitted).
Quoting Kauppinen Martti <[EMAIL PROTECTED]>:
> Hi,
>
> I am using Jakarta taglibs-input in JSP files for select listboxes
> (<input:select> tag). My pages worked fine in Tomcat 4.1 but when I
> tried them on WebLogic 8.1sp2, the <input:select> was not parsed.
> However otherwise the pages compiled ok.
>
> I traced the problem to the "attributesText" attribute of the
> <input:select> tag. When that is removed, the tag is parsed. I.e.
> <input:select name="seller" bean="bean" options="<%=
> bean.getSellers()%>" attributesText="<%= bean.getAttributes() %>"/> is
> not parsed, but <input:select name="seller" bean="bean" options="<%=
> bean.getSellers()%>" />
> is parsed.
>
> To me this seems to be a bug in WLS8.1 JSP compiler. However earlier I
> tried:
> <input:text name="productName" attributesText="maxlength=50 size=50
> <%=
> bean.getAttributes() %>" />
> This does not work in Tomcat (<%= bean.getAttributes()%> is not parsed).
> This leads me to suggest that this problem is related to the order in
> which tag-libs and scriplets are parsed.
>
> Do you have any clue on what is the problem?
>
> best regards
> Martti Kauppinen
> SysOpen
--
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech <http://www.dotech.com/>
---------------------------------------------------------------------
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]