AFAIK, value should be an instance of the renderer, so:
<binding name="optionRenderer" value="ognl:renderer" />

and
getRenderer() {
return new mypackage.MyClass();
}

On Thu, Mar 12, 2009 at 5:27 PM, Ivano Luberti <lube...@archicoop.it> wrote:
> Yes we have followed that: we implemented exaclty that class and we
> added in the page file a binding of this type
>
> <binding name="optionRenderer" value="mypackage.MyClass" />
>
> but our code never reach the class because a null pointer exception is
> raised.
> If we delete the bindign our code works well using the
> DefaultOptionRenderer.
>
> That's why I'm thinking we miss some configuration.
>
>
>
>
>
>
>
> Andreas Andreou ha scritto:
>> So, how are you using it? any code?
>>
>> There's an example at
>> http://tapestry.apache.org/tapestry4.1/components/form/propertyselection.html
>>
>>
>> On Thu, Mar 12, 2009 at 1:55 PM, Ivano Luberti <lube...@archicoop.it> wrote:
>>
>>> Sorry: once again I have to reinforce my request: please, don't get me
>>> wrong. On this ML there is a lot of traffic and I want just be sure my
>>> message was noticed.
>>>
>>> If I will get no answer again I will stop asking for this, of course.
>>>
>>> TIA
>>>
>>> ---------------
>>> Using T4.1
>>> We have implemented a custom IOptionRenderer implementation but we are
>>> not abel to use it.
>>> We keep on getting a null pointer exception because Tapestry is not able
>>> to find our implementation.
>>> The only configuration we made was a binding in the page where the
>>> select is displayed.
>>>
>>> Is there any configuration to be made in the hivemodule.xml file.
>>> If yes can you point me to the right syntax ?
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>>
>>>
>>
>>
>>
>>
>
> --
> ==================================================
> dott. Ivano Mario Luberti
> Archimede Informatica societa' cooperativa a r. l.
> Sede Operativa
> Via Gereschi 36 - 56126- Pisa
> tel.: +39-050- 580959
> tel/fax: +39-050-9711344
> web: www.archicoop.it
> ==================================================
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to