Re: prechecked checkbox using DynaValidatorForm

2004-08-31 Thread Wolfgang Woger
Thank you, Yves I solved my problem, the form-bean was not preset in the right action. Wolfgang Yves Sy wrote: Hi, Try declaring eatable in your form-bean declaration as java.lang.Boolean and in the action before your edit page go myForm.set("eatable", new Boolean(true)) -Yves- On Tue, 31 Aug 2004

Re: WARNING: Struts 1.2.2 Problems

2004-08-31 Thread Niall Pemberton
No. http://struts.apache.org/userGuide/installation.html Pre-requistite software states "Java2 (version 1.2 or later) Java Development Kit implementation" Niall - Original Message - From: "Michael McGrady" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: We

Re: Dots in form names creates problems with Javascript Validator function names

2004-08-31 Thread Richard Yee
I believe that a period is not allowed in an identifier. You should pick another name for your form. -Richard At 09:59 PM 8/31/2004, you wrote: Hi! I have some forms with dots in their names. The problem is that the JS validation code being generated is not quite right Is there a resolution/work-

Dots in form names creates problems with Javascript Validator function names

2004-08-31 Thread Kunal Parikh
Hi! I have some forms with dots in their names. The problem is that the JS validation code being generated is not quite right Is there a resolution/work-around to this issue ? e.g. FormName: employer.search JS generated: = function employer.search_required () { ...

Re: WARNING: Struts 1.2.2 Problems

2004-08-31 Thread Michael McGrady
Niall Pemberton wrote: The new Struts 1.2.2 version has two major problems: 1) Its not compatible with JDK 1.3 I think that this was advertised as the case? Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

WARNING: Struts 1.2.2 Problems

2004-08-31 Thread Niall Pemberton
The new Struts 1.2.2 version has two major problems: 1) Its not compatible with JDK 1.3 2) Binary distribtuion contains the wrong version of the commons validator jar Niall - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: Patterns in struts.

2004-08-31 Thread Antony Paul
1. Implementation of the MVC2 Paradigma. 2. Front Controller 3. View Dispatcher 4. Service To Worker. 5. Not complete: Inversion of Control Archive at http://marc.theaimsgroup.com/?l=struts-user&w=2&r=1&s=design+patterns+used+s truts&q=b rgds Antony Paul - Original Message - From: "Mich

struts module maven plugin

2004-08-31 Thread Nathan Coast
Hi, I'm thinking of developing a maven plugin for struts modules. I want to check that this isn't being done by anyone else and to get feedback from the struts / maven communities. The idea came from working on LogWeb http://www.codeczar.com/products/logweb/ When producing distros I have to pr

Re: How long is Action's scope?

2004-08-31 Thread Shinobu Kawai
Hi Leandro, > for how long will an Action be in memory? First, for your question: As long as the servlet is alive. cf. http://struts.apache.org/userGuide/building_controller.html#action_design_guide > My question is: > In the first situation i mentioned, i had to save a > reference to my St

[OT] Re: Question about rr_sitemesh demo

2004-08-31 Thread Rick Reumann
struts Dude wrote: Hi Rick I have runned rr_sitemesh example, change width of navigaitonal bar to 150 pixel by changing the line to in mainDecorator.jsp but an empty space seemed to have been created now between navigational bar and content, and content is created within , so what's happening??

How long is Action's scope?

2004-08-31 Thread Leandro Melo
Hi, for how long will an Action be in memory? Here's the point. I have a situation where the user register his/her company in my application. He/she uses a wizard of 4 jsp pages, as he/she submits one, he/she is redirected to the other one. In this situation i keep a reference of my Stateful sessi

RE: Possible to change input path in actionForm validate?

2004-08-31 Thread Sebastian Ho
Oh..got it. Thanks Paul. On Tue, 2004-08-31 at 16:56, Paul McCulloch wrote: > What I meant is that you can use the same action class multiple times, each > with a different path & input: > > path="/Handler1" > type="com.foo.some.Action" > input="

Re: Is Tiles the right way to go?

