Hi,
i strongly suggest to use one of the latest sandbox builds if you want
to use this component (you also have to use latest tomhawk). There
have been many changes introduced and errors fixed the last weeks.
cheers,
Gerald
On 2/27/07, bansi <[EMAIL PROTECTED]> wrote:
Nope it doesnt work even with server side state saving mode
Cagatay Civici wrote:
>
> Hi,
>
> How about server side state saving mode? Does it work with that?
>
> Cagatay
>
> On 2/26/07, bansi <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi I am using Facelets 1.1.2 and tomahawk-sandbox-1.1.3-SNAPSHOT.jar,
>> tomahawk-1.1.3.jar, MyFaces 1.1.4.
>>
>> The code works perfectly fine but when i enter values into textbox it
>> doesnt
>> show up suggested Items . Then i debugged the application with log4j
>>
>>
>>
>> Here is the jsp page
>> <h:outputText value="Enter your name : "/>
>> <s:inputSuggestAjax suggestedItemsMethod="#{test.getSuggestedWords}"
>> value="#{test.currentValue}" />
>> <br />
>> <h:commandButton value="Submit"/>
>> <br />
>> <h:outputText value="Your name is #{test.currentValue}"/>
>>
>> Here is the backing bean
>> public List getSuggestedWords(String keyword) {
>> List list = new ArrayList();
>> list.add(keyword + " Ahmed Saleh");
>> list.add(keyword + " Kahki");
>> list.add(keyword + " Kourany");
>> list.add(keyword + " Kiki");
>> list.add(keyword + " Saleh Abouetta");
>> list.add(keyword + " Hashim");
>> return list;
>> }
>>
>>
>> public String getCurrentValue() {
>> return currentValue;
>> }
>> public void setCurrentValue(String currentValue) {
>> this.currentValue = currentValue;
>> }
>> //current selected value
>> String currentValue;
>> I have set the Save State to Client in web.xml
>>
>> Any pointers/suggestions will be highly appreciated
>>
>> Regards
>> Bansi
>>
>> --
>> View this message in context:
>>
http://www.nabble.com/Unable-to-display-Suggested-Items-using-Sandbox-component-s%3AinputAjaxSuggest-tf3295288.html#a9166912
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Unable-to-display-Suggested-Items-using-Sandbox-component-s%3AinputAjaxSuggest-tf3295288.html#a9191498
Sent from the MyFaces - Users mailing list archive at Nabble.com.
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces