Re: Help: ActionError - does not expand the {0} placeholder
for anyone else who comes across this problem in the future, the html special character reference "'" is the correct replacement for an apostrophe (not "´"). just so everyone knows the alternative solution in addition to the double apostrophe solution. cheers, will - Original Message - From: "w i l l i a m b o y d" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, February 23, 2003 7:14 AM Subject: Re: Help: ActionError - does not expand the {0} placeholder > thanks paul, > > you are right. for what it's worth, i'd already solved my problem by trying > ´ in place of the apostrophe in the resources bundle (great minds > think alike ;¬) i'll give the double apostrophe's a shot next. > > cheers all, > will > > - Original Message - > From: "Paul Linden" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Sunday, February 23, 2003 6:40 AM > Subject: Re: Help: ActionError - does not expand the {0} > placeholder > > > > Your comment about the apostrophe is a clue - it's a special character > > in the MessageFormat class that's used for quoting. Use two apostrophes > > to display '. I think you'll find {0} will then be evaluated. > > > > And relax - Jeff's response may have been no help to you, but he was > > trying. > > And please turn off your request for return receipts. > > > > Paul > > > > w i l l i a m b o y d wrote: > > > > >hello all, > > > > > >developing on w98 with tomcat 3.2.24, mysql 3.23.36, struts 1.0.2, jdk > > >1.3.1., servlet 2.2. will be deploying on basically similar setup; but > > >deployment os is xp. > > > > > >i got a jsp page that has a choice box that allows multiple choices. i > set a > > >validation rule in my action form's validate method, that disallows users > > >from selecting more options than permitted by my limit. if a user goes > over > > >the limit the form doesn't get submitted. the validation rule is checked > > >just fine; struts creates an error for it and adds it to the errors > > >collection. but the error message that is displayed on the input page > does > > >not contain the parameterized message as expected. instead, it shows the > > >complete, unformatted message, exactly (minus an apostrophe) as it > appears > > >in the resource bundle! does anybody know what i'm overlooking? is this a > > >bug in 1.0.2? > > > > > >here is what gets displayed (verbatim) on the input page after the > > >validation error is created: > > > > > > Sorry! Youve selected too many choices for {0}. (what happened to > my > > >apostrophe in "You've" ?) > > > > > >here is the appropriate line from my resource bundle: > > > > > > error.prefs.limit=Sorry! You've selected too many choices for {0}. > > > > > >here is a snip from my form's validate method: > > > ... > > > ActionErrors errors = new ActionErrors(); > > > ... > > > if ( isTooManyPrefs ) { > > > ActionError prefMusicError = new ActionError( > "error.prefs.limit", > > >"Preferred Music" ); > > > errors.add( "prefMusic", prefMusicError ); > > > > > > } > > > ... > > > > > >here are the results of me looping through prefMusicError.getValues() > inside > > >validate: > > > > > > error.prefs.limit's replacement value # 0: Preferred Music > > > error.prefs.limit's replacement value # 1: null > > > error.prefs.limit's replacement value # 2: null > > > error.prefs.limit's replacement value # 3: null > > > > > > > > >here is a snip from the input page that generates the validation error > and > > >to which struts reports the error: > > > > > > ... > > > > > > ... > > > > > >what's going on here? why doesn't struts format the message to include > the > > >replacement value. it's obviously there! at least *i* can get at it from > the > > >object array that i get from ActionError.getValues()! please, help! > thanks > > >in advance. > > > > > >will > > > > > > > > > > > >- > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help: ActionError - does not expand the {0} placeholder
thanks paul, you are right. for what it's worth, i'd already solved my problem by trying ´ in place of the apostrophe in the resources bundle (great minds think alike ;¬) i'll give the double apostrophe's a shot next. cheers all, will - Original Message - From: "Paul Linden" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, February 23, 2003 6:40 AM Subject: Re: Help: ActionError - does not expand the {0} placeholder > Your comment about the apostrophe is a clue - it's a special character > in the MessageFormat class that's used for quoting. Use two apostrophes > to display '. I think you'll find {0} will then be evaluated. > > And relax - Jeff's response may have been no help to you, but he was > trying. > And please turn off your request for return receipts. > > Paul > > w i l l i a m b o y d wrote: > > >hello all, > > > >developing on w98 with tomcat 3.2.24, mysql 3.23.36, struts 1.0.2, jdk > >1.3.1., servlet 2.2. will be deploying on basically similar setup; but > >deployment os is xp. > > > >i got a jsp page that has a choice box that allows multiple choices. i set a > >validation rule in my action form's validate method, that disallows users > >from selecting more options than permitted by my limit. if a user goes over > >the limit the form doesn't get submitted. the validation rule is checked > >just fine; struts creates an error for it and adds it to the errors > >collection. but the error message that is displayed on the input page does > >not contain the parameterized message as expected. instead, it shows the > >complete, unformatted message, exactly (minus an apostrophe) as it appears > >in the resource bundle! does anybody know what i'm overlooking? is this a > >bug in 1.0.2? > > > >here is what gets displayed (verbatim) on the input page after the > >validation error is created: > > > > Sorry! Youve selected too many choices for {0}. (what happened to my > >apostrophe in "You've" ?) > > > >here is the appropriate line from my resource bundle: > > > > error.prefs.limit=Sorry! You've selected too many choices for {0}. > > > >here is a snip from my form's validate method: > > ... > > ActionErrors errors = new ActionErrors(); > > ... > > if ( isTooManyPrefs ) { > > ActionError prefMusicError = new ActionError( "error.prefs.limit", > >"Preferred Music" ); > > errors.add( "prefMusic", prefMusicError ); > > > > } > > ... > > > >here are the results of me looping through prefMusicError.getValues() inside > >validate: > > > > error.prefs.limit's replacement value # 0: Preferred Music > > error.prefs.limit's replacement value # 1: null > > error.prefs.limit's replacement value # 2: null > > error.prefs.limit's replacement value # 3: null > > > > > >here is a snip from the input page that generates the validation error and > >to which struts reports the error: > > > > ... > > > > ... > > > >what's going on here? why doesn't struts format the message to include the > >replacement value. it's obviously there! at least *i* can get at it from the > >object array that i get from ActionError.getValues()! please, help! thanks > >in advance. > > > >will > > > > > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help: ActionError - does not expand the {0} placeholder
Your comment about the apostrophe is a clue - it's a special character in the MessageFormat class that's used for quoting. Use two apostrophes to display '. I think you'll find {0} will then be evaluated. And relax - Jeff's response may have been no help to you, but he was trying. And please turn off your request for return receipts. Paul w i l l i a m b o y d wrote: hello all, developing on w98 with tomcat 3.2.24, mysql 3.23.36, struts 1.0.2, jdk 1.3.1., servlet 2.2. will be deploying on basically similar setup; but deployment os is xp. i got a jsp page that has a choice box that allows multiple choices. i set a validation rule in my action form's validate method, that disallows users from selecting more options than permitted by my limit. if a user goes over the limit the form doesn't get submitted. the validation rule is checked just fine; struts creates an error for it and adds it to the errors collection. but the error message that is displayed on the input page does not contain the parameterized message as expected. instead, it shows the complete, unformatted message, exactly (minus an apostrophe) as it appears in the resource bundle! does anybody know what i'm overlooking? is this a bug in 1.0.2? here is what gets displayed (verbatim) on the input page after the validation error is created: Sorry! Youve selected too many choices for {0}. (what happened to my apostrophe in "You've" ?) here is the appropriate line from my resource bundle: error.prefs.limit=Sorry! You've selected too many choices for {0}. here is a snip from my form's validate method: ... ActionErrors errors = new ActionErrors(); ... if ( isTooManyPrefs ) { ActionError prefMusicError = new ActionError( "error.prefs.limit", "Preferred Music" ); errors.add( "prefMusic", prefMusicError ); } ... here are the results of me looping through prefMusicError.getValues() inside validate: error.prefs.limit's replacement value # 0: Preferred Music error.prefs.limit's replacement value # 1: null error.prefs.limit's replacement value # 2: null error.prefs.limit's replacement value # 3: null here is a snip from the input page that generates the validation error and to which struts reports the error: ... ... what's going on here? why doesn't struts format the message to include the replacement value. it's obviously there! at least *i* can get at it from the object array that i get from ActionError.getValues()! please, help! thanks in advance. will - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts and HttpUnit
I use JMeter also on the jakarta web site. It is an excellent tool that even non-developer's can use. You can put in entire test suites/plans. Real cool stuff. You don't need JUnit. Michael Lee - Original Message - From: "Thomas L Roche" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, February 22, 2003 4:51 PM Subject: Re: Struts and HttpUnit > "Marco Tedone" <[EMAIL PROTECTED]> on Fri, 21 Feb 2003 23:24:34 > > Hi, has anyone of you used HttpUnit to test Struts applications? > > No, but if I wanted to test a Struts app within a JUnit framework, I'd > use StrutsTestCase > > http://strutstestcase.sourceforge.net/ > > > I would like to retrieve an attribute stored in the Servlet Context > > Try servletunit.ServletContextSimulator > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.456 / Virus Database: 256 - Release Date: 2/18/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT]What is the best method to set default values of a form?
Once again, leave your anti-American political bullshit off the struts email list please. Michael Lee - Original Message - From: "James Childers" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, February 22, 2003 10:45 AM Subject: RE: What is the best method to set default values of a form? > -Original Message- > From: Zsolt Koppany [mailto:[EMAIL PROTECTED] > Sent: Saturday, February 22, 2003 4:39 AM > To: struts mail list > Subject: What is the best method to set default values of a form? > > I understand that the reset method should not be used to set > the default > values of the fields of a form. What is the preferred way? > > -- > Zsolt > I don't know about "best way", but I usually set the default values in the field's declaration: public final class MakeACallForm extends ActionForm { private String name = "George 'I Like War!' Bush"; private String telephoneNumber = "1-800-DA-WHITE-HOUSE"; ... etc ... ... getters and setters for above ... } -= J - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.456 / Virus Database: 256 - Release Date: 2/18/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] What's your IQ?
What are you doing on a struts email list? There are a lot of evil American contributors to struts. Go launder some terrorist money and leave the anti-American/Capitalist politics off the list. I'm guessing your on this list because you work at an evil company that wants to use struts and make profits. Hypocrite. Michael Lee Software Architect Former: 12B Combat Engineer, United States Army - Original Message - From: "alexj" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, February 22, 2003 5:34 PM Subject: Re: [OT] What's your IQ? > What can I said, American people think they > know all the truth about how to manage the world. > > (it's not only my opinion) > > The world is really not an industry like IBM, I think > some american guys have to think about that. > > If a coutry didn't believe in the "pseudo" american dream, > you really nedd to attak them ? > > In my (little one) country we didn't only care about how to make > benefits but we care how to people from this country can take profit > about that. > > I'm a young man (22 years old) from Switzerland but US people need to > care about how people whi lived in this countries. > > Fuck Wars !!! > Fuck guys who only care about theire own profits !! > > -- > Alexandre Jaquet > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.456 / Virus Database: 256 - Release Date: 2/18/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help: ActionError - does not expand the {0} placeholder
thanks, david i will give that a try. in the meantime, any more suggestions from others would be sincerely appreciated. - Original Message - From: "David M. Karr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 23, 2003 4:56 AM Subject: Re: Help: ActionError - does not expand the {0} placeholder > > "w" == w i l l i a m b o y d writes: > > w> Sorry! Youve selected too many choices for {0}. (what happened to my > w> apostrophe in "You've" ?) > > w> here is the appropriate line from my resource bundle: > > w> error.prefs.limit=Sorry! You've selected too many choices for {0}. > > w> here is a snip from my form's validate method: > w> ... > w> ActionErrors errors = new ActionErrors(); > w> ... > w> if ( isTooManyPrefs ) { > w> ActionError prefMusicError = new ActionError( "error.prefs.limit", > w> "Preferred Music" ); > w> errors.add( "prefMusic", prefMusicError ); > > If I were you, I would do two things: > > 1. Take your exact message property and plug it into the "MessageFormat" class > and see if the same thing happens. > > 2. Step through this code in your debugger, and see what happens when the > message gets formatted. > > -- > === > David M. Karr ; Java/J2EE/XML/Unix/C++ > [EMAIL PROTECTED] ; SCJP; SCWCD > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help: ActionError - does not expand the {0} placeholder
> "w" == w i l l i a m b o y d writes: w> Sorry! Youve selected too many choices for {0}. (what happened to my w> apostrophe in "You've" ?) w> here is the appropriate line from my resource bundle: w> error.prefs.limit=Sorry! You've selected too many choices for {0}. w> here is a snip from my form's validate method: w> ... w> ActionErrors errors = new ActionErrors(); w> ... w> if ( isTooManyPrefs ) { w> ActionError prefMusicError = new ActionError( "error.prefs.limit", w> "Preferred Music" ); w> errors.add( "prefMusic", prefMusicError ); If I were you, I would do two things: 1. Take your exact message property and plug it into the "MessageFormat" class and see if the same thing happens. 2. Step through this code in your debugger, and see what happens when the message gets formatted. -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] ; SCJP; SCWCD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help: ActionError - does not expand the{0}placeholder
am i the only one scratching my head at this? did i miss something? - Original Message - From: "w i l l i a m b o y d" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, February 22, 2003 11:17 PM Subject: Re: Help: ActionError - does not expand the{0}placeholder > jeff, > > i *am* impressed. and the impression i get is that you have no interest > whatsoever in helping me solve my problem, except in as much as it gives you > a reason to spout off how much you know about the validation framework. > which i've already clarified, is of no use to me and my setup. > > SHEESH!!! > > - Original Message - > From: "Jeff Kyser" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Sunday, February 23, 2003 3:59 AM > Subject: Re: Help: ActionError - does not expand > the{0}placeholder > > > > Sorry, Will, I missed the 1.0.2 reference. Have only worked with 1.1.3, > > and using the validation framework. In that situation, the > > validation.xml > > file is essentially a bridge between the validation rules (in > > validator-rules.xml) > > and the error messages in your resource bundle. And unless you'd > > created one, it wouldn't exist. It could be named anything really, as > > you > > specify its name in your struts-config.xml file: > > > > > className="org.apache.struts.validator.ValidatorPlugIn"> > > >value="/WEB-INF/validator-rules.xml, > > > > /WEB-INF/validator-custom-rules.xml, > > **/WEB-INF/validation.xml"> > > > > > > > > but i guess all that's not much help. > > > > -jeff > > > > On Saturday, February 22, 2003, at 09:14 PM, w i l l i a m b o y d > > wrote: > > > > > thanks for your reply, jeff. > > > > > > i wasn't aware that struts 1.0.2 used a validation.xml file. there is > > > nothing like that anywhere on my system. besides, it's not the > > > validation > > > that is the problem. the validation is working fine. the problem is > > > that the > > > paramater being passed into the ActionError constructor isn't being > > > included > > > in the error message that is being output. > > > > > > - Original Message - > > > From: "Jeff Kyser" <[EMAIL PROTECTED]> > > > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > > Sent: Sunday, February 23, 2003 3:06 AM > > > Subject: Re: Help: ActionError - does not expand the > > > {0}placeholder > > > > > > > > >> So what does your validation.xml file look like w.r.t. the rule in > > >> question? > > >> > > >> -jeff > > >> > > >> On Saturday, February 22, 2003, at 09:00 PM, w i l l i a m b o y d > > >> wrote: > > >> > > >>> hello all, > > >>> > > >>> developing on w98 with tomcat 3.2.24, mysql 3.23.36, struts 1.0.2, > > >>> jdk > > >>> 1.3.1., servlet 2.2. will be deploying on basically similar setup; > > >>> but > > >>> deployment os is xp. > > >>> > > >>> i got a jsp page that has a choice box that allows multiple choices. > > >>> i > > >>> set a > > >>> validation rule in my action form's validate method, that disallows > > >>> users > > >>> from selecting more options than permitted by my limit. if a user > > >>> goes > > >>> over > > >>> the limit the form doesn't get submitted. the validation rule is > > >>> checked > > >>> just fine; struts creates an error for it and adds it to the errors > > >>> collection. but the error message that is displayed on the input page > > >>> does > > >>> not contain the parameterized message as expected. instead, it shows > > >>> the > > >>> complete, unformatted message, exactly (minus an apostrophe) as it > > >>> appears > > >>> in the resource bundle! does anybody know what i'm overlooking? is > > >>> this a > > >>> bug in 1.0.2? > > >>> > > >>> here is what gets displayed (verbatim) on the input page after the > > >>> validation error is created: > > >>> > > >>> Sorry! Youve selected too many choices for {0}. (what happened > > >>> to my > > >>> apostrophe in "You've" ?) > > >>> > > >>> here is the appropriate line from my resource bundle: > > >>> > > >>> error.prefs.limit=Sorry! You've selected too many choices for > > >>> {0}. > > >>> > > >>> here is a snip from my form's validate method: > > >>> ... > > >>> ActionErrors errors = new ActionErrors(); > > >>> ... > > >>> if ( isTooManyPrefs ) { > > >>> ActionError prefMusicError = new ActionError( > > >>> "error.prefs.limit", > > >>> "Preferred Music" ); > > >>> errors.add( "prefMusic", prefMusicError ); > > >>> > > >>>} > > >>> ... > > >>> > > >>> here are the results of me looping through prefMusicError.getValues() > > >>> inside > > >>> validate: > > >>> > > >>> error.prefs.limit's replacement value # 0: Preferred Music > > >>> error.prefs.limit's replacement value # 1: null > > >>> error.prefs.limit's replacement value # 2: null > > >>> error.prefs.limit's repl
Re: Help: ActionError - does not expand the{0}placeholder
jeff, i *am* impressed. and the impression i get is that you have no interest whatsoever in helping me solve my problem, except in as much as it gives you a reason to spout off how much you know about the validation framework. which i've already clarified, is of no use to me and my setup. SHEESH!!! - Original Message - From: "Jeff Kyser" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, February 23, 2003 3:59 AM Subject: Re: Help: ActionError - does not expand the{0}placeholder > Sorry, Will, I missed the 1.0.2 reference. Have only worked with 1.1.3, > and using the validation framework. In that situation, the > validation.xml > file is essentially a bridge between the validation rules (in > validator-rules.xml) > and the error messages in your resource bundle. And unless you'd > created one, it wouldn't exist. It could be named anything really, as > you > specify its name in your struts-config.xml file: > > className="org.apache.struts.validator.ValidatorPlugIn"> > value="/WEB-INF/validator-rules.xml, > > /WEB-INF/validator-custom-rules.xml, > **/WEB-INF/validation.xml"> > > > > but i guess all that's not much help. > > -jeff > > On Saturday, February 22, 2003, at 09:14 PM, w i l l i a m b o y d > wrote: > > > thanks for your reply, jeff. > > > > i wasn't aware that struts 1.0.2 used a validation.xml file. there is > > nothing like that anywhere on my system. besides, it's not the > > validation > > that is the problem. the validation is working fine. the problem is > > that the > > paramater being passed into the ActionError constructor isn't being > > included > > in the error message that is being output. > > > > - Original Message - > > From: "Jeff Kyser" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > Sent: Sunday, February 23, 2003 3:06 AM > > Subject: Re: Help: ActionError - does not expand the > > {0}placeholder > > > > > >> So what does your validation.xml file look like w.r.t. the rule in > >> question? > >> > >> -jeff > >> > >> On Saturday, February 22, 2003, at 09:00 PM, w i l l i a m b o y d > >> wrote: > >> > >>> hello all, > >>> > >>> developing on w98 with tomcat 3.2.24, mysql 3.23.36, struts 1.0.2, > >>> jdk > >>> 1.3.1., servlet 2.2. will be deploying on basically similar setup; > >>> but > >>> deployment os is xp. > >>> > >>> i got a jsp page that has a choice box that allows multiple choices. > >>> i > >>> set a > >>> validation rule in my action form's validate method, that disallows > >>> users > >>> from selecting more options than permitted by my limit. if a user > >>> goes > >>> over > >>> the limit the form doesn't get submitted. the validation rule is > >>> checked > >>> just fine; struts creates an error for it and adds it to the errors > >>> collection. but the error message that is displayed on the input page > >>> does > >>> not contain the parameterized message as expected. instead, it shows > >>> the > >>> complete, unformatted message, exactly (minus an apostrophe) as it > >>> appears > >>> in the resource bundle! does anybody know what i'm overlooking? is > >>> this a > >>> bug in 1.0.2? > >>> > >>> here is what gets displayed (verbatim) on the input page after the > >>> validation error is created: > >>> > >>> Sorry! Youve selected too many choices for {0}. (what happened > >>> to my > >>> apostrophe in "You've" ?) > >>> > >>> here is the appropriate line from my resource bundle: > >>> > >>> error.prefs.limit=Sorry! You've selected too many choices for > >>> {0}. > >>> > >>> here is a snip from my form's validate method: > >>> ... > >>> ActionErrors errors = new ActionErrors(); > >>> ... > >>> if ( isTooManyPrefs ) { > >>> ActionError prefMusicError = new ActionError( > >>> "error.prefs.limit", > >>> "Preferred Music" ); > >>> errors.add( "prefMusic", prefMusicError ); > >>> > >>>} > >>> ... > >>> > >>> here are the results of me looping through prefMusicError.getValues() > >>> inside > >>> validate: > >>> > >>> error.prefs.limit's replacement value # 0: Preferred Music > >>> error.prefs.limit's replacement value # 1: null > >>> error.prefs.limit's replacement value # 2: null > >>> error.prefs.limit's replacement value # 3: null > >>> > >>> > >>> here is a snip from the input page that generates the validation > >>> error > >>> and > >>> to which struts reports the error: > >>> > >>> ... > >>> > >>> ... > >>> > >>> what's going on here? why doesn't struts format the message to > >>> include > >>> the > >>> replacement value. it's obviously there! at least *i* can get at it > >>> from the > >>> object array that i get from ActionError.getValues()! please, help! > >>> thanks > >>> in advance. > >>> > >>> will > >>> > >>> > >>> > >>> ---
Re: html select problem, help me please
It gives me no choice Ray, I'll have to do it in the dirty way. Well first timer, so thats it. <% Iterator i = code1data.iterator(); Hashtable data = new Hashtable(); while (i.hasNext()) { data = (Hashtable) i.next(); String cd = (String) data.get("cd"); String descrip =(String) data.get("descrip"); out.println("" + descrip ); } out.println(""); %> Thank you for your time Ray. --buics Ray Madigan wrote: > This has confused me too - I think that is different from > in the holds the collection. > > in the iterate. If you want to use into a session or request attribute. > > -Original Message- > From: Buics [mailto:[EMAIL PROTECTED] > Sent: Friday, February 21, 2003 7:08 PM > To: Struts Users Mailing List > Subject: html select problem, help me please > > I have a collection named code1data, in logic:iterate it works fine, but > when I > apply this to html:select it goes wrong. > Anybody could help me in html:select tag. > > here's my script .. > > > > > > > > > > > > > > > > > > labelProperty="descrip"/> > > > -- > It's good to be slow and steady; but it's better to be fast and reliable. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- It's good to be slow and steady; but it's better to be fast and reliable. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: struts-el with weblogic 7.1 - Error (JSP 1.1 spec, 5.4.1) at line 2
David, I'm using weblogic 7.01sp2... the problem has been resolved after I downloaded the newest nightly build. I should always remember that I'm working on the nightly build! Thanks a lot, - Rabih -Original Message- From: David M. Karr [mailto:[EMAIL PROTECTED] Sent: 23 February 2003 01:23 To: [EMAIL PROTECTED] Subject: Re: struts-el with weblogic 7.1 - Error (JSP 1.1 spec, 5.4.1) at line 2 > "Rabih" == Rabih Yazbeck <[EMAIL PROTECTED]> writes: Rabih> Hello, Rabih> I am using Weblogic 7.1 with Struts-el... and I am receiving the Rabih> following error while compiling my JSPs from JBuilder 8 Ent. Rabih> "jsp1.jsp": Error in using tag library uri='/WEB-INF/struts-html-el.tld' Rabih> prefix='htmlel': The Tag class Rabih> 'org.apache.strutsel.taglib.html.ELOptionTag' has no setter method Rabih> corresponding to TLD declared attribute 'bundle', (JSP 1.1 spec, 5.4.1) Rabih> at line 2 Rabih> "jsp1.jsp": weblogic.servlet.jsp.JspException: (line 2): Error in using Rabih> tag library uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag Rabih> class 'org.apache.strutsel.taglib.html.ELOptionTag' has no setter method Rabih> corresponding to TLD declared attribute 'bundle', (JSP 1.1 spec, 5.4.1) What version of WL are you actually using? I don't see a version 7.1 on the web site. Do you mean 7.0SP2? -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] ; SCJP; SCWCD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help: ActionError - does not expand the{0}placeholder
Sorry, Will, I missed the 1.0.2 reference. Have only worked with 1.1.3, and using the validation framework. In that situation, the validation.xml file is essentially a bridge between the validation rules (in validator-rules.xml) and the error messages in your resource bundle. And unless you'd created one, it wouldn't exist. It could be named anything really, as you specify its name in your struts-config.xml file: value="/WEB-INF/validator-rules.xml, /WEB-INF/validator-custom-rules.xml, **/WEB-INF/validation.xml"> but i guess all that's not much help. -jeff On Saturday, February 22, 2003, at 09:14 PM, w i l l i a m b o y d wrote: thanks for your reply, jeff. i wasn't aware that struts 1.0.2 used a validation.xml file. there is nothing like that anywhere on my system. besides, it's not the validation that is the problem. the validation is working fine. the problem is that the paramater being passed into the ActionError constructor isn't being included in the error message that is being output. - Original Message - From: "Jeff Kyser" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, February 23, 2003 3:06 AM Subject: Re: Help: ActionError - does not expand the {0}placeholder So what does your validation.xml file look like w.r.t. the rule in question? -jeff On Saturday, February 22, 2003, at 09:00 PM, w i l l i a m b o y d wrote: hello all, developing on w98 with tomcat 3.2.24, mysql 3.23.36, struts 1.0.2, jdk 1.3.1., servlet 2.2. will be deploying on basically similar setup; but deployment os is xp. i got a jsp page that has a choice box that allows multiple choices. i set a validation rule in my action form's validate method, that disallows users from selecting more options than permitted by my limit. if a user goes over the limit the form doesn't get submitted. the validation rule is checked just fine; struts creates an error for it and adds it to the errors collection. but the error message that is displayed on the input page does not contain the parameterized message as expected. instead, it shows the complete, unformatted message, exactly (minus an apostrophe) as it appears in the resource bundle! does anybody know what i'm overlooking? is this a bug in 1.0.2? here is what gets displayed (verbatim) on the input page after the validation error is created: Sorry! Youve selected too many choices for {0}. (what happened to my apostrophe in "You've" ?) here is the appropriate line from my resource bundle: error.prefs.limit=Sorry! You've selected too many choices for {0}. here is a snip from my form's validate method: ... ActionErrors errors = new ActionErrors(); ... if ( isTooManyPrefs ) { ActionError prefMusicError = new ActionError( "error.prefs.limit", "Preferred Music" ); errors.add( "prefMusic", prefMusicError ); } ... here are the results of me looping through prefMusicError.getValues() inside validate: error.prefs.limit's replacement value # 0: Preferred Music error.prefs.limit's replacement value # 1: null error.prefs.limit's replacement value # 2: null error.prefs.limit's replacement value # 3: null here is a snip from the input page that generates the validation error and to which struts reports the error: ... ... what's going on here? why doesn't struts format the message to include the replacement value. it's obviously there! at least *i* can get at it from the object array that i get from ActionError.getValues()! please, help! thanks in advance. will - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
html:image HELP
I guess i still don't understand. I think this is my last hurdle to get my prototype working, ever hear that one before :-). I am trying to use images - like the following: When the user clicks on the button the onclick fires some javascript to get some work done. I get the error message: Attribute has no value? If I knew what attribute i could track it down? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help: ActionError - does not expand the {0}placeholder
thanks for your reply, jeff. i wasn't aware that struts 1.0.2 used a validation.xml file. there is nothing like that anywhere on my system. besides, it's not the validation that is the problem. the validation is working fine. the problem is that the paramater being passed into the ActionError constructor isn't being included in the error message that is being output. - Original Message - From: "Jeff Kyser" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, February 23, 2003 3:06 AM Subject: Re: Help: ActionError - does not expand the {0}placeholder > So what does your validation.xml file look like w.r.t. the rule in > question? > > -jeff > > On Saturday, February 22, 2003, at 09:00 PM, w i l l i a m b o y d > wrote: > > > hello all, > > > > developing on w98 with tomcat 3.2.24, mysql 3.23.36, struts 1.0.2, jdk > > 1.3.1., servlet 2.2. will be deploying on basically similar setup; but > > deployment os is xp. > > > > i got a jsp page that has a choice box that allows multiple choices. i > > set a > > validation rule in my action form's validate method, that disallows > > users > > from selecting more options than permitted by my limit. if a user goes > > over > > the limit the form doesn't get submitted. the validation rule is > > checked > > just fine; struts creates an error for it and adds it to the errors > > collection. but the error message that is displayed on the input page > > does > > not contain the parameterized message as expected. instead, it shows > > the > > complete, unformatted message, exactly (minus an apostrophe) as it > > appears > > in the resource bundle! does anybody know what i'm overlooking? is > > this a > > bug in 1.0.2? > > > > here is what gets displayed (verbatim) on the input page after the > > validation error is created: > > > > Sorry! Youve selected too many choices for {0}. (what happened > > to my > > apostrophe in "You've" ?) > > > > here is the appropriate line from my resource bundle: > > > > error.prefs.limit=Sorry! You've selected too many choices for > > {0}. > > > > here is a snip from my form's validate method: > > ... > > ActionErrors errors = new ActionErrors(); > > ... > > if ( isTooManyPrefs ) { > > ActionError prefMusicError = new ActionError( > > "error.prefs.limit", > > "Preferred Music" ); > > errors.add( "prefMusic", prefMusicError ); > > > >} > > ... > > > > here are the results of me looping through prefMusicError.getValues() > > inside > > validate: > > > > error.prefs.limit's replacement value # 0: Preferred Music > > error.prefs.limit's replacement value # 1: null > > error.prefs.limit's replacement value # 2: null > > error.prefs.limit's replacement value # 3: null > > > > > > here is a snip from the input page that generates the validation error > > and > > to which struts reports the error: > > > > ... > > > > ... > > > > what's going on here? why doesn't struts format the message to include > > the > > replacement value. it's obviously there! at least *i* can get at it > > from the > > object array that i get from ActionError.getValues()! please, help! > > thanks > > in advance. > > > > will > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help: ActionError - does not expand the {0}placeholder
For example, on my loginForm, where field "userName" depends on the "required" rule: arg0 is what ends up in the "{0} is a required field" message, but only because I defined it above for the userName field. so which rule are you using? -jeff On Saturday, February 22, 2003, at 09:00 PM, w i l l i a m b o y d wrote: hello all, developing on w98 with tomcat 3.2.24, mysql 3.23.36, struts 1.0.2, jdk 1.3.1., servlet 2.2. will be deploying on basically similar setup; but deployment os is xp. i got a jsp page that has a choice box that allows multiple choices. i set a validation rule in my action form's validate method, that disallows users from selecting more options than permitted by my limit. if a user goes over the limit the form doesn't get submitted. the validation rule is checked just fine; struts creates an error for it and adds it to the errors collection. but the error message that is displayed on the input page does not contain the parameterized message as expected. instead, it shows the complete, unformatted message, exactly (minus an apostrophe) as it appears in the resource bundle! does anybody know what i'm overlooking? is this a bug in 1.0.2? here is what gets displayed (verbatim) on the input page after the validation error is created: Sorry! Youve selected too many choices for {0}. (what happened to my apostrophe in "You've" ?) here is the appropriate line from my resource bundle: error.prefs.limit=Sorry! You've selected too many choices for {0}. here is a snip from my form's validate method: ... ActionErrors errors = new ActionErrors(); ... if ( isTooManyPrefs ) { ActionError prefMusicError = new ActionError( "error.prefs.limit", "Preferred Music" ); errors.add( "prefMusic", prefMusicError ); } ... here are the results of me looping through prefMusicError.getValues() inside validate: error.prefs.limit's replacement value # 0: Preferred Music error.prefs.limit's replacement value # 1: null error.prefs.limit's replacement value # 2: null error.prefs.limit's replacement value # 3: null here is a snip from the input page that generates the validation error and to which struts reports the error: ... ... what's going on here? why doesn't struts format the message to include the replacement value. it's obviously there! at least *i* can get at it from the object array that i get from ActionError.getValues()! please, help! thanks in advance. will - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help: ActionError - does not expand the {0}placeholder
So what does your validation.xml file look like w.r.t. the rule in question? -jeff On Saturday, February 22, 2003, at 09:00 PM, w i l l i a m b o y d wrote: hello all, developing on w98 with tomcat 3.2.24, mysql 3.23.36, struts 1.0.2, jdk 1.3.1., servlet 2.2. will be deploying on basically similar setup; but deployment os is xp. i got a jsp page that has a choice box that allows multiple choices. i set a validation rule in my action form's validate method, that disallows users from selecting more options than permitted by my limit. if a user goes over the limit the form doesn't get submitted. the validation rule is checked just fine; struts creates an error for it and adds it to the errors collection. but the error message that is displayed on the input page does not contain the parameterized message as expected. instead, it shows the complete, unformatted message, exactly (minus an apostrophe) as it appears in the resource bundle! does anybody know what i'm overlooking? is this a bug in 1.0.2? here is what gets displayed (verbatim) on the input page after the validation error is created: Sorry! Youve selected too many choices for {0}. (what happened to my apostrophe in "You've" ?) here is the appropriate line from my resource bundle: error.prefs.limit=Sorry! You've selected too many choices for {0}. here is a snip from my form's validate method: ... ActionErrors errors = new ActionErrors(); ... if ( isTooManyPrefs ) { ActionError prefMusicError = new ActionError( "error.prefs.limit", "Preferred Music" ); errors.add( "prefMusic", prefMusicError ); } ... here are the results of me looping through prefMusicError.getValues() inside validate: error.prefs.limit's replacement value # 0: Preferred Music error.prefs.limit's replacement value # 1: null error.prefs.limit's replacement value # 2: null error.prefs.limit's replacement value # 3: null here is a snip from the input page that generates the validation error and to which struts reports the error: ... ... what's going on here? why doesn't struts format the message to include the replacement value. it's obviously there! at least *i* can get at it from the object array that i get from ActionError.getValues()! please, help! thanks in advance. will - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Help: ActionError - does not expand the {0} placeholder
hello all, developing on w98 with tomcat 3.2.24, mysql 3.23.36, struts 1.0.2, jdk 1.3.1., servlet 2.2. will be deploying on basically similar setup; but deployment os is xp. i got a jsp page that has a choice box that allows multiple choices. i set a validation rule in my action form's validate method, that disallows users from selecting more options than permitted by my limit. if a user goes over the limit the form doesn't get submitted. the validation rule is checked just fine; struts creates an error for it and adds it to the errors collection. but the error message that is displayed on the input page does not contain the parameterized message as expected. instead, it shows the complete, unformatted message, exactly (minus an apostrophe) as it appears in the resource bundle! does anybody know what i'm overlooking? is this a bug in 1.0.2? here is what gets displayed (verbatim) on the input page after the validation error is created: Sorry! Youve selected too many choices for {0}. (what happened to my apostrophe in "You've" ?) here is the appropriate line from my resource bundle: error.prefs.limit=Sorry! You've selected too many choices for {0}. here is a snip from my form's validate method: ... ActionErrors errors = new ActionErrors(); ... if ( isTooManyPrefs ) { ActionError prefMusicError = new ActionError( "error.prefs.limit", "Preferred Music" ); errors.add( "prefMusic", prefMusicError ); } ... here are the results of me looping through prefMusicError.getValues() inside validate: error.prefs.limit's replacement value # 0: Preferred Music error.prefs.limit's replacement value # 1: null error.prefs.limit's replacement value # 2: null error.prefs.limit's replacement value # 3: null here is a snip from the input page that generates the validation error and to which struts reports the error: ... ... what's going on here? why doesn't struts format the message to include the replacement value. it's obviously there! at least *i* can get at it from the object array that i get from ActionError.getValues()! please, help! thanks in advance. will - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: General-Ledger
At 11:41 20/2/2003 -0500, you wrote: Not that I know of. But if you do one, I'll beta test for you. haha I'm really thinking about this, but I asked before to be sure that I'm not reinventing the wheel. Is there more people interested to play with? If you are interested, please contact me at [EMAIL PROTECTED] because this topic seems off topic here. I'm considering to use EJB + Struts, so the user interface can be changed easily. Juan José Velázquez Garcia Information System Developer www.htmlspider.com.br - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Bizarre struts-related e-mail: To Sender Match eManager setting andtake actio n.
Please excuse, but has anybody gotten one of these? (see below) Having made a total of two post to the list, one an attempt to help and another a pretty innocent comment on the 'IQ Test' thread, I'm more than surprised to see this back in my mailbox. Especially considering the language in some of the posts that got through! I guess someone is sending junk in my name? It wasn't me! regards, -jeff Begin forwarded message: From: [EMAIL PROTECTED] Date: Sat Feb 22, 2003 7:06:58 PM US/Central To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: ScanMail Message: To Sender Match eManager setting and take actio n. eManager Notification * The following mail was blocked since it contains sensitive content. Source mailbox: [EMAIL PROTECTED] Destination mailbox(es): [EMAIL PROTECTED] Rule/Policy: AXA IM Information Security Code of Conduct & Policy for Users Section 2-6-2-7 Action: Quarantine to C:\Program Files\Trend\SMCF\Quarantine\2003-02-23\01-06-56.29217 An email sent by you has been detected as containing content that appears to be unprofessional. The email will be released only if it does not breach AXA IM Information Security Policy. The recipient(s) will receive nothing unless the email is released. *** End of message * This e-mail is confidential and intended only for the addressee(s) shown. If you are not an intended recipient, please be advised that any use, dissemination, forwarding or copying of this e-mail is strictly prohibited. Internet e-mails are not necessarily secure and the AXA Group does not accept responsibility for changes made to this message after it was sent. Please note that incoming and outgoing electronic mail messages may be monitored. Should you receive this transmission in error, notify the sender immediately. Thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Strange Validator Problem
This problem was solved thanks to another lister. It has nothing to do with JDK version. JDK 1.4.1_01 works just fine. The solution was to reference a global forward in the input tag of the action. Struts versions prior to 1.1 did not require this. Perhaps a bug? On Mon, 2003-02-10 at 12:39, Robert Morse wrote: > Hello, > I have a very strange validator problem with 1.1-b3. > > I have a simple logon form (ValidatorForm) that accepts a userid and > password. In my validation.xml file I'm specifying that the fields are > required. The struts-config.xml file has the validate="true". When I > execute this, I get the logon.jsp page successfully displayed, but if I > leave the fields blank and submit, no errors occur, but a blank white > display shows up in the browser. > > Now the strange part, if I change validate="false", check for > non-existent password or userid in the Action, and use errors.add() to > add the appropriate errors; this time when I submit with the fields > blank, I get the form re-displayed with errors. The 'input' key remains > the same between both versions. > > If I set up a log4.properties file with the level set to DEBUG, I can > see that the resource keys for the error messages are being loaded, and > I get a message saying that the validation failed -- so I know the > validator is being called. The last message I get tells me: Validation > failed, returning to '/logon/logon.jsp'. But all I get after that is a > blank white page, yet the '/logon/logon.jsp' is the correct path and > works when validate='false'. > > Any ideas? > > Thanks! > > -robert. > -- > "All motion is not progress, and all movement is not forward" (anon) > Key ID: F0533BB6 > Finger Print: 7F07 D9CD 266F 29D4 3616 164D F055 6E4C F053 3BB6 > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- "All motion is not progress, and all movement is not forward" (anon) Key ID: F0533BB6 Finger Print: 7F07 D9CD 266F 29D4 3616 164D F055 6E4C F053 3BB6 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: struts-el with weblogic 7.1 - Error (JSP 1.1 spec, 5.4.1) at line 2
> "Rabih" == Rabih Yazbeck <[EMAIL PROTECTED]> writes: Rabih> Hello, Rabih> I am using Weblogic 7.1 with Struts-el... and I am receiving the Rabih> following error while compiling my JSPs from JBuilder 8 Ent. Rabih> "jsp1.jsp": Error in using tag library uri='/WEB-INF/struts-html-el.tld' Rabih> prefix='htmlel': The Tag class Rabih> 'org.apache.strutsel.taglib.html.ELOptionTag' has no setter method Rabih> corresponding to TLD declared attribute 'bundle', (JSP 1.1 spec, 5.4.1) Rabih> at line 2 Rabih> "jsp1.jsp": weblogic.servlet.jsp.JspException: (line 2): Error in using Rabih> tag library uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag Rabih> class 'org.apache.strutsel.taglib.html.ELOptionTag' has no setter method Rabih> corresponding to TLD declared attribute 'bundle', (JSP 1.1 spec, 5.4.1) What version of WL are you actually using? I don't see a version 7.1 on the web site. Do you mean 7.0SP2? -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] ; SCJP; SCWCD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Using Map in ActionForm (ValidatorForm)
This is what my action form looks like. You can ignore the LinkedHashMap and use a regular HashMap. The only difference really is that I use the 'this.' notation to access the local Map. Basically, I have a single Map that has accessor methods to get/set individual properties and I have accessor methods to get/set the whole Map. ValidatorActionForm ... protected LinkedHashMap fields = new LinkedHashMap(); ... /** * Returns the field. * @return Object */ public Object getField(String key) { return fields.get(key); } /** * Method setField. * @param key * @param value */ public void setField(String key, Object value) { this.fields.put(key,value); } /** * Method getFields. * @return Map */ public LinkedHashMap getFields() { return fields; } /** * Sets the fields. * @param fields The fields to set */ public void setFields(LinkedHashMap fields) { this.fields = fields; } ... My jsp tag property looks like the following: My validation.xml looks like the following: ... field Area Code minlength 3 ... It works like a champ. Brandon Goodin Phase Web and Multimedia PO Box 85 Whitefish MT 59937 P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From: Ken Boss [mailto:[EMAIL PROTECTED] Sent: Saturday, February 22, 2003 5:39 PM To: [EMAIL PROTECTED] Subject: Using Map in ActionForm (ValidatorForm) The book forum for "Struts in Action" appears to be down, so thought I'd try here. Apologies if you don't have the book. I am attempting to use a map in my form bean to pass data back and forth from my business tier, as described on pp. 172-173 in "Struts in Action". The code within the form bean is exactly as shown on p. 172, excepting that I added a couple of lines to the setValue method so that it reads: public void setValue(String key, Object value) { if (key != null && value != null) { getMap().put(key,value); } } When retrieving data from the database, the map comes in from the action and populates the form widgets on my jsp page without difficulty. However, when I try to submit the page to send the data back, I get a NullPointerException from the setValue method: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.beanutils.PropertyUtils.setMappedProperty(PropertyUtils.j ava:1583) ... >< snip >< ... Caused by: java.lang.NullPointerException at us.mn.state.dnr.fire.FireReportForm.setValue(FireReportForm.java:270) ... 44 more The line referred to (FireReportForm.java:270) is the "getMap().put(key,value)" statement. I've tried another reader's suggestion of changing private Map map = null; to private Map map = new HashMap(); which gets past the NullPointerException, but then triggers a validator error for a simple "required" field, which actually shows data in the form. Can anyone clue me in as to what I might be doing wrong? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: struts-el with weblogic 7.1 - Error (JSP 1.1 spec, 5.4.1) at line 2
> "Rabih" == Rabih Yazbeck <[EMAIL PROTECTED]> writes: Rabih> Hello, Rabih> I am using Weblogic 7.1 with Struts-el... and I am receiving the Rabih> following error while compiling my JSPs from JBuilder 8 Ent. Rabih> "jsp1.jsp": Error in using tag library uri='/WEB-INF/struts-html-el.tld' Rabih> prefix='htmlel': The Tag class Rabih> 'org.apache.strutsel.taglib.html.ELOptionTag' has no setter method Rabih> corresponding to TLD declared attribute 'bundle', (JSP 1.1 spec, 5.4.1) Rabih> at line 2 Rabih> "jsp1.jsp": weblogic.servlet.jsp.JspException: (line 2): Error in using Rabih> tag library uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag Rabih> class 'org.apache.strutsel.taglib.html.ELOptionTag' has no setter method Rabih> corresponding to TLD declared attribute 'bundle', (JSP 1.1 spec, 5.4.1) This is disturbing. I don't see how this could be happening. Are you using the latest nightly build? Are you certain you have only one "struts-el.jar" in the application classpath? The "struts-el.jar" has "ELOptionTag.class", and "ELOptionTagBeanInfo.class", correct? Did you clear out your files in the appserver work directory (the translated JSP files) before deploying the application? If you're able to run in your debugger, could you set a breakpoint in "ELOptionTagBeanInfo.getPropertyDescriptors()" before the appserver has translated the JSP file? -- === David M. Karr ; Java/J2EE/XML/Unix/C++ [EMAIL PROTECTED] ; SCJP; SCWCD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using Map in ActionForm (ValidatorForm)
The book forum for "Struts in Action" appears to be down, so thought I'd try here. Apologies if you don't have the book. I am attempting to use a map in my form bean to pass data back and forth from my business tier, as described on pp. 172-173 in "Struts in Action". The code within the form bean is exactly as shown on p. 172, excepting that I added a couple of lines to the setValue method so that it reads: public void setValue(String key, Object value) { if (key != null && value != null) { getMap().put(key,value); } } When retrieving data from the database, the map comes in from the action and populates the form widgets on my jsp page without difficulty. However, when I try to submit the page to send the data back, I get a NullPointerException from the setValue method: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.beanutils.PropertyUtils.setMappedProperty(PropertyUtils.java:1583) ... >< snip >< ... Caused by: java.lang.NullPointerException at us.mn.state.dnr.fire.FireReportForm.setValue(FireReportForm.java:270) ... 44 more The line referred to (FireReportForm.java:270) is the "getMap().put(key,value)" statement. I've tried another reader's suggestion of changing private Map map = null; to private Map map = new HashMap(); which gets past the NullPointerException, but then triggers a validator error for a simple "required" field, which actually shows data in the form. Can anyone clue me in as to what I might be doing wrong? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] What's your IQ?
Dude take the politics off the goddamn list, we hear enough and deal enough with that garbage that this is the last place any of us want to see it. If you're so angry about a country's politics DON'T assume everyone in that country feels the same... Just like your dumb comment about the IQ tests. On Saturday, Feb 22, 2003, at 17:34 US/Eastern, alexj wrote: What can I said, American people think they know all the truth about how to manage the world. (it's not only my opinion) The world is really not an industry like IBM, I think some american guys have to think about that. If a coutry didn't believe in the "pseudo" american dream, you really nedd to attak them ? In my (little one) country we didn't only care about how to make benefits but we care how to people from this country can take profit about that. I'm a young man (22 years old) from Switzerland but US people need to care about how people whi lived in this countries. Fuck Wars !!! Fuck guys who only care about theire own profits !! -- Alexandre Jaquet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] R -- Robert S. Sfeir Senior Java Engineer Codepuccino, Inc. [EMAIL PROTECTED] definition - Codepuccino n: A Little JSP mixed with lots of Java, usually served with Servlets, a Datasource, a sprinkle of XML, and sometimes EJB. (See Great MVC Frameworks) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] What's your IQ?
Can we please tone down the geo-political non-debate. Alex, it appears you are the only one arguing here. There are plenty of other places to carry on a healthy debate about these issues. Please vent your frustrations in a more appropriate forum. Brandon Goodin Phase Web and Multimedia PO Box 85 Whitefish MT 59937 P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Saturday, February 22, 2003 3:17 PM To: Struts Users Mailing List Subject: Re: [OT] What's your IQ? 146 ... the spatial ones were definitely where I had the hardest time. Craig On Thu, 20 Feb 2003, Brandon Goodin wrote: > Date: Thu, 20 Feb 2003 07:52:37 -0700 > From: Brandon Goodin <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts User List <[EMAIL PROTECTED]> > Subject: [OT] What's your IQ? > > Does our list consist of the best and brightest? ;-) Take the test to learn > what your IQ is and join the most elite nerds on the planet. :-)) Also, I > dare you to post your results. :-D > > http://www.highiqsociety.org > > DISCLAIMER: The results of the afformentioned test do not constitute a legal > declaration of genius. Just the personal gratification that you can still > make a passing grade on a pointless test. > > > > > > Brandon Goodin > Phase Web and Multimedia > PO Box 85 > Whitefish MT 59937 > P (406) 862-2245 > F (406) 862-0354 > [EMAIL PROTECTED] > http://www.phase.ws > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: WebHosting & Struts
Does anyone know if http://www.kgbinternet.com offers the same thing than www.4java.net? It is the same package + 5$ or 30$! Check it out! Do they have only "better support"? Does http://www.kgbinternet.com offer the same BIND 9.2 DNS configuration? Can we add sub domain name without any other cost? Thanks Etienne. -Original Message- From: w i l l i a m b o y d [mailto:[EMAIL PROTECTED] Sent: February 21, 2003 11:11 AM To: Struts Users Mailing List Subject: Re: WebHosting & Struts i also use kgbinternet.com for my struts sites. they are brilliant. and, you get *more* than what you pay for! and of course they do have tomcat. so what do you mean by, "...I want my tomcat..."? keith is a stand-up guy, and will work with you on whatever you need. i agree with the sentiment of matt's post: if you can't afford $6.50, then something is wrong with your picture. - Original Message - From: "alexj" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, February 21, 2003 4:01 PM Subject: Re: WebHosting & Struts > yeah but I need ssl support and I want my tomcat :) > > - Original Message - > From: "Raible, Matt" <[EMAIL PROTECTED]> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > Sent: Friday, February 21, 2003 4:55 PM > Subject: RE: WebHosting & Struts > > > > $6.50 US is pretty cheap IMO... you get what you pay for ;-) > > > > > -Original Message- > > > From: alexj [mailto:[EMAIL PROTECTED] > > > Sent: Friday, February 21, 2003 8:50 AM > > > To: Struts Users Mailing List > > > Subject: Re: WebHosting & Struts > > > > > > > > > it's a bit expensive for a poor student like me :( > > > > > > - Original Message - > > > From: "Raible, Matt" <[EMAIL PROTECTED]> > > > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > > > Sent: Friday, February 21, 2003 4:35 PM > > > Subject: RE: WebHosting & Struts > > > > > > > > > > Here's who I use, they've worked great for me: > > > > > > > > http://www.kgbinternet.com > > > > > > > > Matt > > > > > > > > > -Original Message- > > > > > From: alexj [mailto:[EMAIL PROTECTED] > > > > > Sent: Friday, February 21, 2003 4:38 AM > > > > > To: Struts Users Mailing List > > > > > Subject: WebHosting & Struts > > > > > > > > > > > > > > > Hi, > > > > > > > > > > I'm looking for a free web hosting who support Struts. > > > And if possible > > > > > postgreSQL. I only find mycgiserver who support jsp and > > > servlet but > > > > > as I see in their forum is some post who says struts is > > > not supported. > > > > > Any suggestion ? > > > > > > > > > > Thanks. > > > > > <-- > > > > > Alexandre Jaquet > > > > > -> > > > > > > > > > > > > > > > > > > > > > > > - > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] What's your IQ?
Ho you just song like a guy who got for the first time of is life a mirror... - Original Message - From: "John Espey" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, February 22, 2003 11:12 PM Subject: RE: [OT] What's your IQ? > apparently YOU do, you responded.. > > are you later going to apologize with some lame excuse like the last time? > >>lol sorry for my post (s) I'm a bit tired > > >>pff you just song like a stupid man who think he have all the rigth > and the other people didn't have the rigth to have a different opinon > stupid american > > I think based on the moronic posts you have made, especially with the > vulgarity of the last one, it is quite clear who is "a stupid man who think > he have all the rigth and the other people didn't have the rigth to have a > different opinion" Were I a man of your type, I would insult your > nationality in return, but I personally don't believe that a person's > nationality has anything to do with their character or integrity. I do, > however, believe that those who insult others based on their nationality are > worthy of insult. The beautiful thing is that I don't need to do this, as > your previous failure to recognize a joke about Latin and instead respond as > you did above is a case of "Res Ipse Loquitor". > > > > -Original Message- > > From: alexj [mailto:[EMAIL PROTECTED] > > Sent: Saturday, February 22, 2003 3:56 PM > > To: Struts Users Mailing List > > Subject: Re: [OT] What's your IQ? > > > > > > who care about your pseudo IQ ??? > > > > - Original Message - > > From: "John Espey" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > Sent: Saturday, February 22, 2003 7:04 PM > > Subject: RE: [OT] What's your IQ? > > > > > > > 142, ditto on the spacial reasoning =/ > > > > > > > -Original Message- > > > > From: James Turner [mailto:[EMAIL PROTECTED] > > > > Sent: Thursday, February 20, 2003 1:29 PM > > > > To: 'Struts Users Mailing List' > > > > Subject: Re: [OT] What's your IQ? > > > > > > > > > > > > 144 here. The spacial reasoning ones were *HARD* > > > > > > > > James > > > > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] What's your IQ?
What can I said, American people think they know all the truth about how to manage the world. (it's not only my opinion) The world is really not an industry like IBM, I think some american guys have to think about that. If a coutry didn't believe in the "pseudo" american dream, you really nedd to attak them ? In my (little one) country we didn't only care about how to make benefits but we care how to people from this country can take profit about that. I'm a young man (22 years old) from Switzerland but US people need to care about how people whi lived in this countries. Fuck Wars !!! Fuck guys who only care about theire own profits !! -- Alexandre Jaquet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] What's your IQ?
146 ... the spatial ones were definitely where I had the hardest time. Craig On Thu, 20 Feb 2003, Brandon Goodin wrote: > Date: Thu, 20 Feb 2003 07:52:37 -0700 > From: Brandon Goodin <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts User List <[EMAIL PROTECTED]> > Subject: [OT] What's your IQ? > > Does our list consist of the best and brightest? ;-) Take the test to learn > what your IQ is and join the most elite nerds on the planet. :-)) Also, I > dare you to post your results. :-D > > http://www.highiqsociety.org > > DISCLAIMER: The results of the afformentioned test do not constitute a legal > declaration of genius. Just the personal gratification that you can still > make a passing grade on a pointless test. > > > > > > Brandon Goodin > Phase Web and Multimedia > PO Box 85 > Whitefish MT 59937 > P (406) 862-2245 > F (406) 862-0354 > [EMAIL PROTECTED] > http://www.phase.ws > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] What's your IQ?
I really agree with you with some my previous posts. - Original Message - From: "John Espey" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, February 22, 2003 11:12 PM Subject: RE: [OT] What's your IQ? > apparently YOU do, you responded.. > > are you later going to apologize with some lame excuse like the last time? > >>lol sorry for my post (s) I'm a bit tired > > >>pff you just song like a stupid man who think he have all the rigth > and the other people didn't have the rigth to have a different opinon > stupid american > > I think based on the moronic posts you have made, especially with the > vulgarity of the last one, it is quite clear who is "a stupid man who think > he have all the rigth and the other people didn't have the rigth to have a > different opinion" Were I a man of your type, I would insult your > nationality in return, but I personally don't believe that a person's > nationality has anything to do with their character or integrity. I do, > however, believe that those who insult others based on their nationality are > worthy of insult. The beautiful thing is that I don't need to do this, as > your previous failure to recognize a joke about Latin and instead respond as > you did above is a case of "Res Ipse Loquitor". > > > > -Original Message- > > From: alexj [mailto:[EMAIL PROTECTED] > > Sent: Saturday, February 22, 2003 3:56 PM > > To: Struts Users Mailing List > > Subject: Re: [OT] What's your IQ? > > > > > > who care about your pseudo IQ ??? > > > > - Original Message - > > From: "John Espey" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > Sent: Saturday, February 22, 2003 7:04 PM > > Subject: RE: [OT] What's your IQ? > > > > > > > 142, ditto on the spacial reasoning =/ > > > > > > > -Original Message- > > > > From: James Turner [mailto:[EMAIL PROTECTED] > > > > Sent: Thursday, February 20, 2003 1:29 PM > > > > To: 'Struts Users Mailing List' > > > > Subject: Re: [OT] What's your IQ? > > > > > > > > > > > > 144 here. The spacial reasoning ones were *HARD* > > > > > > > > James > > > > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] What's your IQ?
apparently YOU do, you responded.. are you later going to apologize with some lame excuse like the last time? >>lol sorry for my post (s) I'm a bit tired >>pff you just song like a stupid man who think he have all the rigth and the other people didn't have the rigth to have a different opinon stupid american I think based on the moronic posts you have made, especially with the vulgarity of the last one, it is quite clear who is "a stupid man who think he have all the rigth and the other people didn't have the rigth to have a different opinion" Were I a man of your type, I would insult your nationality in return, but I personally don't believe that a person's nationality has anything to do with their character or integrity. I do, however, believe that those who insult others based on their nationality are worthy of insult. The beautiful thing is that I don't need to do this, as your previous failure to recognize a joke about Latin and instead respond as you did above is a case of "Res Ipse Loquitor". > -Original Message- > From: alexj [mailto:[EMAIL PROTECTED] > Sent: Saturday, February 22, 2003 3:56 PM > To: Struts Users Mailing List > Subject: Re: [OT] What's your IQ? > > > who care about your pseudo IQ ??? > > - Original Message - > From: "John Espey" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Saturday, February 22, 2003 7:04 PM > Subject: RE: [OT] What's your IQ? > > > > 142, ditto on the spacial reasoning =/ > > > > > -Original Message- > > > From: James Turner [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, February 20, 2003 1:29 PM > > > To: 'Struts Users Mailing List' > > > Subject: Re: [OT] What's your IQ? > > > > > > > > > 144 here. The spacial reasoning ones were *HARD* > > > > > > James > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Emmanuel you are the guy help me please Re: For french architecture expert
- Original Message - From: "alexj" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, February 22, 2003 10:54 PM Subject: For french architecture expert > I'm sorry to send a post like this one but I need some advice > about the project I make. > > The url I send to you didn't explore all the think of my project > but I really need the advice of some french guys about my work. > > The link I post here didn't represent a finalized project. > > http://www.mycgiserver.com/~alexj/ > > You can send me your opinion at this adress > [EMAIL PROTECTED] > <-- > Alexandre Jaquet > -> > -BEGIN GEEK CODE BLOCK- > Version: 3.12 > GCM d+ s: a22 C U*+ P L--- E--- W+++ N+++ o K w+ > O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D > G++ e* h++ r% y* > --END GEEK CODE BLOCK-- > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: For french architecture expert
sorry for the geek code :( - Original Message - From: "alexj" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, February 22, 2003 10:54 PM Subject: For french architecture expert > I'm sorry to send a post like this one but I need some advice > about the project I make. > > The url I send to you didn't explore all the think of my project > but I really need the advice of some french guys about my work. > > The link I post here didn't represent a finalized project. > > http://www.mycgiserver.com/~alexj/ > > You can send me your opinion at this adress > [EMAIL PROTECTED] > <-- > Alexandre Jaquet > -> > -BEGIN GEEK CODE BLOCK- > Version: 3.12 > GCM d+ s: a22 C U*+ P L--- E--- W+++ N+++ o K w+ > O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D > G++ e* h++ r% y* > --END GEEK CODE BLOCK-- > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] What's your IQ?
just ask what's your need ... - Original Message - From: "Vinay Chandupatla" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, February 22, 2003 8:49 PM Subject: RE: [OT] What's your IQ? > There should be some kind of trick or logic to solve those spacial ones, does anybody knows how to solve those. If we can solve one , we can solve all > > -- Original Message -- > From: "John Espey" <[EMAIL PROTECTED]> > Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Date: Sat, 22 Feb 2003 12:04:30 -0600 > > >142, ditto on the spacial reasoning =/ > > > >> -Original Message- > >> From: James Turner [mailto:[EMAIL PROTECTED] > >> Sent: Thursday, February 20, 2003 1:29 PM > >> To: 'Struts Users Mailing List' > >> Subject: Re: [OT] What's your IQ? > >> > >> > >> 144 here. The spacial reasoning ones were *HARD* > >> > >> James > >> > >> > >> > >> - > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] What's your IQ?
who care about your pseudo IQ ??? - Original Message - From: "John Espey" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, February 22, 2003 7:04 PM Subject: RE: [OT] What's your IQ? > 142, ditto on the spacial reasoning =/ > > > -Original Message- > > From: James Turner [mailto:[EMAIL PROTECTED] > > Sent: Thursday, February 20, 2003 1:29 PM > > To: 'Struts Users Mailing List' > > Subject: Re: [OT] What's your IQ? > > > > > > 144 here. The spacial reasoning ones were *HARD* > > > > James > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
For french architecture expert
I'm sorry to send a post like this one but I need some advice about the project I make. The url I send to you didn't explore all the think of my project but I really need the advice of some french guys about my work. The link I post here didn't represent a finalized project. http://www.mycgiserver.com/~alexj/ You can send me your opinion at this adress [EMAIL PROTECTED] <-- Alexandre Jaquet -> -BEGIN GEEK CODE BLOCK- Version: 3.12 GCM d+ s: a22 C U*+ P L--- E--- W+++ N+++ o K w+ O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D G++ e* h++ r% y* --END GEEK CODE BLOCK-- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts and HttpUnit
"Marco Tedone" <[EMAIL PROTECTED]> on Fri, 21 Feb 2003 23:24:34 > Hi, has anyone of you used HttpUnit to test Struts applications? No, but if I wanted to test a Struts app within a JUnit framework, I'd use StrutsTestCase http://strutstestcase.sourceforge.net/ > I would like to retrieve an attribute stored in the Servlet Context Try servletunit.ServletContextSimulator - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: struts-el with weblogic 7.1 - Error (JSP 1.1 spec, 5.4.1) at line 2
Yes, it worked fine with Tomcat.. even 4.0x! I got an error with Tomcat 4.12 LE (the one that comes with JBuilder 8) but I updated the jars to 4.18 and it worked fine. The problem only with weblogic 7.1.. - Rabih -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent: 22 February 2003 21:10 To: [EMAIL PROTECTED] Subject: Re: struts-el with weblogic 7.1 - Error (JSP 1.1 spec, 5.4.1) at line 2 Does same work on Tomcat? .V Rabih Yazbeck wrote: > Hello, > > I am using Weblogic 7.1 with Struts-el... and I am receiving the > following error while compiling my JSPs from JBuilder 8 Ent. > > "jsp1.jsp": Error in using tag library uri='/WEB-INF/struts-html-el.tld' > prefix='htmlel': The Tag class > 'org.apache.strutsel.taglib.html.ELOptionTag' has no setter method > corresponding to TLD declared attribute 'bundle', (JSP 1.1 spec, 5.4.1) > at line 2 > "jsp1.jsp": weblogic.servlet.jsp.JspException: (line 2): Error in using > tag library uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag > class 'org.apache.strutsel.taglib.html.ELOptionTag' has no setter method > corresponding to TLD declared attribute 'bundle', (JSP 1.1 spec, 5.4.1) > [INFO] PropertyMessageResources - -Initializing, > config='org.apache.struts.util.LocalStrings', returnNull=true > [INFO] PropertyMessageResources - -Initializing, > config='org.apache.struts.taglib.html.LocalStrings', returnNull=true > [INFO] PropertyMessageResources - -Initializing, > config='org.apache.struts.taglib.html.LocalStrings', returnNull=true > [INFO] PropertyMessageResources - -Initializing, > config='org.apache.struts.taglib.html.LocalStrings', returnNull=true > [INFO] PropertyMessageResources - -Initializing, > config='org.apache.struts.taglib.html.LocalStrings', returnNull=true > [INFO] PropertyMessageResources - -Initializing, > config='org.apache.struts.taglib.html.LocalStrings', returnNull=true > [INFO] PropertyMessageResources - -Initializing, > config='org.apache.struts.taglib.html.LocalStrings', returnNull=true > [INFO] PropertyMessageResources - -Initializing, > config='org.apache.struts.taglib.html.LocalStrings', returnNull=true > [INFO] PropertyMessageResources - -Initializing, > config='org.apache.struts.taglib.html.LocalStrings', returnNull=true > [INFO] PropertyMessageResources - -Initializing, > config='org.apache.struts.taglib.html.LocalStrings', returnNull=true > > Thank you, > > Rabih - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: struts-el with weblogic 7.1 - Error (JSP 1.1 spec, 5.4.1) atline 2
Does same work on Tomcat? .V Rabih Yazbeck wrote: Hello, I am using Weblogic 7.1 with Struts-el... and I am receiving the following error while compiling my JSPs from JBuilder 8 Ent. "jsp1.jsp": Error in using tag library uri='/WEB-INF/struts-html-el.tld' prefix='htmlel': The Tag class 'org.apache.strutsel.taglib.html.ELOptionTag' has no setter method corresponding to TLD declared attribute 'bundle', (JSP 1.1 spec, 5.4.1) at line 2 "jsp1.jsp": weblogic.servlet.jsp.JspException: (line 2): Error in using tag library uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag class 'org.apache.strutsel.taglib.html.ELOptionTag' has no setter method corresponding to TLD declared attribute 'bundle', (JSP 1.1 spec, 5.4.1) [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true Thank you, Rabih - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What is the best method to set default values of a form?
On Sat, Feb 22,'03 (11:38 AM GMT+0100), Zsolt wrote: > I understand that the reset method should not be used to set the > default values of the fields of a form. What is the preferred way? I think it's best to populate the default form information in an ActionClass. So if I had an insertEmployee operation that required the user entering in the information but I wanted prepopulate a lot of the fields I'd have a link that first called a SetupEmployeeFormAction and would then forward to the jsp page for the user to enter the information. It gets a bit tricky when validation is involved and you are using request scope, but when you cross that bridge I like Robert Taylor's solution the best: "Rick, I usually define the setUpForm action URI as the input attribute of the processForm action element. That way if a validation error occurs the request is forwarded to the setUpForm action which repopulates the list and forwards to the page where my list is displayed along with the error message and the users input. Works for me and I don't have to place anything in the session." -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] What's your IQ?
There should be some kind of trick or logic to solve those spacial ones, does anybody knows how to solve those. If we can solve one , we can solve all -- Original Message -- From: "John Espey" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Date: Sat, 22 Feb 2003 12:04:30 -0600 >142, ditto on the spacial reasoning =/ > >> -Original Message- >> From: James Turner [mailto:[EMAIL PROTECTED] >> Sent: Thursday, February 20, 2003 1:29 PM >> To: 'Struts Users Mailing List' >> Subject: Re: [OT] What's your IQ? >> >> >> 144 here. The spacial reasoning ones were *HARD* >> >> James >> >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
struts-el with weblogic 7.1 - Error (JSP 1.1 spec, 5.4.1) at line 2
Hello, I am using Weblogic 7.1 with Struts-el... and I am receiving the following error while compiling my JSPs from JBuilder 8 Ent. "jsp1.jsp": Error in using tag library uri='/WEB-INF/struts-html-el.tld' prefix='htmlel': The Tag class 'org.apache.strutsel.taglib.html.ELOptionTag' has no setter method corresponding to TLD declared attribute 'bundle', (JSP 1.1 spec, 5.4.1) at line 2 "jsp1.jsp": weblogic.servlet.jsp.JspException: (line 2): Error in using tag library uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag class 'org.apache.strutsel.taglib.html.ELOptionTag' has no setter method corresponding to TLD declared attribute 'bundle', (JSP 1.1 spec, 5.4.1) [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true Thank you, Rabih - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] What's your IQ?
142, ditto on the spacial reasoning =/ > -Original Message- > From: James Turner [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 20, 2003 1:29 PM > To: 'Struts Users Mailing List' > Subject: Re: [OT] What's your IQ? > > > 144 here. The spacial reasoning ones were *HARD* > > James > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts on Jserv???
On Fri, 21 Feb 2003, Damm, Gary wrote: > Date: Fri, 21 Feb 2003 21:26:47 -0800 > From: "Damm, Gary" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Struts on Jserv??? > > I've developed a Struts application on Tomcat. Now our operations folks > are attempting to deploy it to an Apache/Jserv configuration but having > problems. > > Before I attempt the installation I wondering if anyone familiar with > Jserv can tell me if there are inherent issues deploying a Struts > application. Any helpful configuration tips? The Struts installation > instructions do not include documentation for Jserv so I'm wondering if > it will even work. > Are you speaking of Apache JServ (the old servlet container that predated Tomcat)? If so, give up now -- that container supported only Servlet 2.0, and Struts requires at least Servlet 2.2. JServ also didn't support JSPs directly at all. If you're talking about mod_jserv the communications link between the Apache HTTPD server and Tomcat, your best place for help is the TOMCAT-USER list. The only unusual step is to ensure that your config file forwards requests that are mapped to the controller servlet (*.do if you use the default mapping) to Tomcat. > Thanks in advance, > Gary > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: What is the best method to set default values of a form?
If you look at the example that ships with struts you will see how the registration form is filled in with the data from the User record. The data isn't from a database, but an inmemory XML datastore. -Original Message- From: Jeff Kyser [mailto:[EMAIL PROTECTED] Sent: Saturday, February 22, 2003 6:36 AM To: Struts Users Mailing List Subject: Re: What is the best method to set default values of a form? For Dyna forms, you can use the initial='', and on a regular form, for things like radio buttons, the default value is based on the underlying form bean's value. http://husted.com/struts/tips/016.html but not sure about html:text fields in regular ActionForms... -jeff On Saturday, February 22, 2003, at 04:38 AM, Zsolt Koppany wrote: > Hi, > > I understand that the reset method should not be used to set the > default > values of the fields of a form. What is the preferred way? > > -- > Zsolt > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Design question
Great thanks Rick :) -- Alexandre Jaquet - Original Message - From: "Rick Reumann" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, February 22, 2003 5:19 PM Subject: Re: Design question > On Sat, Feb 22,'03 (03:22 PM GMT+0100), alexj wrote: > > > > What's the best to do if for example I got > > a view where an user can choose to view > > students by class, view students by year > > or view students by year ? > > I think the best is to bring back the results in a table in some default > manner (by class, year, whatever) but then allow the user to click on > the table column header which will resort the list. If the collection is > not that large look into using the Display tag (more recent > updates to this tag can be found, search the struts archives). If the > collection is very large you might want to use a different approach that > doesn't rely on keeping the entire collection in session scope. > > -- > Rick > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Design question
On Sat, Feb 22,'03 (03:22 PM GMT+0100), alexj wrote: > What's the best to do if for example I got > a view where an user can choose to view > students by class, view students by year > or view students by year ? I think the best is to bring back the results in a table in some default manner (by class, year, whatever) but then allow the user to click on the table column header which will resort the list. If the collection is not that large look into using the Display tag (more recent updates to this tag can be found, search the struts archives). If the collection is very large you might want to use a different approach that doesn't rely on keeping the entire collection in session scope. -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: What is the best method to set default values of a form?
Sorry, but I have to read the data from the database. Zsolt On Sat, 2003-02-22 at 16:45, James Childers wrote: > > -Original Message- > > From: Zsolt Koppany [mailto:[EMAIL PROTECTED] > > Sent: Saturday, February 22, 2003 4:39 AM > > To: struts mail list > > Subject: What is the best method to set default values of a form? > > > > I understand that the reset method should not be used to set > > the default > > values of the fields of a form. What is the preferred way? > > > > -- > > Zsolt > > > > I don't know about "best way", but I usually set the default values in the field's > declaration: > > public final class MakeACallForm extends ActionForm { > > private String name = "George 'I Like War!' Bush"; > private String telephoneNumber = "1-800-DA-WHITE-HOUSE"; > ... etc ... > > ... getters and setters for above ... > > } > > -= J > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: What is the best method to set default values of a form?
> -Original Message- > From: Zsolt Koppany [mailto:[EMAIL PROTECTED] > Sent: Saturday, February 22, 2003 4:39 AM > To: struts mail list > Subject: What is the best method to set default values of a form? > > I understand that the reset method should not be used to set > the default > values of the fields of a form. What is the preferred way? > > -- > Zsolt > I don't know about "best way", but I usually set the default values in the field's declaration: public final class MakeACallForm extends ActionForm { private String name = "George 'I Like War!' Bush"; private String telephoneNumber = "1-800-DA-WHITE-HOUSE"; ... etc ... ... getters and setters for above ... } -= J - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Language support
> -Original Message- > From: Indrajit M [mailto:[EMAIL PROTECTED] > Sent: Saturday, February 22, 2003 7:40 AM > To: [EMAIL PROTECTED] > Subject: Language support > > > Dear all, > I am using struts to build a news website in arab. For the > language support I am using the following tags. > > > > > But I am junk data. But when I change encoding to Arablic windows > in the browser, I am watching exact data. Can any body please tell > me why it is happening like that? > regards, > Indrajit. Let's make sure we understand the problem first: When you hit the page -- using the Windows default locale, namely en-US? -- you do not see Arabic characters. But when you change the default locale of Windows to Arabic, the page displays correctly. Is this right? If so, then (AFAIK) everything is behaving as it should. The "lang" attribute of the HTML tag is merely a suggestion for the browser; how it actually handles the character encoding will differ from implementation to implementation. -= J - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What is the best method to set default values of a form?
For Dyna forms, you can use the initial='', and on a regular form, for things like radio buttons, the default value is based on the underlying form bean's value. http://husted.com/struts/tips/016.html but not sure about html:text fields in regular ActionForms... -jeff On Saturday, February 22, 2003, at 04:38 AM, Zsolt Koppany wrote: Hi, I understand that the reset method should not be used to set the default values of the fields of a form. What is the preferred way? -- Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: can i use native data type
BlankDid you try looking this up on the struts user guide page? I will link it for you. http://jakarta.apache.org/struts/userGuide/struts-html.html Also, for others this is a link where you can see a list of questions asked before, you might not be the first to have asked "your" question. http://www.mail-archive.com/struts-user%40jakarta.apache.org/ Please put some effort in before posting. .V "Chetan Sahasrabudhe" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I have a question, can I use native data type as my form bean attribute types. my question is related to struts-config formbean seciong where we mention property name and type what type should we give for it, like for int can i just write int there and will it work what kind of datatype will u use for checkbox and select list. Regards Chetan ___ | | The trouble with being punctual | is that nobody's there to appreciate it. | | |___
Design question
Hi, Hope you didn't get headache ;), I got a little question about the design of my project : What's the best to do if for example I got a view where an user can choose to view students by class, view students by year or view students by year ? Thanks for your advice. <-- Alexandre Jaquet -> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Language support
Dear all, I am using struts to build a news website in arab. For the language support I am using the following tags. But I am junk data. But when I change encoding to Arablic windows in the browser, I am watching exact data. Can any body please tell me why it is happening like that? regards, Indrajit. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
What is the best method to set default values of a form?
Hi, I understand that the reset method should not be used to set the default values of the fields of a form. What is the preferred way? -- Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]