Re: The old 'please wait' issue

2004-10-13 Thread Andrew Close
you can easily implement this using CSS (and a little javascript) and have it work with Tiles. in your style sheet add this: (and style it any way you want) div#Processing { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; position: absolute; text-align: center;

Re: Action Granularity

2004-09-21 Thread Andrew Close
Frank, On Tue, 21 Sep 2004 15:03:32 -0400 (EDT), Frank W. Zammetti (MLists) <[EMAIL PROTECTED]> wrote: > I find the bigger debate, which there was a thread about a day or two ago, > is how you actually package it... Do you just have a single package for > all your actions or do you sub-group the

Re: Action Granularity

2004-09-21 Thread Andrew Close
Hi, i'm pretty new to the Struts arena, but since you're looking for general info i can lend my .02. ;) On Tue, 21 Sep 2004 15:49:34 -0300, Felipe Victolla <[EMAIL PROTECTED]> wrote: > > Hi, > > I want to know the opinion of the another developers of this list with your > experience in modelli

Re: [OT] GMail invites

2004-09-21 Thread Andrew Close
i too have 6 invites available. please send me requests off list. andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: "Resources not defined for Validator"

2004-09-17 Thread Andrew Close
Dave, On Fri, 17 Sep 2004 10:20:53 -0500, Dave Bender <[EMAIL PROTECTED]> wrote: > I'm concluding that if I have multiple modules, I need the Plug-Ins plugged into > each module, correct? The benefit being I can keep validation rules contained in > different files for different modules if I

Re: "Resources not defined for Validator"

2004-09-17 Thread Andrew Close
Dave, On Fri, 17 Sep 2004 09:26:18 -0500, Dave Bender <[EMAIL PROTECTED]> wrote: > When I call up my action, I'm getting a "Resources not defined for Validator" > exception. My logs say: > > 87406 DEBUG [HttpProcessor[8080][2]] org.apache.struts.action.RequestProcessor - > Validating

Re: It's not a dirty word...

