Re: Where to set display group bindings i java-file

2005-12-05 Thread Micky Holdorf
Hi everyone, I found the solution! To use WODisplayGroup and a fetch specification configured in the database I now use this code: quoteDisplayGroup.queryBindings().takeValueForKey(topic,"topic"); quoteDisplayGroup.fetch(); I had accidently switched value and key around in th

Re: Where to set display group bindings i java-file

2005-12-03 Thread Micky Holdorf
Hi Jean-Francois, The method invoked when clicking the link now looks like this: public WOComponent visEmne() { topic = subjectItem.subjectText(); quoteDisplayGroup.queryBindings().takeValueForKey("emne", topic); quoteDisplayGr

Re: Where to set display group bindings i java-file

2005-12-02 Thread Jean-François Veillette
Hi Micky, I am new to Webobjects and have no knowledge of Java. I learned C++ many years ago and have done some C and a lot PHP since then. So then I could not get the DisplayGroup binding to work I became frustrated and searched the internet for another solution and found some code that work

Re: Where to set display group bindings i java-file

2005-12-02 Thread Micky Holdorf
Hi there, I am new to Webobjects and have no knowledge of Java. I learned C++ many years ago and have done some C and a lot PHP since then. So then I could not get the DisplayGroup binding to work I became frustrated and searched the internet for another solution and found some code that

Re: Where to set display group bindings i java-file

2005-12-02 Thread Jean-François Veillette
Hi Micky, 1 --- I don't mean to be picky, or to argue about the color of the wallpaper, but I see something here that leave me perplex ... The code seem to be in a WOComponent subclasss, and in this « display » layer, you seem to know a lot about the « persistent » layer. Such code snippets is c

Re: Where to set display group bindings i java-file

2005-12-02 Thread Micky Holdorf
On 01/12/2005, at 18.15, Jean-François Veillette wrote: I have a display group quoteDisplayGroup in a webcomponent. The question is where in the components Java file I set the binding: quoteDisplayGroup.queryBindings().takeValueForKey(value, "attributeValue"); and how... Another question.

Re: Where to set display group bindings i java-file

2005-12-01 Thread Jean-François Veillette
I have a display group quoteDisplayGroup in a webcomponent. The question is where in the components Java file I set the binding: quoteDisplayGroup.queryBindings().takeValueForKey(value, "attributeValue"); and how... Another question... in my research I have come upon this one: quoteDisplayGr

Where to set display group bindings i java-file

2005-12-01 Thread Micky Holdorf
Hi there, I have a display group quoteDisplayGroup in a webcomponent. The question is where in the components Java file I set the binding: quoteDisplayGroup.queryBindings().takeValueForKey(value, "attributeValue"); and how... Another question... in my research I have come upon this one: qu