struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Navjot Singh <navjo...@net4india.net>
Subject Re: parameterized html:link problem
Date Fri, 25 Jun 2004 14:42:33 GMT
thx nicolas,

It worked. Though i had read the link you mentioned but couldn't get it.
Sometimes, examples can teach you better.

thx again
navjot


Nicolas De Loof wrote:
> <c:forEach items="${PRODS}" var="prod">
>  <tr><td>
>  
>  <c:out value="${prod.productVo.name}"/>
>  
>  <html:link action="/View" paramId="Name" paramName="prod" paramProperty="productVo.code">
>  View </html:link>
>  
>  </td></tr>
> </c:forEach>
> 
> http://jakarta.apache.org/struts/userGuide/struts-html.html#link
> 
> Nico.
> 
> 
> 
>>hi list,
>>
>>I am not good in jsp views. Can someone tell me the way to accomplish 
>>the below?
>>
>>I wish to generate is link <a href="/myapp/View.do?CODE=ABC">View</a>
>>and i am doing this.
>>
>>=============
>><c:forEach items="${PRODS}" var="prod">
>><tr><td>
>>
>><c:out value="${prod.productVo.name}"/>
>>
>><html:link page='/View.do?CODE=<c:out value="${prod.productVo.code}"/>'>

>>View </html:link>
>>
>></td></tr>
>></c:forEach>
>>=============
>>
>>but it generates <a href="/myapp/View.do?CODE=<c:out 
>>value="${prod.productVo.code}"/>'">View</a>
>>
>>TIA
>>Navjot Singh
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 
> Our name has changed.  Please update your address book to the following format: "recipient@capgemini.com".
> 
> This message contains information that may be privileged or confidential and is the property
of the Capgemini Group. It is intended only for the person to whom it is addressed. If you
are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,
 distribute, or use this message or any part thereof. If you receive this  message in error,
please notify the sender immediately and delete all  copies of this message.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> .
> 

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


Mime
View raw message