If I have a text input in my jsp named scoreNdays, I know I should declare my
variable scoreNdays in the struts formbean with getter and setter like
getScoreNdays(). Then it will work with the jsp. Now I have an iternation in
my jsp like
.
Since the two input are indexed, they generate a
Anyone who can help me?
--
View this message in context:
http://www.nabble.com/Problem-testing-my-action-when-I%E2%80%99ve-got-a-springbean-inside-the-validators.xml-tp24862185p25270552.html
Sent from the Struts - User mailing list archive at Nabble.com.
---
Hi,
I developed a data collection web application using struts 1.2.9 and I've
run into a problem that I cannot find a solution to. The amount of data
being collected is quite a bit so pass the information along in session
variables. The problem arises when a user has multiple instances of the
Thanks for your comment. But my question is How can it be done using AJAX? I
am using dojo plugin in my struts application. But if I use
then it also shows the brows location as well. But in my case its only a
simple upload button.What should I do?
And initially there has to be a placeholder for
Maybe have the Upload buttons refresh the page? And load the images from the
action?
Otherwise it would have to be done client side (ajax?)
-Original Message-
From: hisameer [mailto:cool_sameer_fo...@yahoo.com]
Sent: Wednesday, September 02, 2009 6:27 PM
To: user@struts.apache.org
Subjec
Think subroutine.
musom...@aol.com wrote:
Different tags do different things so I'm afraid you have to look at the documentation for
a tag to see just what it does. This one was written for the purpose of allowing you to
use the result of an action in the page you are currently rendering.
Different tags do different things so I'm afraid you have to look at the
documentation for
a tag to see just what it does. This one was written for the purpose of
allowing you to
use the result of an action in the page you are currently rendering.
Chris
-Original Message
I haven't tried DisplayTag yet with Struts 2 but I've used it with Spring MVC
and can say that DisplayTag is very nice. Very flexible.
Johannes Geppert wrote:
I use the display tags for tables. it's easy to use with struts2.
http://displaytag.sourceforge.net/1.2/
Arthur Neves wrote:
Hi,
I forgot to say, those changes are in trunk now, but have not been
released yet, so you would have to check them out from svn and build
it yourself.
musachy
On Wed, Sep 2, 2009 at 2:50 PM, James Carr wrote:
> Thanks
>
> On Wed, Sep 2, 2009 at 10:58 AM, Musachy Barroso wrote:
>> lol. Take a look a
Ok, thanks. That makes sense.
Wes Wannemacher wrote:
There are a few static resources (javascript and css files) in the jar
that get served up under certain conditions... Such as if you are
using the javascript validation. Any of the static resources that
struts serves right from the jar file
I am using Struts 2.1.6 and in my application I have a requirement where the
user can upload four pictures of his vehicle.In my JSP, there will be four
upload buttons corresponding to those four pics(As shown in the below
image). After the user is done selecting the file it should be uploaded in
t
Thanks
On Wed, Sep 2, 2009 at 10:58 AM, Musachy Barroso wrote:
> lol. Take a look at the JUnit plugin, some stuff was recently added to
> that plugin that will let you test your actions outside the container.
> The only problems is JSPs, for which you can use the Embedded JSP
> plugins. So as Dave
And if you're using cssClass in the tag, you might want to add
this to the template (just replace the from the example Mike
provided):
class="${parameters.cssClass?html}"<#rt/>
>
-Original Message-
From: Mike Baranski [mailto:list-subscripti...@secmgmt.com]
Sent: Wednesday, Septembe
For #1, I don't know.
For #2, I did exactly that, see here:
http://mikeski.net/site/node/16
Mike.
>-Original Message-
>From: Dave Belfer-Shevett [mailto:d...@homeport.org]
>Sent: Wednesday, September 02, 2009 4:34 PM
>To: Struts Users Mailing List
>Subject: Session variables in button
I have a twofold question.
The first is I have a session variable called 'sendto' which contains a
string ('registrant','none', or 'everyone'). When the page with the
radio buttons is rendered, I want to preselect based on whatever the
value in the session hash for 'sendto' is set to.
Code:
Of course if you couldn't tell, I'm very new to Struts. Can you explain
why that all shows up on one page and doesn't take me to a different page?
My best assumption on how Struts works is that when I'm at index.jsp I
call the action ActionTag which on a success displays the snippet.jsp page
on
Great. The trick is not to have an action's result contain a call to the
action --
you set up an infinite recursion that way.
Chris
-Original Message-
From: briannic...@aspca.org
To: Struts Users Mailing List
Sent: Wed, Sep 2, 2009 3:21 pm
Subject: Re: Action Tag java.lan
2009/9/2 Martin Gainty :
>
> bejaouizied
>
> this guy emailed me on a contract in london (22&/hr flat for duration of
> contract)
>
> w.bottri...@computerfutures.com
>
> HTH
> Martin Gainty
Martin,
What in the holy name of Gozer the Gozerian are you talking about?
-Wes
--
Wes Wannemacher
Hea
bejaouizied
this guy emailed me on a contract in london (22&/hr flat for duration of
contract)
w.bottri...@computerfutures.com
HTH
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertr
Chris,
Thanks, that works exactly the way I wanted.
Brian E. Nicely
Programmer / Analyst
Knowledge Management
ASPCA®
1717 South Philo Road, Suite 36
Urbana, IL 61802
briannic...@aspca.org
P: 217-337-9700, 9799
F: 217-337-0599
www.aspca.org
The information contained in this e-mail, and a
1) Create a file called snippet.jsp with just:
And this line is from the target action.
-
2) Change result in your struts.xml to read
/snippet.jsp
Thank you Martin and Dave.
That makes sense to me Dave, thanks for clearing that up. What I would
like to do though is stay on the same page without going to a different
page but still contain that action. From what you're describing and from
what I got from Martin, it appears it might not be p
briannic...@aspca.org wrote:
Is there an example you could point me to (that actually works) or help me
get my example working?
We seem to be talking past each other here.
Load a page you're not already on. Do you understand *why* you're
getting a stack overflow? You're calling an action. Tha
Is there an example you could point me to (that actually works) or help me
get my example working?
Brian E. Nicely
Programmer / Analyst
Knowledge Management
ASPCA®
1717 South Philo Road, Suite 36
Urbana, IL 61802
briannic...@aspca.org
P: 217-337-9700, 9799
F: 217-337-0599
www.aspca.org
briannic...@aspca.org wrote:
What I want to do is load a page without the user having to click on it
(like a submit button) and have the data show up on the page. I also don't
want to forward to another page. Is that even possible?
You can use the action tag for that (depending on a few things
What I want to do is load a page without the user having to click on it
(like a submit button) and have the data show up on the page. I also don't
want to forward to another page. Is that even possible?
Brian E. Nicely
Programmer / Analyst
Knowledge Management
ASPCA®
1717 South Philo Road,
briannic...@aspca.org wrote:
I've been banging my head against the wall for the past 6+ hours or so and
need help with this problem.
I am trying to call an action to display results on a page when the page
is closed, but I keep getting a loop that keeps printing the data over and
over until a
I use the display tags for tables. it's easy to use with struts2.
http://displaytag.sourceforge.net/1.2/
Arthur Neves wrote:
>
> Hi,
>
> I'd like to know, if is there a way to make tables(grids) easily in
> Struts2?
> What do you use? Is there a tag?
>
>
-
---
web: http://www.jgepper
I'm sorry, I should correct myself. I want to display the results when
the page is "open" and I'm using Struts2.
Brian E. Nicely
Programmer / Analyst
Knowledge Management
ASPCA®
1717 South Philo Road, Suite 36
Urbana, IL 61802
briannic...@aspca.org
P: 217-337-9700, 9799
F: 217-337-0599
ww
I've been banging my head against the wall for the past 6+ hours or so and
need help with this problem.
I am trying to call an action to display results on a page when the page
is closed, but I keep getting a loop that keeps printing the data over and
over until a StackOverflowError occurs.
My
lol. Take a look at the JUnit plugin, some stuff was recently added to
that plugin that will let you test your actions outside the container.
The only problems is JSPs, for which you can use the Embedded JSP
plugins. So as Dave said, yes you can but you have to use those 2
plugins.
musachy
On Wed
On Wed, Sep 2, 2009 at 11:18 AM, Dave Newton wrote:
> James Carr wrote:
>
>> I've been doing a lot of rails development lately, and one thing I
>> like is how I can use Cucumber to test my rails app through the
>> controller, and through this I can test validation and templates that
>> are render
Wrong mailing list.
Please ask the Tiles Users mailing list:
http://tiles.apache.org/mail.html
Antonio
2009/9/2 bejaoui zied :
>
> Hi guys,
>
> I am trying to use a JSF files as a body of a tiles definition, however when
> i run my example the jsf file is noy showing up
>
> here is my definition
James Carr wrote:
I've been doing a lot of rails development lately, and one thing I
like is how I can use Cucumber to test my rails app through the
controller, and through this I can test validation and templates that
are rendered without the server running.
Is it possible to do something like
Hi guys,
I am trying to use a JSF files as a body of a tiles definition, however when i
run my example the jsf file is noy showing up
here is my definition:
home.jsp is a jsf file.
ZIED BEJAOUI
Tel: 0044(0)7506628905
After a similar question I asked a few days ago... I decided to create a
tag-library and some utility classes that will make it easy
integrate jqgrid into struts2 applications... I already have something
working but it is far from finished (see
http://code.google.com/p/antilia-struts/) and I'll b
Your advice works! I used a javascript workaround in the meantime, however
your answer will spare me a lot of time next time.
--
View this message in context:
http://www.nabble.com/Problem-with-collection-in-select-tp25256112p25259300.html
Sent from the Struts - User mailing list archive at Nab
I've done it a few different ways. One of my favorite ways is to use
jqgrid and JSON... This is a bit complicated though, so not for the
faint of heart. Constructing a basic table is pretty easy -
header1header2
Of course, you would probably want to properly add theader / tbody
tags, bu
Hi,
I'd like to know, if is there a way to make tables(grids) easily in Struts2?
What do you use? Is there a tag?
Hi All,
I've been doing a lot of rails development lately, and one thing I
like is how I can use Cucumber to test my rails app through the
controller, and through this I can test validation and templates that
are rendered without the server running.
Is it possible to do something like this for St
FWIW, I did a quick dispatcher result hack that allows setting the HTTP
result; we use it for Ajax calls (not 404s). I'll probably fold that
property back into S2, but like Wes said it's not so handy for 404s.
Dave
Wes Wannemacher wrote:
404 is a tricky header... Most of the time, you really
404 is a tricky header... Most of the time, you really don't want to
send content along with an http header, think of redirects, etc. If
you want some app-specific behavior, I would try to fit it into your
app rather than trying to munge headers. In the case of redirects,
when you see content it is
There are a few static resources (javascript and css files) in the jar
that get served up under certain conditions... Such as if you are
using the javascript validation. Any of the static resources that
struts serves right from the jar file will be mapped as requests to
/struts/*
-Wes
On Wed, Sep
Thanks Wes.
The 'documentation' (it's very limited) gives the impression that you can
specify an error message when using the errorMessage parameter with the
error parameter, and even being able to pick up a message from the value
stack using an OGNL expression.
Having looked at what is returne
Mrakomor wrote:
Hello folks,
I wanted to use a Struts 2 select in the form. I wanted to populate the list
using filtered collection. If I use it without the filter, like this:
name="depzad.dzRequest.contractList[%{#status.index}].selectedContract"
listKey="contractNr" listValue="contractNr
谢冬鸣 wrote:
> can i directly send mail to "user@struts.apache.org" from my gmail and all
> the mailling list users will see it ?
Yes, like this one.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additiona
Rusty Wright wrote:
This struts newbie would like to know, what's the /struts/* mapping for?
The static files S2 serves (CSS, JS).
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-
Rajeev Sharma wrote:
I am not using session or cookies at all in my application right now. So
I guess adding cookie listener doesn't make any sense to be added to
JMeter test case. I shall use cookies later and shall add cookie
listener to test my application. I don't want to store any data in we
My guess is that your single-char string is evaluated as a single char...
http://struts.apache.org/2.x/docs/why-wont-the-if-tag-evaluate-a-one-char-string.html
Try flipping the quotes or escaping double-quotes in the expression,
then OGNL will probably figure it out.
-Wes
On Wed, Sep 2, 2009 at
The HTTP Header result type doesn't really have the ability to write
content. You could try mapping 404 in your web.xml, then use the http
header result type in conjunction with the 404 mapping in web.xml
(never tried it, so let us know if that works).
-Wes
On Wed, Sep 2, 2009 at 5:35 AM, Mark Ro
Hello folks,
I wanted to use a Struts 2 select in the form. I wanted to populate the list
using filtered collection. If I use it without the filter, like this:
it works just fine. In depzad.dzZadostMat.contractList is a list of the
contracts and contract numbers are in the select.
If I use
Hi,
I need to be able to return a status and message to users of a particular
URL. If I use...
404
I can successfully return a 404 status, but with no message.
If I use...
404
Some details about the error go here, or an OGNL expression
The page returned to the browser has no co
Yes. Also note that you probably must be sending the email from an email
address that is subscribed to the list.
谢冬鸣 wrote:
> can i directly send mail to "user@struts.apache.org" from my gmail and all
> the mailling list users will see it ?
>
>
> On Tue, Sep 1, 2009 at 06:34, Java Struts wrot
That's good to know; thanks.
This struts newbie would like to know, what's the /struts/* mapping for?
Rajeev Sharma wrote:
*.action works fine for me too.
-Original Message-
From: Peter Phillips
Reply-to: "Struts Users Mailing List"
To: Struts Users Mailing List
Subject: Re: struts
54 matches
Mail list logo