when i use converter, i use converter attribute of tableSuggestAjax component
: in this cases, my converter is called before the component is being
rendered : ok, but the problem is when i click on the arrow button of the
combo box (Ajax) : the converter is not called.
If i use converter attribute of s:outputText component, my converter is
never called !
I would like my converter to be called when i click on the arrow button of
the combo box, actually when i fire an ajax request.
But, i think the problem is a javascript problem : when a string of a
suggest item contains special char (carriage return), the suggested items
list is not displayed.
Thx
Mike Kienenberger wrote:
>
> Post the page code you're using with the converter as well as the
> converter itself. What you've described should work.
>
> Sounds like you might also want to open a bug against tableSuggestAjax.
>
>
>
> On 3/22/07, jmax <[EMAIL PROTECTED]> wrote:
>>
>>
>> When the attribute label of s:outputText component contains special char
>> like carriage return, the suggested items list is not displayed :
>>
>> <s:tableSuggestAjax var="var" id="suggest" startRequest="1"
>> value="#{bean.suggestValue}"
>> suggestedItemsMethod="#{bean.getSuggestedList}"
>> maxSuggestedItems="10" charset="utf-8">
>> <t:column>
>> <f:facet name="header">
>> <s:outputText value="#{var.name}" />
>> </f:facet>
>> <s:outputText for="#{id1}" label="#{var.label}" >
>> </t:column>
>> </s:tableSuggestAjax>
>>
>> If i clean the label String in the suggestedItemsMethod bean method :
>> the
>> suggest items list is displayed.
>>
>> So i try to use a custom converter to the tablesuggestAjax or either
>> s:outputText component to clean the String, but my custom converter is
>> not
>> called.
>>
>> Any idea ?
>> --
>> View this message in context:
>> http://www.nabble.com/sandbox-outputText-label-in-TableSuggestAjax-problem-tf3448857.html#a9619122
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/sandbox-outputText-label-in-TableSuggestAjax-problem-tf3448857.html#a9630446
Sent from the MyFaces - Users mailing list archive at Nabble.com.