Re: Hyperlinks and action methods

2008-04-01 Thread Mike Schrag
The ERD2WDirectAction does all of this, btw. Cheers, Anjo Am 01.04.2008 um 05:14 schrieb Mike Schrag: and it will look for page components (named by convention, though they must implement a particular interface as a security measure). So for instance it will look for PersonListXmlPage, or

Re: Hyperlinks and action methods

2008-04-01 Thread Anjo Krank
The ERD2WDirectAction does all of this, btw. Cheers, Anjo Am 01.04.2008 um 05:14 schrieb Mike Schrag: and it will look for page components (named by convention, though they must implement a particular interface as a security measure). So for instance it will look for PersonListXmlPage, or

Re: Hyperlinks and action methods

2008-03-31 Thread Lachlan Deck
On 01/04/2008, at 2:14 PM, Mike Schrag wrote: No -- this is a component action, not a direct action (it has to have the object being referenced). Right, overlooked that. If you want to do it on a direct action, just do a normal hyperlink with ?personID=person.primaryKey and reload the perso

Re: Hyperlinks and action methods

2008-03-31 Thread Archibald Singleton
On 01 Apr 2008, at 00:14, Mike Schrag wrote: No -- this is a component action, not a direct action (it has to have the object being referenced). Right, overlooked that. If you want to do it on a direct action, just do a normal hyperlink with ?personID=person.primaryKey and reload the perso

Re: Hyperlinks and action methods

2008-03-31 Thread Mike Schrag
No -- this is a component action, not a direct action (it has to have the object being referenced). Right, overlooked that. If you want to do it on a direct action, just do a normal hyperlink with ?personID=person.primaryKey and reload the person in the DA. Yeah, that's what I was doing bu

Re: Hyperlinks and action methods

2008-03-31 Thread Archibald Singleton
On 31 Mar 2008, at 23:51, Mike Schrag wrote: No -- this is a component action, not a direct action (it has to have the object being referenced). Right, overlooked that. If you want to do it on a direct action, just do a normal hyperlink with ?personID=person.primaryKey and reload the per

Re: Hyperlinks and action methods

2008-03-31 Thread Mike Schrag
No -- this is a component action, not a direct action (it has to have the object being referenced). If you want to do it on a direct action, just do a normal hyperlink with ?personID=person.primaryKey and reload the person in the DA. ms On Mar 31, 2008, at 10:49 PM, Archibald Singleton wr

Re: Hyperlinks and action methods

2008-03-31 Thread Archibald Singleton
Is this supposed to work with a direct action? E.g.: "$person">edit person I'm asking because I tried it and the person binding just yield and entree attribute for the tag. Looking at the implementation of ERXDataHyperlink I don't seem to see any reason why it wouldn't work. So, what am

Re: Hyperlinks and action methods

2008-03-31 Thread Chris Meyer
Ha! Is there anything Wonder can't do? I knew there had to be something there already !!! Extra Very Elegant. On Mon, Mar 31, 2008 at 5:58 AM, Mike Schrag <[EMAIL PROTECTED]> wrote: > In Wonder, ERXDataHyperlink -- > edit > person > > You can pass in multiple variables, as well ... > > ms > > On

Re: Hyperlinks and action methods

2008-03-31 Thread Mike Schrag
In Wonder, ERXDataHyperlink -- "$person">edit person You can pass in multiple variables, as well ... ms On Mar 31, 2008, at 12:51 AM, Chris Meyer wrote: > Code comment: Ooo ick - using public ivars in your api! - wrap that > person with accessors! If I'm lazy enough to want to avoid writin

Re: Hyperlinks and action methods

2008-03-30 Thread Chris Meyer
> Code comment: Ooo ick - using public ivars in your api! - wrap that > person with accessors! If I'm lazy enough to want to avoid writing minimal action functions then surely I'm lazy enough to skip accessors of nominal value. > DirectToWeb Might work for some stuff (the classes in my example,

Re: Hyperlinks and action methods

2008-03-30 Thread David LeBer
On 30-Mar-08, at 10:44 PM, Chris Meyer wrote: One pattern I find myself using often is that I have a page listing my objects (PeopleList) and a detail page (PersonDetail). In my PeopleList component, I have a WORepetition of WOHyperlink's linking to specific PersonDetails. To facilitate

Hyperlinks and action methods

2008-03-30 Thread Chris Meyer
One pattern I find myself using often is that I have a page listing my objects (PeopleList) and a detail page (PersonDetail). In my PeopleList component, I have a WORepetition of WOHyperlink's linking to specific PersonDetails. To facilitate the hyperlink, I have an action in PeopleList.java that