Re: Tiles and html-el

2003-03-13 Thread Sloan Seaman
Thanks!

Worked like a charm!
- Original Message - 
From: Derek Richardson [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 6:39 PM
Subject: RE: Tiles and html-el


Try:

t:importAttribute name=TARGET_PAGE /
html-el:link page=${TARGET_PAGE}blah/html-el:link

t being the prefix for the tiles taglib.

Derek Richardson

 -Original Message-
 From: Sloan Seaman [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 12, 2003 2:14 PM
 To: Struts Users Mailing List
 Subject: Tiles and html-el
 
 
 I've got an html-el:link inside a tile and I need to get one of the
 variables that was passed to the tile into the link being 
 created by the
 html-el:link
 
 How do I reference the variable that was passed in?
 
 Example:
 on one jsp page:
 tiles:insert page=/app/global/forms/barcodeList.jsp
 tiles:put name=TARGET_PAGE value=/app/campaign/mainPage.do/
 /tiles:insert
 
 in tile page:
 
 html-el:link page=${TARGET_PAGE}blah/html-el:link
 
 I know that the above doesn't work...
 
 How would I go about getting it to work?
 
 I have to use html-el because in the real page I have other 
 variables going
 into the page=
 
 Thanks!!
 --
 Sloan
 
 
 
 -
 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]



RE: Tiles and html-el

2003-03-12 Thread Derek Richardson
Try:

t:importAttribute name=TARGET_PAGE /
html-el:link page=${TARGET_PAGE}blah/html-el:link

t being the prefix for the tiles taglib.

Derek Richardson

 -Original Message-
 From: Sloan Seaman [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 12, 2003 2:14 PM
 To: Struts Users Mailing List
 Subject: Tiles and html-el
 
 
 I've got an html-el:link inside a tile and I need to get one of the
 variables that was passed to the tile into the link being 
 created by the
 html-el:link
 
 How do I reference the variable that was passed in?
 
 Example:
 on one jsp page:
 tiles:insert page=/app/global/forms/barcodeList.jsp
 tiles:put name=TARGET_PAGE value=/app/campaign/mainPage.do/
 /tiles:insert
 
 in tile page:
 
 html-el:link page=${TARGET_PAGE}blah/html-el:link
 
 I know that the above doesn't work...
 
 How would I go about getting it to work?
 
 I have to use html-el because in the real page I have other 
 variables going
 into the page=
 
 Thanks!!
 --
 Sloan
 
 
 
 -
 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]