Sandbox inputSuggest
Hi, when I use inputSuggest from nightly build of sandbox there are attributes styleClass and style missing. In an older build it was present. Maybe something wrong with the TLD ? Regards, Oliver
sandbox InputSuggest problem
I tried Sandbox inputSuggest, issues: 1. selectItems: accept map only, the order can not be preserved. 2. the pull down box is covered by other components(e.g. selectOneMenu) below it. 3. Weird - the left upper corner of page become blank. Anyone has the same problem? Thanks, Dave Yahoo! FareChase - Search multiple travel sites in one click.
[MyFaces][Sandbox] inputSuggest
Seems like inputSuggest is having the following issues: 1) No ability for adding "class" and "styleClass" attributes. 2) When putting more than once (in a loop, for example t:dataTable), the components are not working properly, and the id is not being produced properly. 3) f:selectItems can be only a Map and not a SelectItem array/list. I am using this latest jar: tomahawk-sandbox-1.1.7-SNAPSHOT.jar Am I missing something? These looks like several critical issues to the functionality of this component.
Tomahawk Sandbox InputSuggest
Hi.. I have problem with combining Trinidad selectonechoice partial trigger with SandBox InputSuggest. What I am trying to do is everytime the selectonechoice value changes, update the list of InputSuggest. My Jsp code is quite simple: [code] [/code] my InputSuggestBean Bean and it's session scope: [code] private String neabcd; private TreeMap nes = new TreeMap(); private List selectionDro = new ArrayList(); public List getSelectionDro() { if (selectionDro.isEmpty()){ selectionDro.add(new SelectItem("a1","aa")); selectionDro.add(new SelectItem("a2","bb")); selectionDro.add(new SelectItem("a3","cc")); selectionDro.add(new SelectItem("a4","dd")); } return selectionDro; } public void setSelectionDro(List selectionDro) { this.selectionDro = selectionDro; } public void valchangeEvent(javax.faces.event.ValueChangeEvent valueChangeEvent){ if (valueChangeEvent.getNewValue() != null) { nes.clear(); nes.put("1","a"+valueChangeEvent.getNewValue().toString()); nes.put("2","aa"+valueChangeEvent.getNewValue().toString()); nes.put("3","b"+valueChangeEvent.getNewValue().toString()); nes.put("4","ba"+valueChangeEvent.getNewValue().toString()); nes.put("5","cc"+valueChangeEvent.getNewValue().toString()); } } [/code] I am testing my code with IE6 and FF2. Once this page get loaded for first time, it's works fine. In IE6, once I change the dropdown value, the new list for the InputSuggest is populated correctly in the backin bean. In FF, the InputSuggest list get updated and the suggest box appear but the suggest box style seems missing. It's become transparant. The background will depend on the default background. In IE6, a "false" word with white background appear in the top left window. When I check the source, and IFrame with id=_id4_textShim is populated. and the suggest box stay as static content. What ever I type in the input text, nothing happen but I can see the suggested list just below the input text but the list content is populated correctly. Ie Screen Shot: http://www.nabble.com/file/p21492702/IE6.jpg FF Screen Shot: http://www.nabble.com/file/p21492702/Firefox.jpg I am currently using: Tomahawk SandBox: 1.1.7-SNAPSHOT Tomahawk: 1.1.8 JSF 1.1 Jboss 4.0.5GA Any Idea? Thanks in Advance chers pdt -- View this message in context: http://www.nabble.com/Tomahawk-Sandbox-InputSuggest-tp21492702p21492702.html Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: sandbox InputSuggest problem
Dave wrote: > I tried Sandbox inputSuggest, issues: > 1. selectItems: accept map only, the order can not be preserved. Try using TreeMap, which implements the SortedMap interface > 2. the pull down box is covered by other components(e.g. > selectOneMenu) below it. > 3. Weird - the left upper corner of page become blank. > > Anyone has the same problem? > Thanks, Dave > > > Yahoo! FareChase - Search multiple travel sites in one click. > <http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/> > -- Dave Brondsema Software Developer Cornerstone University signature.asc Description: OpenPGP digital signature
Re: Tomahawk sandbox: inputSuggest problems with position of popup and u
I think that I've many problems when I want to use one of the input suggest components. 1) I 've to use these components in a dataTable and it seems that none of them work in this context ( the id attachment doesn't work??? ) 2) My application communicates via https and therefore a message pops up (because of the ajax request communicate via http?) But I've to provide such a functionality so I search for a solution (but it seems not so easy...) BTW, I used the calendar component with MyFaces 1.1.1 (worked successfully in a production ready app) and after upgrading to MyFaces 1.1.4 and Tomahawk 1.1.5 Snapshot the same positioning problem appeared as in inputSuggest component. So I dropped the calendar component from my pages :-( Regards, Martin Gerald M?llan wrote: > > Hi, > > why not using the inputSuggestAjax component? > > I am sure the popUp will be on the right place because its inserted by > the dojo framework. > > Apart from some character encoding problems (will hopefully be fixed > soon) the component should be quite stable. > > cheers, > > Gerald > > On 9/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> In this case I tried to use inputSuggest. >> >> But I tried also tableSuggestAjax and was not really happy with the >> results. >> >> Regards, >> >> Martin >> >> >> >> >> ++ >> Diese Nachricht ist vertraulich und ausschlie?lich f?r den/die Adressaten >> bestimmt. Sollten Sie nicht der beabsichtigte Adressat, einer seiner >> Mitarbeiter oder sein Empfangsbevollm?chtigter sein, ist jede Form der >> Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des >> Inhalts dieser Nachricht unzul?ssig. In diesem Fall bitten wir, den >> Absender >> umgehend zu benachrichtigen und die Nachricht zu vernichten. Elektronisch >> versandte Nachrichten k?nnen durch Unberechtigte manipuliert und/oder >> gelesen werden, weshalb jegliche Haftung hierf?r ausgeschlossen wird. >> ++ >> This communication is confidential and is intended solely for the >> addressee(s). If you are not the intended recipient(s), his/her >> assistant, >> or authorized recipient, any form of disclosure, reproduction, >> distribution >> or any use of this communication or the information in it, is strictly >> prohibited and may be unlawful. In this case, please notify the sender >> immediately and destroy the e-mail. Electronic communication via the >> Internet by e-mail may be manipulated and/or read by third parties, thus >> we >> exclude any liability whatsoever for this e-mail. >> ++ >> >> > > > -- > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > > -- View this message in context: http://www.nabble.com/Tomahawk-sandbox%3A-inputSuggest-problems-with-position-of-popup-and-usage-in-a-dataTable-tf2343550.html#a6524926 Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: Tomahawk sandbox: inputSuggest problems with position of popup and u
Hi, only for clarification: Is one of the inputSuggest components ready to be used in a dataTable. Please give me a hint, because I need such a component used i a dataTable and I doesn't want to investigate more time when the sandbox components not ready for this case. Do you know other components (maybe from other frameworks) for this case. TIA Regards, Martin Martin Marinschek wrote: > > Hi Martin, > > are you using inputSuggestAjax or inputSuggest? > > regards, > > Martin > > On 9/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> The positioning problem: >> === >> I've a complex layout of my page. The layout is extensively styled with >> CSS >> and I use Tiles as templating tool. >> >> When I have an inputSuggest component in my page the popup is rendered >> far >> away from the input field. >> >> >> Usage in a dataTable: >> >> I want to use the inputSuggest Component also in a dataTable. >> When I render only 1 row I've the positioning problems described above. >> When >> I render more than 1 row I get a blank box with the output "false". The >> input field have no inputSuggest functionality anymore. >> >> >> >> Is the usage of the inputSuggest compont recommended? Are there other >> components available with similary functions available? >> >> Please, could anybody give me a hint? >> >> BTW, I use the latest snapshot of Tomahawk sandbox (27th September) >> >> TIA >> >> Martin >> >> >> ++ >> Diese Nachricht ist vertraulich und ausschlie?lich f?r den/die Adressaten >> bestimmt. Sollten Sie nicht der beabsichtigte Adressat, einer seiner >> Mitarbeiter oder sein Empfangsbevollm?chtigter sein, ist jede Form der >> Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des >> Inhalts dieser Nachricht unzul?ssig. In diesem Fall bitten wir, den >> Absender >> umgehend zu benachrichtigen und die Nachricht zu vernichten. Elektronisch >> versandte Nachrichten k?nnen durch Unberechtigte manipuliert und/oder >> gelesen werden, weshalb jegliche Haftung hierf?r ausgeschlossen wird. >> ++ >> This communication is confidential and is intended solely for the >> addressee(s). If you are not the intended recipient(s), his/her >> assistant, >> or authorized recipient, any form of disclosure, reproduction, >> distribution >> or any use of this communication or the information in it, is strictly >> prohibited and may be unlawful. In this case, please notify the sender >> immediately and destroy the e-mail. Electronic communication via the >> Internet by e-mail may be manipulated and/or read by third parties, thus >> we >> exclude any liability whatsoever for this e-mail. >> ++ >> >> > > > -- > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > > -- View this message in context: http://www.nabble.com/Tomahawk-sandbox%3A-inputSuggest-problems-with-position-of-popup-and-usage-in-a-dataTable-tf2343550.html#a6532633 Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: Tomahawk sandbox: inputSuggest problems with position of popup and u
maku schrieb: > Hi, > > only for clarification: > > Is one of the inputSuggest components ready to be used in a dataTable. > > Please give me a hint, because I need such a component used i a dataTable > and I doesn't want to investigate more time when the sandbox components not > ready for this case. > > Do you know other components (maybe from other frameworks) for this case. > > TIA > > Regards, > > Martin > Hi I am not sure if the input suggest components work in a dataTable, I have not tried it, the closest possibility might be the ajaxAutoSuggest because this one uses the dojo positional code, which in my opinion is very good (positional calculation is generally a problem, because of IE bugs in this area, often triggered by weird css, or scroller combinations). The Sandbox, which is exactly named sandbox for such reasons is not your only option, check out Triniad and the Sun Blueprints, also you have a bunch of commcerial options available. Btw. one note however, I do not think the positional code is the problem, it probably will work, but what happens, if I may do a wild guess here into the air, is following: You probably have pushed the control into the data table and since the table does iterations on the model, you might get duplicate ids... check out your generated code for such a thing. In such a case it can happen that a drop down goes haywire because it tries to position on a totally visually different control. Dont get me wrong, we have used so far the ajax autosuggest and the table suggest in very complex layouts (not the normal auto suggest though) as well and the positional code has not failed on us, please check if you run into such a case with your datatable, such problems are very common with this control (people assume rightfully for instance they can push checkboxes in and then get similar failures, because the bindings do not reference all checkboxes for instance, just one) If it fails and the table itself is not the reason, please send us a markup of your generated html code so that we can start to investigate into the problem.
Tomahawk sandbox: inputSuggest problems with position of popup and usage in a dataTable
Hi, The positioning problem: === I've a complex layout of my page. The layout is extensively styled with CSS and I use Tiles as templating tool. When I have an inputSuggest component in my page the popup is rendered far away from the input field. Usage in a dataTable: I want to use the inputSuggest Component also in a dataTable. When I render only 1 row I've the positioning problems described above. When I render more than 1 row I get a blank box with the output "false". The input field have no inputSuggest functionality anymore. Is the usage of the inputSuggest compont recommended? Are there other components available with similary functions available? Please, could anybody give me a hint? BTW, I use the latest snapshot of Tomahawk sandbox (27th September) TIA Martin ++ Diese Nachricht ist vertraulich und ausschließlich für den/die Adressaten bestimmt. Sollten Sie nicht der beabsichtigte Adressat, einer seiner Mitarbeiter oder sein Empfangsbevollmächtigter sein, ist jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser Nachricht unzulässig. In diesem Fall bitten wir, den Absender umgehend zu benachrichtigen und die Nachricht zu vernichten. Elektronisch versandte Nachrichten können durch Unberechtigte manipuliert und/oder gelesen werden, weshalb jegliche Haftung hierfür ausgeschlossen wird. ++ This communication is confidential and is intended solely for the addressee(s). If you are not the intended recipient(s), his/her assistant, or authorized recipient, any form of disclosure, reproduction, distribution or any use of this communication or the information in it, is strictly prohibited and may be unlawful. In this case, please notify the sender immediately and destroy the e-mail. Electronic communication via the Internet by e-mail may be manipulated and/or read by third parties, thus we exclude any liability whatsoever for this e-mail. ++
Re: Tomahawk sandbox: inputSuggest problems with position of popup and usage in a dataTable
Hi Martin, are you using inputSuggestAjax or inputSuggest? regards, Martin On 9/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, The positioning problem: === I've a complex layout of my page. The layout is extensively styled with CSS and I use Tiles as templating tool. When I have an inputSuggest component in my page the popup is rendered far away from the input field. Usage in a dataTable: I want to use the inputSuggest Component also in a dataTable. When I render only 1 row I've the positioning problems described above. When I render more than 1 row I get a blank box with the output "false". The input field have no inputSuggest functionality anymore. Is the usage of the inputSuggest compont recommended? Are there other components available with similary functions available? Please, could anybody give me a hint? BTW, I use the latest snapshot of Tomahawk sandbox (27th September) TIA Martin ++ Diese Nachricht ist vertraulich und ausschließlich für den/die Adressaten bestimmt. Sollten Sie nicht der beabsichtigte Adressat, einer seiner Mitarbeiter oder sein Empfangsbevollmächtigter sein, ist jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser Nachricht unzulässig. In diesem Fall bitten wir, den Absender umgehend zu benachrichtigen und die Nachricht zu vernichten. Elektronisch versandte Nachrichten können durch Unberechtigte manipuliert und/oder gelesen werden, weshalb jegliche Haftung hierfür ausgeschlossen wird. ++ This communication is confidential and is intended solely for the addressee(s). If you are not the intended recipient(s), his/her assistant, or authorized recipient, any form of disclosure, reproduction, distribution or any use of this communication or the information in it, is strictly prohibited and may be unlawful. In this case, please notify the sender immediately and destroy the e-mail. Electronic communication via the Internet by e-mail may be manipulated and/or read by third parties, thus we exclude any liability whatsoever for this e-mail. ++ -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces
Re: Tomahawk sandbox: inputSuggest problems with position of popup and usage in a dataTable
Martin Marinschek schrieb: > Hi Martin, > > are you using inputSuggestAjax or inputSuggest? > > regards, > > Martin > If it is inputsuggest, that would be a perfect timing to push that one into the dojo drop down container ;-)
Re: Tomahawk sandbox: inputSuggest problems with position of popup and usage in a dataTable
Hi, In this case I tried to use inputSuggest. But I tried also tableSuggestAjax and was not really happy with the results. Regards, Martin ++ Diese Nachricht ist vertraulich und ausschließlich für den/die Adressaten bestimmt. Sollten Sie nicht der beabsichtigte Adressat, einer seiner Mitarbeiter oder sein Empfangsbevollmächtigter sein, ist jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser Nachricht unzulässig. In diesem Fall bitten wir, den Absender umgehend zu benachrichtigen und die Nachricht zu vernichten. Elektronisch versandte Nachrichten können durch Unberechtigte manipuliert und/oder gelesen werden, weshalb jegliche Haftung hierfür ausgeschlossen wird. ++ This communication is confidential and is intended solely for the addressee(s). If you are not the intended recipient(s), his/her assistant, or authorized recipient, any form of disclosure, reproduction, distribution or any use of this communication or the information in it, is strictly prohibited and may be unlawful. In this case, please notify the sender immediately and destroy the e-mail. Electronic communication via the Internet by e-mail may be manipulated and/or read by third parties, thus we exclude any liability whatsoever for this e-mail. ++
Re: Tomahawk sandbox: inputSuggest problems with position of popup and usage in a dataTable
Hi, why not using the inputSuggestAjax component? I am sure the popUp will be on the right place because its inserted by the dojo framework. Apart from some character encoding problems (will hopefully be fixed soon) the component should be quite stable. cheers, Gerald On 9/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, In this case I tried to use inputSuggest. But I tried also tableSuggestAjax and was not really happy with the results. Regards, Martin ++ Diese Nachricht ist vertraulich und ausschließlich für den/die Adressaten bestimmt. Sollten Sie nicht der beabsichtigte Adressat, einer seiner Mitarbeiter oder sein Empfangsbevollmächtigter sein, ist jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser Nachricht unzulässig. In diesem Fall bitten wir, den Absender umgehend zu benachrichtigen und die Nachricht zu vernichten. Elektronisch versandte Nachrichten können durch Unberechtigte manipuliert und/oder gelesen werden, weshalb jegliche Haftung hierfür ausgeschlossen wird. ++ This communication is confidential and is intended solely for the addressee(s). If you are not the intended recipient(s), his/her assistant, or authorized recipient, any form of disclosure, reproduction, distribution or any use of this communication or the information in it, is strictly prohibited and may be unlawful. In this case, please notify the sender immediately and destroy the e-mail. Electronic communication via the Internet by e-mail may be manipulated and/or read by third parties, thus we exclude any liability whatsoever for this e-mail. ++ -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces
Re: Tomahawk sandbox: inputSuggest problems with position of popup and usage in a dataTable
Gerald Müllan schrieb: > Hi, > > why not using the inputSuggestAjax component? > > I am sure the popUp will be on the right place because its inserted by > the dojo framework. > > Apart from some character encoding problems (will hopefully be fixed > soon) the component should be quite stable. > Btw. I already posted it before, there is an excellent component for doing drop down input stuff in the current dojo codebase, martin currently does something with it and seems to be quite happy. We should think about moving all sandbox drop down stuff if it is problematic into that one and have dojo handle the positioning. Currently the only two components I can think of is the table suggest and the normal input suggest, but in the long run maybe our own date picker as well (or simply replace it with the dojo one entirely)