different forwards from form

2002-12-03 Thread Marcus Biel
I got a form for editing a data records. When I hit "cancel" I want to display an other page then when I hit submit. How to do this ? thx, marcus -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: different forwards from form

2002-12-03 Thread Gemes Tibor
2002. december 3. 09:37 dátummal Marcus Biel ezt írtad: > I got a form for editing a data records. > When I hit "cancel" I want to display an other page then when I hit > submit. > > How to do this ? Read the docs! Take a look at the struts-example.war, or read the struts-tips at husted.com: ht

RE: [FRIDAY] laser

2002-12-03 Thread Maarten . DeCock
Just reached level 14 :) -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: vrijdag 29 november 2002 16:33 To: [EMAIL PROTECTED] Subject: [FRIDAY] laser I've just found this piece of game, and since then I simply cannot stop playing it! http://hem.passagen.se/bigmoor

RE: different forwards from form

2002-12-03 Thread Andrew Hill
One way is to do a forward from within the action. Ie: both buttons still submit to same action to start with, but if its detected that it was a cancel then the action immediately returns an ActionForward that forwards the request on to the action/jsp/etc... that you want to go to if they hit cance

nested checkboxes on sun-solaris

2002-12-03 Thread Friedrich . Bierbaum
is there a known bug using nested checkboxes on a sun solaris ? It seems that nested checkboxes are not repopulated by struts when submitting a form! (in the request parameters they do appear, and on WinNT it works properly) -- To unsubscribe, e-mail: For additional

RE: On-The-Fly HTML to PDF Conversion

2002-12-03 Thread edgar
I am using iText, a free, straight java tool. It has some of the characteristics of html but is it's own beasty. It is fast and works well however. Edgar -Original Message- From: Shashikiran M [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 1:16 AM To: '[EMAIL PROTECTED]' S

Web based file storage

2002-12-03 Thread Heligon Sandra
Hi, I need in my Struts application to access to the local file system, in order to create files, download files and display the content of directories. I would like to know if someone has already develop functions and JSP/Tiles interfaces that allow to ac

Re: different forwards from form

2002-12-03 Thread Marcus Biel
No, my problem is different! A simple reset would be easy - but I want to hit reset when I am editing - when editing and I hit submit, it calls an action, that updates the record, then it forwards to a new jsp, that's says: "Your record has been edited successfully." Now if I add a cancel button,

Re: different forwards from form

2002-12-03 Thread Marcus Biel
That's just what I thought would be best. But how can I see in my Action which button was hit ? [EMAIL PROTECTED] schrieb: > > One way is to do a forward from within the action. Ie: both buttons still > submit to same action to start with, but if its detected that it was a > cancel then the act

Test

2002-12-03 Thread John Yu
Test -- John Yu -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: different forwards from form

