Hi Matt,
yes I can see value in jsp using request.getAttribute();
do you have any example
moreover can you tell exactly where I should set log to Warn. Iam new to Struts Menu
1. Re: can anybody help me with dynamic param in menu-config (Matt Raible)
--__--__--
Message: 1
Date: Sun, 12 Feb 2006 09:28:22 -0700
From: Matt Raible <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: [struts-menu] can anybody help me with dynamic param in menu-config
Reply-To: [email protected]
Try setting your net.sf.navigator logging to WARN. YOu should see a
warning like the following if it can't find it:
log.warn("Value for '" + variable +
"' not found in pageContext or as a request paramet=
er");
Are you sure you've set it in your Action? Can you print it out in your JS=
P?
Matt
On 2/11/06, Shashikanth Duchetty <[EMAIL PROTECTED] > wrote:
> Hi All,
> presently we are using struts-menu in our project. It is working
> fine till now but we want to add dynamic value to query string
> example
> line from menu-config file
>
> <Item name=3D"PCHVisitList"
> title=3D"patientcasehistorymenu.label.patientvisitlist"
> image=3D"images/party-new.png"
>
> action="" ?method=3DPatientVisitList&patie=
ntId=3D${patientId}"
> width=3D"100" />
>
> when I click on respective menu item Iam getting patientId=3D${patientId}
> displayed as it is in the browser, instead of patientid=3D345(which i set=
in
> action class to session attribute)
>
> It would be of great help if any body can show me working example or help=
me
> fix this.
>
> Iam not using any velocity here. Do I need to use that???
--__--__--
_______________________________________________
struts-menu-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user
End of struts-menu-user Digest
