Re: checking tiles-defs.xml

2004-03-31 Thread Mark Lowe
struts console validates and IMO is a tidy way to get around tiles-defs and other struts xml files. On 1 Apr 2004, at 09:12, Dean A. Hoover wrote: Found one: http://www.stg.brown.edu/service/xmlvalid/ Dean A. Hoover wrote: As my application grows, so does my tiles-defs.xml file. Well, I must h

Re: Clean url for home page

2004-03-31 Thread Jan Peter Hecking
John Boyes wrote: I would like to have a clean url for my site's home page (built with Struts) displayed to the user. e.g http://www.mysite.com not http://www.mysite.com/home.do or http://www.mysite.com/index.jsp Is there a straightforward way to accomplish this, while still processing a Struts

Re: checking tiles-defs.xml

2004-03-31 Thread Steve Widmar
Dean: If you use ant, you could also use http://ant.apache.org/manual/OptionalTasks/xmlvalidate.html eg: Cheers, Steve >>> [EMAIL PROTECTED] 03/31/04 11:12PM >>> Found one: http://www.stg.brown.edu/service/xmlvalid/ Dean A. Hoover wrote: > As my application grows, so does my > ti

changing two frames at one time

2004-03-31 Thread Otto, Frank
Hi, I have three frames. If I click a link in one frame, I want to change the other two frames. Is this possible with Struts? Regards, Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[OT] was Re: JavaServer Face

2004-03-31 Thread Mark Lowe
Vic I've had a look around I'm a tad confused, do you subscribe to struts lists just for the comedy value then? You mention struts several times on your site and even offer training for struts. As amusing as the cartoons are, I'm not sure the person who drew them is aware of the compatibili

Re: checking tiles-defs.xml

2004-03-31 Thread Dean A. Hoover
Found one: http://www.stg.brown.edu/service/xmlvalid/ Dean A. Hoover wrote: As my application grows, so does my tiles-defs.xml file. Well, I must have mistyped something because now when I go to run an exception is thrown telling me there's a syntax error in there somewhere. (Actually, it says th

checking tiles-defs.xml

2004-03-31 Thread Dean A. Hoover
As my application grows, so does my tiles-defs.xml file. Well, I must have mistyped something because now when I go to run an exception is thrown telling me there's a syntax error in there somewhere. (Actually, it says there is a missing "".) Reminds me of the old days when I was hacking lex files

[OT] File explorer (tree view component) ...

2004-03-31 Thread Anand Stephen
Greetings, Sorry for the off topic question. Has any one used a tree view component, that has to process a very large number of files (> 40,000) and browser is able to render this tree quickly (< 1 sec)? e.g. \---local +---audio +---colorswatches (as over 40,000) files +---kickers

Re: adding jsessionid without

2004-03-31 Thread Craig McClanahan
Fedor Smirnoff wrote: Hi, I have a couple of links that are printed from custom tags so I cannot use html:link, I know I can just add ;jsessionid= but is there a way to determine if there is a need for jsessionid to be added to the link, same way Thanks Fedor --

Re: Using Struts with Avalon

2004-03-31 Thread Craig McClanahan
Richard Megginson wrote: I'd like to use Avalon for the lifecycle management of Struts Action and ActionForm objects. But it seems that in order to do so, the RequestProcessor class would need to be replaced, or at least the processActionForm() and processActionCreate() methods, in order to perfo

Using Struts with Avalon

2004-03-31 Thread Richard Megginson
I'd like to use Avalon for the lifecycle management of Struts Action and ActionForm objects. But it seems that in order to do so, the RequestProcessor class would need to be replaced, or at least the processActionForm() and processActionCreate() methods, in order to perform the lifecycle managemen

SV: HashMap and tiles

