myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From parth_softweb <pa...@softwebsolutions.com>
Subject Tomahawk Sandbox inputSuggestAjax problem
Date Mon, 09 May 2011 07:13:41 GMT

Hi all,

I am using MyFaces 1.1.5, Tomahawk 1.1.6 & Sandbox 1.1.6. The problem is
that when I use inputSuggestAjax tag from Sandbox, it makes Ajax request but
do not open suggest box (a list which starts with character entered in text
box).

Here is the code used.

JSP file code:
<s:inputSuggestAjax
		suggestedItemsMethod="#{jsfBean.getAjaxResponse}"
		value="#{jsfBean.textValue}" charset="UTF-8" />

suggestedItemsMethod:
public List<String> getAjaxResponse(String keyWord) {
	List<String> list = new ArrayList<String>();
		
	list.add(keyWord + "_TEST");
	list.add("5" + keyWord + "_TEST1");
	list.add("1 - " + keyWord + "_TEST2");
	list.add("TEST3 - " + keyWord + "_SAMPLE");
		
	return list;
}

Can any one help me out?

Thanks.
-- 
View this message in context: http://old.nabble.com/Tomahawk-Sandbox-inputSuggestAjax-problem-tp31574522p31574522.html
Sent from the My Faces - Dev mailing list archive at Nabble.com.


Mime
View raw message