being put in because you set the focus attribute of the
html:form tag, but there is no attribute called username.
w
On Tue, 25 Jan 2005 11:20:36 -0500
"Nadia Kunkov" <[EMAIL PROTECTED]> wrote:
>Hi,
>
>I'm not sure if this question is really about struts even th
Hi,
I'm not sure if this question is really about struts even though it occures in
my struts application. My apologies if this is a bit off topic.
I have a jsp logon page with two input fields "userId' and "password"
I of course have a corresponding ActionForm with the same attributes.
When I op
Hi,
I have two almost identical jsp pages with cancel buttons.
I'm using dispatch action so method "cancel" in my action just does a forward
to some other page.
In the documentation it's said that cancel "...causes the action servlet to
bypass calling the associated form bean validate() meth
html:submit, and have it do
the form.submit().
Simple, and flexible - plus you can prevent the double-click submitters. :-)
Larry
On Tue, 11 Jan 2005 11:58:37 -0500, Nadia Kunkov
<[EMAIL PROTECTED]> wrote:
> Hi,
> I implemented DispatchAction and I have a page with three submit buttons,
>
Hi,
I implemented DispatchAction and I have a page with three submit buttons, each
executes a method in my dispatch action.
This works fine but I would like to make sure that one of the radio buttons
that I have on the page is clicked.
My validation is turned off for this action since there are
You are right! It was the key against the name.
Thank you so much.
Nadia
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 30, 2004 11:20 AM
To: Struts Users Mailing List
Subject: Re: html:options won't get preselected!
From: "Nadia Kunko
Hi,
I have a form that my action prepopulates and that works fine. For example:
Country is FormBean property that is populated from the database by my action.
This is all good but I want the user to be able to change the country so I need
a dropdown list.
Here is what I have:
-----
From: "Nadia Kunkov" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" ; "Jay Chandran"
<[EMAIL PROTECTED]>
Sent: Thursday, December 30, 2004 7:33 PM
Subject: RE: struts and Tomcat4.0.4
Thanks,
Connections were a part of my problem actually. But that got
connection the
system hangs.
- Original Message -
From: "Nadia Kunkov" <[EMAIL PROTECTED]>
To: "Struts help (E-mail)"
Sent: Wednesday, December 29, 2004 9:12 PM
Subject: struts and Tomcat4.0.4
Hi,
I'm running tomcat4.0.4 on a Fedora core 1 box.
I'm bulding a
Hi,
I'm running tomcat4.0.4 on a Fedora core 1 box.
I'm bulding an application with struts and I came across a problem.
Every time my app has a problem like not finding the proper forward or problem
with a sql statment my app hangs.
When I fix the problem and go to restart the Tomcat it doesn't s
HI,
Another newbie question.
I need to build several pages with tabs. I'm using tiles. What is the best
way to implement it? Any examples, tutorials?
Thanks
Nadia
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Thanks to all of you for the replies. I decided to go with tiles since my app
is very simple.
Again, I appreciate the input.
Nadia
-Original Message-
From: Christian Bollmeyer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 4:07 PM
To: Struts Users Mailing List
Subject: Re: Ti
Nadia,
>
> I would bet on tiles. I avoid frames like the plague, for many
> reasons. So, use tiles. It's the struts way of doing what you want.
> A great tutorial on tiles: http://www.arc-mind.com/papers/advanced-tiles.pdf
>
> Best regards,
> Luiz Esmiralha
>
, use tiles. It's the struts way of doing what you want.
A great tutorial on tiles: http://www.arc-mind.com/papers/advanced-tiles.pdf
Best regards,
Luiz Esmiralha
On Mon, 6 Dec 2004 14:43:44 -0500, Nadia Kunkov <[EMAIL PROTECTED]> wrote:
> Hi,
> This is a struts newbie question.
-Original Message-
From: Nadia Kunkov [mailto:[EMAIL PROTECTED]
Sent: Monday, December 06, 2004 2:44 PM
To: Struts help (E-mail)
Subject: Tiles or Frames or Both
I had to fix the picture below.
Here it is:
Hi,
This is a struts newbie question.
I'm building an application wit
Hi,
This is a struts newbie question.
I'm building an application with the following layout:
|
Some header |
|
--
: Re: JSTL when...test won't work.
Nadia Kunkov wrote the following on 12/2/2004 2:06 PM:
> Well, your suggestion almost worked. I got the keys and values printed out
> but the "test" wouldn't work!
> Here is what I tried to do:
>
>
>
> Fou
ursday, December 02, 2004 12:18 PM
To: 'Struts Users Mailing List'
Subject: RE: JSTL when...test won't work.
What happens when you try:
instead of logic:iterate
> Nadia Kunkov wrote:
>
> > Hello,
> >
> > This is my first try with JSTL and somewhere I
PROTECTED]
Subject: Re: JSTL when...test won't work.
Found formRoles manager
NOT Found
Nadia Kunkov wrote:
> Hello,
>
> This is my first try with JSTL and somewhere I'm getting the syntax wrong.
> Could you please he
Hello,
This is my first try with JSTL and somewhere I'm getting the syntax wrong.
Could you please help me?
I have a bean called user in the session. One of this bean's properties is a
hash map called frmRoles. I need to go over the hashmap's keys and test if a
particular key exists. I'm no
ot;));
}
saveMessages(request, (ActionMessages) errors);
return (errors);
}
Shed.
> -Original Message-
> From: Nadia Kunkov [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 15, 2004 10:13 AM
> To: Struts Users Mailing List
&
: 'Struts Users Mailing List'
Subject: RE: Newbie never displays errors
Looks like you are not saving your errors. Try this after errors.add:
saveMessages(request, (ActionMessages) errors);
> -Original Message-
> From: Nadia Kunkov [mailto:[EMAIL PROTECTED]
> Sent: Friday,
ring "error". You added each item under
keys like "countryName" and "countryCapital" so you could access them
individually like this:
AND
Regards,
David
-Original Message-
From:
Mailing List
Subject: RE: Newbie never displays errors
Did you call saveErrors() or saveMessages() in your Action to save the
messages into the (request) scope for use in the JSP?
-Original Message-
From: Nadia Kunkov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 13, 2004 12:59
the errors from the area "countryName" and present
them for the bean:write tag to use as the name "error" (see id=".."). Have
you tried this yet?
Regards,
David
-Original Message-
From: Nadia Kunkov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 13,
the global errors word if you don't specify anything else.
Regards,
David
-----Original Message-
From: Nadia Kunkov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 13, 2004 12:31 PM
To: Struts Users Mailing List
Subject: RE: Newbie never displays errors
Thanks
Did that and specified th
,
Use this to write your message :
will write error message who are call in your validate method
and will check if these message are present.
Charles Gouin-Vallerand
-Original Message-
From: Nad
will write error message who are call in your validate method
and will check if these message are present.
Charles Gouin-Vallerand
-Original Message-
From: Nadia Kunkov [mailto:[EMAIL PROTECTED]
Sent: October 13, 2004 11:16 AM
To:
Hi,
I have gone through multiple postings and followed the suggestions about displaying
the errors. I just need another pair of eyes to look at this, I'm probably missing
something.
I can't display errors on the page. I know that I go through the validate method and
it finds errors because I
big fan of code first and optimize later, but that
does not mean to use resources that are clearly irrelevant first and
change your whole strategy later. Have you looked at the code in
DispatchAction? Why would you want to use it for this?
Michael McGrady
Nadia Kunkov wrote:
>I rephrased
/ do the rest of my stuff here
}
I guess the other alternative would be to put some logic in the ActionForm's
validate method - but that would be kind of duplicating the decision logic
in the DispatchAction
Niall
- Original Message -
From: "Nadia Kunkov" <[EMAIL PRO
I rephrased the subject of this posting. The old one was really wrong.
Hi,
I'm building an application using DispatchAction. I have several screens that use the
same ActionForm and I set validate to "true" for this action form.
The first page of my app is just a jsp with a single button ( I
Hi,
I'm building an application using DispatchAction. I have several screens that use the
same ActionForm and I set validate to "true" for this action form.
The first page of my app is just a jsp with a single button ( I have to start
somewhere :) . When I click the button on this first page w
plain /wrong/!
>
> Never trust input you get back from a client. Never.
>
> Brantley
>
>> -Original Message-
>> From: Nadia Kunkov [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, September 30, 2004 9:58 AM
>> To: Struts Users Mailing List
>> Subject:
where is the advantage?
Nadia Kunkov wrote:
> Hi,
> I'm wondering if I should use validate() method of ActionForm instead of JavaScript
> to validate the form. I can see the advantage of validate() when you have an
> internationalized application, but otherwise why would I ha
Hi,
I'm wondering if I should use validate() method of ActionForm instead of JavaScript to
validate the form. I can see the advantage of validate() when you have an
internationalized application, but otherwise why would I have an overhead of going
back to the server when I can do the validation
with the data that come in the DTO.
finally in the jsp you use the html:text as i told u before.
luck!
On Wed, 29 Sep 2004 15:25:41 -0400, Nadia Kunkov wrote
> OK. I obviously don't know enough to use the tags properly even
> though I've been playing with struts for a wee
Name", the html:text defaults to using the default
bean for the Action. Since you already have one, that is why I suggested
putting the DTO in the request scope.
Regards,
David
-Original Message-
From: Nadia Kunkov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 3:2
e in the struts-congig.xml?
does the action of the html:form use the bean-form myBeanName?
On Wed, 29 Sep 2004 15:03:02 -0400, Nadia Kunkov wrote
> Hi, newbie question again.
> I'm trying to use within tag.
>
> Here is how I use it with just plain HTML and it works:
> or nam
Hi, newbie question again.
I'm trying to use within tag.
Here is how I use it with just plain HTML and it works:
or
etc. I'd like to use or
I tried but that's not right. Could you help me with this?
Also, is having the bean in a session or request with data from the database and then
Hi, I'm sort of repeating my previous posting but I narrowed down my problem.
I apologize if it's trivial, I've just started with struts.
The following line works perfectly when countryName is a String attribute of a bean
stored in a session
This line gives me an error: "Cannot find message res
Hi,
I have gone through hundreds of postings on the e-mail list and sort of found the
answer to my question but can't get it to work.
I have a Collection (ArrayList) called countryList stored in my session that contains
several DTO objects with data from the Database.
I have DTO named CountryDTO
I'm still figuring out how to use struts tags. I'm trying to have three buttons (
add, edit ,delete) with a property called method so that I can use DispatchAction.
Here is a snippet of my jsp. When I look at it in the browser I don't see the
buttons. What am I doing wrong?
Also, is Dispat
Thanks Dirk!
Nadia
-Original Message-
From: Dirk Markert [mailto:[EMAIL PROTECTED]
Sent: Monday, September 20, 2004 10:10 AM
To: Struts Users Mailing List
Subject: Re: Data_Source_Key depricated, newby question
Hello Nadia,
use org.apache.struts.Globals.DATA_SOURCE_KEY
**
Hi,
I'm just starting with Struts 1.1 and am trying to set up a datasource. When I
compile my class I get a worning that Action.Data_Source_Key is deprecated. Could you
point me to where I can look up a newer API? All my books use DATA_SOURCE_KEY. What
do I use insted?
Here is the line the
45 matches
Mail list logo