all validators work-except custom??

2003-01-06 Thread phillip rhodes
I am so frustrated, I tried to get custom validations working all evening and now it's 2:30 am Please help. I would appreciate it immensely. I have a form with many validations. All validations get called and work fine, except for a custom validation. I get a "NoSuchMethodException" in the

Re: Positioning and naming of resource (.properties) files.

2003-01-06 Thread Simon Kelly
Thanks. Works a treat. Simon - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 20, 2002 10:06 PM Subject: Re: Positioning and naming of resource (.properties) files. > If your ApplicationResources.properties file is located > under /classes/r

RE: Multibox and setter problem

2003-01-06 Thread AMIR-TAHMASSEB Marc
i already read this tip and do like it is said in. Unfortunatly, the probleme is the same : the setter of my form is never used (so there is nothing print on screen through the System.out.println) can it be a problem in my config ? or because i use struts 1.02 ? or perhape i made an error some wh

Multibox Set & get problem

2003-01-06 Thread AMIR-TAHMASSEB Marc
Hi everybody (and happy new year :-) I have a jsp page with multibox. When i check some boxes and submit the form, then setter of my form is never used ! So i can not get the selected values, Can anybody help me please ? I'm using Struts 1.02 thanks for you help, Marc Here are my codes :

RE: Struts equivalent of if...else (newbie)

