You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ricky Lee <Ri...@hotmail.com> on 2003/11/25 13:13:39 UTC

coundn't be a nested code like this?

hi, struts exper! i have a problem about struts taglib, like these code
below:

<html:form action="<tiles:getAsString name="form_action" />">

it show me the exception:

rg.apache.jasper.JasperException: /layouts/admin/addDataLayout.jsp(15,48)
equal symbol expected

and when i change to the follow codes , it remain showed me the same
exception......


<tiles:useAttribute name="form_action" />
<html:form action="<bean:write name="form_action" />">

my tiles configuration is:

<definition name=".admin.add.article" extends=".admin.page">
 <put name="form_action"          value="/addArticleAction"    type="string"
/>
 <put name="admin_select_author"  value=".admin.select.author"
type="definition" />
</definition>

i want to set the property into tiles context and get it from jsp page as
string to set the form action property....

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org