2004-09-15 Thread Andrew Close
Richard, thank you for the reply. On Wed, 15 Sep 2004 23:23:43 +0200, Richard Tuquet Laburre <[EMAIL PROTECTED]> wrote: > did you write validate=true in you action-mapping ? no :) i just added that. now when i run the app i get an exception before my action: [Servlet Error]-[antlr.TokenStrea

It's not a dirty word...

2004-09-15 Thread Andrew Close
hi all, i've been playing with 'Validator' for a couple of days now and can't quite get it to work. i've read the dev_validator.html on the Validator page and several of the links off that page. i've spent several hours reading through the mail archive (http://marc.theaimsgroup.com/?l=struts-use

Re: please wait page... like NWA.com

2004-09-14 Thread Andrew Close
On Tue, 14 Sep 2004 18:45:47 +0200, Håkon T Sønderland <[EMAIL PROTECTED]> wrote: > OK, thanks, I think I understood that. > However, does not this page then stay up there even after the action is > completed and you go to your result page? > > My problem is that the struts page I'm developing is

Re: drop down menu/submenu

2004-08-20 Thread Andrew Close
On Fri, 20 Aug 2004 19:23:20 +0100 (BST), Research labs <[EMAIL PROTECTED]> wrote: > Please, is there anything built into Struts for > creating drop down menu/submenu? yep. check out theand tags. http://struts.apache.org/userGuide/dev_html.html i believe the users guide has a couple of e

Processing, Please Wait...

2004-08-18 Thread Andrew Close
i'm being told that some of our users are getting confused while waiting for a page to finish processing, and they inadvertantly try to perform another action before the page has loaded. the solution i've been asked to implement is an intermediary page the just says: 'Processing, Please Wait...".

Searching the mailing list archive...

2004-07-31 Thread Andrew Close
hi all, for some reason i'm unable to search the mailing list archive. when i attempt to search i get the message: 'Text search not available for this list'. is the list really not searchable? do i have to go through all 125,000 emails manually? i'm getting to the archive using the link (list ar

Re: pulling dynamic data out of a form...

2004-07-31 Thread Andrew Close
Ron thanks for that link. it looks helpful. i'll give that a try when i get to work on Mon. andy On Fri, 30 Jul 2004 22:43:43 -0700 (PDT), Ron Grabowski <[EMAIL PROTECTED]> wrote: > I found this post helpful: > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg96800.html

Re: pulling dynamic data out of a form...

2004-07-30 Thread Andrew Close
session scope. > > For more info, read http://struts.apache.org/faqs/indexedprops.html and > http://www.developer.com/java/other/article.php/2233591. > > --- Andrew Close <[EMAIL PROTECTED]> wrote: > > > hi all, > > > > i'm having a hard time getting data fro

pulling dynamic data out of a form...

2004-07-30 Thread Andrew Close
hi all, i'm having a hard time getting data from multiple textfields with similar names out of a form and into my actionform. in my JSP i'm using a [logic:iterate] tag to display (up to) ten textfields. these textfields are initially empty. the user enters data into the text fields and hits 'add

Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
mpler to deal with. On Wed, 28 Jul 2004 15:23:47 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "Andrew Close" <[EMAIL PROTECTED]> > > the one thing i'm still fuzzy with is why would the actionform only > > populate with one of the three hidden fie

Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
> The form is being submitted to wherever the submit. So, action and forward are entirely inappropriate to use for the link in > this case. They have nothing to do with the what you want to do, which is submit > the form using javascript. What was happening, in your case, was the onclick was

Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
ok, my bad. :) i tried and but not next time i'll try 'all' the attributes before posting. ;) thanks Jim andy On Wed, 28 Jul 2004 14:50:26 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Andrew Close [mailt

Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
not to fuel the fire from the previous discussion, but this situation works fine if is used instead of example: function submitOne() { forms[0].myHiddenField.value = "ValueOne"; forms[0].submit(); } function submitTwo() { forms[0].myHiddenField.value = "ValueTwo"; forms[0}.submit(

Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
wow, i didn't mean to start such a heated debate. :) but thanks to everyone for their suggestions. Wendy, i was actually doing something similar to your suggestion but i was appending the parameters to the action using javascript. i don't know why i didn't think of just putting them in the origin

Re: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
Sorry Michael, i wasn't ignoring you. you must've responded to each of my responses to the others. :) the original problem was that i have to add a product to the database. when the user clicks the initial add button they are taken to a page that has three links on it. Add Member Product Add No

Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
Hi Michael, i agree, what i'm attempting is kindof goofy. i'm trying to submit a form using a hyper-link instead of a submit button. i have three links on the page that perform similar but different actions. each link sets a value in a hidden field that should be picked up by the actionform upon

Re: Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
Jim, heh, i would prefer not to use javascript, but i couldn't think of another way to submit the form with links. the form is a and all of the html components inside the form are Struts html components. the link just has an onclick parameter in it that calls the javascript. the javascript is

Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
g them out inside my action which would get the request before the jsp. so that should work the same. andy On Wed, 28 Jul 2004 09:18:16 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "Andrew Close" <[EMAIL PROTECTED]> > > 2) Wendy gave me a > > sl

Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
Robert, :) i'm a step ahead of you. my values do show up in the client side html before submitting the form. and they show up in alert statements upon submission. that is what is so puzzling. i'm seeing the data, but when i set breakpoints in my actionform set methods, two of them aren't bein

Re: Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
hi Robert, yes i've tried using javascript, but i must be doing something wrong. i've tried two approaches. 1) i was calling a javascript function that set the action for me and then submited the form. but the values inside my hidden fields weren't getting picked up. 2) Wendy gave me a slightl

Why does work differently than ?

2004-07-28 Thread Andrew Close
hi all, i'm still struggling with form submission. i would prefer to use links on the page to submit my form instead of a 'submit button'. but i'm unable to get the correct functionality to work. when submitting with the submit button all my hidden fields are slurped up and populated on the nex

Re: Using to submit a form...

2004-07-27 Thread Andrew Close
Wendy, Thanks for the reply. your solution is working for me. i guess hidden fields work out better than attempting to use the parameters in the actionmapping. thanks again. andy On Tue, 27 Jul 2004 10:18:24 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "Andrew

Using to submit a form...

2004-07-27 Thread Andrew Close
Hi all, i have an intermediary page that has two links and two hidden fields on it. when i click on a link i would like to be able to submit my form (hidden fields) to the appropriate page. i've tried using the links with forward and with action but they don't appear to 'submit' the form. they

Editable Tables...

2004-07-22 Thread Andrew Close
hi all, i attemtped to use the cool displaytag to lay out a table but couldn't use struts or jstl tags inside of the table for editable components. so i switched to the old fashioned html tags. the problem there was that my action forms didn't pick up the values that had changed. so now i'm look

OT: Formatting issues...

2004-07-21 Thread Andrew Close
i know this is a little off-topic, but i was hoping someone could point me in the right direction. my client is currently using frames for layout in their webapp. we're rewriting the controller and view using Struts. i would prefer to get rid of the frames because of the heavy use of javascript

Re: OT: Best practice for access to file from multiple web apps

