RE: Durability of a ActionForm

2002-11-21 Thread Míguel Ángel Mulero Martínez
I'm with you, I think that I will put it in the session finally. Thanks! Miguel > -Mensaje original- > De: Andrew Hill [mailto:[EMAIL PROTECTED]] > Enviado el: viernes, 22 de noviembre de 2002 7:09 > Para: Struts Users Mailing List > Asunto: RE: Durability of a ActionForm > > > You cant.

RE: Thread-safety

2002-11-21 Thread Andrew Hill
Well Im not an 'expert' on threads so if anyone else reading this spots me making a mistake please shout! But heres the way I see the problem: The issue is that the data that you have in your Servlet Context will be accessed from multiple threads at the same time. What this usually means is that y

RE: future of struts

2002-11-21 Thread Dudley . Butt
Nicely said!! -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 2:29 AM To: [EMAIL PROTECTED] Subject: RE: future of struts edgar writes: >Unfortunately, an innordinately large percentage of development >time is spent with the tag library, as

RE: Thread-safety

2002-11-21 Thread Mohan Radhakrishnan
Hi, Yes. We use this code from within a controller stored in the user session. Now each user will get the controller from his session and call this code from within the controller but even then this might be a bit tricky. Our controller doesn't solve the problem. Isn't it ? Thanks, Mohan ---

RE: Durability of a ActionForm

2002-11-21 Thread Andrew Hill
You cant. Once your page has been rendered to the client from the JSP your request is finished. Over. Finito. Dead. Pining for the fjiords. Joined the choir invisible... You will need to use the session. (Unless you want to make your ActionForm serializable, write it out as text to a hidden fiel

RE: Thread-safety

2002-11-21 Thread Andrew Hill
It depends... -Original Message- From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 13:20 To: Struts Users Mailing List Subject: Thread-safety Hi, getServlet().getServletContext() ); I have code like this in my reload action. Now this gets hold

RE: future of struts

2002-11-21 Thread Andrew Hill
Its sad just how many people seem to have the confusion that struts is just a bunch of taglibs, and spend forever asking what cool dhtml UI widgets it provides and wondering what all the fuss is about when they find it doesnt... Ive found struts absolutely invaluable in my project, but I personall

Re: using tomcat version

2002-11-21 Thread Rob Leland
contactrajib wrote: Hi, I was trying to figure out the best version of Tomcat for using Struts 1.0.2. Some people told me that it is best to use tomcat 3.2.2. Any ideas or suggestions are welcome. Regards Rajib If you are just starting to learning Struts, I would --Highly-- recommend usi

Thread-safety

2002-11-21 Thread Mohan Radhakrishnan
Hi, getServlet().getServletContext() ); I have code like this in my reload action. Now this gets hold of the application context and refreshes it from the database. Since actions are reused we think there might be some problem with thread safety. Does it make sense to use code like this

using tomcat version

2002-11-21 Thread contactrajib
Hi, I was trying to figure out the best version of Tomcat for using Struts 1.0.2. Some people told me that it is best to use tomcat 3.2.2. Any ideas or suggestions are welcome. Regards Rajib -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: name of zip file???chuck cavaness book

2002-11-21 Thread Martin Cooper
I'd just like to point out that the reason the chapters of Chuck's book were made available on TheServerSide was for public *review*, not as a public give-away. Given that the book is now in production, the review period is clearly over, so I'm not at all surprised that these chapters are no longer

Re: muliple select lists and DynaActionForms

2002-11-21 Thread Martin Cooper
On Thu, 21 Nov 2002, Watkins, Herb wrote: > Hello, > > I am having trouble with the submitted results of the where > multiple="true. I have the form defined as a DynaActionForm with the > property in question defined as an ArrayList of the ids to pre-select. The > pre selection works fine but

RE: Weblogic Page Compilation.