2004-03-31 Thread hermod . opstvedt
Hi You have a form on it that maps to an action, but you have not defined a form for that action Hermod -Opprinnelig melding- Fra: Mario St-Gelais [mailto:[EMAIL PROTECTED] Sendt: 31. mars 2004 17:07 Til: [EMAIL PROTECTED] Emne: HashMap and tiles I am using Tomcat 5.0.19 and Struts 1.1

Dynamic tile definitions

2004-03-31 Thread Joshua Tuberville
Hello, I am writing a component for a Struts 1.1 application that uses JSTL and the Struts-EL library. In my design I mistakenly thought that the tiles tags were a part of Struts-EL for 1.1. As pointed out earlier on this list they are only in 1.2. Upgrading our app to 1.2 is not a very attract

adding jsessionid without

2004-03-31 Thread Fedor Smirnoff
Hi, I have a couple of links that are printed from custom tags so I cannot use html:link, I know I can just add ;jsessionid= but is there a way to determine if there is a need for jsessionid to be added to the link, same way

Fw: Struts boooks: remommendations?

2004-03-31 Thread Xuemin Guan
- Original Message - From: "Charles Jordan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, March 31, 2004 11:00 PM Subject: Re: Struts boooks: remommendations? > Can you print the pdf? Printable is one of the product's features. Xuemin

validaton and i18n

2004-03-31 Thread Laurie Harper
I've finally managed to get the Struts Validator working, thanks to the sample chapter on it from Struts in Action. I'm having one small problem still, though. When validation fails, I get a blank alery popup. Looking at the generated Javascript the problem appears to be that the message string

Responding to Your Newsletter Request

2004-03-31 Thread requests
Your request was not completed because the newsletter "from" could not be found. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: unsubscribe from new list

2004-03-31 Thread Craig R. McClanahan
Nick Faiz wrote: How do I unsubscribe from this list? I've sent emails to both [EMAIL PROTECTED] and [EMAIL PROTECTED] Try sending an empty message to "[EMAIL PROTECTED]". If that doesn't work, send me mail privately and I'll remove you. Nick Faiz Craig -Original

RE: Struts issue..working in local WSAD/iwndows but not in Web sphere Deployment/ AIX

2004-03-31 Thread Mathew, Manoj
Hi guys need your help is this because i don't have any entry for myCommonForm in struts config.? -Original Message- From: Mathew, Manoj Sent: Wednesday, March 31, 2004 3:59 PM To: [EMAIL PROTECTED] Subject: Struts issue..working in local WSAD/iwndows but not in Web sphere Deployment/

RE: How do I get Application Scope in Action Class

2004-03-31 Thread Raghu.Ramakrishnan
Hi Pritpal Thanks a lot for your timely help. We have a release in two days Under heavy pressure, thanks again. Raghu -Original Message- From: Dhaliwal, Pritpal (HQP) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 5:51 PM To: 'Struts Users Mailing List' Subjec

Responding to Your Newsletter Request

2004-03-31 Thread requests
Your request was not completed because the newsletter "from" could not be found. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

unsubscribe from new list

2004-03-31 Thread Nick Faiz
How do I unsubscribe from this list? I've sent emails to both [EMAIL PROTECTED] and [EMAIL PROTECTED] Nick Faiz -Original Message- From: Dhaliwal, Pritpal (HQP) [mailto:[EMAIL PROTECTED] Sent: Thursday, 1 Ap

RE: How do I get Application Scope in Action Class

2004-03-31 Thread Nick Faiz
How do I unsubscribe from this list? I've sent emails to both [EMAIL PROTECTED] and [EMAIL PROTECTED] Nick Faiz -Original Message- From: Dhaliwal, Pritpal (HQP) [mailto:[EMAIL PROTECTED] Sent: Thursday, 1 April 2004 9:51 AM To: 'Struts Users Mailing List' Subject: RE: How do I get Applic

RE: How do I get Application Scope in Action Class

2004-03-31 Thread Dhaliwal, Pritpal (HQP)
HI Raghu, Good one.. Had me scrathing my head a lil.. ServletContext application = getServlet().getServletContext(); Enjoy, Pritpal Dhaliwal -Original Message- From: Raghu.Ramakrishnan [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 3:20 PM To: Struts Users Mailing List Subj

RE: xhtml gets turned off

2004-03-31 Thread Mark Mandel
Nope. That's This is just a tag to say 'HEY! I'm XHTML everyone!' Mind you - tags still generate 'name' attributes, which are not valid XHTML. But what can you do? Mark -Original Message- From: Dean A. Hoover [mailto:[EMAIL PROTECTED] Sent: Thursday, 1 April 2004 9:36 AM To: Struts

Re: xhtml gets turned off

2004-03-31 Thread Dean A. Hoover
Thanks Mark. But it will not generate any more tags? Thanks Dean Mark Mandel wrote: Dean - In each of your tiles that uses XHTML you need to have a tag, so the system knows it's outputting xhtml. (Did the same thing a few days ago) Regards, Mark -Original Message- From: Dean A. Hoo

RE: xhtml gets turned off

2004-03-31 Thread Mark Mandel
Dean - In each of your tiles that uses XHTML you need to have a tag, so the system knows it's outputting xhtml. (Did the same thing a few days ago) Regards, Mark -Original Message- From: Dean A. Hoover [mailto:[EMAIL PROTECTED] Sent: Thursday, 1 April 2004 6:32 AM To: [EMAIL PROTECT

How do I get Application Scope in Action Class

2004-03-31 Thread Raghu.Ramakrishnan
Hi, My problem is that I have set certain objects in Application Scope. I am able to access these objects in my jsp pages But unable to get these objects in my Action Classes. i) How do I get Objects(Objects that were set using application.setAttribute()) in Application scope in my Action Clas

feeding custom actionForm to a jsp page?

2004-03-31 Thread Max Kovalenkov
Hello, I have a form for submitting data which can be optionally used to substitute new data instead of any other past entry by the same user. If you check a 'change' checkbox before pressing submit - brings you back to the same form, but now there's also a "radio-button" list of past entries,

RE: Struts issue..working in local WSAD/iwndows but not in Web sphere Deployment/ AIX

2004-03-31 Thread Mathew, Manoj
anybody think "abstract" causing an issue here? -Original Message- From: Mathew, Manoj Sent: Wednesday, March 31, 2004 3:59 PM To: [EMAIL PROTECTED] Subject: Struts issue..working in local WSAD/iwndows but not in Web sphere Deployment/ AIX I have a action form public class myForm1

Re: validator and dispatch action

2004-03-31 Thread Adam Hardy
It depends on why you wanted to use dispatch action in the first place. Yet another technique is to have multiple actions using the same action class, but with a seperate "parameter='whatever'" attribute, where 'whatever' is 'update', 'delete' etc. In fact you can put most common code in a base

Struts issue..working in local WSAD/iwndows but not in Web sphere Deployment/ AIX

2004-03-31 Thread Mathew, Manoj
I have a action form public class myForm1 extends myCommonForm{} public abstract class myCommonForm extends ActionForm{} public class myForm2 extends myCommonForm{} Here myForm1 and myForm2 have some common properties which has put in myCommonForm(setters and getters) and i extend that in bot

xhtml gets turned off

2004-03-31 Thread Dean A. Hoover
I have been using so that the various html tags will generate xhtml compliant code, and it has worked last time I checked. I just attempted to validate the HTML output at w3c and found that the Dean Hoover PS The code is too large to post. Tiles within tiles, within tiles, etc. --

Re: switching to struts-el

2004-03-31 Thread Bill Siggelkow
Wendy Smoak wrote: Another question for Bill, also on page 33: Why are you using the 'value' attribute of the tag? Struts should pre-populate the HTML form element based on the Form bean property, which would have been filled in when the form was submitted (or be blank if not). I haven't read t

Re: switching to struts-el

2004-03-31 Thread Bill Siggelkow
Thanks for the mention, Ted. As far as the Struts-EL calculator, the calculation is actually done by the CalcAction (Calc.do) -- not a helper bean. The calculation could have been done inline (using EL in the ) as with the JSTL calculator; however, in this case, I have the action to which the

Re: Struts 1.1, JSTL and Tomcat5

2004-03-31 Thread Jens Kühnberger
Thanks a lot. I changed http://java.sun.com/j2ee/dtds/web-app_2_3.dtd";> to http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd" version="2.4"> and now it's working. Martin Coo

Re: Question about logic:iterator, indexId and hidden fields

2004-03-31 Thread Martin Cooper
"Eric Hodges" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have a form with a list of elements on it. Each element has an "Edit" > button associated with it. When the user clicks the Edit button for a > specific element, I want to send back the value of indexId in a hidden fie

Re: Struts 1.1, JSTL and Tomcat5

2004-03-31 Thread Bill Siggelkow
A google search seems to indicate that this is an XML parsing problem. You might want to check and see if you have any old versions of parsers (such as xerces and crimson) on your classpath. Bill Siggelkow Jens Kühnberger wrote: Hi everyone, I got a problem with updating my webapplication from

Re: Struts 1.1, JSTL and Tomcat5

2004-03-31 Thread Martin Cooper
Did you update your web.xml file for Servlets 2.4, and update any taglib declarations in that file? -- Martin Cooper "Jens Kühnberger" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi everyone, > > I got a problem with updating my webapplication from struts 1.0, jstl > 1.0 and to

Re: validator and dispatch action

2004-03-31 Thread Mike Foody
Agreed about it being mostly syntactical sugar. On the other hand I think defining multiple mappings for the same Action is extremely useful. It allows you to group your functionality and easily access shared functionality, but also provide alternative validation and forwards without having w

Re: validator and dispatch action

2004-03-31 Thread Paul Barry
You could do this same thing in Strust 1.1, except that you would need the method parameter. In struts 1.1, the links would be: /createSubscription.do?method=create /editSubscription.do?method=edit ... And with MappingDispatchAction they would be /createSubscription.do /editSubscription.do ...

RE: Exception handling with scaffold

2004-03-31 Thread Barett McGavock
Mr. Austin, You can override the catchException method. You should put your exception handler therein. Hopefully I understood the question...! B -Original Message- From: Tate Austin [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 10:22 AM To: Struts Users Mailing List Subject:

Re: validator and dispatch action

2004-03-31 Thread Mike Foody
Sorry about that link. Frames are a killer ... http://jakarta.apache.org/struts/api/org/apache/struts/actions/MappingDispatchAction.html Mike Foody wrote: If you're not opposed to using 1.2 the MappingDispatchAction will allow you to easily set up multiple action mappings, each capable of hav

Re: validator and dispatch action

2004-03-31 Thread Mike Foody
If you're not opposed to using 1.2 the MappingDispatchAction will allow you to easily set up multiple action mappings, each capable of having their own ActionForm, validation, etc and then actually handle these all with a multiple methods in a single Action class. http://jakarta.apache.org/st

Question about logic:iterator, indexId and hidden fields

2004-03-31 Thread Eric Hodges
I have a form with a list of elements on it. Each element has an "Edit" button associated with it. When the user clicks the Edit button for a specific element, I want to send back the value of indexId in a hidden field on the form. I can't figure out a clean way to do this. The documentation sa

Exception handling with scaffold

2004-03-31 Thread Tate Austin
Whenever I attempt to have an action throw an Exception of any type it seems that Scaffold catches it and treats it before struts does. The code I refer to is the BaseAction class withing scaffold, the catchexception method gets tripped and intercepts the exception. Is this architecturally one of

RE: validator and dispatch action

2004-03-31 Thread Marco Mistroni
Hi, Although not using validator, I had similar problem When using dispatch actions (different methods requires different Validations). So I enable always validation, but I wrote my custom validate method In the ActionForm. Now, if u want to use validator, first thing that comes to my mind

Re: validator and dispatch action

2004-03-31 Thread Paul Barry
Yeah, I guess that would work, but seems kludgey. Wouldn't it be easier to just have separate actions for each operation? The struts books that I have read (Struts in Action, Husted and Programming Jakarta Struts, Cavaness) claim that the dispatch action makes the application easier to mainta

Re: validator and dispatch action

2004-03-31 Thread Adam Hardy
Sorry, that's the only property you do NOT want to copy! I mean all the others. On 03/31/2004 06:44 PM Adam Hardy wrote: It's worth trying it with a new mapping then. Copy across the relevant bits from the real mapping, in pseudocode: newMapping = new Mapping(); newMapping.setName(origMapping.g

Re: validator and dispatch action

2004-03-31 Thread Adam Hardy
It's worth trying it with a new mapping then. Copy across the relevant bits from the real mapping, in pseudocode: newMapping = new Mapping(); newMapping.setName(origMapping.getName()); etc. On 03/31/2004 06:37 PM Takhar, Sandeep wrote: I thought there used to be a way in the struts-config to sa

Struts 1.1, JSTL and Tomcat5

2004-03-31 Thread Jens Kühnberger
Hi everyone, I got a problem with updating my webapplication from struts 1.0, jstl 1.0 and tomcat 4.1 to struts 1.1, JSTL 1.1 and tomcat 5. I got rid of all the old .jar and .tld files and inserted the new ones. I tried all different uri on the .jsp page, read through various messages on the ma

RE: validator and dispatch action

2004-03-31 Thread Takhar, Sandeep
I thought there used to be a way in the struts-config to say "use this form name even though we are using the same class" name="" property=""?? It would still require a different mapping...if it is true sandeep -Original Message- From: Paul Barry [mailto:[EMAIL PROTECTED] Sent: Wednes

Re: validator and dispatch action

2004-03-31 Thread Paul Barry
I get this exception: javax.servlet.ServletException: Configuration is frozen Adam Hardy wrote: I mean, try changing it in the code in your action when you want to validate, & change it back afterwards to its previous value when done. Is that what you tried? String oldName = mapping.getName()

Re: validator and dispatch action

2004-03-31 Thread Paul Barry
Ah, I got you now. No, I didn't try that, I will give it a try. Adam Hardy wrote: I mean, try changing it in the code in your action when you want to validate, & change it back afterwards to its previous value when done. Is that what you tried? String oldName = mapping.getName(); mapping.setN

Re: validator and dispatch action

2004-03-31 Thread Adam Hardy
I mean, try changing it in the code in your action when you want to validate, & change it back afterwards to its previous value when done. Is that what you tried? String oldName = mapping.getName(); mapping.setName("widget-edit"); form.validate(mapping, request); mapping.setName(oldName); On 0

Re: validator and dispatch action

2004-03-31 Thread Paul Barry
The name of the action-mapping has to correspond to the name of the form-bean. Adam Hardy wrote: If I really wanted to stick with your set-up, I see a way it might be possible, although I have not done this myself. Try changing the 'name' attribute of the mapping to the validation that you de

Re: validator and dispatch action

2004-03-31 Thread Adam Hardy
If I really wanted to stick with your set-up, I see a way it might be possible, although I have not done this myself. Try changing the 'name' attribute of the mapping to the validation that you defined in the validation.xml, e.g. 'widget-update' or 'widget-edit' and then call the validate() met

RE: HashMap and tiles

2004-03-31 Thread Wendy Smoak
> From: Mario St-Gelais [mailto:[EMAIL PROTECTED] > I am using Tomcat 5.0.19 and Struts 1.1. I made a small application > using a hashmap to store user entry from a form. That works fine in > itself. Then to make the thing nicer, I added tiles. All the pages > work but the one with the form

Re: SV: Session Time Out

2004-03-31 Thread Kumar M
I am using Weblogic 6.1 which has this disclaimer: "Version 2.3 of the Servlet Specification from Sun Microsystems is a proposed final draft of the servlet specification and is subject to change. If you are planning to use any features introduced with version 2.3 in your application, note that

RE: Struts and plugin question

2004-03-31 Thread Andrew Hill
btw: actually I often tend to make the static method a member of the object that my plugin is initialising, - but only do that if the object is already 'servlet aware'. otoh if the object isnt supposed to know about servlets and such like (or its a third party thing) then you dont want to introduce

Re: JavaServer Face

2004-03-31 Thread Vic Cekvenich
I duno. I used to have a page with links on EJB anecdotes, and I was taken to task over it by a popular Sun employee, but that's all I can think of. .V Mark Lowe wrote: Just out of curiosity where's the link on your site that caused so much controversy? On 31 Mar 2004, at 16:39, Vic Cekvenic

validator and dispatch action

2004-03-31 Thread Paul Barry
Hello Everyone, I am using the validator and dispatch actions and I am wonder what the best way to do this is. Consider that I have the following method in a dispatch action: add- populates collections for drop-down lists, forwards to jsp page create - needs to do validation and store in d

RE: switching to struts-el

2004-03-31 Thread Wendy Smoak
> From: Ted Husted [mailto:[EMAIL PROTECTED] > Bill, > Your presentation, mentioned in another thread, is also very helpful. > http://www.jadecove.com/articles/jstl-and-struts.pdf Another question for Bill, also on page 33: Why are you using the 'value' attribute of the tag? Struts should p

RE: Struts and plugin question

2004-03-31 Thread Andrew Hill
But, fact is that when I want to get my component from servletcontext I have to cast it to my proper type. Is there a way to avoid that? Not really, but you could create a static (or non static if you like) helper method somewhere to take care of both remembering the key and casting: public cl

HashMap and tiles

2004-03-31 Thread Mario St-Gelais
I am using Tomcat 5.0.19 and Struts 1.1. I made a small application using a hashmap to store user entry from a form. That works fine in itself. Then to make the thing nicer, I added tiles. All the pages work but the one with the form. I keep getting the message : javax.servlet.ServletExcep

Struts and plugin question

2004-03-31 Thread Marco Mistroni
Hi all, I was wondering something about plugIns. Let's say, I want to create an object that has application context. So I create a plugIn to initialize it and store it in ServletContext. But, fact is that when I want to get my component from servletcontext I have to cast it to my proper t

Re: JavaServer Face

2004-03-31 Thread Mark Lowe
Just out of curiosity where's the link on your site that caused so much controversy? On 31 Mar 2004, at 16:39, Vic Cekvenich wrote: There is also a digram to help you get the picture: http://www.theserverside.com/cartoons/TalesFromTheServerSide.tss .V Mark Lowe wrote: There was a long thread on

RE: JavaServer Face

2004-03-31 Thread Andrew Hill
rofl! Reckon Im gonna be forwarding that link a fair bit. Nice :-) -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich Sent: Wednesday, 31 March 2004 22:39 To: [EMAIL PROTECTED] Subject: Re: JavaServer Face There is also a digram to help you get the picture:

Re: JavaServer Face

2004-03-31 Thread Vic Cekvenich
There is also a digram to help you get the picture: http://www.theserverside.com/cartoons/TalesFromTheServerSide.tss .V Mark Lowe wrote: There was a long thread on the developers list last week where the question of whether JSF would replace struts was discussed. The basic conclusions of those t

Re: Clean url for home page

2004-03-31 Thread Bill Siggelkow
Actually, as I recall a welcome-file cannot be a servlet path but must be a JSP or static page. First, you will want to set 'index.jsp' as the welcome file. Then to achieve what you want you want (that is, the web app is accessed at http://www.mysite.com) you need to configure the application to

Re: Switching validation on | off

2004-03-31 Thread Joe Germuska
i have a dynaValidatorForm declared with validate="true". Under certain conditions, i´d like to turn validation off. Is there any chance to achive this on the fly ? Depending on how dynamic your rules for validating or not are, you may be able to use the DynaValidatorActionForm. The only differ

Re: Struts boooks: remommendations?

2004-03-31 Thread Charles Jordan
Can you print the pdf? > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > List-Unsubscribe: > List-Subscribe: > List-Help: > List-Post: > List-Id: "Struts Users Mailing List" > Deliv

RE: One Action class but more than one functionality

2004-03-31 Thread Joao Batistella
Pedro, this is exactly what I need. Thanks! -Original Message- From: Pedro Salgado [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 31 de março de 2004 11:14 To: Struts Users Mailing List Subject: Re: One Action class but more than one functionality On 31/03/2004 10:12, "Joao Batistella" <[

Re: Struts boooks: remommendations?

2004-03-31 Thread Rick Reumann
On Wed, Mar 31, 2004 at 10:22:06AM +0200, Jesse Alexander (KAID 11) wrote: > Online doc is ok, but for a beginner Ted's book is better. I think "Programming Jakarta Struts" by Chuck Cavaness is a bit better for a beginner. Ted seems to cover a few more concepts, but Chuck explains

Re: Switching validation on | off

2004-03-31 Thread Niall Pemberton
You could extend DynaValidatorForm and override the validate() method in the DynaValidatorForm: public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { if (---?---) { return super.validate(mapping, request); } } Niall - Original M

Introduction & broken list links

2004-03-31 Thread Brian Lalor
Good morning, all. I'm really writing to complain that all links to subscribe to the struts lists are broken on the Apache website. Apparently there was a change from jakarta.apache.org -> struts.apache.org. Messages to [EMAIL PROTECTED] are bouncing, so new user subscriptions don't work.

Switching validation on | off

2004-03-31 Thread Frank Schaare
Hi, i have a dynaValidatorForm declared with validate="true". Under certain conditions, i´d like to turn validation off. Is there any chance to achive this on the fly ? -- +++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http:/

RE: Struts boooks: remommendations?

2004-03-31 Thread Amit Kumar Sharma
can u please mail the link for the Struts in action by ted husted. or any online document which can be helpful. -Original Message- From: Gardner, David [IT] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 11:50 AM To: Struts Users Mailing List Subject: RE: Struts boooks: remomme

RE: Clean url for home page

2004-03-31 Thread Tuncay Baskan \(Yazilim Muh. - Proje Gel. ve Uyg. Gr.\)
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of John Boyes > Sent: 31 Mart 2004 Çarşamba 15:42 > To: [EMAIL PROTECTED] > Subject: Clean url for home page > > I would like to have a clean url for my site's home page > (built with Struts) displayed to the user. > >

Clean url for home page

2004-03-31 Thread John Boyes
I would like to have a clean url for my site's home page (built with Struts) displayed to the user. e.g http://www.mysite.com not http://www.mysite.com/home.do or http://www.mysite.com/index.jsp Is there a straightforward way to accomplish this, while still processing a Struts action in the req

Re: switching to struts-el

2004-03-31 Thread Ted Husted
Bill, Your presentation, mentioned in another thread, is also very helpful. http://www.jadecove.com/articles/jstl-and-struts.pdf Towards the end, you show a simple calculator implemented as JSP, Struts, Struts-EL, and JSTL. On page 33, the Struts-EL uses a "helper bean" to do the arithmetic. Th

Re: Dynamic forward in tiles

2004-03-31 Thread Mariano García
El vie, 26-03-2004 a las 11:36, Pedro Salgado escribió: > If you want to make a tiles attribute dynamic, you must specify and > implement the tiles controller (described in the other mail). > I am using a Controller in the same way you described in the last mail, setting my 'body' attribute wi

FormFile and Opera browser

2004-03-31 Thread Vesa Hirsimaa
Hi! I'm having problems when using Opera 7.23 for submitting html-form with file input element which I want to left blank. I'm running with Resin 2.1.12 and JRE 1.4.2. Stack trace included below. I think that this occurs because Opera is sending the multipart-file field differently than ex. M

Re: One Action class but more than one functionality

2004-03-31 Thread Pedro Salgado
On 31/03/2004 10:12, "Joao Batistella" <[EMAIL PROTECTED]> wrote: > I understood what you and mean John Menke said. But the validations I have > in my abstract action class is not specific for a Person, for example. It > must be called for every action in the system and I don't want it to be > cal

RE: Problem with html:multibox not clearing

2004-03-31 Thread Murray, Christopher
You have my sympathies Jim! I have been wrestling with this same problem. I am attempting to fix a bug in some code that uses a multibox. I too had a reset method called by struts (1.02). My problem is that I only wanted to call the reset method when I submitted the search initially. There wer

Re: JavaServer Face

2004-03-31 Thread Mark Lowe
There was a long thread on the developers list last week where the question of whether JSF would replace struts was discussed. The basic conclusions of those taking part in the discussion what that struts was originally designed to fill a gap in the servlet api, and that the role of struts and

RE: JavaServer Face

2004-03-31 Thread Andrew Hill
hehe, this (struts vs jsf) has been asked a lot on the list. If you search the list archives you will find a lot of discussion on it, and in the struts wiki I found this page particularly enlightening: http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsMoreAboutJSF -Original Message- Fro

RE: One Action class but more than one functionality

2004-03-31 Thread Joao Batistella
I understood what you and mean John Menke said. But the validations I have in my abstract action class is not specific for a Person, for example. It must be called for every action in the system and I don't want it to be called like PersonUtils.commonCodeMethod(params). This must be automatically c

JavaServer Face

2004-03-31 Thread Xuemin Guan
Hi, All, I know this is a bit off topic. But really want to get an opinion about it from the Struts users. The JavaServer Face 1.0, or JSF, has been released. It claims to be a framework for building web-based user interfaces in Java. Like Swing, it provides a set of standard widgets (buttons, hy

Re: Struts boooks: remommendations?

2004-03-31 Thread Xuemin Guan
If you already have some basic understanding or even little practical experence of using it, I highly the book, "Struts Survival Guide" (www.objectsource.com). It takes you one step further on how extend the framework to fulfill your more advanced requirement. PS. you can buy a download PDF file a

SV: Session Time Out

2004-03-31 Thread hermod . opstvedt
Hi If it expires, the filter will be called again. The sessioncontext listener gets notified when the session is created, and when it is destroyed. Hermod -Opprinnelig melding- Fra: MOHAN RADHAKRISHNAN [mailto:[EMAIL PROTECTED] Sendt: 31. mars 2004 10:27 Til: 'Struts Users Mailing List'

SV: Struts boooks: remommendations?

2004-03-31 Thread hermod . opstvedt
Hi Try Professional Jakarta Struts from Wrox - It is way better than Struts in Action. Hermod -Opprinnelig melding- Fra: Laurie Harper [mailto:[EMAIL PROTECTED] Sendt: 31. mars 2004 08:10 Til: [EMAIL PROTECTED] Emne: Struts boooks: remommendations? I'm looking for a good book on Struts

RE: Session Time Out

2004-03-31 Thread MOHAN RADHAKRISHNAN
HI We are not finding it that easy. It could expire anywhere after the filter. Mohan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 1:39 PM To: [EMAIL PROTECTED] Subject: SV: Session Time Out Hi Use a servletfilter to trap when

RE: Struts boooks: remommendations?

2004-03-31 Thread Jesse Alexander (KAID 11)
second that... other advantage: buy it for half the price as e-book. If you like it and want it in real print: you can buy the printed book from mannigs at a lower price (). I first bought it in real print, and then afterwards added the ebook, to have it with me when

SV: Problem with html:multibox not clearing

2004-03-31 Thread hermod . opstvedt
Hi Have a reset() (Inherited from ActionForm) method in you form bean. In it you set all Boolean/boolean variables to false/null. That way, because a nonselected value is never submitted, when you get tne value from the form bean, it is false/null Hermod -Opprinnelig melding- Fra: Jim K

SV: Session Time Out

2004-03-31 Thread hermod . opstvedt
Hi Use a servletfilter to trap when a new session is created, and do what ever you want to there. Hermod -Opprinnelig melding- Fra: Adam Hardy [mailto:[EMAIL PROTECTED] Sendt: 31. mars 2004 09:56 Til: Struts Users Mailing List Emne: Re: Session Time Out Hi Kumar, struts will create th

R:struts-faces

2004-03-31 Thread Manganotti Francesco \(USI\)
when will the integration library (struts-faces) be released? more or less. cheers, F. Questo messaggio di posta elettronica contiene informazioni di carattere confidenziale rivolte esclusivamente al destinatario sopra indicato. E' vietato l'uso, la diffusione, distribuzione o riproduzione da pa