ok. i have solved the problem.. just change to this, it works smoothly... :)
<tiles:useAttribute name="form_action" /> <html:form action="<%=form_action.toString()%>"> ----- Original Message ----- From: "Ricky Lee" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 25, 2003 8:33 PM Subject: Re: Basic question about <html: > thanks ,it can be work now, but what about this one? > > <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.... > > > > > ----- Original Message ----- > From: "Ben Anderson" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, November 25, 2003 8:27 PM > Subject: Re: Basic question about <html: > > > > if that's how you want to do it you need to change your quotes from: > > <option value="<bean:write name="module" > > property="module_id"/>">abc</option> > > to: > > <option value='<bean:write name="module" > > property="module_id"/>'>abc</option> > > > > > > >From: "Ricky Lee" <[EMAIL PROTECTED]> > > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > >Subject: Re: Basic question about <html: > > >Date: Tue, 25 Nov 2003 20:21:29 +0800 > > > > > >hi, so glad that i met the same question as you.... > > > > > ><html:form action="/addArticleAction"> > > >module id: > > ><html:select property="module_id"> > > ><logic:iterate name="modules" id="module"> > > ><option value="<bean:write name="module" property="module_id" > > >/>">abc</option> > > ></logic:iterate> > > ></html:select> > > >article title:<html:text property="article_title" /> > > ><br> > > ></html:form> > > > > > >and it show me the errors: > > > > > >equal symbol expected > > > > > >--- > > >can't nested tag like that? any solution about this? > > > > > > > > > > > > > > > > > >----- Original Message ----- > > >From: "Raman" <[EMAIL PROTECTED]> > > >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > >Sent: Tuesday, November 25, 2003 8:11 PM > > >Subject: Basic question about <html: > > > > > > > > > > hello all, > > > > i have a basic problem in <html:radio > > > > I want to use it in the loop for radio buttons. But facing problems in > > > > setting the "value" of the control. i have tried > > > > > > > > <html:radio property="id" value="<bean:write > > > > name="filters" property="FilterId" />"> > > > > > > > > but this is not working. > > > > > > > > Any help regarding this?? > > > > > > > > > > > > --------------------------------------------------------------------- > > > > 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] > > > > > > > _________________________________________________________________ > > Is there a gadget-lover on your gift list? MSN Shopping has lined up some > > good bets! http://shopping.msn.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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]