Re: Struts without beans

2003-07-17 Thread Paul Curren
Hi there, I don't know if this is what you are after, and it's a bit crappy because it essentially reduces the structured data of an XML file to a String but how about a form bean with a String property xmlText. Your action class would prepopulate this property by readying the XML as a simple t

Re: Cloning Form Beans

2003-06-12 Thread Paul Curren
Hi there, I don't know the answer but reading the javadoc on cloneBean it states - "Clone a bean based on the available getters and setters..." So if the getter on your bean isn't making defensive copies (and neither is the setter) then i'd imagine your newly cloned bean will have properties tha

Re: Struts help

2003-06-10 Thread Paul Curren
Howdy, For the level of information you are after, you need look no further than the struts-example web app that comes with the Struts download. Cheers, Paul C bhanu sistla wrote: HI all, I am totally news to struts. can i get good examples. i want examples based on html.tld, bean.tld etc...

Re: Heads up on new series on Gamelan

2003-06-04 Thread Paul Curren
to investigate the conversion of a custom MVC architecture to Struts. If there is a Java platform equivalent to Struts then that may be preferrable. Cheers, Paul C Craig R. McClanahan wrote: On Tue, 3 Jun 2003, Paul Curren wrote: Date: Tue, 03 Jun 2003 19:28:54 +0100 From: Paul Curre

Re: Heads up on new series on Gamelan

2003-06-04 Thread Paul Curren
Hi there. I believe JSF is involved at the V part of MVC. i.e. it could become an alternative to some of the Struts taglibs, but I don't think it specifies much about the application infrastructure. So you could use JSF as an alternative to Struts, but then you need to write a controller of yo

Re: Login

2003-05-31 Thread Paul Curren
Would a subclassed RequestProcessor be a Struts level alternative to Servlet Filters? (I have no clue, i'm just wondering) Cheers, Paul C Phillip Qin wrote: I prefer servlet filter. If not logged in, redirect user to the login page. -Original Message- From: Jonathan Holloway [mailto:

Re: struts validator

2003-05-30 Thread Paul Curren
Where can I download magic from? I need some for a project, quickly!!! Paul C Mark Galbreath wrote: That's because the Validator works by magic and you obviously have a hex in your machine. (sometimes I kill myself) Mark -Original Message- From: Frances Aleah Z. de Guzman [mailto:[EMAIL

Re: [WAY OT] Hashtable implementation

2003-05-30 Thread Paul Curren
Hi there, If you want multiple objects under the same key then essentially you are just looking for a generic list/collection or whatever you want to call it. No? Or perhaps there are to be multiple lists - a Map containing entries that are Collections then I guess. Paul C Denis Avdic wrote:

Re: Form validation over multiple pages

2003-05-30 Thread Paul Curren
Hi there, I've been doing this exact thing the last couple of days and I have it working. My html:hidden tags looks like - i.e. only difference is I don't explicitly specify the form name. My form is a DynaValidatorForm and a bug which i've seen from rc1 right up to the May 26 nightly so far me

Re: Form over multiple pages

2003-05-30 Thread Paul Curren
Cheers, Paul C Gregory F. March wrote: On May 29, 2003, Paul Curren <[EMAIL PROTECTED]> wrote: |You then have a few options - |1) Associate the form bean with multiple actions, where each action is a |separate page in your wizard (be sure to set the form bean to session scope) |2) Have

Re: Form over multiple pages

2003-05-29 Thread Paul Curren
Hi there, Just create your form bean with all the properties you are concerned with. You then have a few options - 1) Associate the form bean with multiple actions, where each action is a separate page in your wizard (be sure to set the form bean to session scope) 2) Have all pages of the form s

Re: Ordering of tags

2003-05-29 Thread Paul Curren
; Then use temp2 within the page attribute of the html:javascript tag e.g. Nasty hack I reckon but gets me going in the mean time. Paul C Paul Curren wrote: Hi there, I'm using the nightly build from 25th of this month. My problem relates to how a number of different tags are interactin

Ordering of tags

2003-05-29 Thread Paul Curren
Hi there, I'm using the nightly build from 25th of this month. My problem relates to how a number of different tags are interacting. So first, my page has the tag I can then later in my page do and this works. However, if I try and do similar after or before the above tag using the javascrip