Re: Help - struggling this for days !

2004-09-10 Thread lixin chu
yes, I have a few pages, forms and actions. the strange thing is that some works fine. I in one particula action, I copy the key used in another action which works, but it does not work in this action. Here is the action defintion: In SearchTemplateForm.java, I have validate() which is in

Re: Help - struggling this for days !

2004-09-10 Thread lixin chu
thanks. it dislpays a nice table but no actual items. am i suppose to modify anything in this file ? --- Bill Siggelkow <[EMAIL PROTECTED]> wrote: > You might try using the following JSP fragment > (compliments of James > Mitchell) on your page -- it will show you objects > in the request, etc

Re: Is it possible to ignore the browser's locale?

2004-09-10 Thread Craig McClanahan
Here's at least three different ways to do what you are after: * Turn off the normal Locale processing behavior in struts-config.xml: * Use a Filter, or some utility method called by your Action, to store a Locale object in the session under the key specified by Globals.LOCALE_KEY bef

Re: Create and submit POST form from Action

2004-09-10 Thread mail
Hey, Thanks for your thoughts! But that's not the part I can't figure out ;-) If I do implement things on this low level, I don't see how to route the users browser to the PayPal site. Having a JSP/Servlet environment to play with, I am bound to what it offers me ... I know how to do a POST subm

Is it possible to ignore the browser's locale?

2004-09-10 Thread Bill Siggelkow
I18N Gurus, I am trying to find out if it is possible to configure Struts to ignore the brower's language but I can't seem to get it to work. I have set my browser's lang to Russian -- in struts-config I have: On the page I am just using: ... The message tag always returns the value from Rus

JavaScript Validation of Indexed Properties

2004-09-10 Thread Terry Roe
I guess my last post was too lengthy for anyone to read and respond to. Trying again... Does Struts JavaScript validation work with indexed properties? If so, a pointer to an example would be appreciated. If not, confirmation that it's not supported would be appreciated. TR

RE: good validator tutorial???

2004-09-10 Thread James Holmes
Hi Leandro, Take a look at my article in Oracle Magazine on Validator. It is a good starting point. http://www.oracle.com/technology/oramag/oracle/04-jan/o14dev_struts.html -James http://www.jamesholmes.com/struts/ -Original Message- From: Leandro Melo [mailto:[EMAIL PROTECTED] Sent:

RE: Create and submit POST form from Action

2004-09-10 Thread David G. Friedman
Let's see, you could google this search query: +java +code +post +paypal You'll find this page which explains it all very nicely on how to post to PayPal: http://www.paypaldev.org/topic.asp?TOPIC_ID=228 My personal code is very similar to it. I'm not the best coder so don't be too critical of my

Re: Create and submit POST form from Action

2004-09-10 Thread mail
That's difinitely worth a big thanks! I'll try and see what they came up with. Thanks! Chris Wendy Smoak wrote: From: "mail" <[EMAIL PROTECTED]> I populate my cart, and paypal expects a POST form submission to present the user with the payment forms (register/login/submit payment), and after t

Re: Create and submit POST form from Action

2004-09-10 Thread mail
Thanks, I will! Chris Jim Barrows wrote: -Original Message- From: mail [mailto:[EMAIL PROTECTED] Sent: Friday, September 10, 2004 4:11 PM To: Struts Users Mailing List Subject: Re: Create and submit POST form from Action ;-) This is where I am right now. Confused as hell ...

Re: How To Validate Any Three out of the Five Text Fields Are Required?

2004-09-10 Thread João Vieira da Luz
Maybe you could do your ActionForm and override validate method... This method could test if the validation is to be passed or not. If it is to do validation you can rely on validation.xml. On Fri, 10 Sep 2004 13:43:03 -0500, Matt Bathje <[EMAIL PROTECTED]> wrote: > You could probably use req

Re: Create and submit POST form from Action

2004-09-10 Thread Wendy Smoak
From: "mail" <[EMAIL PROTECTED]> > I populate my cart, and paypal expects a POST form submission to present > the user with the payment forms (register/login/submit payment), > and after the user submits or cancels the payment, paypal would submit a > reply form to my site ... at least this is the

RE: Create and submit POST form from Action

2004-09-10 Thread Jim Barrows
> -Original Message- > From: mail [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 4:11 PM > To: Struts Users Mailing List > Subject: Re: Create and submit POST form from Action > > > ;-) This is where I am right now. Confused as hell ... osCommerce is a php application tha

Re: Create and submit POST form from Action

2004-09-10 Thread mail
;-) This is where I am right now. Confused as hell ... Chris Jim Barrows wrote: I don't think this is how this is supposed to be implmented. Last time I looked at paypals documentation for doing this though It confused the hell out of me. -

RE: Create and submit POST form from Action

2004-09-10 Thread Jim Barrows
> -Original Message- > From: mail [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 3:55 PM > To: Struts Users Mailing List > Subject: Re: Create and submit POST form from Action > > > Eh, no. The 3rd party site would submit to my site ... > > What I am trying to implement i

Re: Create and submit POST form from Action

2004-09-10 Thread mail
Eh, no. The 3rd party site would submit to my site ... What I am trying to implement is an interface to paypal and this is the flow that has to be implemented. I populate my cart, and paypal expects a POST form submission to present the user with the payment forms (register/login/submit payment)

RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows
> -Original Message- > From: Carlos Chang [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 3:45 PM > To: Struts Users Mailing List > Subject: RE: [SOLVED]Cannot retrieve definition for form bean null > > > Hello, > > Let me first apologize for this shameless plug but in r

RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Carlos Chang
Hello, Let me first apologize for this shameless plug but in reading the problem below, I would like to note that our tool would have immediately detected the invalid action mapping and automatically warned you of the error and perhaps saving you some angst. How? We map all artifacts of a web a

RE: Create and submit POST form from Action

2004-09-10 Thread Jim Barrows
> -Original Message- > From: mail [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 3:28 PM > To: Struts Users Mailing List > Subject: Re: Create and submit POST form from Action > > > Mmh, ok, I got the package, and had a closer look to it. > But as I understand, there is no

RE: Tile Pieces Are Not Aligned

2004-09-10 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 3:16 PM > To: Struts Users Mailing List > Subject: RE: Tile Pieces Are Not Aligned > > > But, I did use table in my basic layout for those four > pieces of tiles. > > >

Re: Create and submit POST form from Action

2004-09-10 Thread mail
Mmh, ok, I got the package, and had a closer look to it. But as I understand, there is no way to integrate it into the struts framework flow? What I'm trying to say is that I was looking for a way to remain in the struts framework api so that the form submission would take place using an Action

Re: Tile Pieces Are Not Aligned

2004-09-10 Thread Jason Lea
If you are using tables, then you probably want to make your 's into It sounds like there might be a lot of links, and the content page has fewer lines, so the browser is centering the content vertically. valign forces the browser to display the content at the top of the cell. eg

RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen
leads to the messageForm.jsp page that I had the problem with. is in the messageForm.jsp page. So, the action mappings are correct now. What caused the problem I had earlier today was the missing name attribute in the action mapping. And the wrote: > > > > -Original Message- >

RE: Tile Pieces Are Not Aligned

2004-09-10 Thread Caroline Jen
But, I did use table in my basic layout for those four pieces of tiles. The text at the top of the tile (which has all the links) on my left hand side displays at a position much higher than that of the text a

RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 3:09 PM > To: Struts Users Mailing List > Subject: RE: [SOLVED]Cannot retrieve definition for form bean null > > > The > Okay, the action here needs to match the action you defined

RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen
The --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Caroline Jen [mailto:[EMAIL PROTECTED] > > Sent: Friday, September 10, 2004 2:51 PM > > To: Struts Users Mailing List > > Subject: RE: [SOLVED]Cannot retrieve definition > for form bean null > >

RE: Tile Pieces Are Not Aligned

2004-09-10 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 3:04 PM > To: [EMAIL PROTECTED] > Subject: Tile Pieces Are Not Aligned > > > I am using the tiles feature. So far so good, all > pieces are displayed. > > I have four pieces of tiles

Re: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen
Matt, I think you are right. I think that the WRAP causes the problem. Of course, my previous problem is missing the 'name' attribute in the action mapping. --- Matt Bathje <[EMAIL PROTECTED]> wrote: > Are you sure that your textarea is generating > properly when you use the > html:textarea tag

Tile Pieces Are Not Aligned

2004-09-10 Thread Caroline Jen
I am using the tiles feature. So far so good, all pieces are displayed. I have four pieces of tiles: topbar (always the same in every page), sidebar (always the same bunch of links in every page), lowbar (alsyas the same in every page), and the 'content' tile (which varies from page to page). Th

Re: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Matt Bathje
Are you sure that your textarea is generating properly when you use the html:textarea tag? The WRAP should make it bomb right away...from what I can tell, there is no valid wrapping attribute for html:textarea, and even if there were, it would have to say wrap="something" to be valid, not just

Re: struts-el

2004-09-10 Thread Jason Lea
Woodchuck wrote: --- Craig McClanahan <[EMAIL PROTECTED]> wrote: On Fri, 10 Sep 2004 18:23:46 +1200, Jason Lea <[EMAIL PROTECTED]> wrote: Though, if you are using tomcat 5 (which has JSP2/JSTL1.1) then you don't need struts el, just use the normal struts tags as Tomcat takes car

Re: Is there an installation automater yet

2004-09-10 Thread Bryce Fischer
Not free, but I have this, its pretty handy: http://www.openlogic.com/index.php Dan wrote: I haven't been on this list in a while. I was wondering if anyone's created an installation wizard/thingy for it yet. All I have so far is a PC with a new Linux OS. Ideally, I'd like a wizard that sets up e

RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 2:51 PM > To: Struts Users Mailing List > Subject: RE: [SOLVED]Cannot retrieve definition for form bean null > > > Yeah, I think that there is another issue. > > I have added the nam

Re: Create and submit POST form from Action

2004-09-10 Thread Tuncay Baskan
> jakarta has a project that will do this. > ... and the name of the project is httpclient. /tb. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen
Yeah, I think that there is another issue. I have added the name of the bean in the action mapping, the still gives problems. This one works: This one does not work: Okay, the action mapping is like: and the

RE: Create and submit POST form from Action

2004-09-10 Thread Jim Barrows
> -Original Message- > From: mail [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 2:46 PM > To: [EMAIL PROTECTED] > Subject: Create and submit POST form from Action > > > Hi, > > I am in desperate need of some hints or wisdom about how to simulate a > form submission (POST

RE: ActionForward to a different Web App

2004-09-10 Thread Jim Barrows
> -Original Message- > From: El Toro [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 2:34 PM > To: Struts Users Mailing List > Subject: RE: ActionForward to a different Web App > > > Jim/All, > > I looked at the single sign on option and added the > valve entry for my virt

Create and submit POST form from Action

2004-09-10 Thread mail
Hi, I am in desperate need of some hints or wisdom about how to simulate a form submission (POST) out of an action. My situation is that users submit data using my web application, after this data is processed, I need to submit a form using the POST method to another, third party site. How can I ac

RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows
> -Original Message- > From: Matt Bathje [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 2:38 PM > To: Struts Users Mailing List > Subject: Re: [SOLVED]Cannot retrieve definition for form bean null > > > Jim Barrows wrote: > > > > > > > > > > > Not the form bean clas

Re: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Matt Bathje
Jim Barrows wrote: Not the form bean class... The action definition in struts-config. type="com.sssc.csr.web.actions.ShowBorrowerAction"> You have to tell the action definition what form your using, regardless of whether it is DynaForm, ValidatorForm or ActionForm. When one of the

Re: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Matt Bathje
That part is at least correct, but I'm more concerned with the field properties. Is it possible that you can paste in the chunk of the form definition that deals with the textarea you are trying to use, as well as the code for the textarea itself from the jsp page? Matt Caroline Jen wrote: It i

RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 2:30 PM > To: Struts Users Mailing List > Subject: Re: [SOLVED]Cannot retrieve definition for form bean null > > > It is a > > > type="org.apache.struts.validator.DynaValidatorForm

RE: ActionForward to a different Web App

2004-09-10 Thread El Toro
Jim/All, I looked at the single sign on option and added the valve entry for my virtual host: That is the only step I know how to do. I looked at the documentation on the single sign on option on the jakarta site but haven't been able to find a meatier explanation on how to utilize it. Can an

Re: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen
It is a type="org.apache.struts.validator.DynaValidatorForm"> Is the form bean class properly set up? --- Matt Bathje <[EMAIL PROTECTED]> wrote: > Caroline - the downside of this approach is now some > of the struts > features that require the tags > won't work. You > haven't solved the

RE: ActionForward to a different Web App

2004-09-10 Thread Jim Barrows
> -Original Message- > From: El Toro [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 1:58 PM > To: [EMAIL PROTECTED] > Subject: ActionForward to a different Web App > > > Hi, > > I have a struts web application running within Tomcat > 5.x that is responsible for authentica

RE: Is there an installation automater yet

2004-09-10 Thread Jim Barrows
> -Original Message- > From: Dan [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 2:17 PM > To: [EMAIL PROTECTED] > Subject: Is there an installation automater yet > > > I haven't been on this list in a while. I was > wondering if anyone's created an installation > wizard/t

Re: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Matt Bathje
Caroline - the downside of this approach is now some of the struts features that require the tags won't work. You haven't solved the problem so much as put a crappy bandaid on it I think. I haven't been following this thread, but based on the error message you are getting, I would guess that t

RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 2:12 PM > To: Struts Users Mailing List > Subject: RE: [SOLVED]Cannot retrieve definition for form bean null > > > I use the HTML tag to make it work. > If I use , I get 'cannot ret

Re: Moving from environment to environment

2004-09-10 Thread Wendy Smoak
From: "Dave Bender" <[EMAIL PROTECTED]> > How do you easily move a Struts application from one environment to another, > e.g. from development to test to production, without having to change the > struts-config.xml file to use a different database? > The datasources seem like they can be configured

Re: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Wendy Smoak
From: "Caroline Jen" <[EMAIL PROTECTED]> > I use the HTML tag to make it work. > If I use , I get 'cannot retrieve > definition for form bean null' The last example you posted was missing the 'name' attribute in your tag. Without that, when Struts comes to an tag, it looks to the action mappin

Is there an installation automater yet

2004-09-10 Thread Dan
I haven't been on this list in a while. I was wondering if anyone's created an installation wizard/thingy for it yet. All I have so far is a PC with a new Linux OS. Ideally, I'd like a wizard that sets up everything I need to create a typical application... Struts, MySQL or another DB, JRE, J2EE

Re: Moving from environment to environment

2004-09-10 Thread Craig McClanahan
On Fri, 10 Sep 2004 15:59:01 -0500, Dave Bender <[EMAIL PROTECTED]> wrote: > How do you easily move a Struts application from one environment to another, > e.g. from development to test to production, without having to change the > struts-config.xml file to use a different database? > > The dataso

RE: Moving from environment to environment

2004-09-10 Thread Robert Taylor
Dave, I have 3 environments: Development, Staging, and Production. I use Ant and have different deployment targets. Each target replaces tokens with the values which correspond to its deployment environment. Ant makes this pretty easy to do. http://ant.apache.org/manual/CoreTypes/filterset.html

Re: Moving from environment to environment

2004-09-10 Thread David Durham
Dave Bender wrote: How do you easily move a Struts application from one environment to another, e.g. from development to test to production, without having to change the struts-config.xml file to use a different database? If you're using ant, then you could maintain 2 seperate struts-configs and

RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen
I use the HTML tag to make it work. If I use , I get 'cannot retrieve definition for form bean null' --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Caroline Jen [mailto:[EMAIL PROTECTED] > > Sent: Friday, September 10, 2004 12:37 PM > > To: Struts User

Re: Moving from environment to environment

2004-09-10 Thread El Toro
Dave, I suggest you create three ant targets which install your war on the respective environments and build your war with the respective struts-config file. True, you will have to have to maintain three different struts-config files but the only difference should the datasource properties. This

Re: DynaActionForm Validation

2004-09-10 Thread Matt Bathje
Shawn Sandy wrote: All, I am having a hell of a time getting a simple required validation to work. Here are excerpts from my code/config files. Can anyone take a look and see if they see anything obvious. Thanks in advance! Struts-config.xml (DynaForm extends DynaValidatorActionFor

Moving from environment to environment

2004-09-10 Thread Dave Bender
How do you easily move a Struts application from one environment to another, e.g. from development to test to production, without having to change the struts-config.xml file to use a different database? The datasources seem like they can be configured only in that file, but if you want to have dif

DynaActionForm Validation

2004-09-10 Thread Shawn Sandy
All, I am having a hell of a time getting a simple required validation to work. Here are excerpts from my code/config files. Can anyone take a look and see if they see anything obvious. Thanks in advance! Struts-config.xml (DynaForm extends DynaValidatorActionForm)

ActionForward to a different Web App

2004-09-10 Thread El Toro
Hi, I have a struts web application running within Tomcat 5.x that is responsible for authentication. Authentication in this case just checks a username and password against a database and then creates a 'User' object and dumps it in the session. After a successful authentication I would like to

My GMail invites are gone

2004-09-10 Thread Wiebe de Jong
All my invites are now gone. Maybe I'll get some more next round. Wiebe de Jong [EMAIL PROTECTED]

good validator tutorial???

2004-09-10 Thread Leandro Melo
Hi, what are your choices when talking about a nice validator tutorial. Not only a start up one, but one that covers some important features that "getting started" tutorials usually doen't cover. tx, Leandro _

Re: [Gmail] - All gone,

2004-09-10 Thread Lionel
Ruben Cepeda wrote: > I just ran out. great !! -- vont pas nous casser les couilles 10 fois par jour avec gmail quand meme !! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [CANNOT SEE THE PROBLEM!!]Cannot retrieve definition for form bean null

2004-09-10 Thread Wendy Smoak
From: "Caroline Jen" <[EMAIL PROTECTED]> > I experimented a little bit: > > 1. I changed all struts tags to html tags in my > messageForm.jsp and I also excluded the opening > and closing tag. > >The action mapping shown below works fine. I am > able to see the form that I want to display in

RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 12:37 PM > To: Struts Users Mailing List > Subject: RE: [SOLVED]Cannot retrieve definition for form bean null > > > Hi, I have found the mistake. > > The mistake is that is not a str

RE: missing class

2004-09-10 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 11:55 AM > To: [EMAIL PROTECTED] > Subject: missing class > > > > > > > I've been using the Validator successfully on other forms. > Now that I'm > trying to use the mask va

RE: [CANNOT SEE THE PROBLEM!!]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 11:39 AM > To: Struts Users Mailing List > Subject: RE: [CANNOT SEE THE PROBLEM!!]Cannot retrieve definition for > form bean null > > > I experimented a little bit: > > 1. I changed a

RE: [SOLVED]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen
Hi, I have found the mistake. The mistake is that is not a struts tag equivalent to HTML tag. --- Caroline Jen <[EMAIL PROTECTED]> wrote: > I experimented a little bit: > > 1. I changed all struts tags to html tags in my > messageForm.jsp and I also excluded the opening > and closing tag. >

Re: missing class

2004-09-10 Thread bmf5
Matt Bathje <[EMAIL PROTECTED]> wrote on 09/10/2004 03:02:40 PM: > It looks like you are missing the Jakarta ORO jar yep again. Thanks Matt. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

indexedListProperty and JavaScript Validation

2004-09-10 Thread Terry Roe
Greetings, I have searched and searched for information about using JavaScript with the indexedListProperty of the Validator. I've seen many people asking about this problem, but no clear solutions or definitive answers as to whether this is supported in Struts. I am using Struts 1.2.2, so I h

RE: Resources not defined for Validator

2004-09-10 Thread Shawn Sandy
Does anyone know why this tag causes js to come out as text While this tag causes the js to come out as js -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow Sent: Friday, September 10, 2004 11:37 AM To: [EMAIL PROTECTED] Subject: Re: Resources not define

Re: missing class

2004-09-10 Thread Matt Bathje
It looks like you are missing the Jakarta ORO jar - which is odd because it comes with the struts distribution. Matt [EMAIL PROTECTED] wrote: I've been using the Validator successfully on other forms. Now that I'm trying to use the mask validation I get an InvocationTargetException due to a N

missing class

2004-09-10 Thread bmf5
I've been using the Validator successfully on other forms. Now that I'm trying to use the mask validation I get an InvocationTargetException due to a NoClassDefFoundError on org/apache/oro/text/perl/Perl5Util Could I have a jar file missing? I'm using Struts 1.1 in WSAD 5.0. -

RE: Resources not defined for Validator

2004-09-10 Thread Shawn Sandy
Thanks for holding my hand through this, now my tag pukes out javascript as text at the top of my jsp. Any ideas. Thanks again! -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow Sent: Friday, September 10, 2004 11:37 AM To: [EMAIL PROTECTED] Subject: Re:

Re: Resources not defined for Validator

2004-09-10 Thread Terry Roe
Shawn, The JavaScript function should be "validateUserForm(this);" in your onsubmit. You need to name the function using the name of the form. You can also take a look at the HTML source that is generated and you will see the name of the JavaScript function that is generated by Struts. TR emai

Re: How To Validate Any Three out of the Five Text Fields Are Required?

2004-09-10 Thread Matt Bathje
You could probably use requiredif or validwhen to do this, but I think it would be extremely messy. I'm not aware of another built in validator that could handle this situation. You will probalby have to make your own unless somebody else has a better idea. Matt Caroline Jen wrote: I have used

RE: [CANNOT SEE THE PROBLEM!!]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen
I experimented a little bit: 1. I changed all struts tags to html tags in my messageForm.jsp and I also excluded the opening and closing tag. The action mapping shown below works fine. I am able to see the form that I want to display in the browser. 2. I then added the opening in

Re: Resources not defined for Validator

2004-09-10 Thread Bill Siggelkow
Yes, you are subclassing DynaValidatorActionForm which picks the validations based on the action path and not the form name. Therefore, if you want to validate based on the form then you should use (or subclass) DynaValidatorForm instead. If you want to validate based on path then change: to:

RE: Resources not defined for Validator

2004-09-10 Thread Shawn Sandy
Thanks, I'm past that, now when I submit a form to be validated, no validation happens (required validation). In my jsp I have these tags and my validations.xml looks like this

Re: [Gmail] - All gone,

2004-09-10 Thread Rogue Chameleon
I still have 4 to give. On Fri, 10 Sep 2004 18:10:46 +, Ruben Cepeda <[EMAIL PROTECTED]> wrote: > Guys, > > I just ran out. > > * > Ruben Cepeda > [EMAIL PROTECTED] > * > > _

[ANN] Struts-Flow 0.2 Released

2004-09-10 Thread Don Brown
Struts Flow is a port of Cocoon's Control Flow to Struts to allow complex workflow, like multi-form wizards, to be easily implemented using continuations-capable JavaScript. It provides the ability to describe the order of Web pages that have to be sent to the client, at any given point in time in

Re: ActionForm in session scope - the best way.

2004-09-10 Thread Rick Reumann
Davide Gurgone wrote the following on 9/10/2004 12:22 PM: How can you manage multiple form pages? 4 example when you have a lot of fields? In one page is sample but hard for the user, that whant to see everything without scrolling... In that case use multiple pages and keep the one form in sessio

[Gmail] - All gone,

2004-09-10 Thread Ruben Cepeda
Guys, I just ran out. * Ruben Cepeda [EMAIL PROTECTED] * _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-

RE: [HELP]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 10:54 AM > To: Struts Users Mailing List > Subject: RE: [HELP]Cannot retrieve definition for form bean null > > > Yes, I copied and pasted the code. I did not type > those code while

Re: Resources not defined for Validator

2004-09-10 Thread Bill Siggelkow
Sounds like you haven't declared the Validator PlugIn in your struts-config. Shawn Sandy wrote: I'm sure I'm overlooking something simple here, but can anyone point me in the right direction for resolution of this error: Resources not defined for Validator Thanks Shawn -

Resources not defined for Validator

2004-09-10 Thread Shawn Sandy
I'm sure I'm overlooking something simple here, but can anyone point me in the right direction for resolution of this error: Resources not defined for Validator Thanks Shawn

RE: [HELP]Cannot retrieve definition for form bean null

2004-09-10 Thread Caroline Jen
Yes, I copied and pasted the code. I did not type those code while composing my request for help message on the struts-user forum. --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Caroline Jen [mailto:[EMAIL PROTECTED] > > Sent: Friday, September 10, 2004

Re: Help - struggling this for days !

2004-09-10 Thread Bill Siggelkow
You might try using the following JSP fragment (compliments of James Mitchell) on your page -- it will show you objects in the request, etc. Debug Information: Specific JSTL values param.p

Re: Imports and Form Submits

2004-09-10 Thread Wendy Smoak
From: "Tom Holmes Jr." <[EMAIL PROTECTED]> > In my limited knowledge of Struts ... in order to execute this action > which gets my data, it requires a submit to call the action. No, it requires an HTTP request to the URL that's mapped to the action. Typically http://www.example.com/myapp/something

Re: Help - struggling this for days !

2004-09-10 Thread Bryce Fischer
I assume that when you say messages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("something here"); the "something here" corresponds to a key in your messages.properties file (or whichever file has your resource messages)? lixin chu wrote: Here is how I prepare action messages in Action

RE: Efficiency and scopes and persistence

2004-09-10 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 10:32 AM > To: Struts Users Mailing List > Subject: Efficiency and scopes and persistence > > > Is there any efficiency issue when chosing to save in various > scopes? > Is the o

Efficiency and scopes and persistence

2004-09-10 Thread Michael McGrady
Is there any efficiency issue when chosing to save in various scopes? Is the only real issue between application scope and session scope that of persistence? Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

RE: [HELP]Cannot retrieve definition for form bean null

2004-09-10 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 9:56 AM > To: [EMAIL PROTECTED] > Subject: [HELP]Cannot retrieve definition for form bean null > > > Hi, it is me again. > > I still have problem with displaying my JSP. This > time,

RE: [OT] synchronous form submit in a popup so parent ref reshes p rope rly

2004-09-10 Thread Barnett, Brian W.
Thanks Paul. It works like a cha rm. -Original Message- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: Friday, September 10, 2004 10:42 AM To: 'Struts Users Mailing List' Subject: RE: [OT] synchronous form submit in a popup so parent refreshes p rope rly You could make the response

RE: [FRIDAY] GMail invites

2004-09-10 Thread Shawn Sandy
I'll take one -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: Friday, September 10, 2004 8:54 AM To: 'Struts Users Mailing List' Subject: RE: [FRIDAY] GMail invites I've got 6 invites available to whoever wants them. Wiebe de Jong ---

RE: [FRIDAY] GMail invites

2004-09-10 Thread Wiebe de Jong
I've got 6 invites available to whoever wants them. Wiebe de Jong - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [FRIDAY] GMail invites

2004-09-10 Thread M. Bitner
I've got 5 if there's anyone here who still needs one. Melissa On Fri, 10 Sep 2004 10:07:23 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: > > Why do I get the impression that an "invite" might not be a difficult > thing to get for this party? > > > > > --

RE: ActionForm in session scope - the best way.

2004-09-10 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Davide Gurgone > Sent: Friday, September 10, 2004 10:00 AM > To: [EMAIL PROTECTED] > Subject: Re: ActionForm in session scope - the best way. > > > >>Were do you place the methods that have to initialize action forms?

Re: Help - struggling this for days !

2004-09-10 Thread Bill Siggelkow
Well, it looks okay -- as long as you are forwarding -- not redirecting from the action that saves the messages to the JSP that renders them. You shouldn't be stuck on this kind of thing for days -- if you are stuck for more than half a day I would say it is time to pull out your handy-dandy de

RE: Help - struggling this for days !

2004-09-10 Thread Jim Barrows
> -Original Message- > From: lixin chu [mailto:[EMAIL PROTECTED] > Sent: Friday, September 10, 2004 10:04 AM > To: Struts Users Mailing List > Subject: Re: Help - struggling this for days ! > > > Here is how I prepare action messages in Action: > > ActionMessages messages = new ActionM

  1   2   >