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.

Reply via email to