Re: what for are nested tags ?

2002-10-28 Thread Marcus Biel
:-) Thx! Simple, but highly efective! :-D marcus [EMAIL PROTECTED] schrieb: > > http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=what+for+are+nested+t > ags&btnG=Google+Search > > James Mitchell > Software Engineer/Struts Evangelist > http://www.open-tools.org -- To unsubscribe, e-mail:

RE: what for are nested tags ?

2002-10-28 Thread James Mitchell
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=what+for+are+nested+t ags&btnG=Google+Search James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." - Albert Einstei

How to make the LazyList Serializable?

2002-10-28 Thread William Wan
I found the nested tag with LazyList is very useful for implementing nested structure form submission. I would like to know is there any simple method to make the LazyList Serializable so that I can store the form object into session? Thanks William

what for are nested tags ?

2002-10-28 Thread Marcus Biel
? thx, marcus -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: form and action in struts-config

2002-10-28 Thread Marcus Biel
Would need to see some of your code... The only idea I got without seeing your code: check your struts-config.xml Or even better: Download James Holmes "Struts Console" to edit your struts-config. (search google) hope this helps, marcus [EMAIL PROTECTED] schrieb: > > Can anyone explain

RE: Problem with multiple html(jsp) pages sharing one form (actionform)

2002-10-28 Thread James Mitchell
No, not in the scenario I described earlier. James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." - Albert Einstein (1879-1955) > -Original Message- > From: Der

Re: error checking in Action

2002-10-28 Thread David Graham
Nice restatement Rob. That's exactly how I see the validation working. I know I'm in trouble when my action class gets too big :-). David From: Rob Leland <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject:

ExceptionHandler & DispatchAction (1.1b1 vs b2)

2002-10-28 Thread Andrew Hill
Been trying to get my first struts ExceptionHandler to work today and just came across another good reason to make the jump from 1.1b1 to 1.1b2. Seems that exceptions thrown in a DispatchAction are handled correctly in 1.1b2 (ie: if possible thrown up where you can process them with an exception h

Re: Problem with multiple html(jsp) pages sharing one form (actionform)

2002-10-28 Thread Derek Lin
James, Are you using the plugin validator to validate your form fields? I am using it. (see my form entry in my validation.xml at the end). Now If I only include a subset of form in one page, the validator will throw exceptions in the backgroud. Are you aware of this? Any workaround other tha

Re: error checking in Action

2002-10-28 Thread Rob Leland
David Graham wrote: Why do you "need" to move error checking into an action? Why not just let the form bean do it's job and validate itself? Have you looked at using the validator? Validation belongs in the form bean; actions' main job is to direct traffic and execute business layer methods.

RE: [OT] Oracle Magazine Java Developer of the Year

2002-10-28 Thread Andrew Hill
Great work James! Good on ya mate! :-) -Original Message- From: Bradley G Smith [mailto:bgsmith01@;fs.fed.us] Sent: Tuesday, October 29, 2002 04:35 To: [EMAIL PROTECTED] Subject: [OT] Oracle Magazine Java Developer of the Year The nov/dec issue of Oracle Magazine has several "person of t

RE: error checking in Action

