Struts2.0.9
Has anyone successfully formatted a number 555 into 555-.
MyAction.properties: format.telephone={0,number,###-}
My.jsp: s:action name=myaction/
s:text name=format.telephone
s:param name=value value=myTeleValue/
I'm struggling with configuring struts.xml global-results and
global-exception-mappings for any exception thrown from an interceptor.
What do I need to do to keep a request out of my action and instead go to
the configured global-result?
James
smime.p7s
Description: S/MIME cryptographic
I'm getting an UnknownClassVersion error during struts2.0.9 deployment
to tomcat with java 1.5.0.0.3
Is struts 2.0.9 entirely compiled in java 6?
James Hartrich
I'm iterating a collection (keys) from s:action to get corresponding
hashmap (values) from aforementioned s:action then creating multiple
s:select.
Does anyone know how to construct a hashmap with ognl on a jsp? What
type is then needed on the action to populate the hashmap?
James
Sorry I didn't get back to you today. My cpu fan died over the weekend.
Lol, help finally arrived and I'm back in business. I'm out of the
office tomorrow, so I'll try you Wednesday.
-Original Message-
From: Ferguson, Jason M TSgt 375 CSPTS/SCE
[mailto:[EMAIL PROTECTED]
Sent: Monday,
Your web.xml file can have a listener for StrutsTilesListener. Make sure your
TilesInterceptor is implemented.
-Original Message-
From: Neil Aggarwal [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 10, 2007 2:54 PM
To: 'Struts Users Mailing List'
Subject: RE: [Struts 2] Tiles plugin
How would one iterate a bean's collectionhashmap row values by key
of bean's collectionstring columnName? Here's what I have on the
jsp:
s:iterator id=row value=bean.tableColumnData status=rowStatus
s:iterator id=columnName value=bean.tableColumns
status=status
s:property
Quick follow up to correct myself. This works:
s:property value=#row[(#columnName)]/
I referenced the following documentation
http://www.ognl.org/2.6.7/Documentation/html/LanguageGuide/expressionEva
luation.html
James
-Original Message-
From: Hartrich, James CTR USTRANSCOM J6
[mailto
Try name=foo.bar rather than name=Foo.bar in your jsp. The how and why
is out of my scope. Hope this helps.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 07, 2007 3:35 PM
To: Struts Users Mailing List
Subject: ParameterInterceptor
I think I
I want to add a new namespace to the struts.xml on the fly. Is there a
way to detect this change and reload the app context? I'm trying to
avoid reloading the app in the tomcat manager.
James
-
To unsubscribe, e-mail: [EMAIL
Looks like you need s:checkboxlist name=user.roles instead of
name=user.roles.roleId. Be sure roles is set on the user object from
the action.
I'm doing two collections. #1 for the full list of checkboxes and #2 for
the boxes I want pre-checked.
What are you doing with the attribute id=roles?
Does anyone know of any existing issues with result type of stream using
s:action within tiles?
I'm getting an illegal state exception when using s:action
executeresult = true
The struts.xml result type = stream and the stream is actually html to
render on the client/browser.
If I skip the
Layout.jsp
%@ taglib prefix=tiles
uri=http://struts.apache.org/tags-tiles; %
tiles:insertAttribute name=bar/
Tiles.xml
definition name=foo template=/Layout.jsp
put name=bar value=/bar.jsp/
/definition
Hope this helps.
-Original
So you are going from the jsp to the action, correct?
That being the case, you are doing this correctly so far. Make certain
to have an encapsulated property for accountBean in your accountManager
action. On submit the accountBean object will be constructed and
setFirstName will be called. The
Has anyone experienced a problem with s:combobox
name=object.property? I think the . is throwing dojo for a loop.
What happens is the onSelect event stops working if I use the .
notation -- name=object.property Any suggestions?
Is there a way to pre-check boxes that meet criteria? I have 2 lists,
listA is for all the checkboxes and listB is for checkboxes that will be
pre-checked.
s:checkboxlist label=Registration list=#allreglist.regList
listKey=regId listValue=regNm
Has anyone experienced a problem setting a list into the action using
s:optiontransferselect? Is there a specific theme that must be used? I'm
getting a null in my action.
In my tag I have name=available, and in my action I have a
global/encapsulated List named available.
-Original
struts2-core-2.0.5.jar
xwork-2.0.0.jar
S2-tiles-plugin-2.0.5
tiles-core-2.0-20070130.184344-3.jar
tiles-api-2.0-20070130.184344-3.jar
I have an org.apache.tiles.TilesException from BasicTilesContainer.java.
Does anyone know if the following configuration is incorrect? Thanks!
1) web.xml
I believe there was a previous problem with FilterDispatcher.doFilter()
Cheers!
-Original Message-
From: Karsten Voges [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 15, 2007 9:17 AM
To: Struts Users Mailing List
Subject: Re: Empty request parameters with enctype set to
Null beans are not being instantiated in the action on request. Where
are static parameters such as CREATE_NULL_OBJECT set on the action?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Sounds like you have a problem interpreting the index within your nested
c:forEach. Share your jsp iteration code.
-Original Message-
From: Himstedt, Maik [mailto:[EMAIL PROTECTED]
Sent: Friday, February 02, 2007 9:24 AM
To: 'user@struts.apache.org'
Subject: Need help debugging Struts
Are you talking about different browser windows or just new tabs in
the same browser? Perhaps try an application scoped variable that tests
the current user, allowing only one instance of the user to operate the
app.
-Original Message-
From: Maya menon [mailto:[EMAIL PROTECTED]
Sent:
And the same thing I reported last month. Corrected with a new
FilterDispatcher class implementing Filter StrutsStatics.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 30, 2007 7:40 PM
To: Struts Users Mailing List
Subject: Re: [s2] multi part
The allowedTypes param of FileUploadStack is working correctly however
upon return input (S2 default) I'm losing request parameters. How can
I configure S2 to return a specific inputUpdate? Or how can I retrieve
my request params within my actions.input()?
I believe what you need to do is start your tomcat service as a
tomcat-user who specifically has access to the file server.
-Original Message-
From: Priya Khanna [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 11, 2007 1:39 AM
To: user@struts.apache.org
Subject: Accessing files from
25 matches
Mail list logo