Jason Wyatt wrote:
I'm trying to implement a file upload tab in an ajax-themed tabbed panel,
using the 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
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
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("dateno
I have just downloaded the DisplayTag and try with the sort function. I do
the following:
When I click on the column header, it displays "Nothing found to display".
The URL has been changed to
http://localhost:8080/test/jsp/folderList.jsp?d-49653-s=0&d-49653-o=2&d-49653-p=1
My fold
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" val
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 mis
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 key"username"
I got a result like "@1c98b2"
what's going on?
Thx
--
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..
I tried to use getInvocationContext.getparameters this method return a
Map. when I use Map's get method by key"username"
I got a result like "@1c98b2"
what's going on?
Thx
--
Ray Chen(陈磊)
Email:[EMAIL PROTECTED]
Blog: http://clraychen.blogcn.com
As is know to all, 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 message in context:
htt
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
I'm trying to implement a file upload tab in an ajax-themed tabbed panel,
using the 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 attach
> 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 p
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 Mail
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:
This doesn't work:
It would seem that both should work. By not working I mean that the tabs
appear but no content within any of the c
--- "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
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
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 in
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 unsubs
Has anyone else had the experience that using a tabbedPanel with no cssStyle
specifying width and height doesn't work?
For example, this works:
This doesn't work:
It would seem that both should work. By not working I mean that the tabs
appear but no content within any of the children .
--
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.
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 define
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
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
---
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
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:
Is this possible?
Best Regards,
Marc
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 g
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: user@str
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 t
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 application
I'm using Struts 2 with siteMesh.
I developed a simple application which can be summerized in a page form fro
making different kinds of query and a small number of result pages.
I want to give the user the possibility, for some result pages, to choose to
see them undecorated.
It should work like
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: Gigl
--- 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
>
when current pane exceeds panel scrollbar is shown is correct
please display code
M--
- Original Message -
From: "quinquin2209" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, December 04, 2007 6:29 AM
Subject: Scrollbar problem with tabbed panel in Struts2
>
> Hi All,
>
> I have used the tabbe
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 it.kappapa
--- 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 possibl
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 decla
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
It seems to me I've found the solution:
Add this to your action declaration:
true
actionMethodHere
Have fun! :)
- Thilo
This works for me, but
Am 04.12.2007 um 13:24 schrieb Martin Gilday:
I posted about this a while back. Nobody seemed to have an annotation
based solution, onl
--- 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
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"
Date: Tue, 4 Dec 2007 13:01:15 +0100
Subject: [s2] Different Annotated Validations
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
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 compon
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.
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. but
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:
http://struts.apache.org
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:
http://struts.apache.org/2.x/docs/ajax-and-javas
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 d
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 property-metho
- 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.
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
Hi,
your help in this regard is very much appreciated.
my strutus-config entry is
as you see, the forward is to a tiles definition, which looks like
my jsp code looks like:
<%
DynaActionForm form
=((DynaActionForm)requ
52 matches
Mail list logo