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
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
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
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
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
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
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
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
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 ; }
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
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
+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
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
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:
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
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
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
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]
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
+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
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
21 matches
Mail list logo