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
, 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
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
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
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
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
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
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
.
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
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
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
11 matches
Mail list logo