RE: [OS-webwork] boolean setter methods

2003-06-17 Thread BOGAERT Mathias
Browsers sumbit checboxes without a value as linux=on. So you need to specify value=true. Then you get linux=true. Mathias -Original Message- From: Jason Carreira [mailto:[EMAIL PROTECTED] Sent: maandag 16 juni 2003 20:50 To: [EMAIL PROTECTED] Subject: RE: [OS-webwork] boolean setter

Re: [OS-webwork] HTTP 204 Trick

2003-06-17 Thread Anders Engström
On Tue, Jun 17, 2003 at 05:00:17AM -0700, Jason Carreira wrote: I really don't like the idea of having a magic return code which is interpreted a special way. Maybe we should have a HttpHeaderResult which you can set things like code, etc onto... Then you could parameterize the Result instance

Re: [OS-webwork] HTTP 204 Trick

2003-06-17 Thread Rickard berg
BOGAERT Mathias wrote: So how would you indicate this from the action class (you might want to have a SUCCESS and NO_CONTENT result)? IMO the result code NO_CONTENT should be supported. Why do you want to have a new result type for this? Sounds like the action will know too much about how it is

RE: [OS-webwork] HTTP 204 Trick

2003-06-17 Thread Jason Carreira
So you don't think there should be a HttpHeaderResult to enable you to return special Http header codes? -Original Message- From: Rickard Öberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 9:09 AM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] HTTP 204 Trick BOGAERT

Re: [OS-webwork] HTTP 204 Trick

2003-06-17 Thread Rickard Öberg
Jason Carreira wrote: So you don't think there should be a HttpHeaderResult to enable you to return special Http header codes? That's not what I said. I was talking about the result codes, not view types. HttpHeaderResult seems fine to me. /Rickard

[OS-webwork] WW2: Is there an elegant way to operate with Maps html forms / form processing actions?

2003-06-17 Thread Rene Gielen
Hi, Kinda new to WW2/XWork, maybe I'm blind, so tell me if I am ;-) Here is my problem: We work in our database driven application with a persistence Manager that abstracts records as objects implementing Map interface - manager is OFBiz entity engine, for those who might know it... So, if I

Re: [OS-webwork] WW2: Is there an elegant way to operate withMaps html forms / form processing actions?

2003-06-17 Thread Mike Cannon-Brookes
Rene, You can do this (I think) like any other model driven action. GenericValue getObject() { // lookup the object and return it } Then in your JSPs, the fields are just named object/string(foo) Haven't tested this - but I think it should work. Cheers, Mike On 18/6/03 9:37 AM, Rene Gielen

Re: [OS-webwork] WW2: Is there an elegant way to operate with Maps html forms / form processing actions?

2003-06-17 Thread Rene Gielen
Mike, thanks for the quick reply. On Wednesday 18 June 2003 02:10, Mike Cannon-Brookes wrote: Rene, You can do this (I think) like any other model driven action. Do I have to implement ModelDriven for my ActionClass? GenericValue getObject() { // lookup the object and return it } I do

Re: [OS-webwork] WW2: Is there an elegant way to operate with Mapshtml forms / form processing actions?

2003-06-17 Thread Matt Ho
I would probably have your action implement ModelDriven as follows: public abstract EntityActions extends ActionSupport implements ModelDriven { GenericValue genericValue = new GenericValue(); // ModelDriven implementation public Object getModel() { return this.value ; }

[OS-webwork] XW: Ognl Docs

2003-06-17 Thread Pat Lightbody
Hey all, just letting you know that I'm back in action and have finished a first pass at an Ognl EL reference that explains the additional stuff on top of OGNL that XW supports, as well as the differences with WebWork 1.x. -Pat --- This

[OS-webwork] CVS Access for Cameron Braid

2003-06-17 Thread Pat Lightbody
After going through a bunch of open issues in JIRA, I've noticed that Cameron Braid has provided a LOT of patches for XWork and WebWork. His involvement on the mailing list and constant patches indicate to me that we should get him CVS access so that he can get those fixes in quicker. Are there

Re: [OS-webwork] CVS Access for Cameron Braid

2003-06-17 Thread Hani Suleiman
+1 from me, based on him doing a lot of wiki docs for osworkflow. On Tuesday, June 17, 2003, at 09:52 PM, Pat Lightbody wrote: After going through a bunch of open issues in JIRA, I've noticed that Cameron Braid has provided a LOT of patches for XWork and WebWork. His involvement on the mailing

Re: [OS-webwork] HTTP 204 Trick

2003-06-17 Thread Pat Lightbody
Great, I've opened an issue for this (WW-219). -Pat - Original Message - From: Rickard Öberg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 7:55 AM Subject: Re: [OS-webwork] HTTP 204 Trick Jason Carreira wrote: So you don't think there should be a

[OS-webwork] [JIRA-Opensymphony] Created: (WW-219) HttpHeaderResult

2003-06-17 Thread legendaryservice
Message: A new issue has been created in JIRA. - View the issue: http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-219 Here is an overview of the issue:

Re: [OS-webwork] WW2: Is there an elegant way to operate withMaps html forms / form processing actions?

2003-06-17 Thread Mike Cannon-Brookes
Ahh - are you using ww2? I'm not quite sure what the ww2 expression would be. I think it would be object.string(foo) but you'd have to ask Patrick :) As for the ModelDriven interface, I'm not sure I fully understand this at the moment. For my mind, the difference between model driven and field

Re: [OS-webwork] XW: Ognl Docs

2003-06-17 Thread Mike Cannon-Brookes
Where is it? :) On 18/6/03 11:34 AM, Pat Lightbody ([EMAIL PROTECTED]) penned the words: Hey all, just letting you know that I'm back in action and have finished a first pass at an Ognl EL reference that explains the additional stuff on top of OGNL that XW supports, as well as the differences

Re: [OS-webwork] XW: Ognl Docs

2003-06-17 Thread Pat Lightbody
On the Wiki of course! - Original Message - From: Mike Cannon-Brookes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 8:31 PM Subject: Re: [OS-webwork] XW: Ognl Docs Where is it? :) On 18/6/03 11:34 AM, Pat Lightbody ([EMAIL PROTECTED]) penned the words: Hey

Re: [OS-webwork] XW: Ognl Docs

2003-06-17 Thread Mike Cannon-Brookes
URL? (for mailing list posterity) On 18/6/03 1:49 PM, Pat Lightbody ([EMAIL PROTECTED]) penned the words: On the Wiki of course! - Original Message - From: Mike Cannon-Brookes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 8:31 PM Subject: Re: [OS-webwork]

Re: [OS-webwork] XW: Ognl Docs

2003-06-17 Thread Pat Lightbody
http://wiki.opensymphony.com/space/Ognl - Original Message - From: Mike Cannon-Brookes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 8:54 PM Subject: Re: [OS-webwork] XW: Ognl Docs URL? (for mailing list posterity) On 18/6/03 1:49 PM, Pat Lightbody ([EMAIL

Re: [OS-webwork] CVS Access for Cameron Braid

2003-06-17 Thread Matt Ho
+1 :) Pat Lightbody wrote: After going through a bunch of open issues in JIRA, I've noticed that Cameron Braid has provided a LOT of patches for XWork and WebWork. His involvement on the mailing list and constant patches indicate to me that we should get him CVS access so that he can get those

RE: [OS-webwork] CVS Access for Cameron Braid

2003-06-17 Thread Cameron Braid
Thanks, I would love to be able to help further. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pat Lightbody Sent: Wednesday, 18 June 2003 11:52 AM To: os-ww Subject: [OS-webwork] CVS Access for Cameron Braid After going through a bunch