Try:

<tiles:useAttribute name="division" classname="java.lang.String" />
...
<jsp:param name="division" value="<%=division%>" />

Or alternatively use EL.

H.


> Hi all,
>
> I changed from using the HTML embed tag to using the jsp:include tag to
> embed a applet in a webpage. The problem however is that since I'm
> using tiles I can't get the values of the attributes passed to tiles in
> the attributes of the jsp:include tag because it is itself a jsp-tag.
> Can someone please tell me how should I solve this problem?
>
> Here is the jsp that embeds the applet:
>
>
> <%@ taglib uri="/WEB-INF/struts/struts-tiles.tld" prefix="tiles" %>
> <html>
>  <body style="margin: 0px; padding: 0px;">
>
>    <jsp:plugin type="applet"
> code="com.mycomp.composer.client.AppletLauncher"
>          archive="../client.jar,../thinlet.jar" jreversion="1.4">
>      <jsp:params>
>        <jsp:param name="division" value="<tiles:getAsString
> name="division"/>"/>
>        <jsp:param name="listAction" value="<tiles:getAsString
> name="buttonPanel"/>"/>
>        <jsp:param name="currentUriField" value="<tiles:getAsString
> name="buttonPanel"/>"/>
>        <jsp:param name="buttonPanel" value="<tiles:getAsString
> name="buttonPanel"/>"/>
>      </jsp:params>
>      <jsp:fallback>
>        Plugin tag OBJECT or EMBED not supported by browser.
>      </jsp:fallback>
>    </jsp:plugin>
>
>  </body>
> </html>
>
> Thanks and regards,
>
> Jeroen
>
> ---------------------------------------------------------------------
> 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]

Reply via email to