Validation seemingly not getting called any longer

2005-11-08 Thread Preston CRAWFORD
We have a simple login form. By the book. For some reason all of a sudden the validation in validation.xml is no longer getting called. We have validate set to true in the action. Everything is still named the same. Any idea why this would have changed or where to start looking? Preston -

RE: Validation seemingly not getting called any longer

2005-11-08 Thread Preston CRAWFORD
investigation. Not sure off the top of my head. Shawn D. Garner -Original Message----- From: Preston CRAWFORD [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 11:39 AM To: user@struts.apache.org Subject: Validation seemingly not getting called any longer We have a simple login form

Re: Validation seemingly not getting called any longer

2005-11-08 Thread Preston CRAWFORD
Nothing that I can see. What could I log to find out what's going on? It basically just doesn't get called. Preston >>> [EMAIL PROTECTED] 11/8/2005 10:52 AM >>> Preston CRAWFORD wrote: >We have a simple login form. By the book. For some reason all of a >sudde

RE: Validation seemingly not getting called any longer

2005-11-08 Thread Preston CRAWFORD
ngly not getting called any longer >I think you need something in the struts config file telling it to use the > validation plugin. Try that line of investigation. > Not sure off the top of my head. > > Shawn D. Garner > > -Original Message- > From: Preston CRAWFORD [ma

RE: Validation seemingly not getting called any longer

2005-11-08 Thread Preston CRAWFORD
08, 2005 1:08 PM Subject: RE: Validation seemingly not getting called any longer >I think you need something in the struts config file telling it to use the > validation plugin. Try that line of investigation. > Not sure off the top of my head. > > Shawn D. Garner > > -Origina

Re: Validation seemingly not getting called any longer

2005-11-08 Thread Preston CRAWFORD
3 PM >>> On 11/8/05, Preston CRAWFORD <[EMAIL PROTECTED]> wrote: > I have that. Either way the bottom line for me is it flys past > validation, message or no message. So I need to figure out why that is > happening. What _type_ of Action is LoginSubmitAction and How is it confi

RE: Validation seemingly not getting called any longer

2005-11-08 Thread Preston CRAWFORD
, etc. Are they recent (as in someone might have modified them before the last webapp restart) or dated months ago (indicating no recent changes) ? Regards, David -Original Message- From: Preston CRAWFORD [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 7:05 PM To: user@struts

RE: Validation seemingly not getting called any longer

2005-11-08 Thread Preston CRAWFORD
elopers for this site? 5. What are the file datestamps/timestamps on teh web.xml, struts-config.xml, validation.xml, validator-rules.xml, etc. Are they recent (as in someone might have modified them before the last webapp restart) or dated months ago (indicating no recent changes) ? Regards, David

RE: Validation seemingly not getting called any longer

2005-11-09 Thread Preston CRAWFORD
t link so you'll know what else to watch out for when using multiple (or module based) struts-config.xml files. Regards, David -Original Message- From: Preston CRAWFORD [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 9:27 PM To: user@struts.apache.org Subject: RE: Valida

Is Shale the way forward?

2005-11-17 Thread Preston CRAWFORD
It appears that way. I've been so heads-down doing Struts alone that I hadn't really noticed this change in direction. I applaud the Struts team for being nimble and picking a direction while keeping backwards compatability. My question, though, is how many of you out there are actually beginning t

How would you solve this problem?

2005-11-17 Thread Preston CRAWFORD
Okay, this is a little complex, so hopefully I can describe it well so as not to confuse anyone. We have a need for the following. We need a reusable set of actions, JSPs, etc. that operate in a popup to allow the user to search for a medical provider. That's easy enough. The catch is this. The r

Re: How would you solve this problem?

2005-11-18 Thread Preston CRAWFORD
EMAIL PROTECTED] 11/18/05 1:23 pm >>> On 11/17/05, Preston CRAWFORD <[EMAIL PROTECTED]> wrote: > the UI requirement is that the user perform the > search and then (as transparent as possible to them) have the page > refresh the portions of the display that say what medica

Re: How would you solve this problem?

2005-11-18 Thread Preston CRAWFORD
Yeah, no easy solution for this. The more I think about it the more it occurs to me that what we're attempting to do is setup a common code base for updating any N number of forms using Javascript. The plumbing for this is easy and obvious (I listed it earlier). But making it a single code base tha

Re: How would you solve this problem?

2005-11-22 Thread Preston CRAWFORD
nt to do is change one value. Or maybe we should give in and use forms[0].X, etc. Preston >>> [EMAIL PROTECTED] 11/19/2005 11:57:50 AM >>> Preston CRAWFORD wrote: > Yeah, no easy solution for this. The more I think about it the more it > occurs to me that what we're

Re: Ok, I'll bite. Struts + Webwork = Struts Ti?

2005-11-28 Thread Preston CRAWFORD
Oh boy. It's hard to know which direction to go with all this churn. Preston >>> [EMAIL PROTECTED] 11/28/2005 12:38:25 PM >>> I found this very interesting this morning: http://www.theserverside.com/news/thread.tss?thread_id=37794#192216 and this as well http://www.javalobby.org/java/forums/t55

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Preston CRAWFORD
And this is about where I start ramping up my Ruby studying. I mean, I'm all for competing frameworks, but when the Struts umbrella covers 3 different frameworks (which in term utilize how many technologies?) it begins to get a little silly. Which one should I be learning/using? I know, whichever

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-01 Thread Preston CRAWFORD
>>> [EMAIL PROTECTED] 12/1/2005 7:30:16 PM >>> My personal belief is that component oriented development is more accessible to a wider array of developers than action oriented frameworks. Therefore, I spend my time (disclaimer: I'm paid to do this too, but that doesn't cover much of my open sourc

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-02 Thread Preston CRAWFORD
You may not be marketing anything, Ted. But those of us out in the field that work with the decision makers and who help in the decision making have to think about these things. It's the reality of living and developing in a world where there are so many options. Preston -

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-05 Thread Preston CRAWFORD
>>> [EMAIL PROTECTED] 12/3/2005 6:06:27 AM >>> On 12/2/05, Preston CRAWFORD <[EMAIL PROTECTED]> wrote: > You may not be marketing anything, Ted. But those of us out in the field > that work with the decision makers and who help in the decision making > have to t

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-05 Thread Preston CRAWFORD
. It would be better if Shale were it's own project, not tied to the Struts name and Struts core was allowed to ride off into the Sunset. This would be less confusing to the business decision maker, I believe. Preston >>> [EMAIL PROTECTED] 12/5/2005 2:16:17 PM >>> On 12/5/

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-05 Thread Preston CRAWFORD
I can see the roof analogy. I just thought, branding wise, it was confusing. You already have one layer with it being an Apache project. So really Shale is Apache Struts Shale (formerly a Jakarta project that still uses lots of Jakarta components). :-) I don't know. I think the way things are head

Re: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-05 Thread Preston CRAWFORD
Exactly. Or back to my example. Apache Jakarta Struts Shale. Preston >>> [EMAIL PROTECTED] 12/5/2005 3:12:00 PM >>> >>Hm. Is it untidy that the Apache Software foundation has at least three web application frameworks? Should they be untethered from the Apache name and allowed to ride off... ? Fo

Is JSF ready?

2005-12-12 Thread Preston Crawford
I'm starting to begin looking at JSF in part because of what I've read here on the Struts mailing list. i.e. Struts is embracing JSF, many developers see it as inevitable. I have some experience with Tapestry and Ruby on Rails so I'm excited about component frameworks. However, what I don't know, h

RE: Is JSF ready?

2005-12-13 Thread Preston Crawford
> I don't know what the future will hold. JSF may win the day on nothing > but marketing alone. It has the force of being a "standard", and while > not all standards ultimately succeed, it certainly is a leg up on other I would argue that with Java (J2EE specifically) "standards" have largely ju

Re: Is JSF ready?

2005-12-13 Thread Preston Crawford
On Tue, 13 Dec 2005, Dakota Jack wrote: Preston, none of those examples are J2EE. They can be used with J2EE but they have nothing to do with anything beyond J2SE. Toolkit. As in the tools one uses to build J2EE apps. Pedantic much... Preston ---

Re: Is JSF ready?

2005-12-13 Thread Preston Crawford
On Tue, 13 Dec 2005, Dakota Jack wrote: And, Josh, last time I looked JSP was not on the list we are talking about. So, what was your point? The point is you're being pedantic. I wasn't describing the entirety of J2EE or even the implementation. Rather the tools, frameworks, etc. used to bui

Re: Is JSF ready?

2005-12-13 Thread Preston Crawford
On Wed, 14 Dec 2005, Josh McDonald wrote: Mainly I thought I'd interrupt the ranting :) And what's tomcat if it's not an implementation of JSP / Servlets, and hence a partial implementation of J2EE? Just ignore him. He doesn't care to be helpful. Just wants to hear himself speak. Preston

Re: Is JSF ready?

2005-12-14 Thread Preston Crawford
On Wed, 2005-12-14 at 08:18 -0800, Dakota Jack wrote: > Look, Preston, if you want your own language with your own meanings, that is I'm not creating my own language. You're being pedantic. http://dictionary.reference.com/search?q=toolkit Main Entry: toolkit Part of Speech: noun Definition:

Re: Is JSF ready?

2005-12-14 Thread Preston Crawford
> > "His comrades fought beside him, Van Owen and the rest... > > >But of all the thompson gunners- Roland was the best." > > > > > > Josh McDonald > > > Analyst Programmer > > > Information Technology > > > Ph: 61 7 3006

Re: Is JSF ready?

2005-12-14 Thread Preston Crawford
On Wed, 2005-12-14 at 08:37 -0800, Dakota Jack wrote: > This is not a "koffee klatch" where the girls can say whatever they like. > This is a professional forum and presumably it is okay to ask the > participants to make sense without being pedantic. What did I say that didn't make sense? That I i

Re: Is JSF ready?

2005-12-14 Thread Preston Crawford
On Wed, 2005-12-14 at 08:47 -0800, Dakota Jack wrote: > You originally said that your list was the virtual core of J2EE. That's No. I never said "virtual core". > what you said. You call someone a pedant when you want to demean something > they taught you. Anyway, for your "pedantic" purposes:

Re: Is JSF ready?

2005-12-14 Thread Preston Crawford
On Wed, 2005-12-14 at 08:47 -0800, Dakota Jack wrote: > You originally said that your list was the virtual core of J2EE. That's > what you said. You call someone a pedant when you want to demean something > they taught you. Anyway, for your "pedantic" purposes: Also, after you inevitably reply

Re: Is JSF ready?

2005-12-14 Thread Preston Crawford
Ha!! :-) > Wow! that J2EE definition just rocked! I was so impressed that I looked > it up ... it comes from here: > http://www.answers.com/topic/j2ee > Cool hey?! > I guess I'll be looking up that resource for ad-hoc tech definitions too. > > Dakota Jack wrote: > >> Date: Wed, 14 Dec 2005 08:47

Re: Is JSF ready?

2005-12-14 Thread Preston CRAWFORD
Sorry about the noise there. I thought that was just sent to me and not the list, so I accidentally replied to the list when I didn't mean to. Preston >>> [EMAIL PROTECTED] 12/14/2005 3:34:26 PM >>> Ha!! :-) - To unsubscribe,

Re: [ANNOUNCEMENT] Apache Struts offers "Shale" for JSF

2005-12-16 Thread Preston Crawford
> I have never had a concern about the "umbrella" idea, which is the latest > description of what is happening. I would in fact encourage that and > cannot > see any problem with it. However, I pay more attention to people's feet > than their lips. "Is Shale the Next Struts?" is the feet. The c

Re: [ANNOUNCEMENT] Apache Struts offers "Shale" for JSF

2005-12-17 Thread Preston Crawford
; Let me say do say in your favor, Sean, that you certainly used to show > huge > restraint of pen and tongue, since you did not comment on the Struts lists > for three years after your recently disclosed active involvement. > > On 12/16/05, Preston Crawford <[EMAIL PROTECTED]> w

Struts action forms crossing sessions? Any idea why this ishappening?

2005-09-30 Thread Preston CRAWFORD
We have a problem. We're working on an application and we have some forms in session scope. The strange thing is if someone changes state on their form, users on other computers on other browsers hitting the same exact page see the state change that was made to the form on another computer. I have

Re: Struts action forms crossing sessions? Any idea why thisishappening?

2005-10-03 Thread Preston CRAWFORD
t. So for example... Preston >>> [EMAIL PROTECTED] 9/30/2005 6:19:26 PM >>> On 10/1/05, Preston CRAWFORD <[EMAIL PROTECTED]> wrote: > > We have a problem. We're working on an application and we have some > forms in session scope. The stra

Re: Struts action forms crossing sessions? Any idea why thisishappening?

2005-10-03 Thread Preston CRAWFORD
then the shared state isn't in the ActionForm. It's probably a problem with instance variables in your Actions. On 9/30/05, Preston CRAWFORD <[EMAIL PROTECTED]> wrote: > > We have a problem. We're working on an application and we have some > forms in session scope. The

Re: Struts action forms crossing sessions? Any idea whythisishappening?

2005-10-03 Thread Preston CRAWFORD
No. What information would be useful and relevant? Struts-config? The form bean itself? The action, the JSP? I didn't want to overload the list, obviously. Preston >>> [EMAIL PROTECTED] 10/3/2005 9:40:37 AM >>> Preston CRAWFORD wrote: >Don't really have any in

Getting at exceptions in Action Classes when forwarded fromweb.xml?

2005-10-03 Thread Preston CRAWFORD
I'm trying to setup global exception handling. I have web.xml sending 404 and 500 exceptions to /error.do. In that action I should be able to get at the exception, shouldn't I? Or do I have to do that earlier in the process? I simply want to get at the exception and log it. Preston --

Re: Getting at exceptions in Action Classes when forwardedfromweb.xml?

2005-10-03 Thread Preston CRAWFORD
ROTECTED] 10/3/2005 2:33:16 PM >>> Preston CRAWFORD on 03/10/05 21:47, wrote: > I'm trying to setup global exception handling. I have web.xml sending > 404 and 500 exceptions to /error.do. In that action I should be able to > get at the exception, shouldn't I? Or do I hav