2002-10-28 Thread Andrew Hill
I do all my validation in the action too - I need a lot of info from the b-tier about such things as which fields are mandatory when, etc... and it proved inconvienient (still quite possible - just required some ugly contortions - especially given some of the evil things Im doing in the RequestProc

RE: [OT] Oracle Magazine Java Developer of the Year

2002-10-28 Thread James Mitchell
That's great!!! Congratulations!! James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." - Albert Einstein (1879-1955) > -Original Message- > From: Vincent Stoessel

Maxlength validation returns null in error message

2002-10-28 Thread Jeff Born
Hi all, I've looking at the struts-example.war in 1.1b2 and when running through the login.jsp page I keep getting the following "username can not be greater than null characters." This happens via the JavaScript validation. I thought maybe it might be JavaScript related, but when I remove

html:cancel problem

2002-10-28 Thread Nicolas Parisé
Hi, I have problem with the html:cancel tag in STRUTS 1.02 I have an Action class that create an instance of a ActionForm, populate it with data and put it in the session (session.setAttribute). Then my action class redirect the request to a JSP page that display the data from the session’s a

Re: error checking in Action

2002-10-28 Thread David Graham
Why do you "need" to move error checking into an action? Why not just let the form bean do it's job and validate itself? Have you looked at using the validator? Validation belongs in the form bean; actions' main job is to direct traffic and execute business layer methods. David From: "

error checking in Action

2002-10-28 Thread Mark Silva
I need to do some extensive error checking, and need to move this into an action class. my question is when i identify an action, how i forward back to the previous page (the same way a form class would). is there a method to take care of this? or do i need to setup all the passed values in th

Re: Using tiles and container managed security/form based login

2002-10-28 Thread Alan P Sexton
I am using logic:forward rather than jsp:forward. I had not checked it but had assumed (perhaps naively) that since that is part of struts, it would be tiles plugin aware. If it is not, then that would certainly explain my symptoms and your suggestion will fix it. Many thanks again. Alan > ...

RE: [Nested Tags] Nested vs logic tags..

2002-10-28 Thread Arron Bates
> Just a hunch-- have you tried specifying a 'name' for the nested:iterate > tag? The nested tags don't need it, and if it's provided they will ignore it. Why?... because all the tags are working off the same bean structure, and this is defined for us by the form tag. The nested tags will fetch

RE: does javascript have a place in mvc & struts

2002-10-28 Thread Joe Germuska
Sorry this might be an elementary question, but im new to jsp and struts. I have done a lot of reading in the last few weeks. I realize that struts is the way to go in terms of following the mvc model. My one question at this time is in regards to form validation. By that i mean when a user enters

RE: does javascript have a place in mvc & struts

2002-10-28 Thread Craig R. McClanahan
You should absolutely, positively, perform validation on the server side regardless of what you might do on the client side. It is not appropriate for a server-side application to trust the client (which might be anything from a browser with JavaScript turned off to a malicious application trying

RE: does javascript have a place in mvc & struts

2002-10-28 Thread Joe Barefoot
Not an elementary question at all, and the answer is: It depends on the situation. ;) First, your business requirements dictate where validation is possible. If you are creating a service-type web application accessible via the Internet to many different kinds of users, then your business requ

Using tiles and container managed security/form based login

2002-10-28 Thread Alan P Sexton
[I have moved this branch of this thread to struts-users as it no longer belongs on struts-dev; was: RE: [SURVEY] HREF attribute for FormTag] Thanks, I should be able to use that advice to fix my problem. However I still don't understand why my approach doesn't work: I have CMS set up on /*. I

RE: does javascript have a place in mvc & struts

2002-10-28 Thread Madel,Kurt
I believe that there is not exactly a consensus. However, the Struts Validator makes it easy to incorporate both. Additionally, many will check the data again in the model layer before it is persisted (i.e. inserted into a database). On the model layer, I use O/R mapping that helps with data inte

RE: action mapping input

2002-10-28 Thread Chen, Gin
Okay, I misunderstood what John was saying and this is what I have: 1) forward "failure" is NOT the same as input which is required if validate="true" 2) input CAN forward to a tiles definition. I looked at the original post and realized that it was pretty ambiguous. what i wanted to do (and it was

does javascript have a place in mvc & struts

2002-10-28 Thread jmattucci
Sorry this might be an elementary question, but im new to jsp and struts. I have done a lot of reading in the last few weeks. I realize that struts is the way to go in terms of following the mvc model. My one question at this time is in regards to form validation. By that i mean when a user enters

RE: [Nested Tags] Nested vs logic tags..

2002-10-28 Thread Jeff_Mychasiw
No I have not. I could be wrong but I am under the assumptiion that the name attribute is used to look for a bean. The documents state that the nested versions of the tags will work the same but allow you exclude specific references to parent tags. I have done this many times: XXX

RE: Struts Validator for multiple Selects

2002-10-28 Thread Madel,Kurt
Oh yeah, the jsp is: Milestone Description: DOE Manager(s):

Re: [OT] Oracle Magazine Java Developer of the Year

2002-10-28 Thread Vincent Stoessel
Congrat, James! I love the console! Bradley G Smith wrote: The nov/dec issue of Oracle Magazine has several "person of the year" awards. The person picked as Java developer of the year is James Holmes for his work on Struts Console. Struts is also mentioned in several articles as a key framework

Token

2002-10-28 Thread Ricardo de Souza Moura
When I need to control transactions, I am using Tokens. I call saveToken() in the Action that forward to a page A. my page A: My Action teste.do is a DispatchAction, so my methodA will run!!! I call: if (isTokenValid(request, true)) {...} All run fine !!! My Question: The first thing

RE: [JSTL] c:out and DynaBeanClass

2002-10-28 Thread Karr, David
> -Original Message- > From: flare [mailto:flare@;flare.it] > Sent: Monday, October 28, 2002 1:26 PM > To: Struts Users Mailing List > Subject: Re: [JSTL] c:out and DynaBeanClass > > > Note that > > DynaBeans aren't strictly JavaBeans (I believe), so it might be > > difficult to patch th

RE: Problem with multiple html(jsp) pages sharing one form (actionform)

2002-10-28 Thread James Mitchell
Hi Derek, Sorry for not getting back sooner. > if you are using the same action and jsp for your wizards, how > are they qualified to be wizards? Whenever I need a wizard-like flow in my application, I use a single action and a single jsp to go from Step 1 to Step n. I can do this by passing a

RE: [OT] Oracle Magazine Java Developer of the Year

2002-10-28 Thread Kevin . Bedell
Here's the link: http://otn.oracle.com/oramag/oracle/02-nov/o62awards.html#JAMES "Assenza, Chris" <[EMAIL PROTECTED]> on 10/28/2002 03:34:33 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To:"'Struts Users Mailing List'" <[EMAIL PROTECTED]> cc: (bcc:

Re: [JSTL] c:out and DynaBeanClass

2002-10-28 Thread flare
Note that > DynaBeans aren't strictly JavaBeans (I believe), so it might be > difficult to patch them into the JSTL. JSTL supports dynabeans transparently -- To unsubscribe, e-mail: For additional commands, e-mail:

Struts Validator for multiple Selects

2002-10-28 Thread Madel,Kurt
We have a multiple select that is required. The following works on server side, but not client side: If changed to the following, it is caught on the server side, but no message is printed:

RE: Submit Using and

2002-10-28 Thread Wendy Smoak
> Is there a struts tags for an input image? Assuming you mean a SUBMIT button with an image on it instead of text, here's what I'm using: And here's the style that goes with it: .addButton { background-image:url(images/add.gif); background-position:center; background-r

RE: Submit Using and

2002-10-28 Thread David Graham
http://jakarta.apache.org/struts/userGuide/struts-html.html#image In the future, check the users guide first. David From: "Madel,Kurt" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subject: RE: Submit Using an

RE: Submit Using and

2002-10-28 Thread Madel,Kurt
Is there a struts tags for an input image? Kurt Madel Programmer, CSMi (703) 823-4300 ext. 170 -Original Message- From: David Graham [mailto:dgraham1980@;hotmail.com] Sent: Monday, October 28, 2002 3:44 PM To: [EMAIL PROTECTED] Subject: RE: Submit Using and You can use an element fo

RE: Submit Using and

2002-10-28 Thread David Graham
You can use an element for image submit buttons. You don't need a link around an image. David From: "Madel,Kurt" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subject: RE: Submit Using and Date: Mon, 28

RE: [OT] Oracle Magazine Java Developer of the Year

2002-10-28 Thread Assenza, Chris
That's great, congrats James! Chris -Original Message- From: Bradley G Smith [mailto:bgsmith01@;fs.fed.us] Sent: Monday, October 28, 2002 3:35 PM To: [EMAIL PROTECTED] Subject: [OT] Oracle Magazine Java Developer of the Year The nov/dec issue of Oracle Magazine has several "person of th

RE: [Nested Tags] Nested vs logic tags..

2002-10-28 Thread Taylor, Jason
Just a hunch-- have you tried specifying a 'name' for the nested:iterate tag? -Original Message- From: [EMAIL PROTECTED] [mailto:Jeff_Mychasiw@;nlgroup.ca] Sent: Monday, October 28, 2002 8:03 AM To: [EMAIL PROTECTED] Subject: [Nested Tags] Nested vs logic tags.. Greetings: I am a

[OT] Oracle Magazine Java Developer of the Year

2002-10-28 Thread Bradley G Smith
The nov/dec issue of Oracle Magazine has several "person of the year" awards. The person picked as Java developer of the year is James Holmes for his work on Struts Console. Struts is also mentioned in several articles as a key framework component in the same issue. Brad -- To unsubscribe, e-ma

prefill form with session data?

2002-10-28 Thread Albrecht Berger
Hello, I need to set specific userdata read from a session in an ActionForm in the form's reset method. Could there be any conflicts with userdata from other users which use the form at the same time ? Thx berger -- To unsubscribe, e-mail:

Re: Can validator mask rule be made optional

2002-10-28 Thread Dan Tran
The nightly build on 10/25 solves this problem or you can just edit validation-rules.xml and remove the "required" dependency -Dan - Original Message - From: "Halvorson, Loren" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 28, 2002 9:45 AM Subject: Can validator mask r

form and action in struts-config

2002-10-28 Thread Vankineni, Naga X
Can anyone explain me why I get this problem... I have my action and form defined in the struts-config.xml.. Now in my jsp page when I enter a value in the text-box and try to see the value in my action using debugger, I don't see that value in my form and all i see is the reset value defined in th

RE: Submit Using and

2002-10-28 Thread Madel,Kurt
Yes, I suppose so but the powers beyond me like the way they look. On the plus side, you can then use a link for cancel that href's an action. Also, this would work well if you wanted to use an image for submit purposes. Kurt Madel Programmer, CSMi (703) 823-4300 ext. 170 -Original Message

RE: Stop auto fill in

2002-10-28 Thread Chen, Gin
Hi Billy, Sorry I might be providing an answer you already found. The email said that users enable this. That's partly true. You can also set AUTOCOMPLETE="off" to never have it autocomplete. So the syntax would be now u just have to translate it to html:input. -Tim :) -Original Messa

RE: Submit Using and

2002-10-28 Thread David Graham
I don't think it's a good idea to use hyperlinks for form submission but I'm glad you got it to work. David From: "Madel,Kurt" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subject: RE: Submit Using and Da

RE: Submit Using and

2002-10-28 Thread Madel,Kurt
If anyone is interested, I figured this out. Of course this is a basic JavaScript problem so I understand not getting a response on the Struts list. Never the less, I feel that it pertains enough for a solution to be submitted. onSubmit is not called if you use JavaScript to submit a form. Ra

RE: how can I do it? using validation without formset.

2002-10-28 Thread James Mitchell
If you do not know what the field names are before displaying the page, how could you possibly validate them? Are you storing the validation in the database as well? If so, it sounds like you need to develop your own custom validation. Sorry I can't help you further. FWIWgood luck. James Mi

Re: Huge action instance synchronization problem

2002-10-28 Thread Craig R. McClanahan
As others have pointed out, 99.9% of this kind of a problem comes from using class-level instance variables (also called member variables) to store information that is specific to a particular request. This fails because there is only one instance of the Action, so the instance variables are share

Can validator mask rule be made optional

2002-10-28 Thread Halvorson, Loren
Currently we are using the validator-rules.xml that comes with the Struts 1.1 distribution. We have several situations where we have fields we need to conform to a pattern _if_ the user enters data, but the fields are not required (ex: phone number, e-mail). We noticed that the mask validation ru

RE: Struts 1.1b1 with WAS 3.5.4

2002-10-28 Thread David Graham
I don't know how to make struts work with a 1.0 parser. In this case, I would inform my client that the container they're using has this limitation and to work around it you need to alter the config file. David From: CHARRIER Sébastien <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing

RE: Struts 1.1b1 with WAS 3.5.4

2002-10-28 Thread CHARRIER Sébastien
Each application deployed on WAS has in its classpath the jar which contains the xml parser 1.0. The problem is that I can only append libraries to this classpath. I can't add at the begining of this classpath the xml parser 1.1 to make the applications use it. I know that a solution would be to u

Re: Struts 1.0.2, Tomcat 4.1.12 Web-App start-up funny

2002-10-28 Thread David Graham
I suggest you develop with tomcat 4.1.12 since you're deploying on that version. It will make your life easier with less surprises. You should check what object is stored under org.apache.struts.taglib.html.BEAN in the request. It may not be the bean you think it is. David From: "Axtel

Struts 1.0.2, Tomcat 4.1.12 Web-App start-up funny

2002-10-28 Thread Axtell, Neil
A plea for help to the great Struts User community. I'm in the process of deploying our first Struts-enabled Web-App onto a separate Staging Server. This is running Win 2K SP3, JDK 1.4.1 & Tomcat 4.1.12. Everything works fine when I first deploy my WAR file and start Tomcat. It is unpacked corre

Re: Struts 1.1b1 with WAS 3.5.4

2002-10-28 Thread David Graham
Why can't struts use 1.1 while WAS uses 1.0? Also, why are you on beta 1? David From: CHARRIER Sébastien <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subject: Struts 1.1b1 with WAS 3.5.4 Date: Mon, 28 Oct

RE: Serialization question...

2002-10-28 Thread Gideon, Thomas
It's in the Java Language Specification, section 8.3.1.3 but I ran across it myself in some book or other (couldn't remember which so I dug into the spec). http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html#7811 9 Thomas Gideon Sr. Software Developer B2eMarkets 301.230.2236

Struts 1.1b1 with WAS 3.5.4

2002-10-28 Thread CHARRIER Sébastien
Hi, My Struts 1.1b1 application must be deployed on a Websphere Application Server 3.5.4 on Solaris. I know there is a problem with the XML parser: WAS use a parser compatible to JAXP 1.0 whereas Struts 1.1b1 use a parser compatible to JAXP 1.1. The problem is that my client doesn't allow me to

Re: Serialization question...

2002-10-28 Thread Eddie Bush
Thanks for your edification, Mr. Graham ;-) I'd never had call to use that one before. David Graham wrote: You can use the transient keyword in a class to mark un-serializable members so that the rest of the class is serializable. For example, if your class had a variable private Connection

RE: JAXP version 1.1

2002-10-28 Thread Haseltine, Celeste
My thanks to everyone who responded. I've got a copy now. Celeste -Original Message- From: Haseltine, Celeste [mailto:CHaseltine@;magticket.com] Sent: Friday, October 25, 2002 3:13 PM To: 'Struts Users Mailing List' Subject: JAXP version 1.1 This is a little off topic, but does anyone

Re: Serialization question...

2002-10-28 Thread David Graham
You can use the transient keyword in a class to mark un-serializable members so that the rest of the class is serializable. For example, if your class had a variable private Connection conn; your class would not be serializable because the sql Connection class isn't. So you do this: private

Re: javax.servlet.jsp.JspException: No getter method for property Username ofbean org.apache.struts.taglib.html.BEAN

2002-10-28 Thread David Graham
Make sure your variable is named "username" and it has a getter named "getUsername" and a setter "setUsername". David From: "Ananya Bhushan, Noida" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: javax.servlet.jsp.JspException: No

Re: Serialization question...

2002-10-28 Thread Eddie Bush
I don't see anything regarding serialization that talks about a possibility to mark members as transient. Would you happen to have references Thomas? Gideon, Thomas wrote: Can't you also mark your members as transient if you don't want them serialized? So shouldn't a combination of Serializab

RE: [Tiles] Using Tiles Parameter in

2002-10-28 Thread Chen, Gin
Hi Jerry, I had the same problem before and this is the solution that I got using importAttribute: You can also use tiles:useAttribute and assign it an id to use later. -Tim -Original Message- From: Jerry Jalenak [mailto:Jerry.Jalenak@;LABONE.com

javax.servlet.jsp.JspException: No getter method for property Username of bean org.apache.struts.taglib.html.BEAN

2002-10-28 Thread Ananya Bhushan, Noida
hi frnz, I'm a newbie to struts so my question can be a bit novice. I'm trying to use the frame work to build a small login screen. i'm deploying it in weblogic 7.0. the war file gets deployed and on calling the login.jsp it gives me an error:-- javax.servlet.jsp.JspException: No getter m

[Nested Tags] Nested vs logic tags..

2002-10-28 Thread Jeff_Mychasiw
Greetings: I am almost exclusively using nested tags. Every now and then I run into a problem and have to switch over the corresponding logic or bean version. Can anyony tell me if this is a bug? I am using 1.1b2 I tried this with nested:equal but got a NullPointerException (listed below)

Checkbox column and paging.

2002-10-28 Thread Susan Bradeen
I have a JSP table that contains a checkbox column used for multiple selection, which returns the selected item(s) Id value to a String array in my ActionForm bean. Happily, this is working. However, my problem is with paging. I am using the Display Tags to display my table, with a Decorator to

RE: nested:iterate recursion inverts tree

2002-10-28 Thread Steve Hall
Arron, Weblogic 5.1 sp11 is running JSP spec 1.1. It sounds like that is the root of my problem. I'll just 'manually' nest my jsp until we get upgraded to Weblogic 7. Then I'll come back and implement the recursion. Thanks for your time! Steve -Original Message- From: Arron

RE: how can I do it? using validation without formset.

2002-10-28 Thread Arik Levin ( Tikal )
Because my fields are coming from the DB and I don't know the field's names, yet. I'm using struts syntax for example So in that way I can't use the descriptor (validation.xml). How can I do it thru the API? Or is there any other suggestions? -Original Message- From: David Graham [mailt

Re: Using tag

2002-10-28 Thread Umberto Nicoletti
On Mon, 2002-10-28 at 09:31, Alok Garg wrote: > Hello, > I am facing a problem using tag. > The case: > 1) I have a Hashtable map which contain an Id (java.lang.Integer) as the Key and >Description (String) as the value. > > 2) I have to iterate this Hashtable and display the values in a selec

Re: Serialization question...

2002-10-28 Thread Eddie Bush
To be honest, I'm not sure. All cases I have needed to use serialization were such that all fields had to be serialized. So ... I can neither confirm nor deny that. It certainly sounds logical though. Gideon, Thomas wrote: Can't you also mark your members as transient if you don't want them

is there a way to use Oracle JDBC Datasource

2002-10-28 Thread Petit, Yannick (FR, Ext:Oxymel)
Hi, I'm new to struts, and looking for it to decide use it or not for our new Dev in J2ee MVC² Project. Our most imprtant requirement is to interact with Oracle (8i) Database so for powerfull Apps ( Large Corporate Intranet) we planned to use the Oracle JDBC Datasource and most particularly the Or

[Tiles] Using Tiles Parameter in

2002-10-28 Thread Jerry Jalenak
I'm trying to find a way to pass a parameter from a tiles definition into a JSP so I can use to check the parameter and then render the appropriate 'chunk' of JSP. I can pass the parameter from my base definition to my tile by using ; when I use to retrieve it I don't seem to be able to use it i

RE: Huge action instance synchronization problem

2002-10-28 Thread James Mitchell
As Andrew pointed out, you are probably using a class level (member) variable. Can you move this to the execute method and retest? Also, you should seriously consider what Sri has posted as well. James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org "Only two things are i

RE: Serialization question...

2002-10-28 Thread Gideon, Thomas
Can't you also mark your members as transient if you don't want them serialized? So shouldn't a combination of Serializable and transient properties also meet the requirement for serializing the object itself? Just curious if anyone is even using the transient keyword... Thomas Gideon Sr. Softwar

Re: tiles problem with tomcat 4.1.12

2002-10-28 Thread Marco Machmer
Am Freitag, 25. Oktober 2002 13:58 schrieb Marco Machmer: > Am Freitag, 25. Oktober 2002 12:31 schrieb Hue Holleran: > > Hi, > > > > We had a few probs getting tiles to run with Tomcat 4.1.12 but have now > > sorted all those issues - to be honest some were with Java Sec Mgr, some > > with the tile

Re: static pages

2002-10-28 Thread John Nicholas
Andrew Hill wrote: Barracuda? -Original Message- From: James Mitchell [mailto:jmitchtx@;telocity.com] I'm not here to argue about Struts' performance. Anyone who chooses another framework over Struts either doesn't need Struts or they don't know what it has to offer. I have yet to meet

Re: Serialization question...

2002-10-28 Thread Eddie Bush
Does the form contain any fields which do not implement Serializable? If so that makes the form unable to be serialized. In order for an object to be serializble both that object and *all* fields it contains *must* implement Serializable. It cascades too, so the fields' fields (if they are no

Tiles factory=''

2002-10-28 Thread Roland Carlsson
Hi! I get an error that I fails to trace to the source so I would appreciate if anyone please could point me in the right direction. Thanks in advance Roland Carlsson 2002-10-28 15:45:39 action: Tiles definition factory loaded for processor ''. 2002-10-28 15:45:39 jsp: init 2002-10-28 15:45:35

Serialization question...

2002-10-28 Thread Ryan Cornia
In my web application, I have all of my forms declared as - public final class extends org.apache.struts.validator.ValidatorForm implements Serializable { } In my tomcat 4.1.12 logs, however, I keep getting errors - "Cannot serialize session attribute " Do I need to write a serializati

RE: re. i18n

2002-10-28 Thread Jeff Born
Thanks for all the information from everyone. My problem came from not understanding where I needed to place the UTF-8 line below. I had placed this line in all the included jsp, but not the wrapper jsp. Without being in the highest level JSP it did not load correctly. Once I moved it there eve

RE: [JSTL] c:out and DynaBeanClass

2002-10-28 Thread Parmar, Dipakkumar
sometimes I need to display field value from my DynaValidatorForm based on user role and some criteria. For example and sometimes Let me know if you have any workaround, right now I'm using normal bean write tag. I have converted all struts tag to struts-

Re: how can I do it? using validation without formset.

2002-10-28 Thread David Graham
Why do you want to do this? I'm not sure that you can because the validator needs to know what fields to validate. David From: "Arik Levin ( Tikal )" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: ho

Re: RE: Huge action instance synchronization problem

2002-10-28 Thread Dan Bunea
Thanks again, for the material and for the answoer. In some cases we have used the delegate pattern. I will try exending it where the problem was found. 10/28/2002 4:31:19 PM, "Sri Sankaran" <[EMAIL PROTECTED]> wrote: >As I pointed out, it de-couples your business logic and the data from how it

RE: Huge action instance synchronization problem

2002-10-28 Thread Sri Sankaran
As I pointed out, it de-couples your business logic and the data from how it is presented to the user. Further, it promotes re-usability. You have found your problem to disappear when you mark the execute() method as being syncrhonized. Is this a tenable alternative? Won't it affect the scala

RE: RE: re. i18n

2002-10-28 Thread Russ Bonsall
I did not mean to imply that you cannot change the locale in the code itself. I was simply stating that as a user, changing your locale in your browser will not change the locale that Struts has assigned your session. -Original Message- From: Vernon Wu [mailto:vernonw@;gatewaytech.com]

RE: Huge action instance synchronization problem

2002-10-28 Thread Dan Bunea
Thank you, but what happens if I set the execute method from the action synchronized? I did that and it works fine. I have also run some tests to see if performance drops but it did not. -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran@;sas.com] Sent: Monday, October 28, 2002 4

RE: Huge action instance synchronization problem

2002-10-28 Thread Sri Sankaran
It is good practice to have a delegate class that handles all business logic. This will not only ensure that you don't run into problems such as you state but also de-couples your business logic from the Struts framework -- which *should* be used only for controlling your presentation. public

Re: parameter in session

2002-10-28 Thread Marcus Biel
Hi, I got this: ? thx, marcus [EMAIL PROTECTED] schrieb: > > I think placing the Form Bean in the session scope will help. > /* A > - Original Message - > From: "Marcus Biel" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, October 28, 2002 4:57 PM > Subject:

RE: html:option with iterate

2002-10-28 Thread Sri Sankaran
It is much easier if you use the 'collection' attribute of the tag. See http://jakarta.apache.org/struts/userGuide/struts-html.html#options. Also take a look at the html-select.jsp file that is in the struts-exercise-taglib application that ships with Struts. Sri -Original Message-

Validation, javaScript & modal windows

2002-10-28 Thread Albuquerque, Ronald
Hello, I'm working on a project that has a lot of existing static HTML; this will serve as the basis for the JSP's for the J2EE application. I've come across a situation in the HTML and I'd like to please ask your help. Existing Flow (in static HTML pages): 1. End-User sees information page on a

Re: parameter in session

2002-10-28 Thread Affan Qureshi
I think placing the Form Bean in the session scope will help. /* A - Original Message - From: "Marcus Biel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 28, 2002 4:57 PM Subject: parameter in session > Hi, > > I got an select box, where you can select a value. When yo

Re:[OT] Trivial Q

2002-10-28 Thread David Derry
This will work some of the time (maybe most). But you are missing edge conditions. take 8 for ex. in a 4X4 that would be row 2 column 4. But your foumula places it at row 3 column 0. However, right now I can't think of a better solution (too early on a Mon morning!), other than to test for column =

parameter in session

2002-10-28 Thread Marcus Biel
Hi, I got an select box, where you can select a value. When you hit submit, you get displayed a list of data records that fit to that value. But the selected value should get stored for the whole session, so if you hit on "edit" or "delete" that you directly get displayed the table, wihout selecti

how can I do it? using validation without formset.

2002-10-28 Thread Arik Levin ( Tikal )
I want to use validation at struts 1.1b2, with no validation.xml descriptor. Can anyone have an example for this one?

Re: generating serial no

2002-10-28 Thread Affan Qureshi
I guess u can make a simple Bean that increments an instance variable on each read. /* A - Original Message - From: "Amit Badheka" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, October 28, 2002 1:40 PM Subject: generating serial no Is there any tag

RE: Trivial Q

2002-10-28 Thread Khan, Manuchehar A (ACF)
Thanks...Finally working...I was playing with same % and / operators but got confused Thanks again.. -Original Message- From: Vincent PROSPER [mailto:Vincent.Prosper@;Alkinos.com] Sent: Monday, October 28, 2002 3:48 AM To: Struts Users Mailing List Subject: RE: Trivial Q oops! repla

RE: Huge action instance synchronization problem

2002-10-28 Thread Dan Bunea
I know it shouldn't have this problem. It is not the same session, nor the same user that performs the search. Of course each user has the same session, but let me explain some more of what I have seen happening. The first user (say with session id #s1) obtains the action instance ( say instance

RE: Trivial Q

2002-10-28 Thread Vincent PROSPER
oops! replace 'nb_rows' by 'nb_cols' in first instruction... nb_rows has nothing to do with that question... Vince -Original Message- From: Vincent PROSPER [mailto:Vincent.Prosper@;Alkinos.com] Sent: Monday, October 28, 2002 9:43 AM To: Struts Users Mailing List Subject: RE: Trivial Q

  1   2   >