Seems like this question is becoming as popular as the ever popular 'When is
struts 1.1 final going to be released'. David Karr has provided an excellent
answer to this question on several occasions (including earlier today). I'm
sure you can find the answer in the archive.

The short answer is that embedding a scriptlet as a portion of an attribute
value (part of an RTEXPR) is illegal according to the JSP spec. You will
need to rewrite your scriplet so that is composes the entire value.

Dave Derry


----- Original Message -----
From: "Zeitlin, Mike" <[EMAIL PROTECTED]>


>
> I am trying to dynamically set the input parameters for a javascript
method
> in an nested tag.  This is the code I am current using:
>
> <nested:text property="displayValue" size="6"
>
onclick="showTable(<%=pageContext.getAttribute("rowIndex")%><%=pageContext.g
> etAttribute("columnIndex")%>);"/>
>
> This does not generate the appropriate input tag.  But,  if I remove the
> onclick parameter,  the nested tag gets evaluated to an input tag jus
> t fine.  What am I doing wrong?
>
> Any help would be appreciated,
> Mike Zeitlin
> Daugherty Systems
>
>


--
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