2002-11-21 Thread Davide Bruzzone
Are you precompiling your pages? Dave -Original Message- From: Cristian Cardenas [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 2:59 PM To: Struts Users Mailing List Subject: Weblogic Page Compilation. This is not an Struts specific question: Somebody knows an posible opt

Add some value to bean

2002-11-21 Thread Sutiwan Kariya
Hi all, I have one dull question but I really don't know how to do it.. I have yield attribute in form trading. The yield getting from database is 0.10 But I want to display it in JSP page as 10 % Can I use bean:write tag to display this attribute * 100 ? Thank in advance Sutiwan Wannapongsai

RE: [Validator] - Strange behaviour and not validating

2002-11-21 Thread Todd Pierce
Does the form name in the action mapping match the form name defined in validation.xml? Does the mapping for the action include validate=true? -Original Message- From: Axel Stahlhut [mailto:[EMAIL PROTECTED]] Sent: Friday, 22 November 2002 6:49 AM To: 'Struts Users Mailing List' Subject: [

Re: [Validator] - Strange behaviour and not validating

2002-11-21 Thread Robert Leland
Axel Stahlhut wrote: By the way, does anybody know, why the validator example in the newest Struts nightly builds (which iI don't use) is broken? Will it be fixed? Thanks Axel There is a know problem with the commons-validator: See: http://jakarta.apache.org/struts/userGuide/dev_validator.

RE: future of struts

2002-11-21 Thread Ted Husted
edgar writes: >Unfortunately, an innordinately large percentage of development >time is spent with the tag library, as even a casual perusal >of this list reveals. I think that's mostly about not understanding how to develop with tags, especially in a Model 2 architecture. It's a very different

Re: [Struts Tip] #16 How to (not) check a radio button

2002-11-21 Thread Ted Husted
Shakeel wrote: >In your example for Struts beta2 you show that the collections of >label and value is initialized in the Action. >Is it better to perform this functionality in the ActionForm> bean? You could, but by keeping it in a context instead, you have the option of placing the list in appli

Re: how do i set a checkbox as checked w/o referring to a bean?

2002-11-21 Thread Craig R. McClanahan
On Thu, 21 Nov 2002, Andy Kriger wrote: > Date: Thu, 21 Nov 2002 18:43:30 -0500 > From: Andy Kriger <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: how do i set a checkbox as checked w/o referring to a b

how do i set a checkbox as checked w/o referring to a bean?

2002-11-21 Thread Andy Kriger
I want to have a checkbox use the HTML checked attribute. I want to do this without referring to a bean or a property or a value, separate from the Struts architecture (except that I still want to have Struts fill in my form values). Is it possible? I have tried many things. In the form object, I

RE: Mysterious PropertyUtils problem...

2002-11-21 Thread Davide Bruzzone
Never mind... Deleting, then regenerating the BeanInfo class fixed it. Most likely the BeanInfo class somehow got out of sync with the object, and it took deleting it, then regenerating it (and not simply updating it) to fix the problem. Cheers... Dave -Original Message- From: Davide Bru

Re: Check log-in status

2002-11-21 Thread Gus Delgado
Does anyone know if Jakarta is got a tab lib that performs paging, like the one jsptags.com offers? thanks -gus -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: muliple select lists and DynaActionForms

2002-11-21 Thread Watkins, Herb
Not sure if I my problem is clear but I would be happy to elaborate...Any thoughts? Herb -Original Message- From: Watkins, Herb [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 10:14 AM To: '[EMAIL PROTECTED]' Subject: muliple select lists and DynaActionForms Hello, I am h

Re: Mysterious PropertyUtils problem...

2002-11-21 Thread Craig R. McClanahan
On Thu, 21 Nov 2002, Davide Bruzzone wrote: > Date: Thu, 21 Nov 2002 15:39:27 -0700 > From: Davide Bruzzone <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: Mysterious PropertyUtils problem... > > Greet

[tiles] Need example of tabs w/o xml file

2002-11-21 Thread Wendy Smoak
Having successfully mastered vboxLayout and classicLayout, I'm trying to learn about tabsLayout now. The only examples I can find in the tiles-documentation webapp are done by configuring the contents of the tabs in the tiles-examples-defs.xml file. I'm not quite ready for that yet. I tried thi

Mysterious PropertyUtils problem...

2002-11-21 Thread Davide Bruzzone
Greetings all... Has anyone ever seen something like this happen? java.lang.NullPointerException at java.beans.Introspector.addMethod(Introspector.java:741) at java.beans.Introspector.getTargetMethodInfo(Introspector.java:705) at java.beans.Introspector.getBeanInfo

RE: IE's autocomplete

2002-11-21 Thread Craig R. McClanahan
On Thu, 21 Nov 2002, Chen, Gin wrote: > that makes sense. > but how about including an attributes tag that allows a map of attribute > name/values? > that might be helpful while maintaining the whole "not render any client > specific attributes". One of the main reasons Struts will not support

Weblogic Page Compilation.

2002-11-21 Thread Cristian Cardenas
This is not an Struts specific question: Somebody knows an posible optimization to Weblogic 6.1 on Windows 2000 to accelerate the JSP compilation time. Because, in my configuration it takes a lot... Thanks. Cristian.

proper page use

2002-11-21 Thread Tim Orr
I am actually a little new to struts functionality, but I do have several of my own works up and running on their own. My dilema is that I have started requirements for my next project, which is to implement struts on our system, and thus far I have seen only a "page down" approach, meaning, th

RE: Iterate through resultset

2002-11-21 Thread Kris Schneider
In addition to rolling your own disconnected storage or using the oft-mentioned RowSet, here are a couple of other possibilities. Check out JSTL's javax.servlet.jsp.jstl.sql.ResultSupport class. It has a couple of utility methods for converting a ResultSet into a javax.servlet.jsp.jstl.sql.Result.

RE: Iterate through resultset

2002-11-21 Thread David Graham
You got it exactly right Wendy :-). Your jsp should never see a ResultSet object. The pattern Wendy is using is very common and considered a best practice. A ResultSet object maintains a database connection throughout its life so you should only hold onto it long enough to populate a collecti

RE: Iterate through resultset

2002-11-21 Thread Wendy Smoak
> I'm working on this application where I get resultsets in jsp pages from > business objects. I do a similar thing, but I have a DAO layer return a Collection of Value Objects. (How's that for getting a bunch of pattern buzzwords into one sentence?) The VO's are beans, so I can get at the prop

Iterate through resultset

2002-11-21 Thread Etienne Labonté
Hi, I'm working on this application where I get resultsets in jsp pages from business objects. The dbtags taglib is of no use here since the bo's handle the sql connections and statements. And the struts logic taglib will only iterate through collections. So I procede like this:

RE: Problem with LookupDispatchAction and pressing ENTER in a tex t

2002-11-21 Thread Wendy Smoak
JuanPedro wrote: > Pressing 'Enter' inside a text form, the form is submited, > and the 'method' parameter that is the name of all my submit buttons, > takes no value, and so the LookupDispatchAction fails > Any solution? My solution is below... override the 'execute' method and check to see

RE: Illegal target of jump or branch w/Tomcat

2002-11-21 Thread Emmanuel Bridonneau
Good stuff to all of you regarding overcoming the 64kb limitation in a single method. JBoss 3.0.4 uses Tomcat 4.1.12, though we may want to try the version with integrated Jetty (JBossWeb) first. Thanks a lot. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent:

RE: Error "Cannot find message resources under key ui" when attempting to subclass FormBeanConfig in struts-config.xml

2002-11-21 Thread Ahearn, Denis
The code we are using to locate the properties files associated with the "ui" key is subclassed from org.apache.struts.util.PropertyMessageResources. We have modified the loadLocale method to be able to find the message resource in a directory other than one in the class path. As I stated before,

Re: How to access the Struts ConnectionPool from an ActionForm

2002-11-21 Thread Steven Citron-Pousty
I think thats kinda it. I think whats happening is that the jsp was being called before the webapp had ever "touched" the servlet (i.e. the user could go straight to the jsp). Therefore maybe the form doesn't know which servlet its talking to. Is there a way to get the context attribute without

[Validator] - Strange behaviour and not validating

2002-11-21 Thread Axel Stahlhut
Hi. I encounter a strange behaviour of the Struts-Validator (Struts 1.1b2): In validator.xml I set up the following rules: Inside the form I've got the following: The Validator validates the field name correct. The field glEmpId is not validated at all! It doesnt matter if I send the

Design question/opinion: most of my web-pages will be forms?

2002-11-21 Thread Frederic Laub
Hi, I would like to have your opinion on following design I intend to implement in my web-pages: In all my pages I have a list of hidden fields. => Hidden fields must be part of a form. => For that reason I intend to make forms of all my web pages. The behavior of an action will depend on the va

Re: JSTL Question (EL vs. RT + Struts)

2002-11-21 Thread Kris Schneider
Well, for whatever reason, this seemed kind of entertaining (sad, huh?) so I fleshed it out a bit and actually gave it a test run. Since both JSTL and Struts taglibs can deal with a Map (JSTL doesn't have a clue about DynaBeans), that seemed like a better way to go. So, the reflection can be done b

RE: Can anybody tell how to setup struts in Netbeans IDE

2002-11-21 Thread Andy Kriger
How about Eclipse on old hdwr? I already know how much NB struggles :) (though in its defense, it's really Swing that struggles, NB does more working w/in Swings performance constraints than any app I've seen) -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursd

Re: RE: Problem with LookupDispatchAction and pressing ENTER in a tex t

2002-11-21 Thread JuanPedro . DeAndres
Yes, but how I knows if it was a button or a text what send the submit event. And in case I know that it was a button, which one. doSomething doOtherThing -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Problem with LookupDispatchAction and pressing ENTER in a text

2002-11-21 Thread Andrew B Forman
sounds like you only have one input of type text on your form. believe it or not, this is actually a feature =) http://ppewww.ph.gla.ac.uk/%7Eflavell/www/formquestion.html what you'll want to do is either inhibit the enter press or put a hidden inside the form that duplicates the default "method"

RE: Problem with LookupDispatchAction and pressing ENTER in a text

2002-11-21 Thread Jorge Ruben Macias Lopez
I think there's an even handler in the tag which lets you assign a javascript action to be executed when the form is submitted. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviado el: Jueves, 21 de Noviembre de 2002 01:07 p.m. Para: [EMAIL PROTECTED] Asunto: Proble

Re: [OT] How to tell when a project you are on is in trouble

2002-11-21 Thread Mark_StGodard
Friday-Eve link inspired by "How to tell when a project you are on is in trouble"... You may have all seen this before but Jeff's post this morning made me think of it... http://mindprod.com/unmain.html It still kills me... mark Jeff Caddel <[EMAIL PROTECTED]> on 11/21/2002 01:01:01 PM

Problem with LookupDispatchAction and pressing ENTER in a text

2002-11-21 Thread JuanPedro . DeAndres
Pressing 'Enter' inside a text form, the form is submited, and the 'method' parameter that is the name of all my submit buttons, takes no value, and so the LookupDispatchAction fails Any solution? Thanks. Example -- To unsubscribe, e-mail: For additional comm

Re: [OT] How to tell when a project you are on is in trouble

2002-11-21 Thread Jeff Caddel
I think (hope?) that it's a joke Andrew. Although the subject line makes me think that it might be real and therefore very, very worrying. I'm sad to say, it's very real. He found it debugging a problem that was coming out in the stacktrace as a NullPointerException. Since NullPointerExcept

RE: Error "Cannot find message resources under key ui" when attempting to subclass FormBeanConfig in struts-config.xml

2002-11-21 Thread James Mitchell
I think you might be misunderstanding what the error means by key (unless I'm off base here) Can you post the code that you are using to find the key 'ui' You might also try this. Add this to your default resource file: ui=test See if that clears up your error. -- James Mitchell Software Engi

RE: Self reference in optionsCollection

2002-11-21 Thread Karr, David
There's no such notion of "this" in the standard tags. You specify exactly which bean you want to reference. > -Original Message- > From: David Morris [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 21, 2002 10:44 AM > To: [EMAIL PROTECTED] > Subject: Self reference in optionsCollec

RE: Error "Cannot find message resources under key ui" when attempting to subclass FormBeanConfig in struts-config.xml

2002-11-21 Thread Ahearn, Denis
Yes, my struts-config.xml has the following definition in it: The application where I am trying to subclass the FormBeanConfig is a robust working Struts app, which has many tags that successfully draw resources from the "ui" message resources. As soon as I trying subclassing the FormBeanConfi

RE: Can anybody tell how to setup struts in Netbeans IDE

2002-11-21 Thread James Mitchell
Well, I would know. When I bought this laptop months ago, I gave my old one away. It was a PII 233 w/64MB. I ran NetBeans on it one time..and never tried it againLOL. That was about the most painful thing I've watched in quite a while. I thought I was smelling smoke for a few minutes.

Self reference in optionsCollection

2002-11-21 Thread David Morris
How do you reference "this" in an optionsCollection (or any standard tag for that matter)? The nested tags support a special notation of ./ or this/, which doesn't appear to carry through to standard tags. Thanks, David Morris -- To unsubscribe, e-mail: For additi

RE: Can anybody tell how to setup struts in Netbeans IDE

2002-11-21 Thread Andy Kriger
Out of curiosity, how well does Eclipse run on old hardware. I have a Pentium laptop w/96M RAM - NB is my usual IDE but that's right out, even JEdit is a bit painful to work it. thx -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 13:31

RE: Error "Cannot find message resources under key ui" when attempting to subclass FormBeanConfig in struts-config.xml

2002-11-21 Thread James Mitchell
Apparently, you are trying to use a 'message resources under key ui' and it is not found :/ Have you validated that it is there? Can you post your Dyna extension? -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org "If you were plowing a field, which would you rath

RE: How to access the Struts ConnectionPool from an ActionForm

2002-11-21 Thread Assenza, Chris
Steve, If memory serves, I don't think you can get the ActionServlet (thus the servlet) from the Form; but it's been a long time since I last looked at that stuff and I may well be incorrect on that - it's just a guess. As for the db call issue, it makes more sense for something like that to be

RE: Can anybody tell how to setup struts in Netbeans IDE

2002-11-21 Thread James Mitchell
> -Original Message- > From: Karr, David [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 21, 2002 1:36 PM > To: Struts Users Mailing List > Subject: RE: Can anybody tell how to setup struts in Netbeans IDE > > > > -Original Message- > > From: James Mitchell [mailto:[EMAIL PROT

RE: Can anybody tell how to setup struts in Netbeans IDE

2002-11-21 Thread Karr, David
> -Original Message- > From: James Mitchell [mailto:[EMAIL PROTECTED]] > One definite advantage Eclipse has over NetBeans is that > Eclipse is built using > SWT (Standard Widget Toolkit). That means that the IDE is > written in Java, but > the underlying framework uses native JNDI calls

RE: Can anybody tell how to setup struts in Netbeans IDE

2002-11-21 Thread James Mitchell
For working on the distribution itself: 1. Create a new project (from the Project Manager window) 2. Download the struts source distribution (or use built-in cvs to get the module) 3. Extract to a local drive (if on windoze, try not to have spaces in the directory (such as C:\My Documents) 4

RE: not render any client specific attributes [was: IE's autocomp lete]

2002-11-21 Thread Chen, Gin
Actually thats pretty much what I was thinking :) Except that it would have to be a map as list doesnt support the key/value pairings. Unless of course we use the LabelValueBean(?) just a thought -Tim -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, Novem

Tiles

2002-11-21 Thread Vid Desibhatla
I am new to tiles and struts. I want to customize views based on roles. For instance, one department should access on their departments pages. With each department, the views for a manager should be different from a subordinate. Basically, I would like to control access to information. The

RE: not render any client specific attributes [was: IE's autocomplete]

2002-11-21 Thread edgar
I believe this will be in JSP 2.0 as an option in the TLD. > Mark Roth wrote > One thing we did notice is that struts tags have a LOT of attributes :) > Many of them simply echo their value straight to HTML. We've added a > feature to JSP 2.0 called "dynamic attributes" to help reduce the num

RE: Problem with

2002-11-21 Thread Karr, David
Ah, you should be using "html:options", to replace your "logic:iterate", and the nested "html:option" and "bean:write". It will handle all of that. Read the API description. You can also see some examples of this in the "struts-exercise-taglib" application in the Struts distribution. > -

Error "Cannot find message resources under key ui" when attempting to subclass FormBeanConfig in struts-config.xml

2002-11-21 Thread Ahearn, Denis
Has anyone successfully subclassed the FormBeanConfig associated with a element? For example: . . . When I try this, I get the following exception: javax.servlet.ServletException: Cannot find message resources under key ui at org.apache.

RE: not render any client specific attributes [was: IE's autocomplete]

2002-11-21 Thread James Mitchell
Gin Chen, is this what you were thinking? <% ArrayList list = new ArrayList(); list.add("customField1", "anything I may need"); list.add("customField2", "other stuff"); pageContext.setAttribute("customHtml", list); %> First Name: Last Name: would render: First Name: Last Name

Re: Problem with

2002-11-21 Thread Yann Verlynde
Sorry but I doesn't work this is my complete code. Choisissez votre cadre emplois - Original Message - From: "Sri Sankaran" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 21, 2002 6:35 PM Subject: RE: Problem with Ha

RE: Problem with

2002-11-21 Thread Sri Sankaran
Have you tried Sri -Original Message- From: Yann Verlynde [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 12:28 PM To: Struts Subject: Problem with Hello, This code doesn't work. How can I do I put a bean value in my option tag? Thanks in advance Yann VERLYNDE

Re: [OT] How to tell when a project you are on is in trouble

2002-11-21 Thread Kevin . Bedell
- Original Message - From: <[EMAIL PROTECTED]> > > Call me crazy, but I can see how this may be useful. > You're crazy. :-) You're right. What was I thinking? --- This e-mail message (including attachments,

Problem with

2002-11-21 Thread Yann Verlynde
Hello, This code doesn't work. How can I do I put a bean value in my option tag? Thanks in advance Yann VERLYNDE Ingénieur d'Etudes Oxade Ingénierie 13, Place Kossuth 75009 PARIS Tel : 01 42 82 99 38 Fax : 01 42 82 99 35 www.oxade.com -- To unsubscribe, e-mail:

Help with custom validation please

2002-11-21 Thread Alvarado, Juan (c)
I've written a simple custom validator that is working just fine. However, when the validation returns back to the page to display the error message to the user, all I get is the following: ???en_US.errors.ordersearch??? I know that key errors.ordersearch is in the ApplicationResources.properties

RE: IE's autocomplete

2002-11-21 Thread David Graham
How would this attributes tag work/look like? Can you post an example of what you're thinking of? Dave From: "Chen, Gin" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Subject: RE: IE's autocomplete Date:

RE: Tiles newbie

2002-11-21 Thread Hue Holleran
Yes, we were using Tiles (just) before Struts - and then went to use Struts+Tiles. The only aspect AFAIK that will not be available is using Tiles as Struts forwards. There was also a thread about using Tiles with Struts 1.0.2 - try ng "apache.struts" on news server "news.basebeans.net" and look f

Problem with application scope data

2002-11-21 Thread Jorge Ruben Macias Lopez
Hi, I've been reading through the lists archive and still can't find the way to make this work. I'm doing the following: - Created a subclass from ActionServlet, with the following code: public class IDCVActionServlet extends ActionServlet{ public void init() throws ServletException {

RE: [OT] Re: IE's autocomplete

2002-11-21 Thread Jarnot Voytek Contr AU HQ/SC
You guys really need to try Phoenix (it is just the Mozilla browser - no extraneous crap), it's lightning-fast for me: http://www.mozilla.org/projects/phoenix/ -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 10:26 AM To: [EMAIL PROTECTED]

Re: Tiles newbie

2002-11-21 Thread Cedric Dumoulin
Yes, Tiles can work without Struts. You need to initialize the definition factory yourself if you use definitions. This can be done with a special servlet. In the distribution on original site (http://www.lifl.fr/~dumoulin/tiles/), there is a blank-tiles.war file that do exactly that.

set a html:checkbox checked

2002-11-21 Thread Oliver Kersten
Hi, how can I set a checkbox checked during creation in the JSP. In HTML I would do it like this: But I can't find that for the struts tag: check it And can I use the value "true" to set a checkbox checked. I get only a "true" from my bean and not a "checked" or something else. ciao Oliv

RE: IE's autocomplete

2002-11-21 Thread James Mitchell
I can see how that might be useful. I've had the pleasure of working with a validation framework that depends on bogus tags in the html elements. The code was generic enough to retrieve these special tags and handle validation from a few common js includes. (This was for a product that required

[OT] Re: IE's autocomplete

2002-11-21 Thread David Graham
Check how much memory Netscape is consuming and compare that to IE and Opera. It's at least 10 MB higher! I can't live without tabs so I use Opera which is a million times better than Netscape. If you don't want to pay then I would use Mozilla. David From: "Michael Delamere" <[EMAIL PR

Re: Tiles newbie

2002-11-21 Thread Vid Desibhatla
There is a nice website about tiles at http://www.lifl.fr/~dumoulin/tiles It talks about the standalone features also. Thanks, Vid >>> [EMAIL PROTECTED] 11/21/02 10:21AM >>> A coworker asked the following question "Can I implement Tiles as a stand alone?" I was busy so I said "Not likely and w

RE: Tiles newbie

2002-11-21 Thread Ahearn, Denis
I have never tried it, but this website implies that Tiles can run without Struts http://www.lifl.fr/~dumoulin/tiles/ -Original Message- From: Brian Hickey [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 10:21 AM To: Struts Users Mailing List Subject: Tiles newbie A cowork

Re: [OT] How to tell when a project you are on is in trouble

2002-11-21 Thread Mark_StGodard
ditto on Effective Java, its a MUST READ (When Gosling says this book was useful to him (comments on back of book)... it says something) mark "John Owen" <[EMAIL PROTECTED]> on 11/21/2002 10:13:04 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To:"Struts Use

RE: getting select tag data from ActionForm

2002-11-21 Thread Karr, David
Make "selectedCodes" be either a String[] or Collection in your ActionForm. Make sure your accessors/setters reflect that. That will allow the ActionForm value to be automatically populated from the request parameters, and will fill in all the selected items when the view is rebuilt. > -Orig

Tiles newbie

2002-11-21 Thread Brian Hickey
A coworker asked the following question "Can I implement Tiles as a stand alone?" I was busy so I said "Not likely and we are only in production with 1.0.2" A quick search (if there is such a thing) of the archives reveals a lot of Tiles info, but nothing specific to his question. Does anyone kn

RE: IE's autocomplete

2002-11-21 Thread Michael Delamere
I personally like the tabbing feature! ;-) Plus it´s only the startup that´s slow, after that it´s ok. I agree though on 2 points: 1. I hate the profile crap that you have to go through everytime you install netscape. 2. The additional software is a bit of a pain. Anyway Netscape 7, like Mo

muliple select lists and DynaActionForms

2002-11-21 Thread Watkins, Herb
Hello, I am having trouble with the submitted results of the where multiple="true. I have the form defined as a DynaActionForm with the property in question defined as an ArrayList of the ids to pre-select. The pre selection works fine but when I submit the form, the exception below is thrown.

Re: [OT] How to tell when a project you are on is in trouble

2002-11-21 Thread John Owen
According to "Effective Java", it is a better practice to throw an exception rather than return null. This book makes for good reading. - Original Message - From: "Vilya Harvey" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 21, 2002 10:06 A

RE: IE's autocomplete

2002-11-21 Thread Chen, Gin
that makes sense. but how about including an attributes tag that allows a map of attribute name/values? that might be helpful while maintaining the whole "not render any client specific attributes". -Tim -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Thursday, Novem

Re: [OT] How to tell when a project you are on is in trouble

2002-11-21 Thread Vilya Harvey
- Original Message - From: <[EMAIL PROTECTED]> > Call me crazy, but I can see how this may be useful. You're crazy. :-) > NullPointerException on its own subclasses RuntimeException. This means > that you are not required to "catch" runtime exceptions or declare them > with a "throws" cl

Re: How to access the Struts ConnectionPool from an ActionForm

2002-11-21 Thread Steven Citron-Pousty
The servlet is null. So then how and what do I tell the actionform is its servlet. Thanks, Steve PS I still am interested in ppls view on whether all DB calls are model or there is a case when you could consider the DB call view Jagdish Arora wrote: Steven, since you are getting a NPE, could

RE: IE's autocomplete

2002-11-21 Thread David Graham
You're the first person I've ever heard say they like Netscape 7! Truly amazing considering it's a memory hog and very slow. Whatever floats your boat ;-) ... My favorite Netscape 7 feature: the install puts about 500 AOL, RealPlayer, and Netscape icons all over your hard drive. "If we irri

Re: Page flow diagrams for Struts

2002-11-21 Thread Brian Hickey
Nick, Aside from the lighthearted ribbing, did you want a UML diagram? Brian > > > > Hi all, > > I was wondering if anyone has a good diagramatic representation of > page flow that also captures forms and Action processing from submit > buttons and links. I've have my own representation

RE: IE's autocomplete

2002-11-21 Thread David Graham
Struts tags will not render any client specific attributes. The tags conform to the HTML 4.01 spec. The autocomplete attribute is IE specific and therefore won't be supported by Struts. It would be pretty easy to extend a Struts tag to support this attribute if you are using IE. David

Workflow Extention

2002-11-21 Thread Jordan Thomas
Hi All, I am using the workflow extention to create my workflows. It seems that when I am in the middle of a workflow, there is no way to allow the user to jump out of the workflow into another area of the application. I have tried specifying a * and a *.do as a nextPath parameter but that doesn't

Re: [OT] How to tell when a project you are on is in trouble

2002-11-21 Thread David Graham
Generally, methods shouldn't return null they should throw an exception. If I wanted to spend my time checking function return codes I would use C. It's perfectly acceptable to have a NoDataAvailableException if that describes the problem (NullObjectException describes nothing more than NullP

Workflow Extention

2002-11-21 Thread Jordan Thomas
Hi All, I am using the workflow extention to create my workflows. It seems that when I am in the middle of a workflow, there is no way to allow the user to jump out of the workflow into another area of the application. I have tried specifying a * and a *.do as a nextPath parameter but that doesn't

Re: Runtime dynamic form/jsp from XML

2002-11-21 Thread tnist
Andrew, You may want to have a look at STXX. It is available at http://www.openroad.ca/opencode/stxx. Here is a generial description from the site: Struts for transforming XML with XSL (stxx) is an extension of the struts framework to support XML and XSL without changing the functionality of

getting select tag data from ActionForm

2002-11-21 Thread meissa . Sakho
Hi all, I define a multiple select tag in my jsp like this : name and label are objects in the session. I would like to capture selected datas from actionForm instead of doing it like this : String[] selectedCodes = request.getParameterValues("selectedCodes"); I wondered if someone h

RE: IE's autocomplete

2002-11-21 Thread Michael Delamere
-Original Message- From: Vincent Stoessel [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 21. November 2002 16:22 To: Struts Users Mailing List Subject: OT: IE's autocomplete [EMAIL PROTECTED] wrote: > Thanks Robert... > > I realise Struts is a server side framework but take the Struts no

RE: IE's autocomplete

2002-11-21 Thread Chen, Gin
In the meantime why don't you just disable it like so: (assuming you have only one form) function disableAutoComplete() { document.form[0].autocomplete="off"; }

Re: [OT] How to tell when a project you are on is in trouble

2002-11-21 Thread Kevin . Bedell
Call me crazy, but I can see how this may be useful. NullPointerException on its own subclasses RuntimeException. This means that you are not required to "catch" runtime exceptions or declare them with a "throws" clause of a method. But there are times where having an object be null may have a

OT: IE's autocomplete

2002-11-21 Thread Vincent Stoessel
[EMAIL PROTECTED] wrote: Thanks Robert... I realise Struts is a server side framework but take the Struts notation for say an input box e.g. It supports the attributes 'alt', 'disabled' and various Javascript-specific extensions which are not all supported or rendered the same in different brows

  1   2   >