Re: Getting at exceptions in Action Classes when forwardedfromweb.xml?

2005-10-03 Thread Preston CRAWFORD
le. Frank Adam Hardy wrote: > Preston CRAWFORD on 03/10/05 21:47, wrote: > >> I'm trying to setup global exception handling. I have web.xml sending >> 404 and 500 exceptions to /error.do. In that action I should be able to >> get at the exception, shouldn't I? Or do I have

Re: Getting at exceptions in Action Classes whenforwardedfromweb.xml?

2005-10-03 Thread Preston CRAWFORD
t;> Yes you could do that, or you could try 404 /error404.do 500 /error500.do and map them to the same action class with a useful parameter for mapping.getParameter() - perhaps slightly less coding. Preston CRAWFORD on 03/10/

Re: Getting at exceptions in Action Classeswhenforwardedfromweb.xml?

2005-10-03 Thread Preston CRAWFORD
xt that appears in the browser is purely browser-dependent. So basically a real live java exception would tell you no more than you already know, except perhaps if there is one, a stacktrace from the guts of your appserver. Preston CRAWFORD on 03/10/05 23:57, wrote: > Right, but even at this point

Re: Getting at exceptions in Action Classeswhenforwardedfromweb.xml?

2005-10-03 Thread Preston CRAWFORD
This actually does get me some of the information. Unfortunately since I'm sticking another servlet (my action) in between, the exception acts like it's coming from my action. So it appears I may have to go the route of extending the ExceptionHandler. I was hoping there was a way to avoid that, but

