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.
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.
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
Hello,
I do have a jsp tag like this:
html:link href=my.link.1 tabindex=3 something /html:link
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
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,
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
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
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 --%
fmt:message var=myLink1 key=my.link.1/
%-- now plug it in for
i've not tested but i think it should work:
html:submit onclick=this.disabled=true/
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
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
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
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
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
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
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:
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 and
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,
Is it nested within the html:form 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
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(
!DOCTYPE form-validation PUBLIC
-//Apache Software Foundation//DTD Commons Validator Rules
Configuration 1.1.3//EN
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
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 the
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
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)
Gareth Evans gareth.evans at 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
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()
Anyone know why this doesn't work in a JSP error page:
%@ page isErrorPage=true %
...
c:choose
c:when test=${not empty
requestScope.org.apache.struts.action.EXCEPTION}
test br /
${requestScope.org.apache.struts.action.EXCEPTION}
/c:when
c:otherwise
no error found
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
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:
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.
On
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
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
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
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
which
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 aren't
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 presence
how to handle action chaning in EventDispatchAction, for example, if my
mapping is something like this:
forward name = nextaction path = /nextAction.do?action=true/
When we use: return mapping.findForward(nextaction); the current
parameters, including the event for the current action will be
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?
I have a tiles definition (tiles-defs.xml),
definition name=page.main extends=base.definition
put name=title value=Main Page /
put name=centercontent value=/main.jsp /
/definition
and a global forward (struts-config.xml),
global-forwards
forward name=main path=page.main /
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,
39 matches
Mail list logo