Re: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread José Ventura
+1 (#1) IMHO, especially because of IDE auto-completion (wich works with normal ActionForms but not with Dynas). It really helps me when I don't remember the exact spelling of a displayed field -- or when I don't remember WHAT is displayed on screen :P The time to generate new getters and

Re: Accessing an ID property of a bean using EL

2003-07-25 Thread José Ventura
Then again, I was having the same problem under Websphere 4.0.4, using precisely this sintax: public String getId(); public void setId( String s ); I was using just an ordinary bean:write name=mybean property=id/ and it just wouln't find the property no matter how nicely I asked it :) I had to

Re: [OT] (SOLVED) Redirecting forwards under WAS 4.0.4

2003-07-18 Thread José Ventura
- Original Message - From: Susan Bradeen [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, July 17, 2003 3:25 PM Subject: Re: [OT] Redirecting forwards under WAS 4.0.4 On 07/16/2003 08:37:00 PM José Ventura wrote: I'm back with my usual bizarre and weird

Re: [Friday] How do you describe the greatest general?

2003-07-18 Thread José Ventura
I suppose he defeats every opponent in his own field... But that's not a suitable answer for a [Friday] post, is it? Anyone got any funnier ideas? :) Maybe a politician converts every opponent in an ally? []'s - ventura - Original Message - From: Jeff Kyser [EMAIL PROTECTED] To:

[OT] Redirecting forwards under WAS 4.0.4

2003-07-16 Thread José Ventura
I'm back with my usual bizarre and weird grotesqueries under Websphere 4.0. I've even marked this one off-topic to annoy less people! When I use a forward from within an Action, via the following snippet, it works: fwd = /editQuestionnaire.do?qId= + qId; return new ActionForward( fwd ); If I

Properties named id under WAS 4.0.1

2003-07-09 Thread José Ventura
Hi, Has anyone had any issues with properties named id under Websphere 4.0.1? I have a JSP page wich outputs some data from a bean. That bean has getId(), setId(), getTitle() and setTitle(), among others, all expecting and returning Strings. I write these out using the following: bean:write

Re: Submiting a form through a link

2003-06-29 Thread José Ventura
Have you gotten any JS errors when you clicked on it? I believe you don't need the javascript: part when it's inside an eventhandler (onXXX), only when it's inside an href. Try html:link href= onclick=go()[ ok ]/html:link, see if it works... HTH []'s - ventura - Original Message -

Display key itself when not found in MessageResources

2003-06-17 Thread José Ventura
Been searching the archives, but with little luck. I even found a thread about this (http://www.mail-archive.com/[EMAIL PROTECTED]/msg68779.html), but it didn't have an answer, so I'm reposting. If I use bean:message key=foo/ and foo is not present in my application resources file, the tag throws

Re: Display key itself when not found in MessageResources

2003-06-17 Thread José Ventura
is there using logic:messagesPresent or logic:messagesNotPresent and then either use bean:message with that key or bean:write with some text -Original Message- From: José Ventura [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 4:03 PM To: struts-users Subject: Display

Re: Subclassing ActionMapping

2003-06-09 Thread José Ventura
I'm just guessing here, but have you tried using the first signature (using the normal ActionMapping) and then casting it inside your action to myActionMapping? HTH - v - Original Message - From: Jerry Jalenak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:18 PM

Where to put logic for create or update stuff?

2003-06-02 Thread José Ventura
I have a use case in wich a user will be created if its ID is null, or updated otherwise. What would be the preferrable approach? a) My business services layer provides both createUser() and updateUser(), and I determine wich one to call inside my Action (by testing user.getId() ), or: b)

Re: [OT] RE: test

2003-05-30 Thread José Ventura
Well that depends. Would that be an european or an african swallow? - Original Message - From: Mark Galbreath [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, May 29, 2003 4:30 PM Subject: [OT] RE: test Okay. What's maximum velocity of a swallow?