2002-12-03 Thread edgar
Get creative. You can use form data, i.e. a button value is not submitted unless a button is clicked. You can use javascript to set an arbitrary set of action variables. You can use a dispatch action. Have fun with it ;-). Edgar -Original Message- From: Marcus Biel [mailto:[EMAIL PRO

Re: different forwards from form

2002-12-03 Thread Gemes Tibor
2002. december 3. 10:01 dátummal Marcus Biel ezt írtad: > No, my problem is different! No. Your problem is the same. > Now if I add a cancel button, it works, > but also forwards to this same page, > instead of to the regular start page. If you add a cancel button, you can handle the cancel even

[ANNOUNCE] Scioworks Collage v1.0 - JSP Previewing Technology

2002-12-03 Thread John Yu
Dear Struts Users, We are pleased to announce the release of Scioworks Collage v1.0, a tool for previewing JSPs in normal browsers without starting any application server or servlet container. Key Features: * Previewing -- Preview JSPs (with custom tags) in normal browsers without deploying

Code Generator

2002-12-03 Thread Juan
Hello, Is there any good code generator that generates source code using Struts and JavaBeans or EJBs? Can be free or commercial. Thanks in advance, Juan José Velázquez Garcia Information System Developer www.htmlspider.com.br -- To unsubscribe, e-mail: For addi

RE: Struts administrative funcs

2002-12-03 Thread Tuncay Baskan (Internet Grubu)
> -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 02, 2002 7:00 PM > To: Struts Users Mailing List > Subject: Re: Struts administrative funcs > > Personally, I use the Ant tasks supplied with Tomcat 4.1 (I'm > a command > line wienie ra

Re: different forwards from form

2002-12-03 Thread Marcus Biel
I thought (isCancelled(request)) would be a user defined method. Are you sure I can simple use this method, and he will know the user hit the cancel button ? marcus [EMAIL PROTECTED] schrieb: > > 2002. december 3. 10:01 dátummal Marcus Biel ezt írtad: > > No, my problem is different! > > No.

Re: Code Generator

2002-12-03 Thread vellosa
Not sure what you mean by generate, but you could look into teh xDoclet project on SourceForge.net > from:Juan <[EMAIL PROTECTED]> > date:Tue, 03 Dec 2002 09:31:09 > to: [EMAIL PROTECTED] > subject: Re: Code Generator > > Hello, > > Is there any good code generator that gener

Re: different forwards from form

2002-12-03 Thread Gemes Tibor
2002. december 3. 10:22 dátummal Marcus Biel ezt írtad: > I thought (isCancelled(request)) > > would be a user defined method. > Are you sure I can simple use this method, > and he will know the user hit the cancel button ? If the cancel button was generated with cancel Hth, Tib -- To unsubscri

RE: Dynamically generated forms

2002-12-03 Thread Vipul Sanghi
Just write a custom tag that inherits from text and in there decide to do this iteration. There you could also control the layout. i.e. side by side, one above next etc. -Original Message- From: Jordan Thomas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 1:16 AM To: Struts U

Design Issue in struts

2002-12-03 Thread Cook, Graham
Can I use struts to perform the following task: generate a JSP page, but have multiple entry lines on the page. Im not going to know how many lines the user is going to enter, so i'd like them to have some kind of way ( maybe a button ) that the user can click on, the page refreshes (retaining da

RE: Design Issue in struts

2002-12-03 Thread edgar
Yes, you can use either subforms / nested tags or maps. -Original Message- From: Cook, Graham [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 5:30 AM To: '[EMAIL PROTECTED]' Subject: Design Issue in struts Can I use struts to perform the following task: generate a JSP page

RE: Design Issue in struts

2002-12-03 Thread shirishchandra . sakhare
Hi, I have implemented pretty much the same functionality in our application. U can do this using Struts actions.When the user presses a button,call an action.In the action add an empty row to the form(add a empty object to the list on form).And then call the same jsp which will just iterate over

Re: Struts Form Beans & Value Objects

2002-12-03 Thread Pat Quinn
Hi, I have tried the below it works fine when i fetch the data but when i want to update a text field etc i get the following error: java.lang.IllegalArgumentException: No bean specified at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:816) at org.apache.

Novice in desperate need of HELP

2002-12-03 Thread joseph agunpopo
Dear All, I am a novice in the world of Struts, but as luck would have it I have been selected to design a web application using Struts. My mai concer at this particular time is how to begin and what type of artefact to produce? The topic as mentioned above is "Developing Web Applications with Str

Struts Log

2002-12-03 Thread To, Wilson
I'm sure this is a simple thing but I cannot find any details about this anywhere - apologies for affending anyone if this is too simple and thus clogging up this mailing. I got an error stating "A failure occured in the application and the exception was likely handled. See Struts log to determin

Problem: Struts+Modules+jsps under WEB-INF

2002-12-03 Thread Maciej Ko³odziej
Hi, I started developing an application with Jakarta Struts 1.1. I decided to build it using multiple modules (sub-apps) and also hide all jsps under WEB-INF. Thus my application structure looks like this: app/img/ app/css/ app/WEB-INF/ app/WEB-INF/classes/ app/WEB-INF/lib/ app/WEB-INF/jsp/ app/

Re: Struts Log

2002-12-03 Thread Brian Hickey
Wilson, Logging is dependent on many things. Which version of Struts? What JSP container? (i.e. Tomcat 4.1.X), are you using Log4J or jakarta-commons logging? It would also help if you showed the actual error message. Brian - Original Message - From: "To, Wilson" <[EMAIL PROTECTED]> To:

RE: Problem: Struts+Modules+jsps under WEB-INF

2002-12-03 Thread Vincent PROSPER
To my understanding: 1. Put something like mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 1:44 PM To: struts-user Subject: Problem: Struts+Modules+jsps under WEB-INF Hi, I started developing an application with Jakarta Struts 1.1. I decided to build it using multiple modules (sub-ap

RE: Struts Log

2002-12-03 Thread To, Wilson
Hi Brian, Thanks for the response. I'm using version 1.0.2 of Struts and 3.2.1 Tomcat under Windows NT. I'm not actively doing any logging as such so therefore I guess I'm not (knowingly) using Log4J or jakarta-commons etc. The error that is returned in the actual browser is as I mentioned earie

RE: Problem: Struts+Modules+jsps under WEB-INF

2002-12-03 Thread edgar
If you make common invisible to the web, i.e. http:///common/.jsp is invalid then I agree. Otherwise you are risking shortcuts bypassing the action classes. If you have jsp's that are directly executable by all means put them in a public space. Edgar -Original Message- From: Vincent PROS

RES: Problem: Struts+Modules+jsps under WEB-INF

2002-12-03 Thread Julio Cesar C Neto
Hi, If I use this way, app/img/ app/css/ app/WEB-INF/lib app/WEB-INF/classes app/common/ app/common/mainScreen.jsp app/test.jsp How can I protect my JSP from being accessed directly? Julio Cesar -Mensagem original- De: edgar [mailto:[EMAIL PROTECTED]] Enviada em: terça-feira, 3 de

RE: Struts Log

2002-12-03 Thread edgar
If struts logging is enabled in web.xml under the init-params then if you are not actively logging, there is a log in stderr and stdout. I am not familiar with tomcat but I assume you can log stderr and stdout. Edgar -Original Message- From: To, Wilson [mailto:[EMAIL PROTECTED]] Sent:

RE: Problem: Struts+Modules+jsps under WEB-INF

2002-12-03 Thread Vincent PROSPER
This was to make things easier (I don't have this kind of trouble since I'm used to JAAS/role protect my jsp files...). Vince -Original Message- From: Julio Cesar C Neto [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 2:24 PM To: 'Struts Users Mailing List'; [EMAIL PROTECTED] S

Re: Problem: Struts+Modules+jsps under WEB-INF

2002-12-03 Thread Maciej Ko³odziej
Hi, On 3 dec 2002 you wrote: e> If you make common invisible to the web, i.e. e> http:///common/.jsp is invalid then I agree. e> Otherwise you are risking shortcuts bypassing the action classes. If e> you have jsp's that are directly executable by all means put them in a e> public space. That's

[OT] JavaScript navigator close event

2002-12-03 Thread Emmanuel Boudrant
Hi, Is there, in javascript an event on navigator closed ? I try the but my code is executed at every page change (An that's normal ;). But I want to execute code only when the user close the navigator (And his session!), I don't want to wait session timeout before reset all the lock associed

Re: loading message resources from database?

2002-12-03 Thread Melissa L Kelley
James Mitchell did this. It is called DBMessageResources. You can find the download here http://www.open-tools.org/struts-atlanta/downloads/ --> stu: www.stuology.net It just no longer is plain simple safe fun when it's the psycho chimp that has the ray gun -

Multibox

2002-12-03 Thread dlee
Hello, I'm using struts 1.0.2. I would like to present an input form on a jsp and part of that would be to display a number of checkboxes. Ted Husted writes: To provide different sets of labels and values, the standard LabelValueBean class [org.apache.struts.util.LabelValueBean] (since 1.1) can b

Re: Struts Log

2002-12-03 Thread Brian Hickey
Wilson, If it is a standard install and seeing as it is 1.0.2, it is most likely that there is no Struts error log file. Tomcat has log files for Jasper(the JSP compiler), Servlet (servlet inits), and any mods like mod_jk that you may have installed with Tomcat. These are populated on startup and

RE: [OT] JavaScript navigator close event

2002-12-03 Thread Jarnot Voytek Contr AU HQ/SC
have you tried checking window.closed (it's a boolean) in your onUnload handler? Not sure if it'll work, but worth a try. Problem is, it may not show as true until after the onUnload is done. If you're opening a new window for your app, you could always check the closed property from the parent w

RE: Multibox

2002-12-03 Thread Sri Sankaran
> -Original Message- > From: dlee [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 03, 2002 8:57 AM > To: Struts Users Mailing List > Subject: Multibox > > > Hello, > I'm using struts 1.0.2. > I would like to present an input form on a jsp and part of > that would be to display a

RE: [OT] JavaScript navigator close event

2002-12-03 Thread Emmanuel Boudrant
I just tried the window.closed flag and that don't work, it'always setted to false. Jarnot Voytek Contr AU HQ/SC <[EMAIL PROTECTED]> a écrit : have you tried checking window.closed (it's a boolean) in your onUnload handler? Not sure if it'll work, but worth a try. Problem is, it may not show a

Re: Design Issue in struts

2002-12-03 Thread Mark
If you're dynamically generating a form, what action would deal with the form produced? I have this problem and i'm thinking of using standard java/jsp for this problem now.. As I'd have to pass an array of values and one form element to an action. Any thoughts on this issue will be gratfully re

DynaAction Form

2002-12-03 Thread Pat Quinn
Hi all, I have a java value object (i.e. MyVo) which i add the DynaAction Form Below. When i display my jsp it works fine using headerVO.firstName but when i submit the page to save user changes i get the following error: java.lang.IllegalArgumentException: No bean specified at org.apache.com

did anyone run beer4all successfully?

2002-12-03 Thread c tang
I downloaded a web app created by Chuck Cavaness from http://jakarta.apache.org/struts/resources/projects.html and failed to run it? I am running struts 1.1b2 and tomcat4.1.12, jdk1.3.1. The exception I got is [org.apache.ojb.broker.accesslayer.JdbcAccess] ERROR: SQLException during the ex ecutio

RE: Multibox

2002-12-03 Thread shirishchandra . sakhare
yes..U are right... -Original Message- From: donl34 [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 2:57 PM To: struts-user Cc: donl34 Subject: Multibox Hello, I'm using struts 1.0.2. I would like to present an input form on a jsp and part of that would be to display a number

Classloader behavior in Struts 1.0.2 and Tomcat 4.1.12

2002-12-03 Thread Jim Coble
I've just seen some surprising behavior in finding Action classes depending on where I put the struts.jar file and where I put the action class. Has anyone else seen this? Is this how one would expect it to work? I'm using Struts 1.0.2 and Tomcat 4.1.12 on a Solaris 8 Sun server. If I put strut

Re: Action mappings, validation and tiles

2002-12-03 Thread Cedric Dumoulin
Hello, See intermixed. Cedric Max Johnson wrote: Hi, My project uses ActionMappings for everything. I want all page access to be routed via the controller so my JSPs are hidden below /WEB-INF. I'm using both the tiles and validator packages so a typical action mapping looks somethin

Re: Re: Re: struts 1.1. modules examples.

2002-12-03 Thread aduprat . struts
Tahnks for help. I've seen the struts 1.1 migrating article But there is no example dealing with struts config.xml file. I'm currently downloading an eval version of camino in order to see how it worswith modules... Message d'origine >De: "Dan Tran" <[EMAIL PROTECTED]> >A: "Struts U

Re: did anyone run beer4all successfully?

2002-12-03 Thread Chuck Cavaness
I just downloaded it and ran it with the environment that you mentioned and it worked fine. Make sure that you read the readme.first file included with the download. You need to copy the beer4.properties, .script and .data files to a directory and then update the dbalias attribute in the reposit

Populate too much ...

2002-12-03 Thread Xavier Combelle
In MyAction1 I set a field of a form MyForm at null. The I make a forward to MyAction2. And when MyAction2 read the field, it is set with wich were before MyAction1 reseted it. It seems that is because the struts framework execute the populate between the MyAction1 and the MyAction2. So I set th

RE: Obtaining the ActionServlet context from a utility class

2002-12-03 Thread Brian DeLuca
How are you instantiating this factory class? Ie When? you should be able to call getServlet().getServletContext() to pass the servlet context to your factory. b- --- On Sun 12/01, Jonathan Holloway [EMAIL PROTECTED] wrote:From: Jonathan Holloway [mailto: [EMAIL PROTECTED]]To

Re: Struts Form Beans & Value Objects

2002-12-03 Thread Jeff_Mychasiw
I do this often and it works well. The only thing I always forget to do if initialize the Vo Ensure this is done in the form Bean: MyValueObject myVo = new MyValueObject(); Hope this helps. "Pat Quinn" <[EMAIL PROTECTED]> on 12/03/2002 05:23:05 AM Please respond to "Struts Users Mailing Lis

RE: Classloader behavior in Struts 1.0.2 and Tomcat 4.1.12

2002-12-03 Thread Sri Sankaran
Ah! The wonderful world of ClassLoaders! What you are seeing is expected behavior. The manual at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html should explain it all. Sri > -Original Message- > From: Jim Coble [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, Dec

LookupDispatchAction

2002-12-03 Thread Cook, Graham
When using LookupDispatchAction for a page with multiple buttons. ie SUBMIT, SEARCH, etc... How can you turn off the validation on the form when clicking on the SEARCH button. (The user is filling a form in top down and hasnt filled in the fields below the SEARCH button)? **

RE: LookupDispatchAction

2002-12-03 Thread Darren Hill
Make sure validation="false" in your strus-config.xml And then .. do a form.validate(x,y); in only those actions you wish to validate in. Darren. -Original Message- From: Cook, Graham [mailto:[EMAIL PROTECTED]] Sent: December 3, 2002 10:08 AM To: [EMAIL PROTECTED] Subject: LookupDispatch

html:submit question

2002-12-03 Thread Kevin HaleBoyes
I have a couple of elements on one . How do I distinguish between the different buttons? Specifically, I have Edit Loan Reject Loan The form bean has a setOpereration(String) setter method which is called with the text of the button (ie, "Edit Loan") when the form is submitted. When I look a

1.1b3?

2002-12-03 Thread Andy Kriger
I noticed that the nightly docs are labelled 1.1-b3-dev (maybe this is nothing new and I'm just unobservant). Is there a b3 milestone build coming soon? Is there a changes file that docs functional changes btw milestones? (as opposed to the diffs btw nightly builds) thx andy -- To unsubscribe,

Re: html:submit question

2002-12-03 Thread Gemes Tibor
2002. december 3. 16:30 dátummal Kevin HaleBoyes ezt írtad: > The way it works now, I have to compare the value of the operation > property of the form bean against the string that is displayed to > the user. That seems a bit fragile - suppose the customer wants the > "Reject Loan" to be "Cancel

problem with select tag

2002-12-03 Thread meissa . Sakho
hi all, I've a trouble while using the html select tag. when a use the select tag with the fragment code below, everything works well fundCodes is a type of String[] and fundOptionCodes and fundOptionLabels are both ArrayList. The problem occurs when I try to get the

Re: 1.1b3?

2002-12-03 Thread David Graham
It's labeled that because the next release will be beta 3. There's been talk on the dev list indicating various committers are anxious to get it out. All help is appreciated. David From: "Andy Kriger" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Stru

RE: problem with select tag

2002-12-03 Thread Sri Sankaran
Can you elaborate on : 1) Where is the data coming from for the working version? 2) What do you mean by "not working"? Does it display an empty list? Does it crash? Sri > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 03, 2002 10:38 A

Working with checkboxes

2002-12-03 Thread Smith, Johnathan M.
I have a page that is going to have a number(any number) of row which the client can check off rows to be updated. How do I setup my bean to handle this? -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Looking for Struts powerpoint slides

2002-12-03 Thread Chappell, Simon P
Snap! I have just posted the PowerPoint presentation that I gave yesterday to the CS-495 Seminar Series class at UW Eau Claire on the Struts page of my web site: http://simonpeter.com/techie/java/struts/ This was not a "Teach you to program with Struts" talk, rather a set of notes about our ex

Re: html:submit question

2002-12-03 Thread Kevin HaleBoyes
--- Gemes Tibor <[EMAIL PROTECTED]> wrote: > 2002. december 3. 16:30 dátummal Kevin HaleBoyes ezt írtad: > > > The way it works now, I have to compare the value of the > operation > > property of the form bean against the string that is displayed to > > the user. That seems a bit fragile - suppo

Security roles with Struts

2002-12-03 Thread Elena Neroslavskaya
Hello all, I have succeeded to configure DB security realm for JBoss container it works for simple JSP solution, Bu I have problems to make it work with Struts ! Could anybody please be so kind and post here an example how to configure Struts to use Container Managed Roles. And post here your we

Réf. : RE: problem with select tag

2002-12-03 Thread meissa . Sakho
|-+> | | "Sri Sankaran" | | | | | || | | 03/12/2002 16:45 | | | Veuillez répondre| | | à "Struts Users | | |

Re: bean:define for value in properties file

2002-12-03 Thread Michael Lee
Is there a way in 1.0.2? thanks, Mike - Original Message - From: "Joe Germuska" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, December 02, 2002 5:33 PM Subject: Re: bean:define for value in properties file > At 5:08 PM -0500 2002/12/02, Michael Lee

Re: Classloader behavior in Struts 1.0.2 and Tomcat 4.1.12

2002-12-03 Thread Craig R. McClanahan
On Tue, 3 Dec 2002, Jim Coble wrote: > Date: Tue, 3 Dec 2002 09:27:14 -0500 > From: Jim Coble <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Classloader behavior in Struts 1.0.2 and Tomcat 4.1.12 > > I've just seen some surprising

RE: Re: Design Issue in struts

2002-12-03 Thread shirishchandra . sakhare
What u mean by dynamically generating a form? Its a normal form(Extends ActionForm). And the action to deal with will be what ever action u define to achieve this functionality.It will be a very simple action. Home this clarifies the confusion. regards, Shirish -Original Message- From: m

Re: bean:define for value in properties file

2002-12-03 Thread Kris Schneider
I don't think it can be done with Struts tags in 1.0.2, but if you're able to use JSTL (requires JSP 1.2): Quoting Michael Lee <[EMAIL PROTECTED]>: > Is there a way in 1.0.2? > thanks, > Mike > > - Original Message - > From: "Joe Germuska" <[EMAIL PROTECTED]> > To: "Struts Users Ma

struts-config.xml

2002-12-03 Thread Cathy Osekizoglu
I have in my Jsp. What should be in path of action tag of struts-config.xml? Can I simply have path="pay" or I must include parameter in the path. Thank you for your reply. Cathy - Post your free ad now! Yahoo! Canada Personals

Re: struts-config.xml

2002-12-03 Thread Gemes Tibor
2002. december 3. 17:39 dátummal Cathy Osekizoglu ezt írtad: > I have in my Jsp. What > should be in path of action tag of struts-config.xml? Can I simply have > path="pay" or I must include parameter in the path. Thank you for your > reply. If you would like to add some unmodifiable parameters

Re: struts-config.xml

2002-12-03 Thread Emmanuel Boudrant
Prefer to use the hidden parameters : ... id and type must be a declared property in your form bean. (or dynamic if you use DynaActionForm). You must set the id and type value with your form bean instance ... or with the value attribute. -emmanuel Cathy Osekizoglu <[EMAIL PROTECTED]> a écr

Re: Re: Re: struts 1.1. modules examples.

2002-12-03 Thread Craig R. McClanahan
On Tue, 3 Dec 2002 [EMAIL PROTECTED] wrote: > Date: Tue, 3 Dec 2002 15:31:02 CET > From: [EMAIL PROTECTED] > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: Re: Re: struts 1.1. modules examples. > > Tahnks for help. > I've seen the struts 1.1 migra

Re: How to resolve why java element deprecated?

2002-12-03 Thread Craig R. McClanahan
On Tue, 3 Dec 2002, Rob Leland wrote: > Date: Tue, 03 Dec 2002 01:26:08 -0500 > From: Rob Leland <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: How to resolve why java element deprecated? > > David

RE: Looking for Struts powerpoint slides

2002-12-03 Thread Hookom, Jacob John
They are very good slides! They also cover ideas of abstraction and layering into the Model, again very good stuff. The only problem with them is that you don't get Simon's witty audio commentary with them ;-) Jacob Hookom Comprehensive Computer Science University of Wisconsin, Eau Claire

RE: LookupDispatchAction

2002-12-03 Thread Edgar Dollin
You have to use the same logic the Action is using to decompose the which action in order to get conditional validations. The other alternative is to use separate actions for the form load (set validate to false) and other form actions. Edgar -Original Message- From: Cook, Graham [mailto

Re: Design Issue in struts

2002-12-03 Thread Mark
Shirish By dynamically generating a form i mean querying a db table which contains information about what fields etc to produce for the user to be able to add content to their site. I'm porting an existing cms written in perl on mysql, to java and oracle. I have 2 forms: 1. Admin form that basic

RE: Design Issue in struts

2002-12-03 Thread Edgar Dollin
Look into the nested tags. -Original Message- From: Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 12:02 PM To: Struts Users Mailing List Subject: Re: Design Issue in struts Shirish By dynamically generating a form i mean querying a db table which contains information

Problems subclassing FormBeanConfig

2002-12-03 Thread Ahearn, Denis
I ran into a problem trying to subclass org.apache.struts.config.FormBeanConfig. Here is essentially what I was trying: . . . public class MyFormBeanConfig extends org.apache.struts.config.FormBeanConfig { . . . } The error I was getting was a "Cannot find message resources under key" except

Re: Design Issue in struts

2002-12-03 Thread Mark
I have seen that nested tags is a way around this but i believe they're not supported on version 1 only on version 1.1. I'm off recheck the docs... On 3-12-2002 18:19, "Edgar Dollin" <[EMAIL PROTECTED]> wrote: > Look into the nested tags. > > -Original Message- > From: Mark [mailto:[E

A single error page when using Struts 1.0.2 templates: Is this possible?

2002-12-03 Thread Davide Bruzzone
Greetings all... I've been puuling my hair out on this one for a while now, and I'm beginning to wonder whether or not I should be spending any more time on it. Is it even possible? i.e. When using templates (We're still using Struts 1.0.2), is it possible to have exceptions within the JSPs be re

RE: Design Issue in struts

2002-12-03 Thread Edgar Dollin
There is a version compatible with 1.0.2. I don't know if you can get it now, but there was a nested.jar release for 1.0.2. Aaron Bates was the author and it was in the contrib section. Hopefully, Aaron will see this and let you know where to get it. Edgar -Original Message- From: Mark

html:multibox values not populated in the form bean

2002-12-03 Thread Tuan H. Le
Hi, I'm having a problem that the setter method in the form bean does not get called when I submit an HTML form with a to an action class. I read some of previous related posts in the archives, but I couldn' t find a solution to this problem. Please advise on how to troubleshoot this problem.

Re: A single error page when using Struts 1.0.2 templates: Is this possible?

2002-12-03 Thread Michael Lee
We set up a global forward for errors... and when we catch exceptions beyond the normal we do a mapping.findForward("systemError"); - Original Message - From: "Davide Bruzzone" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, December 03

Re: Security roles with Struts

2002-12-03 Thread Michael Lee
for container managed roles struts actions act just like all http request that the container can intercept. in the web.xml Secure Something Admin Resources /admin/* Admin Secure all data NONE What this does is lock down all requ

Tomcat 4.1.16/Struts 1.1b2/Tiles == BLAM

2002-12-03 Thread Dave Hodson
Anyone out there having problems with the latest Tomcat build (4.1.16)? I'm using Struts 1.1b2 with Tiles and am unable to get any part of my app to load (it works fine with Tomcat 4.0.3) Stack trace below Regards, Dave --- StandardWrapper[/config:jsp]: Marking servlet j

RE: "Struts In Action" on Slashdot

2002-12-03 Thread ROSSEL Olivier
> Woo hoo! A "Struts In Action" book review on Slashdot! > > http://books.slashdot.org/books/02/11/25/1731249.shtml?tid=156 Shortly: The bible of web MVC :-) Someone on IRC said that one of its chapters (that was already available) is talking about an old flavour of the Validator. Is it true?

SOLVED -- FW: Tomcat 4.1.16/Struts 1.1b2/Tiles == BLAM

2002-12-03 Thread Dave Hodson
Pls disregard -- problem turned out to be CATALINA_HOME -- I did not modify it to point the new instance (4.1.16) instead of the old instance (4.0.3). Once I modified this, everything works! Dave --- Dave Hodson MessageCast, inc. Email: [EMAIL PROTECTED] www.messag

using tiles with Struts 1.1

2002-12-03 Thread cruegger
I'm trying to set up Struts 1.1 beta to use Tiles. Question: What modification do I make to struts-config.xml to tell it where my tiles definition file is? Apparently the plug-in no longer applies or Struts 1.1? Thanks! -- To unsubscribe, e-mail: For additio

Which Validator for Struts 1.0?

2002-12-03 Thread Michelle Harris
Hello, Which is the best src to download to use Validator with Struts 1.0? Also, does anyone happen to know when Struts 1.1 will be final? Thanks so much, Michelle -- Michelle Harris | Developer www.site59.com 45 W. 21st St., 4th Floor New York, NY 10010 212.991.1203 Site59, a Travelocity Com

Struts 1.1 with tiles

2002-12-03 Thread cruegger
I'm trying to use tiles with Struts 1.1 I've written a tiles-defs.xml file. Question: How do I tell Struts to use this file? It looks like the tag no longer works with Struts 1.1, so what modification do I make to struts-config.xml to tell struts to use my tiles-defs.xml? Thanks -- T

RE: html:multibox values not populated in the form bean

2002-12-03 Thread Tuan H. Le
I figured out one of my problems. Now, it calls the setter method in a form bean, but when it gets to the action class, the String[] variable for storing multibox selection is empty. Do you know what I'm missing? Thanks, Tuan > -Original Message- > From: Tuan H. Le > Sent: Tu

Re: using tiles with Struts 1.1

2002-12-03 Thread David Graham
You use the TilesPlugin to configure Tiles. David From: [EMAIL PROTECTED] Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: using tiles with Struts 1.1 Date: Tue, 3 Dec 2002 10:31:01 -0800 I'm trying to set up Struts 1.1 beta to use Tiles. Question:

RE: Réf. : RE: problem with select tag

2002-12-03 Thread Sri Sankaran
Is the form-bean for the page you are trying to display available in any scope (request/session/application)? If there is no form-bean available you may see this symptom. Further, if it is, make sure that the lists are populated as you expect them to be. Sri > -Original Message- >

ActionErrors stored in session

2002-12-03 Thread ROSSEL Olivier
It seems that saving ActionErrors in request can sometimes be a pain (especially when you redirect a lot). I wonder if it is possible to make a similar system but store ActionErrors in session. In Actions, instead of saving in request, you save in session. And the tags will delete them once they

RE: Tomcat 4.1.16/Struts 1.1b2/Tiles == BLAM

2002-12-03 Thread Drew Zimber
sorry i cant help ya, but i liked the "blam" word usage. nice work! dz -Original Message- From: Dave Hodson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 1:08 PM To: [EMAIL PROTECTED] Subject: Tomcat 4.1.16/Struts 1.1b2/Tiles == BLAM Anyone out there having problems with

RE: A single error page when using Struts 1.0.2 templates: Is this possible?

2002-12-03 Thread Davide Bruzzone
Yes, that's what we did for our actions, and it works OK... What I'm trying to find out though is how to deal with exceptions that occur within the JSPs. It seems as though the added complexity of Struts, etc. makes it more difficult to redirect to a single error page if, say, an error occurs as a

Help with Multiple Input!

2002-12-03 Thread Jana Navaneethan
Hi, I have a form in which I am collecting multiple input from the user, for example for each day of the week I am collecting opening hour and closing hour something in the format of day - checkbox - select/option - select/option , I want to do this in a loop for all 7 days of the week. I

Newbie question - ActionMapping

2002-12-03 Thread Curtis, Sean
hey all.. just installed struts, got demo up and running fine on iPlanet Web Server. just trying to create a simple demo app. 1 view(jsp) 2 fields 1 form, matching fields 1 action It seems that my jsp forwards correctly to my action mapping, my bean is populated correctly and validated. my logs l

  1   2   >