RE: question on getting values from popup

2002-04-12 Thread Narasimha Rao
hai, thankyou for sending the file.atlast i worked it out thanks narasimha -- To unsubscribe, e-mail: For additional commands, e-mail:

DriverManager can't find suitable driver from LogonAction.

2002-04-12 Thread Sergei P. Volin
Hi, I'm using Struts v.1.1 Night Build and trying to access DBCP pool from LogonAction and use JOCL document containing the discription of pool. But got SQLException: "No suitable driver". I used the known examples from commons-dbcp and succeded with both of them but failed when tried to combi

RE: /do/* instead of *.do in web.xml

2002-04-12 Thread Phase Web and Multimedia
It allows for a more logical approach to your command structures. Of course, I stopped useing *.do long ago. So, maybe it is that way too. From what I remember the *.do followed a filesystem type of approach and acutally ties you to your filesystem layout (I may be wrong). Whereas the /do/* follow

Re: indexed - Nested property and Javascript

2002-04-12 Thread Arron Bates
The following is how it would go... document.MyForm.elements["echeancier.date[0]"] ...you use whatever ends up in your input's name attribute. index or not, mapped or otherwise. If you want to iterate through them, you could use... document.MyForm.elements["echeancier.date["+ i +"]"] Arron.

RE: /do/* instead of *.do in web.xml

2002-04-12 Thread Thinh Doan
"works way better" in what ways? Faster, easey code maintenance...? Thkx, Thinh -Original Message- From: Phase Web and Multimedia [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 7:20 PM To: Struts Users Mailing List Subject: RE: /do/* instead of *.do in web.xml All I use id /d

An Example of using IncludeAction

2002-04-12 Thread struts-user
Does anyone have an example of how they've used the org.apache.struts.actions.IncludeAction? I understand how to configure it in the configuration file, I just don't see how or where you would invoke the action from. What benefits does it provide over a regular include, other than forcing the r

RE: StrutsTiles Design: Model2 and authorization

2002-04-12 Thread Wellie W. Chao
I have my pages separated into directories by role, and I have a shared directory called security that provides login, logout, forgot-password, register, and other security-related functions. I have the layout tiles and common tiles (e.g. nav bars, footers, etc.) protected so that they are inacces

RE: DynaBeans documentation

2002-04-12 Thread Wellie W. Chao
I haven't tried it. What is the bug you're having? -Original Message- From: Phase Web and Multimedia [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 9:01 PM To: Struts Users Mailing List Subject: RE: DynaBeans documentation Have you gotten the DynaValidation stuff working. I f

Re: Configuring sub-applications

2002-04-12 Thread Chuck Cavaness
I had the same realization as I was trying to use the new multi-app features. Although I haven't tried it yet, take a look at the org.apache.struts.actions.SwitchAction. Craig added it recently. It may be the rest of what you need, not sure however. Chuck [...ripped earlier messages ...] >

Re: Configuring sub-applications

2002-04-12 Thread @Basebeans.com
Subject: Re: Configuring sub-applications From: Bill Wohler <[EMAIL PROTECTED]> === "Martin Cooper" <[EMAIL PROTECTED]> writes: > > However, with the configuration above, this gets mapped to the > > nonexistent file: > > > > /myapp/subapp1/docroot/subapp1/myaction/page.jsp > > You probab

RE: /do/* instead of *.do in web.xml

2002-04-12 Thread Phase Web and Multimedia
All I use id /do/ in my apps. It works way better. I am not sure why the examples don't follow this. -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 12:41 PM To: 'Struts Users Mailing List' Subject: RE: /do/* instead of *.do in web.xml y

Re: Configuring sub-applications

2002-04-12 Thread @Basebeans.com
Subject: Re: Configuring sub-applications From: Bill Wohler <[EMAIL PROTECTED]> === "Martin Cooper" <[EMAIL PROTECTED]> writes: > > However, with the configuration above, this gets mapped to the > > nonexistent file: > > > > /myapp/subapp1/docroot/subapp1/myaction/page.jsp > > You probab

RE: A beginners look at the *.do process

2002-04-12 Thread Joseph Barefoot
doh! sorry, I didn't notice your earlier postingI actually have no idea what's causing your problem, but it appears to be a problem with the tiles' tags handling of your nested Struts tags (I'm sure you already knew that). That exception is pretty vague though...are you sure that your usage of

Re: /do/* instead of *.do in web.xml

2002-04-12 Thread jfc100
Rob Jellinghaus wrote: > Here's my semi-recent post about this very issue. > > What is your problem, exactly? > > Cheers, > Rob > > > Date: Tue, 09 Apr 2002 19:45:31 -0800 > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > From: Rob Jellinghaus <[EMAIL PROTECTED]> > Sub

RE: Validation

2002-04-12 Thread Honman Lee
Thanks...I think it is one of the properties in my form bean. I really appreciate your help. -Original Message- From: emmanuel.boudrant [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 3:08 PM To: Struts Users Mailing List Subject: Re: Validation Hi, This error mesage isn't ve

RE: [Resend]Too Slow: Debug Struts + Torque project using JBuilder5

2002-04-12 Thread emmanuel.boudrant
I suggest you to adopt unit testing ;) ... like JUnit framework. 1: Code class squeleton 2: Code test 3: Code class 4: Launch test 5: Enjoy ;) Joseph Barefoot <[EMAIL PROTECTED]> a écrit : Sure, but a debugger is not a panacea to cure all ills, and in some situations unwarranted: mounting int

RE: [Resend]Too Slow: Debug Struts + Torque project using JBuilder5

2002-04-12 Thread Joseph Barefoot
Sure, but a debugger is not a panacea to cure all ills, and in some situations unwarranted: mounting intermediate .java files generated from JSPs in order to debug the pages, just to solve a relatively simple debugging problem, is perhaps not the path of least resistance, IMHO. Debuggers are gre

Re: A beginners look at the *.do process

2002-04-12 Thread ajTreece
Thanks Joe for the tip, but alas it causes a problem I posted earlier today. I'm running: Solaris v5.8 iPlanet Web Server v6.0 sp2 Java 1.3 Struts v1.1 nightly build 04092002 with tiles Excuse the lenghty output, but here is the error I get: [12/Apr/2002:16:40:24] failure (

Re: Validation

2002-04-12 Thread emmanuel.boudrant
Hi, This error mesage isn't very explicite, sorry. Your problem is the ActionForm struts.form.EditInvoiceForm used by your action was not found in your form-rules.xml Be sure you initialize the ReValidator singleton at application startup, ... and check your form-rules.xml Regard, Emmanuel B

RE: [Resend]Too Slow: Debug Struts + Torque project using JBuilder5

2002-04-12 Thread Juan Alvarado \(Struts List\)
System.out.println() is a great tool if you want to waste your time and your company's money. I would suggest investing in an IDE you feel comfortable with. ** Juan Alvarado Internet Developer -- Manduca Management (786)552-0504 [EMAIL PROTECTED] AOL I

RE: Unable to find LookupDispatchAction class

2002-04-12 Thread Scott Edwards
I believe that the class you are looking for is: org.apache.struts.actions.DispatchAction -Scott -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 12:10 PM To: [EMAIL PROTECTED] Subject: Unable to find LookupDispatchAction class Subject:

RE: [Resend]Too Slow: Debug Struts + Torque project using JBuilder5

2002-04-12 Thread Galbreath, Mark
System.out.println(). ;-) Mark -Original Message- From: Annie Zhang [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 5:02 PM Which is the best debug tool for Struts+Torque projects? -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: PropertyUtils.copyProperties question...

2002-04-12 Thread Corneliu Rachieru
Thanks for the suggestion. BeanUtils.populate works like one my initial custom solution, but the problem is that if my HashMap contains extra attributes that were not defined in the DynaActionForm, attempting to set those attributes causes an exception ( i would like them to be either ignored or

[Resend]Too Slow: Debug Struts + Torque project using JBuilder5

2002-04-12 Thread Annie Zhang
Hi I have a powerful PC: 1.5G Intel cpu, 768M memory, 30G HD But when I debug Struts+Torque project with JBuilder5, the speed is terrible slow!!! My project scale is not very large, only 10 jsp and 20 oracle tables. It will take more than 1 minute to start debug. What's the main problem is?

Validation

2002-04-12 Thread Honman Lee
Hi All, I am using the cross-revalidator-1.0a to do validations with my struts 1.0.2. I imported the validation example into my project and I have got it to work. However, I am unable to get my other pages in the project to work with the validation. Does anyone have a suggestion on how to f

RE: A beginners look at the *.do process

2002-04-12 Thread Niall Pemberton
Try removing the leading "/" Niall > -Original Message- > From: ajTreece [mailto:[EMAIL PROTECTED]] > Sent: 12 April 2002 21:36 > To: Struts Users Mailing List > Subject: A beginners look at the *.do process > > > If this is way that things are suppose to work then just bear > wit

RE: A beginners look at the *.do process

2002-04-12 Thread Joseph Barefoot
Yes, that would definitely suck if you had to modify all the JSPs when you changed the application name. Fortunately, that is not the case. You should use the Struts custom tags to render your form tags, like so: This struts tag will correctly prepend the relative context root (i.e., your app

A beginners look at the *.do process

2002-04-12 Thread ajTreece
If this is way that things are suppose to work then just bear with me and tell me to get over it. Here is my question I have a webapp that when deployed will execute via the reference http:///sentinel The thing that is unclear to me is what is actually happening when a action is executed.

action mappings vs Actions and config files

2002-04-12 Thread @Basebeans.com
Subject: action mappings vs Actions and config files From: Tom Roche <[EMAIL PROTECTED]> === This may be a stupid question--it's certainly a matter of opinion-- but it has practical implications. I'm wondering, what's "more important to Struts": Actions, action mappings, or config files? Why I as

Re: action mappings and ActionMapping

2002-04-12 Thread @Basebeans.com
Subject: Re: action mappings and ActionMapping From: Tom Roche <[EMAIL PROTECTED]> === I should have looked at the DTD first. However, if anyone's got pointers to documentation that's more usable than http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd I'd appreciate such pointers. (It'

Unable to find LookupDispatchAction class

2002-04-12 Thread @Basebeans.com
Subject: Unable to find LookupDispatchAction class From: "John Robison" <[EMAIL PROTECTED]> === I recently started using struts. I'd like to try using LookupDispatchAction described in posts here and the struts JavaDoc but found the class isn't in my struts.jar. I checked both version 1.0.1 and

SendRedirect() Question

2002-04-12 Thread John Nelson
I am having a problem with the redirect parameter in the forward tag in struts-config.xml. If I supply an absolute URL for the path parameter - it still calls forward. Or at least it looks like it calls forward. I have a form that posts data to a 3rd party web site. That site sends the request

RE: /do/* instead of *.do in web.xml

2002-04-12 Thread Rob Jellinghaus
Here's my semi-recent post about this very issue. What is your problem, exactly? Cheers, Rob Date: Tue, 09 Apr 2002 19:45:31 -0800 To: "Struts Users Mailing List" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] From: Rob Jellinghaus <[EMAIL PROTECTED]> Subject: Never mind (was Re: Problems changing e

RE: /do/* instead of *.do in web.xml

2002-04-12 Thread Galbreath, Mark
yep. -Original Message- From: jfc100 [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 2:28 PM To: Struts-User Subject: /do/* instead of *.do in web.xml Hi, Has anyone managed to use /do/* instead of *.do successfully in web.xml? The struts catalog mentions a few benefits but I'

RE: Struts and websphere 3.5 location of struts-config.xml

2002-04-12 Thread Pruthee, Ranjan
Check you default.servlet_engine for the path in the webgroup for ur appp. Look for path in "". Also it is looking for strits-config.xml or struts-config.xml? I think it might be a typo. Thanks, -Ranjan -Original Message- From: subhendukumar mohanty [mailto:[EMAIL PROTECTED]] Sent: Fri

Struts and websphere 3.5 location of struts-config.xml

2002-04-12 Thread subhendukumar mohanty
Hi I am using struts with websphere 3.5. In one of the application server i have kept the struts-config.xml in default_host\webapplicationame\servlets . It is working fine. The same setup is not working in other machine . In that server the apploication is looking for the strits-config.xml fi

action mappings and ActionMapping

2002-04-12 Thread @Basebeans.com
Subject: action mappings and ActionMapping From: Tom Roche <[EMAIL PROTECTED]> === What attributes can an "action mapping" have? Why I ask: I'm working on an eclipse wizard for doing Action classes. Formerly it just wrote (a simple) subclass of Action from a template. (Soon I should do templates

Re: Struts-menu/dropdown

2002-04-12 Thread Raffy_Lata
Yes, I have the sample working. It just doesn't provide any links underneath each menu item. Actually, when you select an item from the dropdown menu, it pops up a new browser instead of navigating to another page on the same browser. So when I tried putting links in some of the items and changin

Re: /do/* instead of *.do in web.xml

2002-04-12 Thread Rick Reumann
I'm using /do/* fine. E-mail if you have some questions. I'm a newbie myself but don't have any problems with using /do/*. Rick On Friday, April 12, 2002, 2:27:50 PM, jfc100 wrote: j> Hi, j> Has anyone managed to use /do/* instead of *.do successfully in web.xml? j> The struts catalog mention

RE: Any Framework with GUI Administration - Ryan Norman

2002-04-12 Thread Struts Developer
Hi, I am Mark Nichols. TGIF. =) Thank you, Mark Nichols >From: "Galbreath, Mark" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> >Subject: RE: Any Framework with GUI Administration - Ryan Norman >Date: Fri, 12

/do/* instead of *.do in web.xml

2002-04-12 Thread jfc100
Hi, Has anyone managed to use /do/* instead of *.do successfully in web.xml? The struts catalog mentions a few benefits but I've not managed to get it to work yet. (*.do works but not /do/*). Any ideas? Thanks Joe -- To unsubscribe, e-mail: For additional comman

RE: how to i18n images?

2002-04-12 Thread Emmanuel Bridonneau
Hi Dave, would it be too much to ask you to share the details of this wonderfull servlet of yours with the community? What's its performance vs. static image files? I appreciate your input Dave. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12,

Re: Struts-menu/dropdown

2002-04-12 Thread @Basebeans.com
Subject: Re: Struts-menu/dropdown From: Vic Cekvenich <[EMAIL PROTECTED]> === You can download a working sample from BaseBeans.com/downloads. The site uses the Struts drop down menus. Can you get the sample drop down working that comes with the menu? Vic [EMAIL PROTECTED] wrote: > TGIF > >

RE: Friday funny -- Jim Cakalic

2002-04-12 Thread Cakalic, James
Hi. I am Jim Cakalic. A man goes into a pet shop to buy a parrot. The shop owner points to three identical looking parrots on a perch and says, "the parrot on the left costs 500 dollars". "Why does the parrot cost so much," asks the man. The shop owner says, "well, the parrot knows how to use

Friday funny

2002-04-12 Thread Chappell, Simon P
OK. To help keep the sarcasm out of the other threads (we know who you/we are! I include myself in this category of course. ;-) Q: How do you confuse a manager? A: Show them three shovels and ask them to take their pick! Q: What's the difference between a manager and a supermarket cart? A: The

RE: Any Framework with GUI Administration - Ryan Norman

2002-04-12 Thread Chappell, Simon P
Friday comes so soon these days. I must be getting old. Simon >-Original Message- >From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] >Sent: Friday, April 12, 2002 11:55 AM >To: 'Struts Users Mailing List' >Subject: RE: Any Framework with GUI Administration - Ryan Norman > > >Hi, > >I am M

RE: Any Framework with GUI Administration - Ryan Norman

2002-04-12 Thread Galbreath, Mark
Hi, I am Mark Galbreath. Pick any IDE released in the past year. You're welcome, Mark Galbreath -Original Message- From: Ryan Norman [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 12:47 PM To: Struts User Mailing List; LA Java User Group Subject: Any Framework with GUI Adminis

RE: Re[4]: proper/best way to create a "true" reset after some validation comes back

2002-04-12 Thread Galbreath, Mark
What's the job description? -Original Message- From: Jim Crossley [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 12:24 PM In the immortal words of every asshole developer out there -- To unsubscribe, e-mail: For additional commands, e-mail:

Betreff: Any Framework with GUI Administration - Ryan Norman

2002-04-12 Thread Stephan Wiesner
No, it is not really that hard. Fastest way. But there is a GUI: Struts Console http://www.jamesholmes.com/struts/ Stephan Wiesner ---Original-Nachricht--- Von: Struts Users Mailing List Datum: Freitag, 12. April 2002 18:46:54 An: Struts User Mailing List; LA Java User

Re[6]: proper/best way to create a "true" reset after some validation comes back

2002-04-12 Thread Rick Reumann
Thanks Jim, works perfectly now. Actually I was trying to combine the javascript call into the reset button tag that was the problem. Works perfect now Jim, sorry to have to waste the extra posts. One small thing had to change was to just add the extra checks for element types equaling "submit", o

Any Framework with GUI Administration - Ryan Norman

2002-04-12 Thread Ryan Norman
Hi, I am Ryan Norman. We are currently using struts. I personally think it would be very hard to make the entries in the XML file using notepad. Is there a framework that has a GUI administration? Thanks Ryan Norman

RE: how to i18n images?

2002-04-12 Thread dhay
I just wrote a small servlet that does exactly this - pass in image to use and (internationalized) text to write on it, and Bob's your Uncle!! Dave "Emmanuel Bridonneau" <[EMAIL PROTECTED]> on 04/11/2002 09:05:10 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]>

RE: Problems changing example to use /action URL mapping

2002-04-12 Thread Craig R. McClanahan
On Wed, 10 Apr 2002, Rob Jellinghaus wrote: > Date: Wed, 10 Apr 2002 10:14:23 -0800 > From: Rob Jellinghaus <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: RE: Problems changing example to use /action U

Struts-menu/dropdown

2002-04-12 Thread Raffy_Lata
TGIF Has anyone successfully used the "DropDown" in struts-menu? My problem with it is that the javascript generated by struts-menu does not preserve the state of the dropdown menu when I navigate to another page. For example 1. I have the menu File (expandable) View 2. I expand "F

Re: Re[4]: proper/best way to create a "true" reset after some validation comes back

2002-04-12 Thread Jim Crossley
Hmm. That smells like the behavior of the browser's reset button (what you get with ). Are you *sure* the correct javascript function is getting called? If you are, then I'm at a loss for what could be wrong. In the immortal words of every asshole developer out there, "It works for me." :-)

Model 2x and i18n first try.

2002-04-12 Thread Craig Laverty
Hi All, I have taken the example servlet discussed in the article http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-strutsxslt.html and added i18n support. Having a very short history with java, first I tried to find and use other people's solutions to implement xslt with struts, but what I

RE: [OT] precompiling jsp with ant (prev 'RE: New Site')

2002-04-12 Thread dhay
There is also a new task in 1.5 nightly builds for jspc directly. Dave "Fabien Modoux" <[EMAIL PROTECTED]> on 04/10/2002 05:38:13 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: RE: [OT] prec

RE: Please help.

2002-04-12 Thread Dimitar Stavrakov
You probably meant : public void setId(String id){ this.id = Integer.parseInt(id); } Regards, Dimitar -Original Message- From: Phase Web and Multimedia [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 4:57 PM To: Struts Users Mai

Re: Good process for develop/build/deploy/test cycle

2002-04-12 Thread jfc100
Wellie W. Chao wrote: >I'm not exactly sure what you mean by "incorporate user authorization into >selected a 'forward' view mapping." If you want container-managed security, >just add it to your web.xml like so: > > > > Admin > Admin functions > /admin/* > GET > PO

Re[4]: proper/best way to create a "true" reset after some validation comes back

2002-04-12 Thread Rick Reumann
Still not working here, although not totally sure why. The javascript works fine for resetting the fields the first time the jsp comes up, but after it is submitted with some errors and the validation errors come back, calling this reset function is not clearing all the fields. It is only clearing

Re: indexed - Nested property and Javascript

2002-04-12 Thread Nicolas De Loof
OUPS sorry, while writing a clean example I've seen that document.forms.MyForm.elements['echeancier.date'][0] DOES work ... Thank you for help. -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: indexed - Nested property and Javascript

2002-04-12 Thread Michael J. Godfrey
I dont know what iterate does..so if you can paste some of the resulting HTML I can help... but, *IF* iteration appends a number to the element name..then accessing a specific element is just as easy: document.myForm.elements['echeancier.dat' + elementToAccess].value="Changed"; -Original M

indexed - Nested property and Javascript

2002-04-12 Thread Nicolas De Loof
Hi, I have a HTML Form in wich I use iterate Tag to set same number of Text inputs as my data bean has : As you can see, my form is nested, so in javascript I must use elements notation like this : document.MyForm.elements['echeancier.date'] But here my text fields are indexed, so how

Re: Re[2]: proper/best way to create a "true" reset after some validation comes back

2002-04-12 Thread Jim Crossley
I don't think so, Rick. The javascript effectively mimics a user manually clearing out all the fields on the form. Once the form is submitted, the new values (empty unless the user put something in after invoking resetForm) will populate the formbean prior to invoking validate. Upon failing val

RE: What tag in struts1.0 for this?

2002-04-12 Thread Dimitar Stavrakov
Hi Rick, I'm not sure, but the logic:present and logic:equals tags should do it for you. Regards, Dimitar -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 3:10 PM To: Struts List Subject: What tag in strut

Re[2]: proper/best way to create a "true" reset after some validation comes back

2002-04-12 Thread Rick Reumann
The problem (from what I can gather) using this javascript approach is that it really isn't clearing out what is in memory. So for example say you call this function and the form clears out but the user types in something in the wrong format, when he now submits and gets back the validation errors

Re: Token : URGENT : Dont understand please help

2002-04-12 Thread Jim Crossley
The token won't be valid for the current request, but it will be for the next one, which is the whole point of using a token anyway. [EMAIL PROTECTED] writes: > I have the following code > > System.out.println("***Je sauve le token"); > request.setAttribute("webbea

Token : URGENT : Dont understand please help

2002-04-12 Thread rizvan . katchera
I have the following code System.out.println("***Je sauve le token"); request.setAttribute("webbean", _webOrder); saveToken(request); System.out.println("Is Token Valid CancelDisplayAction ** = " + isTokenValid(request)); -->fals

Re: proper/best way to create a "true" reset after some validation comes back

2002-04-12 Thread Jim Crossley
Gross, but effective: -- Jim Rick Re

Re: form beans and empty strings vs null?

2002-04-12 Thread Jim Crossley
We created a simple utility class that allows us to treat null and empty strings the same.: public class Text { public static boolean isBlank (String s) { return s==null || s.length()==0; } public static boolean isSet (String s) { return !isBlank(s); } ... } S

proper/best way to create a "true" reset after some validation comes back

2002-04-12 Thread Rick Reumann
If the user submits a form and some server side validation is done and the jsp form returns to the user with some validation, what is the best way to allow the user to clear the form and start over. Having a button whill only clear new things they enter, and refreshing is currently returning the

RE: How do I set the CODEBASE attribute for an ?

2002-04-12 Thread Stack, Richard
Are you sure the instructions say that. Normally your client (The HTTP page on the browser) cannot access /WEB-INF/classes. Put the applet above this directory Richard Stack Senior Java Developer COGNICASE Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: A

form beans and empty strings vs null?

2002-04-12 Thread Rick Reumann
One thing I really don't like is that when I use a form bean in struts, if the user doesn't type in anything in a form element text box I would like the form bean member to be set to null not set as an empty string. If they are empty strings then I'm going to have to check them all for being empty

RE: can't find bean property

2002-04-12 Thread Stack, Richard
You can't just use standard getters for radiobuttons. you need: public void setFundsVerified(String s) this.fundsVerified = s; } public String isRBSelected(String s){ return(fundVerified.equals(s)) ? "checked" : ""; } Richard Stack Senior Java Developer COGNICASE Inc. -Ori

with iPlanet web server 6.0sp2

2002-04-12 Thread ajTreece
Morning Folks... As they say in talk radio... Long time listener, first time caller so here goes. I'm building a webapp on Solaris 5.8 running the iPlanet web server version 6 sp2. Also, I'm using the 0409 nightly build of Struts v1.1 with tiles. I'm utilizing the basic logon code from the str

Re: Only the Text

2002-04-12 Thread Jim Crossley
"Derek Wayland" <[EMAIL PROTECTED]> writes: > I dont want an text input field, > i dont want a textarea field or any other HTML tag. i just want the text. [...] > > but i have to specify a name attribute and it does not work with the form > bean name. It should work. Check that the name you'

Re: dynamic form using nested:file?

2002-04-12 Thread Elijah Jacobs
No problem , Arron Your nested tags has more than helped my project. can't wait for the updated version... - ej - Original Message - From: "Arron Bates" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, April 12, 2002 4:14 AM Subject: Re: dynamic for

Re: Pager JSP Tag

2002-04-12 Thread Struts Developer
You might scan the archive for pager tag, there was a thread not too long ago about one. I've used it and it does a great job of formatting long result sets in a "google" like manner. You can control how many rows are displayed per page and how many index page links are shown as well. As for c

StrutsTiles Design: Model2 and authorization

2002-04-12 Thread jfc100
Hi, I am attempting to put together a standard run-of-the-mill membership-based webapp utilizing Struts/Tiles on tomcat+jboss adhering to accepted Model2 design pattern. The site will be acting as a kind of portal for both supplier and customer so I am looking to incorporate seperating views

configuring JDBC Data Sources on windows for DB2

2002-04-12 Thread kelly lan
Hi, Has anyone had some experience on configuring JDBC Data Sources on windows for DB2? I am having difficulties on the configuration. I am using struts with websphere. The following is the error I got: Cannot find ActionMappings or ActionFormBeans collection I have added DB2Driver:"C:\WebSp

Re: Multiple properties

2002-04-12 Thread Adolfo Miguelez
Hi All, So, does it mean, that your can grap from an ActionForm an undetermined, at development time, number of input parameters just enclosing them in a String[]? I am looking for a way to make an ActionForm that backs correctly an dinamically generated form, and therefore, with undefine

Only the Text

2002-04-12 Thread Derek Wayland
Hi, I dont want an text input field, i dont want a textarea field or any other HTML tag. i just want the text. So currently i can do the following: (which i dont want from the form bean) which gives me a nicely rendered what i want to be able to get however is just the text, not embedded

losing checkbox info between pages

2002-04-12 Thread Stuart Jameson
Hi, I have 1 form split over 2 pages. Page 1 has a checkboxA page 2 has checkboxB Unless I put a hidden field A in page 2 and a hidden field B in page 1 the checkboxes aren't set correctly (because reset() is called each the page is submitted). I assume there is a better way to do this. An

problem with

2002-04-12 Thread Muthukumar Subramanian
Title: Message I am populating more than 100 countries using   like   Algeria<\html:option> American Samoa<\html:option> Andorra<\html:option> Angola<\html:option>   like this i have tag for 100 countries . It is working fine for 20 and odd countries .. It is not working for 100 countrie

Re: dynamic form using nested:file?

2002-04-12 Thread Arron Bates
Elijah, Sorry about the lack of the tag. It's on its way. Pick it up in the next nightly build. Arron. Elijah Jacobs wrote: >hi all, > >I have a form that can have N number of images. So in essence it's like the >Monkey struts example by Arron Bates except where he has bananas, i have >image

Re: Jetty, Struts, and the html:base tag

2002-04-12 Thread Ian Tomey
Hi, We are using Jetty 3.1.3 (I think) with Jboss and don't see this issue. However, an attempted upgrade to the latest jboss & Jetty 4.0 has thrown up this problem. There are other problems with the jboss so we are not actually upgrading for the time being, but it would be nice to see a resolu