-
1. Rich:autocomplete passing event to parent
ilya_shaikovsky Feb 7, 2011 10:41 AM (in response to ballo)use onkeydown="event.stopPropagation();" at autocomplete. That's just a workaround. I will review jira and create new task if it's not there.
-
2. Rich:autocomplete passing event to parent
ballo Feb 8, 2011 3:19 AM (in response to ilya_shaikovsky)Thank you very much, that solves the problem in the extendedDataTable, very nice if you post it in jira:).... But it do not solve the problem in my OpenFaces:treeTable.
I can't quite understand that, but they must some how pick up the event even when I use the stopPropagation() function. I have posted it on the OpenFaces forum, here.
This is my code if anyone has a suggestion on how I may fix it:
<o:treeTable id="treeTable" var="treeNode"
style="width: 100%;border: 1px solid #999999;">
<o:dynamicTreeStructure nodeChildren="#{eventBugBean.stringList}" />
<o:singleNodeSelection rendered="true" style="background: #D0D5E0;" />
<o:treeColumn style="width: 8%;">
<h:outputText value="#{treeNode}" />
</o:treeColumn>
<o:column style="width: 40%;">
<rich:autocomplete id="autocomplete2" showButton="false"
layout="list" mode="ajax" var="varAutocomplete"
onkeydown="event.stopPropagation();"
autocompleteMethod="#{eventBugBean.getAutocompleteList}">
#{varAutocomplete}
</rich:autocomplete>
</o:column>
</o:treeTable>
Best regards and thank you IIya for the quick response
Tor Åge
-
3. Rich:autocomplete passing event to parent
ballo Feb 8, 2011 9:01 AM (in response to ballo)A valid workaround for the treeTable component is also setting onkeypress="event.stopPropagation();"
Best regards
Tor Åge