can anyone please tell me how do we set the values of the checkboxes in the
html:multibox.
and how do we retrieve the selected values.
kindly explain.
Abhimanyu Koul
FinEng Solutions (P) Ltd.
Dani Compound,
158, Vidyanagari Marg,
Kalina, Santacruz (East),
Mumbai - 400 098
Mobile : +91 981951009
Hello,
I've two actions which share the same form in with session scope.
In the first action one boolean value of the form will be set to false,
but in the next action the form will be retireved an the value is still true.
There is the error?
I tried (int Action 1):
form.setValue(false);
and I
Hello. does anybody know how to add several actions to one action map.
I have 2 actions, that work separatly on different pages, but on onee page
under the clickon one button both of them must work. Whow to organize it in
struts?
Thanks for the tip.
rukka
Frank W. Zammetti wrote:
As previously mentioned, you'll probably want to use the onSubmit
handler of the form itself. But, whether you do that or not, try
adding "return true;" to the end of your handler code... I'm not sure
what every browser will do by default,
I have a tiles definition (tiles-defs.xml),
and a global forward (struts-config.xml),
When the forward is triggered with this,
the browser requests host//page.main. This gives a
Tomcat "resource unavailable screen". HTML links don't seem to work
either. When I try somet
Hello all -
This was a pebkac style error. I have solved the problem. Thank you for the
rapid replies.
Take care.
brian
"Frank W. Zammetti" <[EMAIL PROTECTED]> wrote:
On the second point, can you list your web.xml, the portion where you
map the filter at least? Ch
how to handle action chaning in EventDispatchAction, for example, if my
mapping is something like this:
When we use: return mapping.findForward("nextaction"); the current
parameters, including the event for the current action will be passed on to
the next action class. will this confuse the nex
On 5/31/06, pantichd <[EMAIL PROTECTED]> wrote:
I'm trying to figure out how to decide which "flavor" of DispatchAction
(DispatchAction, LookupDispatchAction, MappingDispatchAction, etc) to use in
which scenario.
I'm now using 'EventDispatchAction' for anything new I write. It uses
the presen
On 5/31/06, CrackheadMillionaire <[EMAIL PROTECTED]> wrote:
I recently implemented a filter to push some information into the session. Great.
However, after filter processing and within my DispatchAction, if I make a call to
request.getSession().getAttribute("whateverName"); the values are
This page may be helpful:
http://wiki.apache.org/struts/EventActionDispatcher
On Wed, 2006-05-31 at 10:42 -0700, pantichd wrote:
> Hello,
>
> I'm trying to figure out how to decide which "flavor" of DispatchAction
> (DispatchAction, LookupDispatchAction, MappingDispatchAction, etc) to use in
> wh
On the second point, can you list your web.xml, the portion where you
map the filter at least? Chances are you have it mapped incorrectly.
On the first point, can we see your filter? There's no inherent reason
you can't do what your trying to do with a filter and Struts, so there
is some det
Hello friends -
I recently implemented a filter to push some information into the session.
Great. However, after filter processing and within my DispatchAction, if I
make a call to request.getSession().getAttribute("whateverName"); the values
aren't there; in fact, the session attached
As previously mentioned, you'll probably want to use the onSubmit
handler of the form itself. But, whether you do that or not, try adding
"return true;" to the end of your handler code... I'm not sure what
every browser will do by default, but for onSubmit at least, you need to
return true for
It's no more weird than request.getAttribute("
org.apache.struts.action.EXCEPTION'"), which is what that EL snippet is
equivalant to. Either way you need to tell the request which named
attribute to give you.
On 5/31/06, John Hutchinson <[EMAIL PROTECTED]> wrote:
Bingo. Thanks. That's weird.
I think it has to do with the "." in the key you are looking up. It
causes it to look for a bean named "org" in the request scope with a
nested property named 'apache' etc. By using the ['key'] syntax you're
spelling out that the entire string is the key.
-Adam
-Original Message-
From: J
Bingo. Thanks. That's weird.
On 5/31/06, Samere, Adam J <[EMAIL PROTECTED]> wrote:
Try ${requestScope['org.apache.struts.action.EXCEPTION']}
-Original Message-
From: John Hutchinson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 1:41 PM
To: user@struts.apache.org
Subject: Disp
Try ${requestScope['org.apache.struts.action.EXCEPTION']}
-Original Message-
From: John Hutchinson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 1:41 PM
To: user@struts.apache.org
Subject: Displaying and error
Anyone know why this doesn't work in a JSP error page:
<%@ page isE
Hello,
I'm trying to figure out how to decide which "flavor" of DispatchAction
(DispatchAction, LookupDispatchAction, MappingDispatchAction, etc) to use in
which scenario.
I know that there is a lot of "personal preference" involved but I'm hoping
there is some kind of documentation that indicat
Anyone know why this doesn't work in a JSP error page:
<%@ page isErrorPage="true" %>
...
test
${requestScope.org.apache.struts.action.EXCEPTION}
no error found
I've forced an exception, and I see org.apache.struts.action.EXCEPTION in
the request attributes (w
i was going to say you try...
onclick="this.disabled=true;this.form.submit()"
sorry for the delay
El mié, 31 de 05 de 2006 a las 18:14, A Amarakoon escribió:
> Gareth, Monkeyden, Jorge, Andy Thank you..
>
> This js lib looks good.
>
> this code fixes it: onclick="this.disabled=true;submit(
Gareth Evans msoft.co.uk> writes:
> One of the best ways to check it to extract the struts jars file to a
> temporary folder and see which ones it contains.
>
> Note: The public identifier is an exact string match i.e.
>
> -//Apache Software Foundation//DTD Commons Validator Rules Configuratio
Hi,
If your application tries to connect to the web for any reason on
startup, either to jakarta.apache.org or struts.apache.org it is because
the digester is unable to find a local copy of the dtd.
This can happen for a number of reasons:
1) There is a typo in your doctype declaration
2) Yo
Just replying to say that using execute instead of perform made it work fine.
Thanks. =)
On 5/30/06, Homero Cardoso de Almeida <[EMAIL PROTECTED]> wrote:
Thanks for the help, David.
Yeah, I really think the book is a little outdated (i'm really using
perform() instead of execute()). I think the
Gareth, Monkeyden, Jorge, Andy Thank you..
This js lib looks good.
this code fixes it: onclick="this.disabled=true;submit()"
rukka
- Original Message -
From: Gareth Evans <[EMAIL PROTECTED]>
Date: Wednesday, May 31, 2006 11:02 am
Subject: Re: Disable submit button
> Hi,
>
> I use th
http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd";>
I am experiencing the same issue when my network connection is off. The
validator cannot reference
the "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd"; when there is
no network connection.
This is bad because validato
Hi,
I use the following script to do this, it requires the prototype
javascript library:
function disableOnClick ( className ) {
var elements = document.getElementsByClassName( className );
for ( var index = 0; index < elements.length; index ++ ) {
Event.observe( elements[index
Is it nested within the tag? What browser are you using? Any
JS errors on the client?
On 5/31/06, A Amarakoon <[EMAIL PROTECTED]> wrote:
Thank you for quick reply.. This does not work for me..
once you click the submit button it disables button. but does not submit
action to
the server. May
Thank you for quick reply.. This does not work for me..
once you click the submit button it disables button. but does not submit action
to
the server. May be I am missing something??
thanks
rukka
- Original Message -
From: Jorge Mart�n Cuervo <[EMAIL PROTECTED]>
Date: Wednesday, May 31,
On 5/31/06, marcus biel (innoWake gmbh) <[EMAIL PROTECTED]> wrote:
To be honest, I was "forced" to convert my struts project
that I created in eclipse using a nice eclipse plugin, to
Maven. The only problems are:
1) I have no much of an idea of Maven
2) I created the necessary project.properties
Ok, joke's over. That was funny...notepad. You had me going for a sec.
On 5/31/06, Marco Mistroni <[EMAIL PROTECTED]> wrote:
Hello,
My 2 c ents again..
Maybe everything has worked perferctly for me cos I m still
Developing in Notepad :)
Rgds
marco
-Original Message-
From:
Whether or not you persist the data between screens is dependent on whether
or not the screens make up a single transaction. Suppose you have an HR
system that allows the user to enter all new employee information. That
system may require that the user enter all the employee's information or
he/
Hello,
My 2 c ents again..
Maybe everything has worked perferctly for me cos I m still
Developing in Notepad :)
Rgds
marco
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: 31 May 2006 15:23
To: Struts Users Mailing List
Subject: RE: Maven + Struts
Your er
Maven takes the jar file like "struts-1.2.9.jar" and puts em into
\WEB-INF\lib - I am just not sure if the "1.2.9" ending is fine -
before it was just struts.jar. Could this be the problem?
If so, how to avoid it?
Marcus
-Ursprüngliche Nachricht-
Von: David Friedman [mailto:[EMAIL PROTEC
Your error suggests your war file doesn't have the appropriate struts .jar
file(s) in /WEB-INF/lib. I had a similar Maven problem until I double
checked I was using the proper Maven directory structure AND had appropriate
pom.xml project dependencies. Have you double checked that Maven put your
.
this works well
PD: i've tested in firefox
El mié, 31 de 05 de 2006 a las 16:36, rukka escribió:
> As a part of solution to multiple reloads and to block the multiple
> submit requests in long running service layer methods, we like to
> disable submit button once user hit that once. Does ht
You should attach the event to the form and not the button. If the user
clicks the enter key on the keyboard and you have used an "onClick"
event, then the event will not fire if the user hits enter.
Andy Miller
IS Designer
Butte College
530.895.2946
-Original Message-
From: rukka [mailto
i've not tested but i think it should work:
El mié, 31 de 05 de 2006 a las 16:36, rukka escribió:
> As a part of solution to multiple reloads and to block the multiple
> submit requests in long running service layer methods, we like to
> disable submit button once user hit that once. Does h
You could use the message tag from JSTL to lookup and store the message
from your resource bundle. Then use the EL version of the Struts HTML
tag library to output the saved value.
<%-- This stores the value of my.link.1 in myLink1 --%>
<%-- now plug it in for the href attribute --%>
something
We use Struts Dialog to run a wizard. One problem we have is in long
running transaction (3-4 seconds) user can hit submit button multiple times.
In turn struts controller originates multiple service requests.
with isTokenValid() method, we are going to lose the response coming
back from servi
To be honest, I was "forced" to convert my struts project
that I created in eclipse using a nice eclipse plugin, to
Maven. The only problems are:
1) I have no much of an idea of Maven
2) I created the necessary project.properties and project.xml files,
but in order to make them work I had to adjust
As a part of solution to multiple reloads and to block the multiple
submit requests in long running service layer methods, we like to
disable submit button once user hit that once. Does html:submit button
tag has java scripts associated with it?
If you do have any links on client side fix, I
Hello,
I do have a jsp tag like this:
something
I want to pull href link "my.link" from Message.resources
(Application.properties).
how do I do that?
Thanks in advance to any replies...
rukka
-
To unsubscribe, e-mail:
Hello,
I have one that I can mail you privately.. I m just curious on
Why you mention 'Struts with Maven'..
Do you need it for creating webapp or are you particularly interested
In special features (I m not aware of them) that Maven offers for struts?
Thx and regards
Marco
-Original Me
Does anyone of you have an example project.xml and project.properties
file
to use Struts with Maven?
Thanks,
Marcus
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks All of you. Finally, i could implement it with ajax.
Lakshmi.
Dave Newton <[EMAIL PROTECTED]> wrote:
Medicherla Lakshmi wrote:
> Am using struts and my requirement is i have two selects i a jsp. On change
> of value in the first select, the values in the secon select should pop up
Good morning
for a struts application
I need to display the list of locales supported by the application.
Can I avoid to manage this list manually ?
i..e is there a simple way to know all the locales that have
a corresponding ApplicationResources file ?
thank you for any suggestion
F
Thanks to all of you.
I learned a lot from this chain of letters.
You fellows are so kind that I am sure struts is a beautiful struts :)
Many questions are coming as I will pay a lot of time to study struts as a
freshman.
Thank you again.
47 matches
Mail list logo