Hello Madan,
Volker is working on this issue. See:
http://issues.apache.org/jira/browse/TOBAGO-279
Regards
Bernd
madan chowdary wrote:
Hi Volker,
Think u didn't go through my previous post.
Does the inputSuggest work well with Internet Explorer ?
And why does error occures( as posted in previous mail) when ever i type in any thing
in <tc:in/> for both Firefox and IE.
Is this a bug?
Regards,
Madan
----- Original Message ----
From: madan chowdary <[EMAIL PROTECTED]>
To: MyFaces Discussion <[email protected]>
Sent: Wednesday, 14 February, 2007 4:40:07 PM
Subject: Re: [ Tobago ] [ Solved ]Help regarding Input Suggest
Hi Volker,
Solved the InputSuggest for <tc:in/>
used the below code as in JSP and Java
<tc:in id="searchCriteria" width="130px"
value="#{inventorySearch.searchCriteria}"
suggestMethod =
"#{inventorySearch.suggestSearchCriteria}"
/>
public List<String> suggestSearchCriteria(String
msg){
System.out.println("*** Inside getSuggestMethod *** " + msg);
List<String> suggestions = new ArrayList<String>();
suggestions.add("Madan");
suggestions.add("Varma");
suggestions.add("Prasad");
return suggestions;
}
Am able to see the list of available items when i type any key in <tc:in/>.
I am using both FireFox 2.0 and IE 7 for development.
But the above code works only for Firefox but not IE.
And was getting an error immediatly when i enter sometext in <tc:in/> in both
firefox and IE
The log is as such,
2007-02-14 16:38:24,546 INFO [STDOUT] *** Inside getSuggestMethod *** a
2007-02-14 16:38:24,640 INFO [STDOUT]
16:38:24,609 ERROR [[FacesServlet]] Servlet.service() for servlet FacesServlet
threw exception
java.lang.NullPointerException
at
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.FormRenderer.decode(FormRenderer.java:40)
at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:500)
at org.apache.myfaces.tobago.component.UIForm.processDecodes(UIForm.java:39)
at
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:602)
at
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:602)
at
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:602)
at
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:602)
at
org.apache.myfaces.tobago.component.UIPage.processDecodes(UIPage.java:137)
at
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:602)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:135)
at
org.apache.myfaces.tobago.component.UIViewRoot.processDecodes(UIViewRoot.java:164)
at
org.apache.myfaces.lifecycle.LifecycleImpl.applyRequestValues(LifecycleImpl.java:219)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:71)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Is this a Bug ? or am i missing something
?
Regards,
Madan
----- Original Message ----
From: madan chowdary <[EMAIL PROTECTED]>
To: MyFaces Discussion <[email protected]>
Sent: Monday, 12 February, 2007 11:00:14 PM
Subject: Re: [ Tobago ] Help regarding Input Suggest
Hi Volker,
Thnx for quick response,
i ll try the nightly build and check over the fixes you have done.
Right now i am using Tobago 1.0.9, I placed 1.0.10 a few days before, when
running the app, my page alignments has changed and all my components are
aligned zigzag, have to fix this before i go with inputSuggest.
Can u tell me how can i proceed with the inputSuggest for <tc:in/>
That would be helpful for
me to implement in my app very soon.
Thnx
Regards,
Madan
----- Original Message ----
From: Volker Weber <[EMAIL PROTECTED]>
To: MyFaces Discussion
<[email protected]>
Sent: Monday, 12 February, 2007 4:27:27 PM
Subject: Re: [ Tobago ] Help regarding Input Suggest
Hi again,
just fixed this.
Please try the next nightly or build from svn head.
Regards,
Volker
2007/2/12, Volker Weber <[EMAIL PROTECTED]>:
Hi Madan,
the inputSuggest is currently not working, i observed this last week
in our project,
i try to fix it this week, if i found enough spare time.
Regards,
Volker
2007/2/11, madan chowdary <[EMAIL PROTECTED]>:
Hi all,
Many would be knowing the Input Suggest by this time, as it is put on many
sites like Yahoo Mail for To address.
I need to do the same in one of my pages.
I have search box which contains a <tc:in/> and
<tc:button/>
When a user enters a part of text, suggest Text must be appeared for the
user which makes him a bit easier to find the key word.
How to achieve this with Tobago.
Thnx in advance,
Madan
________________________________
Here's a new way to find what you're looking for - Yahoo! Answers
Here’s a new way to find what you're looking for - Yahoo! Answers
Here’s a new way to find what you're looking for - Yahoo! Answers
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/