On Sun, Jul 21, 2013 at 10:31 PM, john lee <sh_thorn_b...@yahoo.com> wrote:

> in order to let DIV works inside s:iterator, have to use S:DIV
>

I don't understand what that means.


>    <a id="<s:property value='pid'/>" href=javascript:toggle("<s:property
> value='pid'/>")>SHOW</a>
>
>    <s:div id="<s:property value='pid''/>" style="display:none">
>              <s:property value="detail"/><br>
>    </s:div>
>

Obviously that will not work, you can't make up JSP syntax--tags cannot be
used as attribute values. You must use either OGNL or JSP EL.

Dave

Reply via email to