2003-01-06 Thread Suresh Addagalla
Thanks, that helps. Suresh >-Original Message- >From: David M. Karr [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, January 07, 2003 1:01 PM >To: [EMAIL PROTECTED] >Subject: Re: Struts equivalent of if...else (newbie) > > >> "Suresh" == Suresh Addagalla <[EMAIL PROTECTED]> writes: > >

Re: Struts equivalent of if...else (newbie)

2003-01-06 Thread David M. Karr
> "Suresh" == Suresh Addagalla <[EMAIL PROTECTED]> writes: Suresh> Hi, Suresh> Here is my code snippet. Basically, I am not sure which attribute of Suresh> "logic:equal" I have to use for scriptlet variables. It's printing "No" Suresh> and as per my requirements, it should be "

Fw: VIRUS ALERT

2003-01-06 Thread Rebecca Bielecki
Well now - it would seem that you may now disregard my previous email and you might not want to delete the crucial java file manager like i did. i think the lesson here is that sometimes you can care too much .. > Bec > > I'm no computer expert, but I had this exact warning about two weeks ago f

Re: using Log4J

2003-01-06 Thread usha
Hi can we use the common-logging interface to logging in the ejb's or any other java classes also. i am using the jboss application server. if i want to use across all the applications what i need to do. Thanks usha Dan Tran wrote: Struts source code uses common-logging interface which will us

Re: using Log4J

2003-01-06 Thread Dan Tran
Struts source code uses common-logging interface which will use log4j implementation if you place log4j.properties in the classpath. So take a look at the source. -D - Original Message - From: "usha" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 06, 2003 9:00 PM Subj

Struts Exception

2003-01-06 Thread Suresh Addagalla
Hi, I got the following exception when I replaced the struts.jar of 1.0 with 1.1 beta 2. Probably this is a well-known exception, but I couldn't isolate the error. I've validated the struts-config.xml file with Struts Console 3.1 and it seems to be fine as per the 1.1 DTD. Pls find my struts-confi

Frames with Struts (Multiple Forms Usage in Single Page)

2003-01-06 Thread ashokd
Hi, How can we get different Frames Forms data in Struts. Their is any possibility of using multiple forms in a single page. Thanks in Advance, Ashok.D -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Multibox and setter problem

2003-01-06 Thread Alireza Fattahi
http://husted.com/struts/tips/007.html -Original Message- From: AMIR-TAHMASSEB Marc [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 5:45 PM To: '[EMAIL PROTECTED]' Subject: Multibox and setter problem Hi everybody (and happy new year :-) I have a jsp page with multibox. When

RE: line breaks

2003-01-06 Thread Carl Fyffe
I guess the real question is: What does equality mean to this field? If the linebreaks don't mean anything to you besides formatting, then remove them when determining equality. If the linebreaks are important, then you should standardize them before determining equality. My suggestion is to rip

using Log4J

2003-01-06 Thread usha
Hi can anybody tell me how where i can get the examples using LOG4J in struts. thanks usha -- To unsubscribe, e-mail: For additional commands, e-mail:

Help

2003-01-06 Thread Mark Minnie
How do you create a link such as Edit Bob I am talking about having multiple HTTP get parameters user=BOB AND account=ABC123 TIA Mark

Re: linking a struts application to a jndi resource through adatasource

2003-01-06 Thread Craig R. McClanahan
On 6 Jan 2003, Nick Torenvliet wrote: > Date: 06 Jan 2003 22:46:26 -0500 > From: Nick Torenvliet <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: linking a struts application to

linking a struts application to a jndi resource through adatasource

2003-01-06 Thread Nick Torenvliet
Hi, So I've got two pieces, on one side a working mysql struts data source example, on the other side a working tomcat 4.1 servlet.xml configured jndi resource linked to a mysql data base. I want to access the jndi from inside of struts, can I configure a data source to link to the jndi resource,

RE: Struts equivalent of if...else (newbie)

2003-01-06 Thread Suresh Addagalla
Hi, Here is my code snippet. Basically, I am not sure which attribute of "logic:equal" I have to use for scriptlet variables. It's printing "No" and as per my requirements, it should be "Yes". <%! String curr="Tracking"; %> Yes

Re: Chart products

2003-01-06 Thread Peng Tuck Kwok
I'd assume you would want a system that could dynamically generate charts for a given input through the web, so maybe you would want to have a look at this one, http://cewolf.sourceforge.net/ Comes with taglibs and builds upon another library to generate the charts. Cathy King wrote: cts to mo

RE: Chart products

2003-01-06 Thread Matt Smith
you might want to look at rchart. I use it for the same sort of thing! It's in-expensive and easy to use... www.java4less.com m. -Original Message- From: Cathy King [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 9:53 PM To: Struts Users Mailing List Subject: Chart products

Chart products

2003-01-06 Thread Cathy King
Happy new year, everyone: I have a question, it may be not directly related to struts. I am sorry if I shouldn't post the topic in this mailing list.And if you could give me some suggestions, I really appreciate it. Our software group are implementing a j2ee application---using struts to implement

Re: PrePopulation of FormBean Values

2003-01-06 Thread Dan Tran
> Well what if you have this scenario. > You have a form that a user enters in data. > The form then calls the action associated to it. > In that action, you want to populate another object/bean with data so it > can be displayed on the forwarded jsp page. > > With this case the Form that is being

Re: Question about using multiple struts-config.xml files

2003-01-06 Thread Dan Tran
get the example from http://www.scioworks.com In short, your dont need to specify the module name -D - Original Message - From: "Scott Reisdorf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 06, 2003 5:29 PM Subject: Question about using multiple struts-config.xml f

Multiple Controllers struts-config

2003-01-06 Thread Steve Vanspall
Hi there, I am trying to use the SSLext extension as well as the ActionPluginExt extension for Struts I am using Struts 1.1b2 According to the DTD I can have only one tag deifined. each of these extensions require their own controller. Is there a way around this limitation? Regards Steve Van

Validator error...

2003-01-06 Thread Damm, Gary
Can anyone explain this error? The action I'm mapping the validation to has a form with a "name" attribute which is what I'm validating so I'm not sure why I'm getting the "no input attribute" error. HTTP Status 500 - No input attribute for mapping path /CreateGroup --

Tracking sessions (newbie)

2003-01-06 Thread Loren Hall
I seem to have colliding sessions, I figure as a result of improperly using jsessionids. Was I wrong to think that struts and tomcat handled this transparently? Current Situation: The appearance of jsessionid= in urls is erratic, appending the jsessionid to the inital login url one minute, but n

Re: Oracle 9i BC4J and Struts

2003-01-06 Thread Steve Muench
Alireza, If you let me know what you found complicated, I can help you understand the approach the BC4J framework takes and why things are done that way. Every feature in the BC4J framework is grounded in some real-world task that you typically will need to perform over-and-over again by hand (o

Question about using multiple struts-config.xml files

2003-01-06 Thread Scott Reisdorf
I am trying to get my application working using multiple struts-config.xml files and I am having problems. I have a few questions regarding setting an application to use multiple config files. This is my current setup in my web.xml file i declare my config files like below: config /WEB-INF/

RE: Why flush is not supported in a body of ?

2003-01-06 Thread James Mitchell
I was guessing he wanted to display an html table as it is being written instead of waiting till the page is loaded. (which is a common misconception) -- James Mitchell Software Engineer/Open Source Evangelist http://www.open-tools.org "C makes it easy to shoot yourself in the foot; C++ makes

RE: scope

2003-01-06 Thread LUCERO,DENNIS (HP-Boise,ex1)
Here is another post with my message at the top. I did just that. Wrote a scriplet that gets the bean out of the request (it was there) and guess what ?? the bean has the correct values. Hm?? I am thinking the html:option tag does not check the request object for it and goes straight to se

RE: scope

2003-01-06 Thread LUCERO,DENNIS (HP-Boise,ex1)
-Original Message- From: Joe Barefoot [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 5:18 PM To: Struts Users Mailing List Subject: RE: scope > > LDHBe> The jsp containing the html:option tag is the last > thing the request is > LDHBe> forwarded to > > The forwarded page d

RE: Taglib questions

2003-01-06 Thread Joe Barefoot
This should take care of all your table needs: http://edhill.its.uiowa.edu/display-0.8/ You can change the style(s) of the alternating rows and such as outlined here: http://edhill.its.uiowa.edu/display-examples-0.8/example-styles.jsp > -Original Message- > From: Damm, Gary [mailto:[

Taglib questions

2003-01-06 Thread Damm, Gary
I'm relatively new to Struts and I'm looking for an existing tag lib to do the following actions (I would like to avoid adding Java code to my JSP's): HTML Tables 1. Alternate row color for each row of an iteration. 2. Next/Previous links for a large collection that is being iterated ove

RE: scope

2003-01-06 Thread Joe Barefoot
> > LDHBe> The jsp containing the html:option tag is the last > thing the request is > LDHBe> forwarded to > > The forwarded page does not have access to the request any longer. I think you mean on a redirect. JSPs that are forwarded to definitely have access to the HttpServletRequest object;

Re: scope

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 6:57:15 PM, ex1) wrote: LDHBe> The jsp containing the html:option tag is the last thing the request is LDHBe> forwarded to The forwarded page does not have access to the request any longer. If you want to have access to what was selected on the form page and then di

Validator problem with optional fields

2003-01-06 Thread Mader, Cary J
I'm using the validator with Struts 1.1b3. The release notes say that b3 fixes an issued with validator that I was having problems with in b2...where all validations are treated as "required". The problem I was having with the date validator has gone away, but I'm still seeing the same problem w

[OT] [ Lets Do The Timewarp Again] Re: PrePopulation of FormBeanValues

2003-01-06 Thread Peter A. Pilgrim
ashokd wrote: Hi, Why is your mail creation time set to 02/05/2002 ? Subject: PrePopulation of FormBean Values Date: Thu, 2 May 2002 15:53:18 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer:

scope

2003-01-06 Thread LUCERO,DENNIS (HP-Boise,ex1)
I am using the html:option tag I must set the scope of the parent form to session for the tag to generate the correct selected = "selected" Html on the page when the form is submitted (it is bouncing back to the same page) Why is this? The request hits the server with the values in it The ac

RE: Why flush is not supported in a body of ?

2003-01-06 Thread Joe Barefoot
Pardon if this is a silly question, but why would you need to explicitly call flush() anyways? --joe > -Original Message- > From: Zsolt Koppany [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 06, 2003 1:59 PM > To: struts mail list > Subject: Why flush is not supported in a body of ?

Re: PrePopulation of FormBean Values

2003-01-06 Thread Curtney Jacobs
Hi, this has been discussed before. Do a search on the list archive _CJ. On Thursday 02 May 2002 10:23 am, ashokd wrote: > Hi, > > How to propopulate the Form values in a Form (which is using the Struts > FormBean) > > The scope of the FormBean is request. > > Please provide an example on this.

Re: Accessing static constants with EL

2003-01-06 Thread David M. Karr
> "Justin" == Justin Ashworth <[EMAIL PROTECTED]> writes: Justin> Hope you're all doing well in the new year. Justin> I am just starting to use EL syntax so this question may be very basic. I Justin> have an interface which contains many public static final variables that I Ju

RE: Why flush is not supported in a body of ?

2003-01-06 Thread James Childers
According to JSP 1.2 spec, 10.2.1: "The buffer size of a BodyContent object is unbounded. A BodyContent object cannot be in autoFlush mode. It is not possible to invoke flush on a BodyContent object, as there is no backing stream." In other words, it is illegal to perform flushes from within a ta

Accessing static constants with EL

2003-01-06 Thread Justin Ashworth
Hope you're all doing well in the new year. I am just starting to use EL syntax so this question may be very basic. I have an interface which contains many public static final variables that I would like to be able to access with the EL tags. For regular tags that support rtexprvalues, I would j

Why flush is not supported in a body of ?

2003-01-06 Thread Zsolt Koppany
Hi, in a block I get always an exception saying: "Illegal to flush within a custom tag..." This is a problem for me because I want to execute either or out.flush(); What can I do? -- Zsolt -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Struts-EL javadoc build errors

2003-01-06 Thread David M. Karr
> "Chris" == Chris Winters <[EMAIL PROTECTED]> writes: Chris> Just a minor note: using the b3 source I had to change the Ant target Chris> in contrib/struts-el in the following ways to generate the javadocs: Chris> - change attribute 'packagename' to 'packagenames' Chris>

Getter/Setter for properties with multiple values (newbie)

2003-01-06 Thread Alok Pota
Have an html form with key-value pair text boxes <% for (int i = 0; i < 10; ++i) { %> <% } %> How do I get/set the key and value property in my ActionForm class? -- To unsubscribe, e-mail: For a

Re[3]: Need tag help

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 3:26:26 PM, Rick wrote: RR> To avoid the scriplet though I think you are going to have to use the RR> logic-el tag, but possibly someone else has a better solution. Actually logic-el wouldn't be what you want either. I think if you just used the JSTL choose and when

Re[2]: Need tag help

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 2:59:41 PM, Rick wrote: RR> Did you try: RR> RR> RR> blah blah... RR> RR> Sorry to have tried to help so soon, the above that I gave you won't work. With a scriplet it wouldn't work like: blah blah... To avoid the scriplet tho

RE: Need tag help

2003-01-06 Thread James Turner
This is (unfortuantely) another one of those "gotta use JSTL" things. The value clause in a logic comparison has to be a literal. So you either need to drop the value in dynamically with <%= tags, or give in to the Dark Side (major :-) and do it in JSTL. James (Who's in the middle of converting a

Re: html:options question

2003-01-06 Thread Gus Delgado
Thanks it work!. -Gus D. Rick Reumann wrote: On Monday, January 6, 2003, 2:14:38 PM, Gus wrote: GD> GD> labelProperty="label"/> GD> GD> Example. the options are "Read-only", "Admin", and "Analyst" that's the GD> order of the collection, when I edit a user that is Admin, I want the

Re: Need tag help

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 2:41:02 PM, Jordan wrote: JT> Hi, JT> I am wanting to use a tag inside an interate tag like this JT> JT> JT> blah blah... JT> JT> Did you try: blah blah... I'm not positive the above will work though. Let me know. The problem mi

Re: html:options question

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 2:14:38 PM, Gus wrote: GD> GD> labelProperty="label"/> GD> GD> Example. the options are "Read-only", "Admin", and "Analyst" that's the GD> order of the collection, when I edit a user that is Admin, I want the GD> drop-down to show with the "Admin" being s

Re: html:options question

2003-01-06 Thread Heather Buch
I did something similar, with optionsCollection (which I like). Here is my code: for optionsCollection, my "property" is the name of my bean, and I think you have to pluralize it (example availablecourselabel --> availablecourselabels) to indicate that it's a collection. The "label" and "

Need tag help

2003-01-06 Thread Jordan Thomas
Hi, I am wanting to use a tag inside an interate tag like this blah blah... Essentially the "idx" value comes from the tag and the permissionsSize comes from a request variable. This doesn't seem to work though. Is there a clean way to get the permissionsSize value out of the reque

RE: Iterate tag with ResultSet Example

2003-01-06 Thread Craig R. McClanahan
On Mon, 6 Jan 2003, Mervin Williams wrote: > Date: Mon, 6 Jan 2003 13:30:51 -0600 > From: Mervin Williams <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: Iterate tag with ResultSet Example > > You

RE: Iterate tag with ResultSet Example

2003-01-06 Thread Mervin Williams
You do mean "RowSetDynaClass", not "RowSetDataSource". Right? -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 1:00 PM To: Struts Users Mailing List Subject: RE: Iterate tag with ResultSet Example On Mon, 6 Jan 2003, Mervin Willia

html:options question

2003-01-06 Thread Gus Delgado
I populate an html:option tag with a collection. I use the html:option to create a new user in my system and to edit a user in my system. When doing an edit I want the html:option to be shown with the current accessType of the user I'm editing. Example. the options are "Read-only", "A

Struts-EL javadoc build errors

2003-01-06 Thread Chris Winters
Just a minor note: using the b3 source I had to change the Ant target in contrib/struts-el in the following ways to generate the javadocs: - change attribute 'packagename' to 'packagenames' - in attribute 'packagenames', change 'org.apache.struts.*' to 'org.apache.strutsel.*' Thanks for all

RE: Please Help! Nested form property attributes.

2003-01-06 Thread Paul Idusogie
I modified the formbean and action class to accept a date string and it work Thanks Thanks Thanks. Sincerely, Paul Idusogie Email: [EMAIL PROTECTED] Tel: 651.714.8779 -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 12:42 PM To: Stru

RE: Iterate tag with ResultSet Example

2003-01-06 Thread Craig R. McClanahan
On Mon, 6 Jan 2003, Mervin Williams wrote: > Date: Mon, 6 Jan 2003 12:16:04 -0600 > From: Mervin Williams <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: Iterate tag with ResultSet Example > > In y

RE: Error key-value pairs

2003-01-06 Thread James Mitchell
> Are error key-value pairs always read from a properties file? > > We store i18n error bundles (key-values) in the database. > I would like to be able to read those values, cache 'em and > then re-use those values using the ActionError and ActionErrors > classes. If you want to pull from a da

xml/html/xsl/jsp and performance

2003-01-06 Thread Hu, Jinsong
Hi All, I am new to struts, and I have the following questions: We have a web application already in production, we use EJB in backend, servlet in front end, we did it this way, back end session bean will generate XML data, and pass to front end servlet, the servlet will call XSL transla

RE: Iterate tag with ResultSet Example

2003-01-06 Thread James Mitchell
Craig wrote: > ... I just checked in a change in commons-beanutils that can... ^ http://jakarta.apache.org/builds/jakarta-commons/nightly/commons-beanuti ls/ -- James Mitchell Software Engineer/Open Source Evangelist http://www.open-tools.org "

Re: Please Help! Nested form property attributes.

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 12:44:38 PM, Paul wrote: PI> rootCause PI> java.lang.IllegalArgumentException: argument type mismatch at PI> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at PI> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 PI> What do

Error key-value pairs

2003-01-06 Thread Alok Pota
Are error key-value pairs always read from a properties file? We store i18n error bundles (key-values) in the database. I would like to be able to read those values, cache 'em and then re-use those values using the ActionError and ActionErrors classes. Since I don't want the default mechanism of

Date Formatting

2003-01-06 Thread Samir Shah
Hi, I am trying to print a date on a jsp screen using the following The property "propLcts" is a Calendar datatype I have defined the following in the applicaitonl.resources file date.format=MM/dd/ When the page is rendered it still renders the date as java.util.GregorianCalendar[time

RE: Iterate tag with ResultSet Example

2003-01-06 Thread Mervin Williams
In your sample code you use the RowSetDataSource class. In what package is this class located? -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 05, 2003 5:49 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Iterate tag with Res

Re: No such tag notPresent in the tag library imported with prefixlogic

2003-01-06 Thread Heather Buch
Hi all, Thanks for the answer, that one was definitely my own dumb fault. In my hasty cutting and pasting during the upgrade, I did this in my web.xml: /WEB-INF/struts-bean.tld /WEB-INF/struts-bean.tld /WEB-INF/struts-html.tld /WEB-INF/struts-html.tld /WEB-INF/struts-

RE: Need an "id" attribute on the HTML tags.

2003-01-06 Thread James Childers
> We use the Javascript DOM method getElementById() a lot to > identify the appropriate element on the page. > What would it take to support the "id" attribute for the form > elements. > Reading the docs? http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html Hint: Look for "styleId". -

Need an "id" attribute on the HTML tags.

2003-01-06 Thread Alok Pota
We use the Javascript DOM method getElementById() a lot to identify the appropriate element on the page. What would it take to support the "id" attribute for the form elements. -Alok -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: PrePopulation of FormBean Values

2003-01-06 Thread Scott Reisdorf
Well what if you have this scenario. You have a form that a user enters in data. The form then calls the action associated to it. In that action, you want to populate another object/bean with data so it can be displayed on the forwarded jsp page. With this case the Form that is being passed into

Please Help! Nested form property attributes.

2003-01-06 Thread Paul Idusogie
Please Help! I have the following code snippet in a jsp page . . The attribute user.enrollDate is an attribute of the user class used a the profileForm formBean. I have a c

RE: Default method to launch in a LookupDispatchAction

2003-01-06 Thread PILGRIM, Peter, FM
Rip the guts out of the `execute()' method in the LookupDispatchAction and then write your own new subclass of `DispatchAction' class to do it. Rgds Peter Pilgrim "I am back!" -Original Message- From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] Sent: 06 January 2003 16:07 To: '[EMAIL PROTEC

Why flush is not supported in a body of ?

2003-01-06 Thread Zsolt Koppany
Hi, in a block I get always an exception saying: "Illegal to flush within a custom tag..." This is a problem for me because I want to execute either or out.flush(); What can I do? -- Zsolt -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: PrePopulation of FormBean Values

2003-01-06 Thread Dan Tran
A better way is to create a loadObjectAction with your form. Invoke the action, and populate the form, which is passed to your action, fill the form and forward it to your jsp page to display. The is no need to construct the form object and stick it back to the request. -Dan - Original Me

Using ActionError without text messages

2003-01-06 Thread Eric Jain
Is their any way to make use of Struts validation mechanism without having to use resource bundles? The problem is that resource bundles only seem to work when allowing sessions is an option. Furthermore, I do not need error messages, just an indication which fields where not valid. In fact I can

Re: Tiles Menu and Character encoding problem

2003-01-06 Thread struts
No. But U are right if I use with the corect character font it works. Thanx. - Original Message - From: "Cedric Dumoulin" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, January 06, 2003 6:35 PM Subject: Re: Tiles Menu and Character encoding probl

Multibox and set/get problem

2003-01-06 Thread AMIR-TAHMASSEB Marc
Hi everybody (and happy new year :-) I have a jsp page with multibox. When i check some boxes and submit the form, then setter of my form is never used ! So i can not get the selected values, Can anybody help me please ? I'm using Struts 1.02 thanks for you help, Marc Here are my codes :

RE: Forward to self?

2003-01-06 Thread ROSSEL Olivier
> In an action class, how can I get an ActionForward instance > that represents > the action currently executing? No. But if that class was accessed for another class, you could have saved the ActionForward in the request/session to get it back in the target action. This e-mail is intended only

RE: a couple of questions

2003-01-06 Thread pqin
The template is like a super class, include jsp is like a subclass, can you inherit super class imports in your subclass? No. Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: Yan Zhu [mailto:[EMAIL PROTECTED]] S

Re: Tiles Menu and Character encoding problem

2003-01-06 Thread Cedric Dumoulin
Hi, Have you specify the characters encoding at the beginning of your xml tiles config file: Cedric Jim Theodoridis wrote: Hi to all. I use the following definition about a menu on tiles-defs.xml ... ... I want to use Greek Characters on menu. But when use va

Re: a couple of questions

2003-01-06 Thread Yan Zhu
One, possibly hokie way, of doing this would be to use parameters in your resources. For example, say your error resource is defined as This makes the *entire* text of foo.error dynamic. excellent, that is awesome! no way to make individual prefix based on class though? :( I have a root pag

Forward to self?

2003-01-06 Thread Jarnot Voytek Contr AU HQ/SC
In an action class, how can I get an ActionForward instance that represents the action currently executing? Thanks, -- Voytek Jarnot Quidquid latine dictum sit, altum viditur -- To unsubscribe, e-mail: For additional commands, e-mail:

a tile question

2003-01-06 Thread Yan Zhu
hey guys, i am using struts 1 beta 3 on tomcat 4.1.18. i got a template and some tiles configured, here is my problem. i have an init.jsp, which contains things like this: <%@ page language="java" %> <%@ page import="com.infinity.framework.reflex.*"%> <%@ page import="com.infinity.

Multibox and set/get problem

2003-01-06 Thread AMIR-TAHMASSEB Marc
Hi everybody (and happy new year :-) I have a jsp page with multibox. When i check some boxes and submit the form, then setter of my form is never used ! So i can not get the selected values, Can anybody help me please ? I'm using Struts 1.02 thanks for you help, Marc Here are my codes :

Tiles Menu and Character encoding problem

2003-01-06 Thread Jim Theodoridis
Hi to all. I use the following definition about a menu on tiles-defs.xml ... ... I want to use Greek Characters on menu. But when usei am getting the following error : javax.servlet.ServletException: Error while parsing file '/WEB-INF/tiles-defs.x

RE: Struts equivalent of if...else (newbie)

2003-01-06 Thread pqin
=> if...then else Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: Suresh Addagalla [mailto:[EMAIL PROTECTED]] Sent: January 6, 2003 9:19 AM To: 'Struts Users Mailing List' Subject: RE: Struts equivalent of if.

RE: Default method to launch in a LookupDispatchAction

2003-01-06 Thread Wendy Smoak
> Is there a way to tell to a LookupDispatchAction: > if submit="button.add" do add() > if submit="button.delete" do delete() > else do process(); Override the execute method in your LookupDispatchAction. http://www.mail-archive.com/struts-user@jakarta.apache.org/msg49636.html -- Wendy Smoak Ap

Struts Action Chaining

2003-01-06 Thread Karl Baum
I have implemented a Struts extension which easily allows for the chaining together of Action's based on Locale. I have posted the source, binary distribution, and some documentation. http://www.strutschaining.org Please take a look and let me know what you think. Thanks! Karl (I apologize t

Default method to launch in a LookupDispatchAction

2003-01-06 Thread ROSSEL Olivier
Is there a way to tell to a LookupDispatchAction: if submit="button.add" do add() if submit="button.delete" do delete() else do process(); ? the last part (a default method to launch if you can find no method name in the Map) ---cut here--- This e-mail is intended only for the above addressee

RE: PrePopulation of FormBean Values

2003-01-06 Thread pqin
I do it this way In your action class, instantiate a new ActionForm, populate values, and then request.set(yourformbeanname in struts conf xml, yourinstance). Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: asho

Re[2]: Repopulating a form after an error in Validate

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 10:46:10 AM, Samir wrote: SS> Ok, here are the relevant pieces of information SS> > SS> type="com.fdl.quoteweb.GotoStep1Action" SS>scope="request" SS>validate="true" SS>input="/quoteweb/w

Re: Struts equivalent of if...else (newbie)

2003-01-06 Thread David M. Karr
> "Suresh" == Suresh Addagalla <[EMAIL PROTECTED]> writes: Suresh> Sorry for the haste.. Suresh> Logic:equal doesn't seem to be working with local variables... The "logic:equal" tag should work fine with scripting variables defined by scriptlets. You'd have to show us your code for u

Multibox and set/get problem

2003-01-06 Thread AMIR-TAHMASSEB Marc
Hi everybody (and happy new year :-) I have a jsp page with multibox. When i check some boxes and submit the form, then setter of my form is never used ! So i can not get the selected values, Can anybody help me please ? I'm using Struts 1.02 thanks for you help, Marc Here are my codes :

Re: No such tag notPresent in the tag library imported with prefix logic

2003-01-06 Thread David M. Karr
> "Heather" == Heather Buch <[EMAIL PROTECTED]> writes: Heather> Hi all, Heather> It's good to be here. I've been searching in vain for a solution to an error Heather> that suddenly appeared at work today, though not at home last night. I just Heather> switched from struts 1.

RE: "Struts in Action" Unavailable at Amazon

2003-01-06 Thread Haseltine, Celeste
I ordered the Struts in Action book on Amazon in early Nov. I did go on backorder status, but I received my copy the week before Christmas. Perhaps they have a large number of people on backorder status as I was, and don't want to accept new orders until they have filled all of their current comm

Re: Repopulating a form after an error in Validate

2003-01-06 Thread Samir Shah
Ok, here are the relevant pieces of information Here is how I put the beans in GotoStep1Action request.setAttribute("prospect", prospect);

Problem with ActionConfig.setInput() - Configuration is Frozen

2003-01-06 Thread Srinivas Bhagavathula
I am having a problem with the ActionMapping.setInput() which is throwing an illegal state exception and also says that the configuration is frozen. Not sure what is happening but what I am trying to do is set the input attribute dynamically in the action class. If an error occurs it is orwarde

Re: Repopulating a form after an error in Validate

2003-01-06 Thread Rick Reumann
On Monday, January 6, 2003, 9:23:04 AM, Samir wrote: SS> The problem is when the user is sent back to SS> the input screen on error, it is not finding the SS> required Javabeans in the request object and is SS> failing to create the form with the data. I know we started working on this on Frida

RE: ModelJ - open-source EJB/Struts code generator for JBoss 3.x released

2003-01-06 Thread James Mitchell
Very nice Tom! I was able to build the sample.xml and deploy to JBoss (jboss-3.0.3_tomcat-4.0.5) in a matter of minutes. Great stuff!!! -- James Mitchell Software Engineer/Open Source Evangelist http://www.open-tools.org "C makes it easy to shoot yourself in the foot; C++ makes it harder, but

  1   2   >