Q: Validator - query properties

2002-10-03 Thread gernot . pfingstl
If a html input field is required I use the validator plugin and put ...depends="required"... in my validation.xml file. This works great! In the jsp pages I mark required fields with a "*", until now I hardcode the "*" in my jsps, so if I change a field to required I had to put the "*" in the js

AW: Using a default entry with LookupDispatchAction ???

2002-10-03 Thread sem . Gottofrey
The key you put in your map is used to lookup the corresponding entry from your resource properties file. So if you add a line 'initialize=initialize' in your properties file, then it should work, I guess. Robert > -Ursprüngliche Nachricht- > Von: Norman Klein [mailto:[EMAIL PROTECTED]]

Re: Where do you convert (form) strings to other data types?

2002-10-03 Thread David Whitmarsh
Rather than clutter the list with attached code tarballs< I'll package it up and stick it on my sebsite (www.sparkle-cc.co.uk). I'll post a follow-up when its done. David On Thu, 2002-10-03 at 11:07, Ronald Rotteveel wrote: > Hi David, > > that's indeed another approach and it sounds like a ver

Action.getResources(request) not working

2002-10-03 Thread Alex Birch
Hi, I already asked this question earlier but I didn't get a correct answer... I have 1 ApplicationResources.properties file which I can happily access in my jsp page using the but in any of my Actions when I try to go: MessageResources messages = getResources(request); or, MessageResour

[SCAFFOLD] Using BaseAction without instance variables

2002-10-03 Thread Sri Sankaran
The design of the BaseAction and other classes in the o.a.s.scaffold package is very clean and allows for modular code development. However, how does one use the classes effectively without creating instance variables -- a big no, no when it comes to Struts Actions. For example, the BaseActio

Re: Is this possible??

2002-10-03 Thread Steve_Akins
Yes it is. Check out a tutorial by keyboard monkey at : http://www.keyboardmonkey.com/pilotlight/next/Tutorial_partTwo.jsp?content=yesplease Hope this helps. Hello everyone, Just wondering if someone can tell me if this is possible and, if so, how this can be done? I've been banging my he

DanaFormBean and Non Primative property type

2002-10-03 Thread Dan Tran
Hi I would like to use DataFormBean with properties are not primative types like int, java.lang.String What are the requirements to create a customized property type? For example, I have a DUNS java class which is a specialized string. What kind of methods in my DUNS class that I need to im

validating CreditCard field

2002-10-03 Thread Peggy Davidson
Hi, I was working with jakarta-struts-1.1-b2 and was having a problem with the date field being validated even if the field was not required and was empty. I saw the thread on the patch that was released shortly after b2 to resolve the problem responded to by David Derry on 9/08, so I download Oc

Design Problem: Multiple Object Update

2002-10-03 Thread Mark Silva
How would you strut gurus approach this in a Struts oriented way ( I am currently using Struts 1.0.2) I have a list of objects on the screen, and i want to be able to make mass updates to. For example, i have a list of users, with Various Attributes (name, isActive checkbox, etc). I want t

Re: Struts 1.1 Multiple Sub-Apps Working Example Available?

2002-10-03 Thread Jeff Corliss
The fog is beginning to lift :) Thanks! --- Eddie Bush <[EMAIL PROTECTED]> wrote: > You haven't discovered the contextRelative attribute > yet, I see :-) > name="toMember" > path="/member/index.do" > redirect="true"/> > > That's one of my global forwa

Re: Need some design hand-holding

2002-10-03 Thread Peter S. Hamlen
Wendy, A possible way to do all of this - not necessarily the best, but enough to get you started. Assume: 1) Let's assume that the field that takes the name is called "ContactName" in your form. 2) The button next to "Contact Name" has a value of "NameLookup", and is a submit button (as oppos

Re: JavaBean question (OOPS)

2002-10-03 Thread Dan Tran
Thank you for the example, for now I will try to use it . However, I also happen to see a example in Hans Bergsten 's JSP pages, which is similar to what I have but using the standard java Date class which only implements toString() and valueOf(String ...) Does it mean, JSP hardwire the trans

