Re: parameterized html:link problem

2004-06-25 Thread Nicolas De Loof

c:forEach items=${PRODS} var=prod
 trtd
 
 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=ABCView/a
 and i am doing this.
 
 =
 c:forEach items=${PRODS} var=prod
 trtd
 
 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


Our name has changed.  Please update your address book to the following format: 
[EMAIL PROTECTED].

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: parameterized html:link problem

2004-06-25 Thread Navjot Singh
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
 trtd
 
 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=ABCView/a
and i am doing this.
=
c:forEach items=${PRODS} var=prod
trtd
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Our name has changed.  Please update your address book to the following format: [EMAIL 
PROTECTED].
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]