inputSuggest (non AjaX) with objects and converter

2013-03-06 Thread Porryman
Hello! I'd like to use the tag s:inputSuggest but to retrieve an Object not a string. If a use a Map its renders ok, however mi converter is never invoke, and if I use a Map I get a ClassCastException cause can't convert an object to a string. my jsp code is as follows :

Re: EL expressions as custom component attributes

2013-03-06 Thread Leonardo Uribe
Hi There are good reasons to avoid use VariableMapper. This class is used when the EL expressions are built to store some values required to resolve the expression later, making the expression not cacheable, because the content of VariableMapper could change at any time and in that way, it is not

Re: EL expressions as custom component attributes

2013-03-06 Thread l.pe...@senat.fr
Well, reading my message again, I found that I still does not properly explain my problem. It is not really to pass a bean using an EL expression. To do that, you just declare getBean/setBean as returning/taking as parameter an Object, and that's done. My custom component generates itself

EL expressions as custom component attributes

2013-03-06 Thread l.pe...@senat.fr
I do not succeed in passing EL expressions as attributes of a custom component used in a tag file. I could not find a clear doc on how to do that with EL 2.2. My use case is the following : 1. a tag file taking attribute "context" as a parameter 2. inside the tag file, using a home made custom