TabbedPane

2008-12-08 Thread David Loup
Hi, I'm using a tabbedPanel to include a call to several actions in tabs, each action displaying a form on its own: How can the main (or parent) JSP access what's in the forms of the actions in each tab? I.e., I have something like mainTabs.jsp: s:tabbedPanel id=mainPanelTabs s:div

RE: Include menu action with sitemesh

2008-09-02 Thread David Loup
, David Loup wrote: Hi there, I'm using sitemesh with struts 2 and am currently applying a decorator to all my actions, including a static menu in a div. So something like div id=menuDiv ul limenuitem 1 /li limenuitem 2 /li limenuitem 3 /li /ul /div div id=mainContent decorator:body

RE: Include menu action with sitemesh

2008-09-02 Thread David Loup
s:head / tag look like? Have you tried loading up in Firebug? -Wes On Tue, Sep 2, 2008 at 7:54 AM, David Loup [EMAIL PROTECTED] wrote: Hi Wes, Thanks for your reply. Am using Struts 2.0.11, so I tried: s:url id=menuUrl namespace=/menu action=menu/ s:div id=menuDiv href=%{menuUrl

RE: Include menu action with sitemesh

2008-09-02 Thread David Loup
Got it. Works way better with theme=ajax in the s:div tag... -Original Message- From: David Loup Sent: 02 September 2008 14:22 To: Struts Users Mailing List Subject: RE: Include menu action with sitemesh Yup, firebug doesn't report any errors. When looking at the Net tab, it shows

Include menu action with sitemesh

2008-09-01 Thread David Loup
Hi there, I'm using sitemesh with struts 2 and am currently applying a decorator to all my actions, including a static menu in a div. So something like div id=menuDiv ul limenuitem 1 /li limenuitem 2 /li limenuitem 3 /li /ul /div div id=mainContent decorator:body / /div What I want to do is

Downloading file rendered in JSP

2008-04-08 Thread David Loup
Hi, I'm trying to make one of my pages downloadable as a CSV file. Currently my XML is configured like this: action name=downloadCSV class=test.struts.ListItems method=downloadCSV interceptor-ref name=standardStack/ result name=success/pages/download.jsp/result

RE: Downloading file rendered in JSP

2008-04-08 Thread David Loup
State University - UIS -Original Message- From: David Loup [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 08, 2008 7:42 AM To: user@struts.apache.org Subject: Downloading file rendered in JSP Hi, I'm trying to make one of my pages downloadable as a CSV file. Currently my XML is configured

redirect-action to https

2008-03-04 Thread David Loup
Hi, I'm trying to have Struts 2 redirect over HTTPS protocol. On submit of a form calling editPerson.action (on a page already on HTTPS), the following redirects to HTTP. action name=editPerson class=persons.EditPersonAction method=update interceptor-ref

RE: Access value of a map inside an iterator

2008-02-25 Thread David Loup
. But it puts only empty values in the map (as keys and values). -Original Message- From: David Loup Sent: 22 February 2008 17:45 To: Struts Users Mailing List Subject: RE: Access value of a map inside an iterator Hi Dave, Thanks for your reply, but that's not exactly what I'm trying to do. I

Access value of a map inside an iterator

2008-02-22 Thread David Loup
Hi, I'm iterating over a collection of String, and for each of these String I want to access the value inside a map with that String as a key. I have tried: s:iterator id=theKey value=allKeys s:property value=map[[0]] / /s:iterator And s:iterator id=theKey value=allKeys

RE: Access value of a map inside an iterator

2008-02-22 Thread David Loup
of a map inside an iterator --- David Loup [EMAIL PROTECTED] wrote: s:iterator id=theKey value=allKeys s:property value=map[theKey] / /s:iterator s:iterator value=theMap s:property value=key/ = s:property value=value/ br/ /s:iterator or s:iterator value=theMap id=foo s:property value