html:message and bean:write HTML output

2002-10-03 Thread Matt Veitas
I am trying to use an ActionMessage to return a message to a user upon successful completion of an action. Within my action I am adding items to ActionMessages object and then calling saveMessages(request, messages). The text in my resource file that corresponds to the ActionMessage is someth

RE: JavaBean question (OOPS)

2002-10-03 Thread Brandon Goodin
the secon setter was a copy and past it should be private String stringTimestamp; public void setStringTimestamp(String stringTimestamp){ this.stringTimestamp = stringTimestamp; } -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED]]

RE: JavaBean question

2002-10-03 Thread Brandon Goodin
Since i don't completely know your bean... i'll make a guess at it. It would probably look something like this: public class MyTimeStamp { private Timestamp timestamp; public MyTimeStamp(){ } public void setTimestamp(Timestamp timestamp){ this.

RE: RE: How can I get a value from a Javascript for a formbean?

2002-10-03 Thread Galbreath, Mark
That's automatically done for you by Struts through your action mappings in struts-config.xml. In your case, since you have a multi-select listbox, it would be passed as an array. If you named your listbox "choices" with the "multiple" attribute, when the user presses Struts will modify the stat

Re: JavaBean question

2002-10-03 Thread Dan Tran
Hi Brandon, thank you for the quick reply What I try to achieve is somehow move a String presetantation of a object between JSP page and a JavaClass As far as I know how, if my java class provides set/get method for primitive types, JSP can move the data for me However, my java class get/set

RE: [ANNOUNCE] Struts Console v2.2.1

2002-10-03 Thread Robert Leland
It works with JBuilder 5, but NOT with IntelliJ Build #651 their latest. or with Build #647 I tried with the struts console jdom.jar, but IntelliJ gave a : java.lang.NoSuchMethodError: org.jdom.Text.getValue()Ljava/lang/String; This is when trying to open the same struts-config.xml f

RE: JavaBean question

2002-10-03 Thread Brandon Goodin
If you are asking how you would get the value of "B" from the "A" bean. The you could use the nested property reference dot notation like: . Otherwise, you need to be more specific. What are you trying to accomplish? Brandon Goodin Phase Web and Multimedia P(406)862-2245 F(406)862-0354 http://www

JavaBean question

2002-10-03 Thread Dan Tran
Hi I have a java bean A that has a property which is defined as a nother java object B. class A { private B _b; public A() {} public B getB() { return _b ;} public void setB( B b) { _b = b ; } } How can I implement B so that it can be "transfered" from bean to a form like

Re: RE: How can I get a value from a Javascript for a formbean?

2002-10-03 Thread Vernon Wu
Hi, Mark, Thanks for sharing your code. I haven't use Javascript a lot and am sort of figuring out how the JavaScript code works: the data will be stored in the formbean after the submit button is clicked. It will great appreciated if you can elabourate how it works with a formbean. Regards,

Re: Struts 1.1 Multiple Sub-Apps Working Example Available?

2002-10-03 Thread Eddie Bush
You haven't discovered the contextRelative attribute yet, I see :-) (see below) Jeff Corliss wrote: >Thanks, I've found and scanned through it. I think >there's (at least) one thing I'm still not >understanding though and that is how to use forwards >to move from one sub-app to another. >

RE: [OT] Problem with Jrun

2002-10-03 Thread Galbreath, Mark
yeah, I heard Macromedia fixed the 3.1 memory leak and other bugs, and that 4.0 runs pretty smoothly. -Original Message- From: Madel,Kurt [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 4:23 PM To: 'Struts Users Mailing List' Subject: RE: Problem with Jrun For what it is wor

Need some design hand-holding

2002-10-03 Thread Wendy Smoak
Okay, I [finally] have a simple form working-- there's an editContact action, the target of the form is /saveContact and if all goes well you end up on confirmContact.jsp. The DAO layer is working nicely. *BUT* (of course...) the form needs to be much more complex, and I need help figuring out

Re: Struts 1.1 Multiple Sub-Apps Working Example Available?

2002-10-03 Thread Jeff Corliss
Thanks, I've found and scanned through it. I think there's (at least) one thing I'm still not understanding though and that is how to use forwards to move from one sub-app to another. One thing I want to do, for example, is have different sub-apps per the type of user who has logged in. So wh

RE: Should I use a persistence layer?

2002-10-03 Thread Brandon Goodin
I use OJB accessing the database with PB API. I use a nested bean approach that allows me to easily write transactions to a datbase. I have a design pattern that is quite simple and light-weight. It has provided a way to "truly" divide the view and controller from the model/logic. Struts plays the

RE: Should I use a persistence layer?

2002-10-03 Thread Lowe, Jeff
>> Thanks for this, what good persistence layers are there? Is there something that works with struts and is simple? Dean, There are various types of persistence layers. For a nice description of persistence patterns, see Martin Fowler's web site at: http://martinfowler.com/isa/OR-mapping.html.

Re: [OT] Should I use a persistence layer?

2002-10-03 Thread Matt Veitas
Is there anyway that you could post some more info about your thoughts, suggestions, ideas, etc about "Huts". Maybe even post a link to a zip/tar with the current work you have? I would be very interested in this and helping out with the project as I am using a combination of Struts and Hiber

RE: [OT] Should I use a persistence layer?

2002-10-03 Thread Cliff Rowley
Hibernate rocks :) I've been using it lots - I'm glad to see other people are using it too. I've been working on an extension to the Struts framework to support Hibernate (a plugin and associated vanilla CRUD actions) - but my time has been limited recently (I have another 2 personal projects, o

RE: Where's the form-bean???

2002-10-03 Thread Lowe, Jeff
Hi Brian, I think I've got a handle on the problem. I have 2 mappings, a "setup" and a "submit". When validation fails on "submit" it forwards back to "setup". The ActionForm was placed in the request object by "submit", but "setup" knows nothing about it, nor should it. This is where the "at

RE: Problem with Jrun

2002-10-03 Thread Madel,Kurt
For what it is worth, Struts 1.1b2 is working great with JRun 4. Kurt Madel Programmer, CSMi (703) 823-4300 ext. 170 -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 4:02 PM To: 'Struts Users Mailing List' Subject: RE: Problem with Jr

RE: EL and the developer's roadmap

2002-10-03 Thread Sri Sankaran
and then there is http://java.sun.com/webservices/docs/1.0/tutorial/doc/JSTL.html SS -Original Message- From: Kevin HaleBoyes [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 3:59 PM To: [EMAIL PROTECTED] Subject: RE: EL and the developer's roadmap > First time I've heard o

RE: [ANNOUNCEMENT] Struts-EL contrib library (Struts & JSTL)

2002-10-03 Thread Karr, David
> -Original Message- > From: Vinh Tran [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 03, 2002 12:59 PM > To: Struts Users Mailing List > Subject: RE: [ANNOUNCEMENT] Struts-EL contrib library (Struts & JSTL) > > David: > > I just downloaded the ni

RE: Problem with Jrun

2002-10-03 Thread Galbreath, Mark
Try this, dude: http://www.macromedia.com/support/jrun/ BTW: I've tried to use JRun off-and-on since 1.0; finally shit-canned it on 3.1. It sucks! -Original Message- From: DjTweed [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 12:49 PM To: [EMAIL PROTECTED] Subject: Probl

RE: struts tags in java file

2002-10-03 Thread Gideon, Thomas
Karen, No, because they way you written this code, you are already outputting directly to the response, rather than invoking the translation and execution phases of the JSP container, which is when and where custom tags, like , get evaluated. You could invoke the tag handler class directly, but

RE: EL and the developer's roadmap

2002-10-03 Thread Kevin HaleBoyes
> First time I've heard of EL too. Where can I get more info? Others have already noted http://java.sun.com/products/jsp/jstl/index.html Also have a look at a couple of OnJava articles (the "printable" versions) http://www.onjava.com/lpt/a/2611 http://www.onjava.com/lpt/a/2610

RE: EL and the developer's roadmap

2002-10-03 Thread Galbreath, Mark
Nah, just sending your messages back to you marked "unable to deliver." -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 2:39 PM To: Struts Users Mailing List Subject: Re: EL and the developer's roadmap Have you been filtering my posts agai

RE: Should I use a persistence layer?

2002-10-03 Thread Joe Barefoot
Our shop uses Castor, which is good for getting you up and running quickly as it can generate entity object code from a database schema. I don't know about simplicity, however...I don't think any persistence layer is really that simple. :( peace, Joe > -Original Message- > From: Chen,

RE: [ANNOUNCEMENT] Struts-EL contrib library (Struts & JSTL)

2002-10-03 Thread Vinh Tran
David: I just downloaded the nightly 20021003 and read through the Readme. I am still unsure as to which files/libraries to copy over to my webapp. Can I extract the EL libraries for use in my Struts 1.0.2 app (if so, what is needed) or do I have to copy everything that is included in the

RE: Should I use a persistence layer?

2002-10-03 Thread Joe Barefoot
> If they have 2 windows open they're likely to be in 2 > different sessions. Not 'likely', only possibly. Most users are familiar with the "new window" concept, which in most browsers (IE for sure) retains the current session. A user will quickly realize it is faster to do a new window th

RE: [OT] Should I use a persistence layer?

2002-10-03 Thread Kevin A. Smith
I've been playing around with Hibernate (http://hibernate.sourceforge.net) on personal project and it seems to be pretty easy to work with and has good performance. --Kevin -Original Message- From: Chen, Dean (Zhun) [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 3:25 PM To:

RE: Wrapping the controller?

2002-10-03 Thread Galbreath, Mark
Look in your web.xml file. Mark -Original Message- From: Smith, Johnathan M. [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 1:32 PM To: [EMAIL PROTECTED] Subject: RE: Wrapping the controller? I does see where in the ActionServlet it calls the RequestProcessor -Origin

DynaFormAction problem

2002-10-03 Thread Germán Leonardo Largo Urrea
Hi everybody, I have this action and this form-bean... in EditarInstitucionAction I have this... if(form==null){ DynaActionForm institucionForm = new DynaActionForm(); PropertyUtils.setSimpleProperty(instituc

RE: Should I use a persistence layer?

2002-10-03 Thread Chen, Dean (Zhun)
Thanks for this, what good persistence layers are there? Is there something that works with struts and is simple? Dean Chen -Original Message- From: Joe Barefoot [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 2:41 PM To: Struts Users Mailing List Subject: RE: Should I use

Re: Tiles and Internationaliation

2002-10-03 Thread Vincent PROSPER
Hi, I am quite new to tiles stuff (only 1 and an half day experience, switching from Struts templates...) For the moment, I am just trying to insert internationalized messages in tiles and the only way I found to do this is:

RE: Wrapping the controller?

2002-10-03 Thread Craig R. McClanahan
On Thu, 3 Oct 2002, Smith, Johnathan M. wrote: > Date: Thu, 3 Oct 2002 13:32:10 -0400 > From: "Smith, Johnathan M." <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: RE: Wrapping the controller? > > I does see where in the ActionSer

RE: EL and the developer's roadmap

2002-10-03 Thread Chen, Gin
Hi Mark, You might want to check out Shawn Bayern's new book: "JSTL in action", Manning ISBN: 1-930110-52-9 It's kind of geared towards beginners (which I know your not) but the information in it is great even for people who have worked with taglibs for a while now. Check

RE: [OT] Mail list gone whack-o?

2002-10-03 Thread Cliff Rowley
Hrm, not the first time its happened in the past couple of months or so.. >-Original Message- >From: Taylor, Jason [mailto:[EMAIL PROTECTED]] >Sent: 03 October 2002 19:54 >To: 'Struts Users Mailing List' >Subject: RE: [OT] Mail list gone whack-o? > > >+1 > >are we being bugged? > >-O

RE: [OT] Mail list gone whack-o?

2002-10-03 Thread Taylor, Jason
+1 are we being bugged? -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 8:30 AM To: [EMAIL PROTECTED] Subject: Re: [OT] Mail list gone whack-o? Yes, I've noticed it too. James Mitchell On Thu, 03 October 2002, Eddie Bush wrote: >

RE: Multiple selected for html:select

2002-10-03 Thread Madel,Kurt
I solved this, not sure if it is good practice, but this might be useful to others. Below you will see that I am working with the managers Vector that contains Person objects. I changed the select part to: And, added the following to my Person class: public String toString() { re

Re: Should I use a persistence layer?

2002-10-03 Thread David Graham
If they have 2 windows open they're likely to be in 2 different sessions. Besides, how often do you think your users will do this? I don't know of any persistence layer that solves this "problem". Dave >From: "Chen, Dean (Zhun)" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[E

RE: Should I use a persistence layer?

2002-10-03 Thread Joe Barefoot
Yes. The standard approach is to only keep in memory results that are currently on the page. Have a persistence layer (either EJB or O/R mapping tool, or a combination of the two) "page" the results for you. i.e., you give it search criteria, sort criteria, a begin index, and an end index, an

Re: EL and the developer's roadmap

2002-10-03 Thread Eddie Bush
Have you been filtering my posts again, Mark?! Galbreath, Mark wrote: >First time I've heard of EL too. Where can I get more info? > -- Eddie Bush -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Making the checkbox selected by default.

2002-10-03 Thread Sri Sankaran
It'll appear checked if the value of the property attribute (from your form-bean) matches the value of the value attribute. This checkbox will appear selected if getColor() returns "red". Sri -Original Message- From: Sanjeev [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 200

RE: Making the checkbox selected by default.

2002-10-03 Thread Brandon Goodin
You can use multicheckbox to accomplish that. Check the docs. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sanjeev Sent: Thursday, October 03, 2002 12:44 PM To: Struts Users Mailing List Subject: Making the checkbox selected by default. Hi All,

Making the checkbox selected by default.

2002-10-03 Thread Sanjeev
Hi All, How do I make a checkbox selected by default ? I'm using struts' checkbox tag in my application. I couldn't find any fields in the corresponding tag. Please help.. Thankx in advance.. -Sanjeev -- To unsubscribe, e-mail: For additional commands, e-

RE: Where's the form-bean???

2002-10-03 Thread Brian Holzer
Hi Jeff, Is that because your Action is populating the form before forwarding to the page? And if not, what exactly is your Action doing? Brian >>> "Lowe, Jeff" <[EMAIL PROTECTED]> 10/03/02 07:22am >>> Hi Jason, Thanks for the reply. You've got it right in what I'm doing. However I thi

RE: Multiple selected for html:select

2002-10-03 Thread Sri Sankaran
The property attribute of the must allow for capturing multiple items. It should be a collection. Take a peek at html-select.jsp that is part of the struts-exercise-taglib application that ships with Struts. Form bean -- private String[] foo; public void setFoo(String[] in)

Multiple selected for html:select

2002-10-03 Thread Madel,Kurt
I have two collections, 1 is of managers that need to be preselected and the other is managers that can be selected from. Here is my jsp code: 'managers' is a Vector in a DynaActionForm, and managerList is of type List, not sure if this matter. However, this works, but obviously only

RE: EL and the developer's roadmap

2002-10-03 Thread Craig R. McClanahan
On Thu, 3 Oct 2002, Galbreath, Mark wrote: > Date: Thu, 3 Oct 2002 12:54:54 -0400 > From: "Galbreath, Mark" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: EL and the developer's roadmap > > First

RE: Wrapping the controller?

2002-10-03 Thread Smith, Johnathan M.
I does see where in the ActionServlet it calls the RequestProcessor -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 11:05 AM To: [EMAIL PROTECTED] Subject: RE: Wrapping the controller? Sounds like the best idea to me. The servlet deleg

RE: EL and the developer's roadmap

2002-10-03 Thread Karr, David
> -Original Message- > From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 03, 2002 9:55 AM > To: 'Struts Users Mailing List' > Subject: RE: EL and the developer's roadmap > > > First time I've heard of EL too. Where can I get more info? You can first read the JS

Re: Problem with Jrun

2002-10-03 Thread Ashish Kulkarni
Hi some times jrun does not pick jar files from web-inf/lib just try to set the class path in jrun and test, i had some different problem with jsp not getting compiled.. Ashish --- DjTweed <[EMAIL PROTECTED]> wrote: > Hello, > I'm running Jrun 3.1 (latest patch) on WinXP Pro > with IIS. I have ha

RE: [TILES] Frame's src attrib has html & not a url

2002-10-03 Thread Sri Sankaran
Thanks that did it. While I understand what you are saying about needing a valid URL, wouldn't that always be the case. For example, in my case, when the 'Disclaimer' page is invoked, the tileDefinitions shows that it extends the BasicWizardPage which extends qsWizard. The value of 'body' is

Should I use a persistence layer?

2002-10-03 Thread Chen, Dean (Zhun)
Hi, For an web application, is there a way for a user to paginate through (similar to google) a lot of data across multiple browser windows. The usual way of paginating with session scope works fine. However, if a user has 2 windows open on the same application. When he/she queries on one, then

DynaFormAction problem

2002-10-03 Thread Germán Leonardo Largo Urrea
Hi everybody, I have this action and this form-bean... in EditarInstitucionAction I have this... if(form==null){ DynaActionForm institucionForm = new DynaActionForm(); PropertyUtils.setSimpleProperty(instituci

RE: EL and the developer's roadmap

2002-10-03 Thread Galbreath, Mark
First time I've heard of EL too. Where can I get more info? -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 12:06 PM To: 'Struts Users Mailing List' Subject: RE: EL and the developer's roadmap > -Original Message- > From: Vincent

Problem with Jrun

2002-10-03 Thread DjTweed
Hello, I'm running Jrun 3.1 (latest patch) on WinXP Pro with IIS. I have had this config for 2+ years and it works great. Lately I have been playing with Struts 1.1 beta. After intalling the struts example app, I get the following error when loading the index.jsp page. 500 Internal Server Erro

RE: threading question

2002-10-03 Thread Galbreath, Mark
Yeah, and now I'm W-I-R-E-D. :-0 -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 11:35 AM As others eventually drank enough coffee to figure out :-), -- To unsubscribe, e-mail: For additional command

Re: [TILES] Frame's src attrib has html & not a url

2002-10-03 Thread Cedric Dumoulin
You should provide the attribute value as a String, not as its content to the frame: Also remember that you can only use valid url here, not tiles definitions. This is because the url is interpreted by the client browser, not on the server. Cedric Sri Sankaran wrote: >Using S

Re: EL and the developer's roadmap

2002-10-03 Thread Craig R. McClanahan
On Thu, 3 Oct 2002, Vincent Stoessel wrote: > Date: Thu, 03 Oct 2002 11:30:35 -0400 > From: Vincent Stoessel <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users <[EMAIL PROTECTED]> > Subject: EL and the developer's roadmap > > OK, > I'll bite. What d

Re: EL and the developer's roadmap

2002-10-03 Thread Susan Bradeen
I'm with you Vincent! I am really enjoying getting into Struts, but wow, the new stuff comes up fast! I just got a copy of Goodwill's book last week, and am looking forward to other references coming out next month. I can't wait until I don't feel like such a newbie! A roadmap is a very handy

RE: EL and the developer's roadmap

2002-10-03 Thread Wendy Smoak
>> Sometimes I feel I am always running to to catch up in Struts. Mastered ActionForms? oops gotta learn DynaActionForms! Learned how to validate in the action class? , ha! better learn Dyna*Valid* stuff. Mastered struts-logic? no! learn JSTL! << I feel the same way. :) I was trying to get a goo

Re: EL and the developer's roadmap

2002-10-03 Thread Kevin . Bedell
Not trying to be intrusive on the process - and you may have already seen this, but here is I think one of the best examples of an opensource developer roadmap. It shows branching and release plans as well as providing links to background information. http://www.mozilla.org/roadmap.html

Using a default entry with LookupDispatchAction ???

2002-10-03 Thread Norman Klein
I am currently using LookupDispatchAction to handle all of the various submit buttons on my form. But when this particular webpage is first invoked, I would like to first pre-populate it with values. So I want to use the same Action (Form bean) to handle pre-populating the webpage and then handli

RE: EL and the developer's roadmap

2002-10-03 Thread Karr, David
> -Original Message- > From: Vincent Stoessel [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 03, 2002 8:31 AM > To: Struts Users > Subject: EL and the developer's roadmap > > OK, > I'll bite. What does EL stand for? > From what I'm hearing, there seems to be a current trend > of m

RE: struts-config.xml question

2002-10-03 Thread Kevin HaleBoyes
Victor and Emmanuel, thanks for your answers. With them, and the later discussion on similar topics I think I understand. Part of my confusion comes from a bug I've not been able to repeat. At one point in time I changed the 'attribute' property to 'name' and my application stopped working. It s

Re: tag

2002-10-03 Thread Kevin . Bedell
There is an example application included in the Struts distribution showing how to upload files - or at least there was. It's probably still there, though I haven't looked recently. Best of luck - Kevin It's also covered in my book :-) with a sample application provided. (you

Re: unable to unsubscribe.

2002-10-03 Thread James Mitchell
LOL James Mitchell - Original Message - From: "Galbreath, Mark" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, October 03, 2002 9:12 AM Subject: RE: unable to unsubscribe. > This is the Hotel California list. You can check in, but can never

Re: tag

2002-10-03 Thread Joe Germuska
At 11:09 AM -0400 2002/10/03, Matt Sales wrote: >Hello, >I'm having trouble with the tag... > >Here's a snippet of my jsp: > >enctype="multipart/form-data"> > >... > > >I've also tried the tag using the accepts attribute, >accepts="java.io.File", and >accepts="java.io.String", >with, of cou

Re: Wrapping the controller?

2002-10-03 Thread Eddie Bush
David Graham wrote: > Sounds like the best idea to me. ... unless you're on a container supporting servlet spec 2.3 :-) In that case, use a filter ;-) and be independent of Struts and compliant with any server you choose to run on. > The servlet delegates processing to its RequestProcessor s

Re: [OT] Mail list gone whack-o?

2002-10-03 Thread Eddie Bush
Yeah - you're exactly right, David. I hadn't thought of it that way. I think what made it seem odd to me is that it was from [EMAIL PROTECTED], which, I believe, is the server running the list - right? I don't know what made me think that now - but it's an impression I've had, I suppose.

Re: Populate form with ActionForm

2002-10-03 Thread Craig R. McClanahan
On Thu, 3 Oct 2002, Miguel Angel Medina Lopez wrote: > Date: Thu, 3 Oct 2002 13:53:09 +0200 > From: Miguel Angel Medina Lopez <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>, > Miguel Angel Medina Lopez <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMA

Re: threading question

2002-10-03 Thread Craig R. McClanahan
On Thu, 3 Oct 2002, Esbrook, Scott wrote: > Date: Thu, 3 Oct 2002 07:45:21 -0400 > From: "Esbrook, Scott" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: threading question > > Hello, > > Quick Struts/servl

Re: tag

2002-10-03 Thread Thomas Eichberger
What I do: JSP file: UploadActionForm: protected FormFile theFile; with get/set methods UploadAction:perform: if ( file != null ) { ... stream = file.getInputStream(); zipFile = new Fil

EL and the developer's roadmap

2002-10-03 Thread Vincent Stoessel
OK, I'll bite. What does EL stand for? From what I'm hearing, there seems to be a current trend of moving away from Struts taglibs if there is a JSTL tag that has the same functionality. I admit that makes me a bit nervous as a newbie. I'm still learning the struts tags! The Goodwill book has an

Re: [OT] Mail list gone whack-o?

2002-10-03 Thread James Mitchell
Yes, I've noticed it too. James Mitchell On Thu, 03 October 2002, Eddie Bush wrote: > Message-Id: <[EMAIL PROTECTED]> > List-Help: > List-Unsubscribe: > From: Eddie Bush <[EMAIL PROTECTED]> > Reply-To: "Struts Users Mailing List" <[EMAIL PRO

Re: Basic Templating Recommendations?

2002-10-03 Thread Adam Sherman
Phase Web and Multimedia wrote: > I don't understand what you are asking. With struts you can specify the > template you want to use by placing a tiles definition in the forward > mappings. It will map you request url to a definition. Just make sure that > everything is happening through struts co

DynaActionForm and hashmap property

2002-10-03 Thread Susan Bradeen
Hi All, My question is in regard to submitting a JSP form that contains form fields displayed by iterating over a hashmap. I have defined a DynaActionForm in my Struts-config file in which, besides numerous String properties, I have one hashmap. Using the "profileForm.set(

RE: [OT] Mail list gone whack-o?

2002-10-03 Thread Robert Taylor
I'm seeing the same behavior but I don't know what the problem is. robert > -Original Message- > From: Eddie Bush [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 03, 2002 10:56 AM > To: Struts Users List > Subject: [OT] Mail list gone whack-o? > > > I keep getting (several!) mess

Re: threading question

2002-10-03 Thread Dave Derry
U...that's Dave...but that's all right. Go get that second cup of coffee! ;-)) Dave Derry - Original Message - From: "Galbreath, Mark" <[EMAIL PROTECTED]> > Absolutely right, Jerry! Ironically, I was just writing a non-Struts helper > class to make a credit card validat

[TILES] Frame's src attrib has html & not a url

2002-10-03 Thread Sri Sankaran
Using Struts 1.0.2 and Tiles extension The page I am developing consists of frames. Upon display, all the frames display a 404 error. Looking at the source of the HTML, I find that the src attribute doesn't point to a URL but contains the contents of the file at that url. My frameset page:

RE: [OT] Mail list gone whack-o?

2002-10-03 Thread Karr, David
> -Original Message- > From: Eddie Bush [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 03, 2002 7:56 AM > To: Struts Users List > Subject: [OT] Mail list gone whack-o? > > I keep getting (several!) messages (one for each I send, I > believe) that > say my mail wasn't delivered - b

RE: EL in Struts

2002-10-03 Thread Karr, David
> -Original Message- > From: Chen, Gin [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 03, 2002 7:24 AM > To: 'Struts Users Mailing List' > Subject: EL in Struts > > Hi guys, >I've been switching alot of my struts stuff to JSTL so > that I can use the > EL functionality. > But I

tag

2002-10-03 Thread Matt Sales
Hello, I'm having trouble with the tag... Here's a snippet of my jsp: ... I've also tried the tag using the accepts attribute, accepts="java.io.File", and accepts="java.io.String", with, of course, the corresponding property in the actionForm set to the correct type. Every time the fo

RE: Wrapping the controller?

2002-10-03 Thread David Graham
Sounds like the best idea to me. The servlet delegates processing to its RequestProcessor so it makes sense to subclass the RequestProcessor instead of the servlet. I think it would be pretty easy to add the logging. Override a processor method put a logging statment in, call super.process*(

RE: EL in Struts

2002-10-03 Thread Chen, Gin
ooh! thanks eddie and brandon and mostly david. :) this will make Struts so much more fun. -Tim -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 10:37 AM To: Struts Users Mailing List Subject: Re: EL in Struts It's been done. Grab a nightl

Re: Populate form with ActionForm

2002-10-03 Thread Miguel Angel Medina Lopez
Thanks, That was the problem, I had not set the bean with the method request.setattribute. I thought that the framework did it for me. Thanks Miguel Angel Molero too for his explication about. MAML - Original Message - From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PR

RE: set ContentType to application/msword

2002-10-03 Thread Galbreath, Mark
Haven't done this, but me thinks you will have to override setContentType() of ActionServlet. Mark -Original Message- From: Billy Ng [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 10:00 AM I am trying to let user to open the HTML with MS Word. I changed the content type to

RE: threading question

2002-10-03 Thread Galbreath, Mark
Sorry, Dave. "Derry," not "Jerry." (Man, I knew I shouldn't have drank that second bottle of cough syrup!) -Original Message- From: Dave Derry [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 9:48 AM To: Struts Users Mailing List Subject: Re: threading question Had your cof

  1   2   >