[jira] Updated: (NANO-63) Add support for GPath
jira-yCVjj/[email protected] Tue, 30 Mar 2004 05:26:01 -0500 (EST)
| Newsgroups | gmane.comp.java.nanocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
The following issue has been updated:
Updater: Aslak Hellesoy (mailto:rinkrank-yCVjj/[email protected])
Date: Tue, 30 Mar 2004 5:25 AM
Comment:
James,
GPath/value pairs will typically be posted back to NanoWeb as URL parameters. For example if the root object is a Person, and we want to edit the person's street (which is a property in an Adress class contained in Person), we would get the following pair:
address.street=englefield
My question: How do I (from Java) set that on a user object?
With OGNL I would do:
Person person = ...
OGNL.setValue("address.street", user, "englefield")
But how do I do it with the GPath "API"? I have looked at the groovy.lang.GroovyObjectSupport class, but I am unsure what comcrete subclass to use....
Changes:
assignee changed to james strachan
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=NANO-63&page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=NANO-63
Here is an overview of the issue:
---------------------------------------------------------------------
Key: NANO-63
Summary: Add support for GPath
Type: New Feature
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: NanoContainer
Components:
nanoweb
Assignee: james strachan
Reporter: Aslak Hellesoy
Created: Sun, 28 Mar 2004 8:59 PM
Updated: Tue, 30 Mar 2004 5:25 AM
Description:
See http://wiki.codehaus.org/groovy/PathExpressionLanguage
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira