Hi,
your help in this regard is very much appreciated.
my strutus-config entry is
action path=/homePortalSelection
type=com.eurobenefits.mybenefits.view.actions.HomePortalSelectionAction
name=homePortalSelectionForm
scope=request
I have a web application localized with several languages (en, fr, es).
My problem is: the DataTimePicker display the calendar with the locale
of the system (a French Windows, the month is always written in French)
under IE7 (which an English locale is defined).
And under FireFox (with the Quick
- The s:property tag escapes html markup characters, which is very nice.
- On the other hand it creates html character entities of non-ascii
characters, which is ugly and unnecessary, as I already have UTF-8 as
character encoding of the page.
escape=true does both, escape=false does neither.
Is
I've got a problem which I suspect depends on some issue with
configuration.
I have an Action-class:
public class ClassifyFieldsAction extends ActionSupport {
private String templateGroup;
@KeyProperty(value = name) // have tried to have these
annotations on the
hi,
I have been recently asking how to achieve that changing the value of
autocompleter A, triggers an Ajax reload of autocompleter B and make
the only item returned as selected on B i.e. displayed in its textInputNode.
I followed directions from:
Sorry about the while is just a code for test, because I don't know exactly
how S2 work for the iterator tag. I am aware about the code ;)
Yes, I did see the S2 iterator tag, I see that there isn't any while or for
into the code, I suppose that the code repeat using the return of the
method.
Hi All,
I am using Struts 2 and I wanna develop a datagrid as that provided in
Struts Layout. I have couple of questions:
1. Is that I can't use Struts Layout in Struts 2? If it can be used? How to
set up?
2. If Struts Layout cannot be used in Struts 2, is there any similar plugin
that provide
Giovanni Azua wrote:
hi,
I have been recently asking how to achieve that changing the value of
autocompleter A, triggers an Ajax reload of autocompleter B and make
the only item returned as selected on B i.e. displayed in its
textInputNode.
I followed directions from:
Hi Jeromy,
Many thanks for your response!
Jeromy Evans wrote:
I don't use dojo's autocompleter myself, but after a quick look at the
javascript source for the widget (ComboBox) I can see there's a public
method setSelectedValue(value) which may help, although it's not clear
to me which
Hi All,
I have used the tabbed panel provided by Struts2. When the content within
the current pane exceed the panel size, scrollbar is shown as expected.
However, if I click on the tab-header of the currently opened tab, the
scrollbar disappear. It appears again if i click that tab-header again.
Hey all,
I'm trying to figure out how to validate my action methods differently.
For example I've got a modeldriven User bean with the following two
annotated methods
@Validations(...)
- processLogin
@Validations(...)
- processSignup
Now I want the first annotation to only check for the
I posted about this a while back. Nobody seemed to have an annotation
based solution, only going back to XML.
- Original message -
From: Thilo Ettelt [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Date: Tue, 4 Dec 2007 13:01:15 +0100
Subject: [s2] Different
--- victor sosa [EMAIL PROTECTED] wrote:
Yes, I did see the S2 iterator tag, I see that
there isn't any while or for into the code, I
suppose that the code repeat using the return
of the method. but How to uses it? I try twice
but the code never iterate using the return
value of the
Hi,
I have the same problem, you can look at my message of November 30.
However see below the bug I posted:
my web app have an action to delete one row in a MS Access table (access
though sun.jdbc.odbc.JdbcOdbcDriver).
The method return the number of rows deleted.
The first time it's executed,
I think you should check if it's the browser that submits the form two
times.
I thought was a bug of my application, but now i'm thinking it's a
bug of
struts 2 framework.
I hope will be fix very soon.
Regards
Andrea
xniit2003 wrote:
Hi,
I am new in struts2.
In my action class I
--- giglian [EMAIL PROTECTED] wrote:
The method return the number of rows deleted.
What method does? A method being called by execute()?
I thought was a bug of my application, but now i'm
thinking it's a bug of struts 2 framework. I hope
will be fix very soon.
That's certainly possible,
Below my configuration:
O.S. Windows XP Pro (ITA)
Tomcat 5.0.27
JDKL 1.5.0.12
IE 6.0
Action's code:
- - - - - - - - - - - - -
package it.kappapackaging.com.action.visits;
import java.sql.Connection;
import java.sql.DriverManager;
import com.opensymphony.xwork2.ActionSupport;
import
when current pane exceeds panel scrollbar is shown is correct
please display code
M--
- Original Message -
From: quinquin2209 [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Tuesday, December 04, 2007 6:29 AM
Subject: Scrollbar problem with tabbed panel in Struts2
Hi All,
I have
--- Martin Gainty [EMAIL PROTECTED] wrote:
when current pane exceeds panel scrollbar is shown
is correct
I believe the issue is that the scrollbar appears and
disappears when the tab is clicked.
From: quinquin2209
However, if I click on the tab-header of the
currently opened tab, the
I tried to remove the javascript confirm message, and now it work fine!
I still have the localization problem with the package_it.properties file.
This is a bug for sure!
Andrea
-Messaggio originale-
Da: Dave Newton [mailto:[EMAIL PROTECTED]
Inviato: martedì 4 dicembre 2007 15.38
A:
Hello everyone, I am having a really strange issue. In my application I
have a menu bar and a main content area. The menu bar and main content
area are populated separately using an Ajax call to their respective
action methods. They are automatically called/populated when I log into
my
What JavaScript confirm message?
*Please* post the complete code.
And stop copying me; replying to the list is fine.
d.
--- Gigliotti, Andrea [EMAIL PROTECTED] wrote:
I tried to remove the javascript confirm message, and now it work fine!
I still have the localization problem with the
Maybe I should add that I also tried to do it the old-fashion way by the
Action-conversion.properties-file and of course my Bean-class has a
default no-arg constructor.
-Original Message-
From: Daniel Pfeifer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 04, 2007 11:40 AM
To:
If you have struts 2.0.11 or 2.0.9 you can deploy the
struts2-blank-2.0.11.war file located into the apps folder (ex.
C:\struts-2.0.11\apps).
Before deploying the web app you have to rename the file
package_es.properties in package_it.properties.
In this way you will see the bug, that is you'll
Hi,
I have a common problem :-) I have a collection of Objects and these Objects
also contains Collections. How can I iterate through the child collection?
Something like this:
s:iterator value=accountSearchResults.accounts status=rowstatus
var=account
s:iterator
Sure.
Did you try it and had an issue, or did you think it would be quicker to wait
for a response on the list?
d.
--- Marc Eckart [EMAIL PROTECTED] wrote:
Hi,
I have a common problem :-) I have a collection of Objects and these
Objects
also contains Collections. How can I iterate
setecastronomy wrote:
I want to give the user the possibility, for some result pages, to choose to
see them undecorated.
Easiest solution is to select a different decorator based on a parameter
com.opensymphony.module.sitemesh.mapper.ParameterDecoratorMapper
-Dale
I tried this with the var in the iterator tag and tomcat e.g. jasper
complained about that var is not defined in the tag. Is it deprecated or new
or something like this. Maybe I have to update my struts jar?
Marc
2007/12/4, Dave Newton [EMAIL PROTECTED]:
Sure.
Did you try it and had an
S2.0.mumble uses the id attribute to name the current iteration object.
S2.1 uses var. Depends on what version you're using, I guess.
d.
--- Marc Eckart [EMAIL PROTECTED] wrote:
I tried this with the var in the iterator tag and tomcat e.g. jasper
complained about that var is not defined in
Ah perfect. I looked at the tag reference on the struts2 page and there was
the var attribute.
I'm actually using 2.0.8. So this can not work :-)
Thank you very much :-)
Marc
2007/12/4, Dave Newton [EMAIL PROTECTED]:
S2.0.mumble uses the id attribute to name the current iteration object.
Has anyone else had the experience that using a tabbedPanel with no cssStyle
specifying width and height doesn't work?
For example, this works:
s:tabbedPanel id=scrntabpane theme=simple cssStyle=width: 450px;
height: 576px; doLayout=true
This doesn't work:
s:tabbedPanel id=scrntabpane
Oh yeah, I'm using 2.0.11
--
View this message in context:
http://www.nabble.com/Struts2%3A-tabbedPanel-with-no-cssStyle-bug--tf4944709.html#a14156081
Sent from the Struts - User mailing list archive at Nabble.com.
-
To
Hi,
I have another Problem connected to the iterator problem :-)
I have some java variables in my jsp side which do some counting for
navigation purposes.
I need these to decide if I want to render a tableheader (in case of the
first element of the collection) or not.
We can't put all entries
Just use the status variable; that's more or less one of the reasons it's
there :)
d.
--- Marc Eckart [EMAIL PROTECTED] wrote:
Hi,
I have another Problem connected to the iterator problem :-)
I have some java variables in my jsp side which do some counting for
navigation purposes.
I
--- Gigliotti, Andrea [EMAIL PROTECTED] wrote:
I tried to remove the javascript confirm message, and now it work fine!
Btw, I'm in the camp of the other comment that said you're probably
submitting it twice (without knowing, since you didn't post the complete
code). If you're doing a submit from
elentz wrote:
Has anyone else had the experience that using a tabbedPanel with no cssStyle
specifying width and height doesn't work?
For example, this works:
s:tabbedPanel id=scrntabpane theme=simple cssStyle=width: 450px;
height: 576px; doLayout=true
This doesn't work:
s:tabbedPanel
Henry
difficult to say without seeing the interceptor stack from
struts-default.xml
Please post to group
M--
LA County ..465 square miles of constantly interfacing humanity - Dragnet
quote from Dan Ackroyd
- Original Message -
From: Henry Park [EMAIL PROTECTED]
To: Struts Users Mailing
If doLayout is true the height css attribute is mandatory. It applis
cssStyle directly to every tab.
If doLayout is false, the height is determined by the content and varies
tab-to-tab.
I'm not sure what you were hoping for by setting doLayout=true but not
setting cssStyle. I presume
I'm trying to implement a file upload tab in an ajax-themed tabbed panel,
using the s:file tag.
The file uploading works OK if I view the action directly instead of inside
a tabbedpanel.
However, if I view the file upload page inside an ajax tabbedpanel and try
submitting, with or without a file
Thanks for reply
Yes. The content of the tab remains, just the scrollbar appears/disappears.
I have tried an experiment in the tabbed panel example in struts2-showcase
as follow:
1. Open file example2.jsp located at
struts2-showcase-2.0.11\ajax\tabbedpanel
2. Edit the tab content of tab with
As is know to all, s:optiontransferselect tag has a buttonCssStyle
attribute, which will make all buttons look in a unified style. But how can
we make each button in a different style just like the image showed below:
http://www.nabble.com/file/p14163637/optiontransvertical.png
--
View this
I tried to use getInvocationContext.getparameters this method return a
Map. when I use Map's get method by keyusername
I got a result like @1c98b2
what's going on?
Thx
--
Ray Chen(陈磊)
Email:[EMAIL PROTECTED]
Blog: http://clraychen.blogcn.com
Hai
i am working struts2
i used the ServletRequestAware,ServletResponseAware,
SessionAware Interfaces ..
But i don' t understand how to use the ParameterAwate interface
i tryed it like using setParameters() and getParameters()..
i get the null values only..
Hi,
Its returning a string array. :)
Thanks,
Nuwan
Ray wrote:
I tried to use getInvocationContext.getparameters this method return a
Map. when I use Map's get method by keyusername
I got a result like @1c98b2
what's going on?
Thx
pavan kumargss 写道:
Hai
i am working struts2
i used the ServletRequestAware,ServletResponseAware,
SessionAware Interfaces ..
But i don' t understand how to use the ParameterAwate interface
i tryed it like using setParameters() and getParameters()..
i get the null values only..
Maybe I
Nuwan Chandrasoma Wrote:
Hi,
Its returning a string array. :)
Thanks,
Nuwan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
String array?
And How can I get the username
I have just downloaded the DisplayTag and try with the sort function. I do
the following:
display:table name=messages sort=list pagesize=8
display:column property=docId title=ID group=1 sortable=true
headerClass=sortable /
display:column property=sender title=Sender group=2
sortable=true
Hi,
Some code like this.
public String execute() throws Exception {
String[] name = (String[])parameterMap.get(username);
System.out.println(usernamein the page is:+name[0]);
String[] datenow = (String[])parameterMap.get(dateNow);
System.out.println(datenow in
Hi,
Have a look at this blog..
http://www.vitarara.org/cms/struts_2_cookbook/creating_a_login_interceptor
Thanks to Mark :)
Thanks,
Nuwan
Ray wrote:
pavan kumargss 写道:
Hai
i am working struts2
i used the ServletRequestAware,ServletResponseAware,
SessionAware Interfaces ..
But i don' t
Jason Wyatt wrote:
I'm trying to implement a file upload tab in an ajax-themed tabbed panel,
using the s:file tag.
The file uploading works OK if I view the action directly instead of inside
a tabbedpanel.
However, if I view the file upload page inside an ajax tabbedpanel and try
submitting,
50 matches
Mail list logo