Re: Struts action forms crossing sessions? Any ideawhythisishappening?

2005-10-04 Thread Preston CRAWFORD
Tomcat 5.0.28. >>> [EMAIL PROTECTED] 10/4/2005 3:34:31 AM >>> What's your container? I saw this behaviour on older resin implementations, it was obviously a bug, that in some sequence of requsts the session got mixed, B got A's session, but only for one request, after that it had it's own session.

Re: Struts action forms crossing sessions? Any ideawhythisishappening?

2005-10-04 Thread Preston CRAWFORD
session as well (as in I'll logout, shut down the browser, open up the browser and there it is again). So this has me wondering if it's related to hibernate, which we are using to populate this object. Preston >>> [EMAIL PROTECTED] 10/4/2005 3:31:29 AM >>> On 10/4/05,

Re: Struts action forms crossing sessions? Anyideawhythisishappening?

2005-10-04 Thread Preston CRAWFORD
ged out, logged in and it behaved as expected. It wasn't there. Preston >>> [EMAIL PROTECTED] 10/4/2005 8:29:57 AM >>> On 10/4/05, Preston CRAWFORD <[EMAIL PROTECTED]> wrote: > Tomcat 5.0.28. this should work. However try logging out the sessionIds and compare them t

Re: Struts action forms crossing sessions? Anyideawhythisishappening?

2005-10-05 Thread Preston CRAWFORD
ect with hard coded data and put that in session. - I don't know how do you populate the objects, if it's a complicated process try to take out some of the functionality temporary until you get to the point when it does work. Tamas On 10/4/05, Preston CRAWFORD <[EMAIL PROTECTED]&

Re: Getting at exceptions in ActionClasseswhenforwardedfromweb.xml?

2005-10-05 Thread Preston CRAWFORD
th a stack trace. Preston >>> [EMAIL PROTECTED] 10/5/2005 3:34:04 PM >>> Preston CRAWFORD wrote: >This actually does get me some of the information. Unfortunately since >I'm sticking another servlet (my action) in between, the exception acts >like it's coming

Re: Struts action forms crossing sessions?Anyideawhythisishappening?

2005-10-06 Thread Preston CRAWFORD
alidate() when the user logs off? Regards, Gareth Preston CRAWFORD wrote: > This is why I haven't sent code. Because I am narrowing it down already. > Same behaviour on WebSphere as of yesterday. Behaviour isn't exhibited > when the object in question isn't created as a r

More questions on exception handling

2005-10-07 Thread Preston CRAWFORD
Once again a question about best practices. So I setup an error page, referenced in struts-config.xml that shows the error. My problem is this. #1 - I want to log the error and print out to the console in addition to going to the error page. This isn't happening. Does this mean that I need to ove

Is the best way to have multiple struts-config.xml andtiles-defs.xml files, modules?

2005-10-11 Thread Preston CRAWFORD
I've done this in the past. Used modules to logically (and for the sake of having sane config files) break up these config files. However I'm wondering if anyone avoids using modules and maybe merges the files using ANT or something? Reason I ask is because I know there are pitfalls to using module

Re: Is the best way to have multiple struts-config.xml andtiles-defs.xml files, modules?

2005-10-11 Thread Preston CRAWFORD
- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Tue, October 11, 2005 4:36 pm, Preston CRAWFORD said: > I've done this in the past. Used modules to logically (and for the sake >

Re: Is the best way to have multiple struts-config.xml andtiles-defs.xml files, modules?

2005-10-11 Thread Preston CRAWFORD
ftware Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Tue, October 11, 2005 4:36 pm, Preston CRAWFORD said: > I've done this in the past. Used modules to logically (and for the sake > of having sane config files) break up

Re: Is the best way to have multiplestruts-config.xmlandtiles-defs.xml files, modules?

2005-10-11 Thread Preston CRAWFORD
Oooh. I like that. That works relatively well so far, although it's not picking up on my secondary tiles-defs.xml file. Preston >>> [EMAIL PROTECTED] 10/11/2005 2:26:22 PM >>> From: "Preston CRAWFORD" <[EMAIL PROTECTED]> > I've done this in the pa

Why do action mappings default to session scope for formbeans?

2005-10-26 Thread Preston CRAWFORD
I don't know why (I've been doing struts development for years, but I guess we've always been very explicit in our struts-config files), but only recently did I discover that this was the default behavior for form beans. And I'm trying to figure out, mostly on a higher level, on a theoretical level

Re: Why do action mappings default to session scope forformbeans?

2005-10-26 Thread Preston CRAWFORD
size in Struts. The similer technology will be included into next version of Struts Dialogs. Michael. On 10/26/05, Preston CRAWFORD <[EMAIL PROTECTED]> wrote: > I don't know why (I've been doing struts development for years, but I > guess we've always been very explici