Thanks Jan,
Your solution worked perfectly!!
Sudip
-Original Message-
From: Jan Vervecken [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 12:40 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: [RE-POST]: HOW TO Use Tiles parameters in Java
maybe try to put
Hi,
I sent the mail earlier but recieved no reply. So I am posting it again with
more code details.
My login.jsp given below assigns the parameter *pageid* a value of 1001. I
need to retrieve this pageid value in tile menu.jsp. How can I do that? I am
able to retrieve the pageid parameter in my
-POST]: HOW TO Use Tiles parameters in Java
Hi,
I sent the mail earlier but recieved no reply. So I am posting it again with
more code details.
My login.jsp given below assigns the parameter *pageid* a value of 1001. I
need to retrieve this pageid value in tile menu.jsp. How can I do that? I am
able
maybe try to put this in pageLayout.jsp
tiles:useAttribute name=pageid ignore=true/
tiles:insert name=menu ignore=true
tiles:put name=pageid beanName=pageid/
/tiles:insert
hope this helps
-Jan Vervecken
*** REPLY SEPARATOR ***
On 10/13/2003 at 5:41 PM Sudip Kumar
You have to redefine the variable to be in the request scope. Right now
it only exists in the tiles scope. In pageLayout.jsp you need to add the
line:
bean:define id=pageid name=pageid toScope=request /
another way to do it is:
tiles:useAttribute id=pageid name=pageid scope=request /
now you
5 matches
Mail list logo