2004-07-20 Thread Andrew Close
ntly adds a lot of other cool features. you should check them out. sorry i don't have more specific help. :) On Tue, 20 Jul 2004 15:47:24 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Andrew Close [mailto:[EMAIL PROTECT

Re: OT: Best practice for access to file from multiple web apps

2004-07-20 Thread Andrew Close
Jim, do you use ANT or Maven to build/deploy your projects? if so you can have them set up a config file for you based on the environment you're building to. andy On Tue, 20 Jul 2004 15:35:51 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote: > We have PDF's that can be created by one webapp, but mu

Re:

2004-07-15 Thread Andrew Close
5 Jul 2004 16:06:21 -0500, Andrew Close <[EMAIL PROTECTED]> wrote: > Blah! it works fine with a submit button. :) > i guess i'll have to find another way to make the onchange work... > > > > On Thu, 15 Jul 2004 15:49:05 -0500, Andrew Close <[EMAIL PROTECTED]> wr

Re:

2004-07-15 Thread Andrew Close
Blah! it works fine with a submit button. :) i guess i'll have to find another way to make the onchange work... On Thu, 15 Jul 2004 15:49:05 -0500, Andrew Close <[EMAIL PROTECTED]> wrote: > ahh. yeah, i added just plain didn't work. i'll see if i can get rid of

Re:

2004-07-15 Thread Andrew Close
ahh. yeah, i added just plain wrote: > > > > > > -Original Message- > > From: Andrew Close [mailto:[EMAIL PROTECTED] > > Sent: Thursday, July 15, 2004 1:40 PM > > To: Struts Users Mailing List > > Subject: Re: > > > > > >

Re:

2004-07-15 Thread Andrew Close
-- Jim wrote: > I don't think there is a better way, I'm just suggesting maybe hardcoding those to > drop downs for testing purposes, and eliminate the JS. You're JSP looks right, and > I'm assuming that your form bean has the return values as arrays if their > multi-select, or single strings a

Re:

2004-07-15 Thread Andrew Close
On Thu, 15 Jul 2004 12:10:49 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote: > Just to make sure I understand what's happening. > You display a page, user selects from first list, the page submits, the action does > it's thing, and populates the second list, then the user selects from that lis

Re:

2004-07-15 Thread Andrew Close
the weird thing is that i just added a textfield to the form and my form/action picks that up. so what do you have to do to get read by a form? andy On Thu, 15 Jul 2004 13:56:48 -0500, Andrew Close <[EMAIL PROTECTED]> wrote: > sl_getGroups is being called. i printed out alerts w

Re:

2004-07-15 Thread Andrew Close
... any suggestions? andy On Thu, 15 Jul 2004 14:36:14 -0400, Bill Siggelkow <[EMAIL PROTECTED]> wrote: > Hmmm ... looks pretty darn hairy. You didn't show the JavaScript thats > called by the onchange -- I would verify first that "getGroups" is > being called.

user@struts.apache.org

2004-07-15 Thread Andrew Close
alrighty, i've got this half figured out. i can populate my dropdowns, but my form doesn't seem to be scrapping the values back off the page. i have an action that gets a collection of beans and puts them in session for the JSP to use. the JSP renders and displays those objects correctly in the

Re: More fun with forms...

2004-07-15 Thread Andrew Close
TED]> wrote: > > > > -Original Message- > > From: Andrew Close [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, July 14, 2004 11:53 AM > > To: Struts Users Mailing List > > Subject: Re: More fun with forms... > > > > > > > > > &

Re: More fun with forms...

2004-07-14 Thread Andrew Close
> > i do know what fields will be returned, just not how many. so i > > wasn't sure if i could use ActionForms or if i had to come up with a > > custom solution. > > i'll see if i can find info on MapBackedForm. > > Thanks Jim > > Oh, you mean rows, not columns. In that case you want a list of

Re: More fun with forms...

2004-07-14 Thread Andrew Close
ECTED]> wrote: > > > > > > -----Original Message- > > From: Andrew Close [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, July 14, 2004 9:58 AM > > To: [EMAIL PROTECTED] > > Subject: More fun with forms... > > > > > > Hi all, > >

More fun with forms...

2004-07-14 Thread Andrew Close
Hi all, i've looked through a couple articles detailing the use of ActionForm and DynaActionForm, but i haven't found anything that explains how to build a dynamic form. dynamic meaning i don't know how many elements will be on the form since it will vary based on the amount of data returned in t

Multiple forms and actions

2004-07-09 Thread Andrew Close
Hi, when you have multiple forms on a JSP and one of those forms is submitted, do the values on the other form get sent to the action class that was submitted to? i have two forms, two actions on one JSP. when i trigger the event to submit one form, will that receiving action also get the values