2004-08-31 Thread PC Leung
How about other tools such as sitemesh or other? Do I get paid? > > Yes, and yes. > You get paid for your knowledge and skill. > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Question about rr_sitemesh demo

2004-08-31 Thread struts Dude
Hi Rick I have runned rr_sitemesh example, change width of navigaitonal bar to 150 pixel by changing the line to in mainDecorator.jsp but an empty space seemed to have been created now between navigational bar and content, and content is created within , so what's happening?? Is main.css beh

RE: tiles and ActionForwards

2004-08-31 Thread Leung, Albert
You're right. Thanks. I'll give that a try. > > > > That makes sense, but how would I do that? These parameters > are not part of > a form. request.setAttribute( "page", page); Forms have nothing to do with putting things into request, session or application scope. > > > > > I would like

RE: tiles and ActionForwards

2004-08-31 Thread Jim Barrows
> -Original Message- > From: Leung, Albert [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 31, 2004 4:14 PM > To: Struts Users Mailing List > Subject: RE: tiles and ActionForwards > > > > > That makes sense, but how would I do that? These parameters > are not part of > a form. req

RE: tiles and ActionForwards

2004-08-31 Thread Leung, Albert
That makes sense, but how would I do that? These parameters are not part of a form. > > I would like to use a tile definition in an action forward > with request > parameters. I have an Action that takes a forward mapped in the Action > definition and supplies it with parameters by appending i

RE: tiles and ActionForwards

2004-08-31 Thread Jim Barrows
> -Original Message- > From: Leung, Albert [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 31, 2004 4:08 PM > To: Struts Users Mailing List > Subject: tiles and ActionForwards > > > I would like to use a tile definition in an action forward > with request > parameters. I have an Acti

tiles and ActionForwards

2004-08-31 Thread Leung, Albert
I would like to use a tile definition in an action forward with request parameters. I have an Action that takes a forward mapped in the Action definition and supplies it with parameters by appending it to the path and then creating a new ActionForward with the supplied parameters. I can't use somet

Re: After sesion invalidate cannot find bean

2004-08-31 Thread Ricardo Andres Quintero
Thank you i will try it later! On Tue, 31 Aug 2004 17:45:29 -0400, Erik Weber wrote > Seemingly (I haven't done this but actually I need to and probably > will try it): > > 1) extend org.apache.struts.action.RequestProcessor > 2) override either the processPreprocess method, or the > processMa

Re: Classloading problem

2004-08-31 Thread Erik Weber
Ivan, as you can see I've tried everything I can think of. Perhaps when I have more time I will mess around with it some more, but it's easier just to use JBoss. I appreciate your help (and Kris's). Erik Ivan Vasquez wrote: Also, the name under which it gets to conf/Catalina/localhost is .xml In

Re: After sesion invalidate cannot find bean

2004-08-31 Thread Erik Weber
Seemingly (I haven't done this but actually I need to and probably will try it): 1) extend org.apache.struts.action.RequestProcessor 2) override either the processPreprocess method, or the processMapping method, either of which is invoked *before* processActionForm 3) in processPreprocess, issue

Re: After sesion invalidate cannot find bean

2004-08-31 Thread Ricardo Andres Quintero
It sounds good but i dont know how to do it! can u explain to me how to? On Tue, 31 Aug 2004 17:30:44 -0400, Erik Weber wrote > Perhaps you could override one of the RequestProcessor methods, and > check for the existence of a known Session attribute, before Struts > tries to work with the nonex

RE: Classloading problem

2004-08-31 Thread Ivan Vasquez
Also, the name under which it gets to conf/Catalina/localhost is .xml Inside, path and docBase are untouched. No war extensions anywhere. BTW, these are tomcat 5.0.16, just in case. -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 5:17 PM To:

Re: After sesion invalidate cannot find bean

2004-08-31 Thread Erik Weber
Perhaps you could override one of the RequestProcessor methods, and check for the existence of a known Session attribute, before Struts tries to work with the nonexistent form? Erik Ricardo Andres Quintero wrote: Hello Guys i notice this error that when the session expirates, if an action that u

Re: Classloading problem

2004-08-31 Thread Erik Weber
You are using Tomcat 5.0.27? Erik Ivan Vasquez wrote: Yes. And I just deployed a war with my config to another server to double-check. -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 5:17 PM To: Struts Users Mailing List Subject: Re: Classloadi

RE: Classloading problem

2004-08-31 Thread Ivan Vasquez
Yes. And I just deployed a war with my config to another server to double-check. -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 5:17 PM To: Struts Users Mailing List Subject: Re: Classloading problem [eweber]$ jar tf $TOMCAT_HOME/webapps/Foo.

Re: SecurityFilter Question?

2004-08-31 Thread struts Dude
Thanks robert. Greatly appreciated. Now has anyone tried to put login form on every page of site if user hasn't login with STRUTS? Say, put a small login form on left hand column menu/navigational bar. Is there anything I need to look out for? - Original Message - From: "Robert Taylor

Re: Classloading problem

2004-08-31 Thread Erik Weber
[eweber]$ jar tf $TOMCAT_HOME/webapps/Foo.war . . . META-INF/context.xml META-INF/MANIFEST.MF . . . Right? Erik Ivan Vasquez wrote: Erik, here goes my context.xml, Tomcat renames it the same as the app's directory. I assume your Tomcat has autodeploy enabled.

Re: Classloading problem

2004-08-31 Thread Erik Weber
Here is mine, which does not work: factory org.apache.commons.dbcp.BasicDataSourceFactory maxActive 100 maxIdle 30 maxWait 1

Re: After sesion invalidate cannot find bean

2004-08-31 Thread James Mitchell
> How can i solve this problem? You can have some way of catching this so the user won't see this error. I use a meta tag that makes the page redirect to /logon.do after the (configurable) timeout has expired (this happens client side and no javascript required). -- James Mitchell Software Engi

After sesion invalidate cannot find bean

2004-08-31 Thread Ricardo Andres Quintero
Hello Guys i notice this error that when the session expirates, if an action that uses a beanform is requested, and validate is true, the framework normally tries to execute the validate method of the bean, but you know the beanform just doesnt exist anymore, but the request can not be treated for

After sesion invalidate cannot find bean

2004-08-31 Thread Ricardo Andres Quintero
Hello Guys i notice this error that when the session expirates, if an action that uses a beanform is requested, and validate is true, the framework normally tries to execute the validate method of the bean, but you know the beanform just doesnt exist anymore, but the request can not be treated for

Re: 1.2.2 validator problem in websphere

2004-08-31 Thread James Mitchell
Just for sanity sake, I reconfigured Eclipse to build with 1.3.1 and found one more place with 1.3.1 incompatibilities. Same issue with Boolean, but in a different spot (Tiles). I have fixed that also. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM

File Upload and DynaForms

2004-08-31 Thread Ryan Tyer
Is it possible to use dynaforms to setup file upload? If so, any tips? Thanks in advance. R - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Classloading problem

2004-08-31 Thread Ivan Vasquez
Erik, here goes my context.xml, Tomcat renames it the same as the app's directory. I assume your Tomcat has autodeploy enabled. factory org.apache.commons.dbcp.BasicDataSourceFactory driverClassName

Re: Classloading problem

2004-08-31 Thread Erik Weber
I have tried this repeatedly. I am using the same Foo.xml file that does work when placed in conf/Catalina/localhost/. I have tried with and without the path and docBase attributes to the Context element. I have renamed the file to context.xml and it is in META-INF in my war file. I have also t

Re: Classloading problem

2004-08-31 Thread Kris Schneider
Hang on, my bad - it should be /META-INF/context.xml. So, rename Foo.xml to be context.xml and place it in *META-INF*. Quoting Erik Weber <[EMAIL PROTECTED]>: > Kris, this is from context.html in the Tomcat 5 docs:* > > Please note that for tomcat 5.x, unlike tomcat 4.x, it is NOT > recommended

Re: Is Tiles the right way to go?

2004-08-31 Thread John Plate
Hi Craig > > I am trying to learn Tiles. > > Is Tiles the right way to go with Struts? > > Should I study other tool before sticking with Tiles? ... > It is impossible to give you any useful help on this question > without understanding what you are trying to accomplish with (or > without) Tiles,

RE: Classloading problem

2004-08-31 Thread Ivan Vasquez
Thanks for your answer, that explains it all. Yes, we were trying to clean server.xml and to avoid server restarts every time something changes (e.g. db connection pool info). Context was directly cut and pasted into the local META-INF/context.xml. But Tomcat gets it only when you create a .war

Re: Classloading problem

2004-08-31 Thread Erik Weber
Kris, this is from context.html in the Tomcat 5 docs:* Please note that for tomcat 5.x, unlike tomcat 4.x, it is NOT recommended to place elements directly in the server.xml file.* Instead, put them in the META-INF/context.xml directory of your WAR file or the conf directory as described above.

Re: Classloading problem

2004-08-31 Thread Kris Schneider
Can you provide some more detail on the problems you're running into with using WEB-INF? I've got a simple one lying around here somewhere... WEB-INF/context.xml: Seems to work fine with TC 5... Quoting Erik Weber <[EMAIL PROTECTED]>: > Also, since you appear to

Re: Classloading problem

2004-08-31 Thread Erik Weber
Also, since you appear to be trying to follow the documenation, have you ever gotten a Context XML file placed within the META-INF directory of your web app to work? I can't get this to work (I have gotten them to work when placed in the conf directory -- though I had to learn the hard way to t

Re: Questions on logging

2004-08-31 Thread Craig McClanahan
On 31 Aug 2004 15:43:29 +0800, Sebastian Ho <[EMAIL PROTECTED]> wrote: > Hi > > I am in the stage of implementing logging in my struts application. I > have been reading online but have some questions unanswered. > > 1. Action class should be thread-safe. Therefore no static variable, I > should

Re: 1.2.2 validator problem in websphere

2004-08-31 Thread James Mitchell
That works for me. I'll make the change unless anyone disagrees. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Kris Schneider" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Se

Re: Classloading problem

2004-08-31 Thread Erik Weber
This is from the JDBC DataSource howto: DBCP uses the Jakarta-Commons Database Connection Pool. It relies on number of Jakarta-Commons componenets: * Jakarta-Commons DBCP 1.0 * Jakarta-Commons Collections 2.0 * Jakarta-Commons Pool 1.0 These jar files along with your the jar file for you

Re: 1.2.2 validator problem in websphere

2004-08-31 Thread Kris Schneider
I was gonna post this suggestion anyway, but here's something that will work with JDK 1.3 and is in the spirit of avoiding the creation of Boolean instances. Instead of: new Boolean(this.stopOnFirstError) How about something like: (this.stopOnFirstError ? Boolean.TRUE : Boolean.FALSE) Or create

Re: 1.2.2 validator problem in websphere

2004-08-31 Thread James Mitchell
Ok, so without looking, my proposed fix is basically putting it back to the way it wasnow that's sad. Martin, what should we do with this? -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Michael Nasc

RE: [ANN] Struts 1.2.2 release is now available for download.

2004-08-31 Thread Hollaway, Shedrick CIV (TRFKB C600)
A big thanks to you James for your leadership and all involved your labor :-D Shed. > -Original Message- > From: James Mitchell [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 31, 2004 10:19 AM > To: Struts Users Mailing List > Cc: Struts Developers List > Subject: [ANN] Struts 1.2.2 rel

RE: Initial invocation (HTTP GET) Instantiates an Action, but does not invoke execute(...)

2004-08-31 Thread Jim Barrows
> -Original Message- > From: Sheehan, Andrew [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 31, 2004 10:43 AM > To: [EMAIL PROTECTED] > Subject: Initial invocation (HTTP GET) Instantiates an > Action, but does > not invoke execute(...) > > > Good Afternoon, > > > > > > An ins

Re: 1.2.2 validator problem in websphere

2004-08-31 Thread Michael Nascimento Santos
This is the only difference from 1.25 to 1.26 (file version) http://cvs.apache.org/viewcvs.cgi/jakarta-struts/src/share/org/apache/struts/validator/ValidatorPlugIn.java?r1=1.25&r2=1.26&diff_format=h BTW, the log for 1.26 says: * Use Boolean.valueOf() instead of creating new instances. That is

Re: 1.2.2 validator problem in websphere

2004-08-31 Thread James Mitchell
I would propose this as the fix [EMAIL PROTECTED] ~/cvs/jakarta-struts $ cvs diff -u src/share/org/apache/struts/validator/ValidatorPlugIn.java Index: src/share/org/apache/struts/validator/ValidatorPlugIn.java === RCS file: /home/

[OT] Sorry could not resist [was RE: [OT] Tomcat MD5 Authenticati on ]

2004-08-31 Thread Pilgrim, Peter
> -Original Message- > From: klute [mailto:[EMAIL PROTECTED] ==///== > have not done it myself but hopefully this thread is > of some help.. [ Now, I remember ... ] Klute Weren't you the tearful little girl who found herself left alone after all the settlers had been murdered on the

Initial invocation (HTTP GET) Instantiates an Action, but does no t invoke execute(...)

2004-08-31 Thread Sheehan, Andrew
Good Afternoon, An instance of a my Action class only has its' constructor firing when the ActionServlet first loads it, when the execute(...) function should be invoked at some point afterward. I do not have any need for a ActionForm with this specific request; only that the request must p

Re: 1.2.2 validator problem in websphere

2004-08-31 Thread James Mitchell
Let's get this into bugzilla so we can get it fixed quickly. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Michael Nascimento Santos" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]

Re: Identifying the 'clicked' line when iterating over collection

2004-08-31 Thread Rick Reumann
Rick Reumann wrote: To do what you want above would take a slightly different approach. Say you had your ArrayList of Contacts in Session scope and after the user clicked on a link you wanted to edit one of those objects. In this case you wouldn't use the "ID" to look him up you'd have to use th

Re: 1.2.2 validator problem in websphere

2004-08-31 Thread Michael Nascimento Santos
The exception is not clear enough, but it contains most info you need to know: Some code in Struts 1.2.2 [probably org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:169)] is using Boolean.valueOf(boolean), which was added in Java 1.4. It is pretty simple to fix that one if that

Re: 1.2.2 validator problem in websphere

2004-08-31 Thread James Mitchell
What steps did you take when you upgraded? What library and files did you replace? -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 31, 200

RE: Iterating over collection ...

2004-08-31 Thread eid4k
Thanks Jim, the reply Daniel Perry posted worked/ I have done it your way earlier nad it did not produce the correct output. Have look (if you care at Daniel Perry's reply. It did produce the correct outpu. Thanks anyway Karim "Jim Barrows" <[EMAIL PROTECTED]> wrote: > > >> -Original Mes

RE: Classloading problem

2004-08-31 Thread Ivan Vasquez
Sure, in common/lib it works well. But from Tomcat docs: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html The following rules cover about 95% of the decisions that application developers and deployers must make about where to place class and resource files to make them avail

RE: Iterating over collection ...

2004-08-31 Thread eid4k
Thanks Daniel, this worked. I have tried nesting a iterate tag earlier today but I wasn't setting it correct. Thanks for the answer. Regards Karim PS: Thanks to the other replies too. "Daniel Perry" <[EMAIL PROTECTED]> wrote: >You need to nest another iterate'er in order to iterate through

Re: Identifying the 'clicked' line when iterating over collection

2004-08-31 Thread Rick Reumann
andy wix wrote: session). To get the ID would be something, but it would save me needing an action class at all if I could get the contact object representing the 'clicked' row into the session or request scope. To do what you want above would take a slightly different approach. Say you had you

Re: Classloading problem

2004-08-31 Thread Erik Weber
I have been using 5.0.27, putting my JDBC drivers in common/lib, and my struts jars in WEB-INF/lib of each application, and haven't had any problems. Why do you say "incorrectly"? Erik Ivan Vasquez wrote: We have Tomcat 5.0.16 and were incorrectly placing common jars (such as JDBC drivers) in /c

RE: Iterating over collection ...

2004-08-31 Thread Daniel Perry
You need to nest another iterate'er in order to iterate through the inner list for each object:                 Daniel. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 31 August 2004 17:48 > To: [EMAIL PROTECTED] > Subject: Iterating over c

Re: Iterating over collection ...

2004-08-31 Thread Erik Weber
Don't you want a nested iteration of the second ArrayList, similar to the iteration you already have? Erik [EMAIL PROTECTED] wrote: Hello there I am having some issue getting the correctly output while iterating over my collection I'm doing the following: I'm iterating over an processList(ArrayLi

Classloading problem

2004-08-31 Thread Ivan Vasquez
We have Tomcat 5.0.16 and were incorrectly placing common jars (such as JDBC drivers) in /common/lib. Now we just moved them to /shared/lib (for truly common stuff) and WEB-INF/lib, but now all applications complain giving a java.lang.ClassNotFoundException, just like if things weren't in Tomcat'

RE: Iterating over collection ...

2004-08-31 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 31, 2004 9:48 AM > To: [EMAIL PROTECTED] > Subject: Iterating over collection ... > > > Hello there > > I am having some issue getting the correctly output while > iterating over my collec

Iterating over collection ...

2004-08-31 Thread eid4k
Hello there I am having some issue getting the correctly output while iterating over my collection I'm doing the following: I'm iterating over an processList(ArrayList) which contains 4 objects of type ProcessBO. ProcessBO has 3 attributes; int ID String name ArrayList tasklist The tasklist

Re: html:errors for indexed properties

2004-08-31 Thread dhay
Do you want to supply a patch?! |-+> | | Milind Rao | | | <[EMAIL PROTECTED]| | | m> | | || | | 08/31/2004 09:40 | | |

RE: Identifying the 'clicked' line when iterating over collection

2004-08-31 Thread Daniel Perry
I would do somthing like the following: ${contact.name} ${contact.number} Modify The action modifyContact should load the contact with the specified id, "ID" is available by String ID = request.getParameter("ID"); The action the

RE: Identifying the 'clicked' line when iterating over collection

2004-08-31 Thread Jim Barrows
> -Original Message- > From: andy wix [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 31, 2004 9:19 AM > To: [EMAIL PROTECTED] > Subject: Re: Identifying the 'clicked' line when iterating over > collection > > > Hi, > > I have tried most of the code in the replies and, alas, fear >

Struts-faces form input with rendered attribute set

2004-08-31 Thread Xav DECO
Craig, All, I would like to discuss the issue I have entered in Bugzilla (issue #30511) with title “Struts-faces form input with rendered attribute set” that you put invalid a while ago. I am first going to rewrite the issue and I will try to explain where I do not find things logical. First o

Re: Identifying the 'clicked' line when iterating over collection

2004-08-31 Thread andy wix
Hi, I have tried most of the code in the replies and, alas, fear my brain is too small to get any working. I am persevering with Rick Reumann's method (because I liked the Struttin' with Struts stuff!) but I don't get a session parameter in my next page after the link is followed (I have changed

RE: including one layout .jsp inside another?

2004-08-31 Thread Jim Barrows
> -Original Message- > From: Bill Schneider [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 31, 2004 8:54 AM > To: [EMAIL PROTECTED] > Subject: Re: including one layout .jsp inside another? > > > I raised exactly the same question on this list a week or two > ago. I'm > glad to see

Re: including one layout .jsp inside another?

2004-08-31 Thread Bill Schneider
I raised exactly the same question on this list a week or two ago. I'm glad to see someone else attempting the same thing. Two workarounds came out of that discussion--structure your tiles defs differently, or futz with and . The first approach doesn't scale well, because for every page that

1.2.2 validator problem in websphere

2004-08-31 Thread andmer
I'm getting this error migrating to 1.2.2 from 1.1 in Websphere 5.0.x which is running in the 1.3 JVM. [8/31/04 11:42:19:686 EDT] 5d4abeff ValidatorPlug I org.apache.struts.validator.ValidatorPlugIn Loading validation rules file from '/WEB-INF/validation.xml' [8/31/04 11:42:20:139 EDT] 5d4

RE: Is Tiles the right way to go?

2004-08-31 Thread Jim Barrows
> -Original Message- > From: PC Leung [mailto:[EMAIL PROTECTED] > Sent: Monday, August 30, 2004 8:58 PM > To: [EMAIL PROTECTED] > Subject: Is Tiles the right way to go? > > > I am trying to learn Tiles. > Is Tiles the right way to go with Struts? > Should I study other tool before stick

RE: Submit to 3rd party URL after completing Action

2004-08-31 Thread Daniel Perry
Whenever i come accross this, i put a 'confirmation' screen, with all the details repeated, and a 'pay now' button that submits the (hidden) form to the external site. Daniel. > -Original Message- > From: Christoph Kutzinski [mailto:[EMAIL PROTECTED] > Sent: 31 August 2004 16:17 > To: St

Re: Patterns in struts.

2004-08-31 Thread Michael McGrady
Someone else taking this exam already got the answers on this list. ///8-) Check the archives, unless you want to do it yourself. LOL nitin dubey wrote: Hello folks, I just want to know the list of patterns that we are using while implementing struts with tiles framework. I have just started

Re: Submit to 3rd party URL after completing Action

2004-08-31 Thread Christoph Kutzinski
I'm currently trying to do something similar. Therefore I would like to share my thoughts: Relying on javascript for business critical functions (and if payment is not a business critical function, what is?) is IMO NEVER a good idea, because it is not fail-proof at all. What only if the user ha

RE: Learning the basics

2004-08-31 Thread Daniel Perry
It's generally best practice not to tie layers in together. Assume that you have your DAOs that are aware of ActionForm (or subclasses), in constructors, or methods. Now say you want to use the same DAOs in a standalone app. In order to do that, you are going to have to include the struts jar, a

RE: Submit to 3rd party URL after completing Action

2004-08-31 Thread Richard Aukland
Many thanks to Bill and Partha for your suggestions. I used the javascript (2nd) technique because I am currently more familiar with it. It is now working. :) Cheers Richard If you use redirect to the payment url, the data in the form is in the session in your site and not the external sit

Re: Will the Struts 1.2.2 jar be available Apache's Maven Repository?

2004-08-31 Thread James Mitchell
I've already started on it..should be done in a minute. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Joe Germuska" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tues

Re: Will the Struts 1.2.2 jar be available Apache's Maven Repository?

2004-08-31 Thread Joe Germuska
At 10:33 AM -0400 8/31/04, Paul Spencer wrote: Will the Struts 1.2.2 jar be available Apache's Maven Repository? http://www.apache.org/dist/java-repository/struts/jars/ The preferred repository would continue to be iBiblio. James, do you want me to do the deployment to the Maven mirror directory

RE: Learning the basics

2004-08-31 Thread bmf5
Chris, In our app we're building a model object Assignment from a dao object AssignmentDAO. We then fill the form AssignmentForm from the model object. All this is controlled from the AssignmentAction. I think I've recently read that in general a "lower" layer should not be aware of a "highe

Will the Struts 1.2.2 jar be available Apache's Maven Repository?

2004-08-31 Thread Paul Spencer
Will the Struts 1.2.2 jar be available Apache's Maven Repository? http://www.apache.org/dist/java-repository/struts/jars/ BTW: Thank you for the release! Paul Spencer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

[ANN] Struts 1.2.2 release is now available for download.

2004-08-31 Thread James Mitchell
The Apache Struts team is extremely proud to announce the availability of Struts 1.2.2. This release represents the first "official" release available for General Availability since Struts 1.1. You can find all of the features, enhancements, and bug fixes in the release notes listed below. I wou

Re: html:errors for indexed properties

2004-08-31 Thread Lynn Stevens
instead of the scriptlet, I think you could use html-el and do the following: The el notation forces the ndx to evaluate From: Bill Siggelkow <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: html:errors for indexed properties Date:

RE: validate in ActionForm not working for errors

2004-08-31 Thread struts lover
what is your directory structure ??? Are you giving the correct relative path for the input parameter --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Saurabh Bhatla > [mailto:[EMAIL PROTECTED] > > Sent: Monday, August 30, 2004 2:52 PM > > To: Struts

Struts 1.2.2 is up

2004-08-31 Thread struts lover
Hi Everyone, Struts 1.2.2 is up and available. http://struts.apache.org/acquiring.html __ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail

Re: html:errors for indexed properties

2004-08-31 Thread Milind Rao
Worked well. Thanks. Used html:errors instead of the message for brevity. It would have been nice if html:errors could have been set with indexed="true". Would have prevented the scriplet and been more consistent. Regards Milind --

RE: Submit to 3rd party URL after completing Action

2004-08-31 Thread Partha Ranjan Das
If you use redirect to the payment url, the data in the form is in the session in your site and not the external site where it is needed. So redirect or forward will not help. Try splitting up this work-flow into two steps: 1. in the first one you write the action class and save the stuff int

RE: NoClassDefFoundError: .../commons/beanutils/Converter

2004-08-31 Thread Robert Shields
NoClassDefFoundError - this means the JVM cannot find the class in question. You need to make this class available to the JVM by adding the commons-beanutils JAR to the WEB-INF/lib directory. Rob -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: 31 August 2004 14:01

NoClassDefFoundError: .../commons/beanutils/Converter

2004-08-31 Thread Caroline Jen
What am I missing? I got the following error java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter What should I do? ___ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush --

Re: The jar files in the C:\jakarta-struts-1.1\contrib\struts-el\lib directory

2004-08-31 Thread Caroline Jen
How do I check the message history for yesterday's message? --- Yves Sy <[EMAIL PROTECTED]> wrote: > Hi, > > There's a long thread about that just yesterday. > Check the messages history. > > -Yves- > > On Tue, 31 Aug 2004 04:36:57 -0700 (PDT), Caroline > Jen > <[EMAIL PROTECTED]> wrote: > > Th

RE: Learning the basics

2004-08-31 Thread Daniel Perry
If you want to follow common java 'patterns' then try to find some info about data access objects (DAOs), data transfer objects (DTOs or TOs), and view objects (VOs). That should point you in the right direction. Basically, they are javabeans! Daniel. > -Original Message- > From: news [m

Re: Learning the basics

2004-08-31 Thread Bill Siggelkow
Chris -- Struts knows nothing of the model -- the subject you need to learn is Java database programming. There are many different tutorials on this -- a good one can be found at http://java.sun.com/docs/books/tutorial/jdbc/. Chris Keladis wrote: Hi Kenneth, Everyone. Since we're on the subject

Re: Submit to 3rd party URL after completing Action

2004-08-31 Thread Bill Siggelkow
You are only going to be able to redirect to an external URL. However, when you redirect its a new request so the form data is lost. I would use the Jakarta Commons HttpClient to do the posting. Bill Siggelkow Richard Aukland wrote: Hi, I have a form which must be sent to an external site for pa

Re: Learning the basics

2004-08-31 Thread Emmanouil Batsis
Geia sou re Keladi, Chris Keladis wrote: Hi Kenneth, Everyone. <>Since we're on the subject, using the example being discussed, towards the end of the chain we call findRecords.do which takes us to foundRecords.jsp. [...] I'm having trouble understanding how to get database output from the model t

Re: Learning the basics

2004-08-31 Thread Chris Keladis
Hi Kenneth, Everyone. Since we're on the subject, using the example being discussed, towards the end of the chain we call findRecords.do which takes us to foundRecords.jsp. All well and good. I'm having trouble understanding how to get database output from the model to the view layer? How is th

  1   2   >