[ 
https://issues.jboss.org/browse/RF-10943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597885#comment-12597885
 ] 

Markus Staab edited comment on RF-10943 at 4/26/11 4:13 AM:
------------------------------------------------------------

1) fetchValue is evaluated on the client-side with javascript, isn't it? Does 
fetchValue also affect the suggestionAction's parameter?

2) since i need some context information from the facelet, i have not the 
necessary variables inside the backing-bean's suggestionAction.
(I have one backing-bean for the all suggestion-box facelet-tags, since I try 
to form a independet input component)

My idea was to pass my model to the suggestion action, so the context of 
depending fields is clear.

      was (Author: maggus):
    1) fetchValue is evaluated on the client-side with javascript, isn't it? 
Does fetchValue also affect the suggestionAction's parameter?

2) since i need some context information from the facelet, i have not the 
necessary variables inside the backing-bean's suggestionAction.
(I have one backing-bean for the all suggestion-box facelet-tags, since I try 
to form a independet input component)
  
> SuggestionBox: why no "converter" attribute?
> --------------------------------------------
>
>                 Key: RF-10943
>                 URL: https://issues.jboss.org/browse/RF-10943
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.3.1
>            Reporter: Markus Staab
>            Assignee: Nick Belaevski
>
> We want to use a converter for the rich:suggestionbox.
> Our use-case is the following:
> we try to develop a component which we use for city and postal suggestions, 
> depending on a country.
> So we use 1 selectMenu and 2 inputText fields in a facelet.
> For the suggestions of this component we have a dedicated backing bean, which 
> offeres the suggestionActions.
> In the suggestionActions we need information about the AddressModell which 
> backs whole address-sections in our applications (city +postal+country are 
> only a small part of such an model).
> Our idea was to use a converter to set the city/postal property on those 
> AddressModell's and then have this AddressModell passed to the 
> suggestionAction. Therefore we return in the converters getAsObject()-method 
> the object we want the framework to pass to the suggestion handler.
> But since the suggestionsbox doesn't support the converter tag, it doesn't 
> take our converter into account...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to