Re: I need help with D2W templates
Daniel Mejia <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Guido, I'm following the documentation to modify the embeddable components that is explaned in the "WebObjects Direct to Web Guide" where they freeze the template to modify one of the embedabble components, in the guide example they modify the list to create a editable table, but the action is coded inside the template code and in my case that additional method should be binded to an external method as similar as is binded the "action" method to the return action. Regards, Daniel. On Apr 17, 2008, at 11:39 AM, Guido Neitzer wrote: > On Thu, Apr 17, 2008 at 9:40 AM, Daniel Mejia <mejiad@evol- > tech.com> wrote: > >> I need some help to know how to modify the D2WSelect template to >> add an >> hyperlink and bind the action to a method define in the external >> component >> that contains the D2WSelect component. > > Do I miss something or why can't you subclass D2WSelect, implement > your own HTML / additional Java and write a rule that is similar to: > > task = "edit" and entity.name = "MyObject" and propertyKey = > "property" => componentName = "MyD2WSelect" [100] > > ? No need for freezing anything. > > cug _______________________________________________ WebObjects-dev mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/webobjects-dev