Here is the code. The commandButton with the id "mainSearchButton" has the problem. If I click on the button with the mouse then the method is called.
<div class="hori">
<h:form id="mainSearchForm">
<h:outputText value="#{labels.suchMainMessage}" />
<f:verbatim>
<br />
<br />
</f:verbatim>
<h:outputText value="#{ labels.danke}" />
<f:verbatim>
<br />
<br />
</f:verbatim>
<f:verbatim>
<br />
</f:verbatim>
<h:selectOneMenu value="#{ search.aktuellesSuchAttribut}">
<f:selectItems value="#{search.moeglicheSuchAttribute}" />
</h:selectOneMenu>
<h:inputText value="#{ search.suchLiterale}" />
<h:commandButton id="mainSearchButton" value="#{labels.suche}" actionListener="#{search.suche}" />
<h:panelGroup rendered="#{ search.inLetzterSuche}">
<f:verbatim>
<br />
</f:verbatim>
<h:selectBooleanCheckbox value="#{ search.letzteSuche}">
<h:outputText value="#{labels.inLetztemErgebnis}:" />
</h:selectBooleanCheckbox>
</h:panelGroup>
<f:verbatim>
<br />
</f:verbatim>
<h:commandButton id="coBuSearchMain5" value="#{ labels.zurueck}" actionListener="#{search.alteSuche}" rendered="#{search.alteSuche}" />
<f:verbatim>
<br />
</f:verbatim>
<h:message for="" styleClass="fehlermeldung" />
<h:panelGroup rendered="#{ search.inLetzterSuche}">
<f:verbatim>
<br />
</f:verbatim>
<h:outputText value="#{ labels.gefunden}: #{search.anzahlSucheGefundene}" />
</h:panelGroup>
<f:verbatim>
<hr />
</f:verbatim>
<h:selectOneMenu id="selone_menu_panelSearch" value="#{search.aktuellerStack}" ['mainSearch:mainSearchForm'].submit();">
<f:selectItems id="selItemsStackSearch" value="#{search.moeglicheStacks}" />
</h:selectOneMenu>
<t:panelStack id="stackMain" selectedPanel="#{search.aktuellerStack}">
<h:panelGroup id="stackListe">
<[EMAIL PROTECTED] file="searchListe.jsp"%>
</h:panelGroup>
<h:panelGroup id="stackBaum">
<[EMAIL PROTECTED] file="searchTree.jsp"%>
</h:panelGroup>
<h:panelGroup id="stackServer">
<[EMAIL PROTECTED] file="searchTreeServer.jsp"%>
</h:panelGroup>
</t:panelStack>
<h:commandButton id="goSelektionSearchMain6" value="#{labels.geheSelektion}" action="" />
</h:form>
</div>
On 4/28/06, CD <[EMAIL PROTECTED]> wrote:
Can you post sample code here?
On 4/28/06, Hans Sowa <[EMAIL PROTECTED]> wrote:Hi
I have following situation. I klick on a textfield, write a text and press enter. What happend is that in Netscape Navigator the event behind the commandButton calls my method. Great. But on Internet Explorer the event doesn't call my method. But on another side a similar combination works also for Internet Explorer. I can't find a difference.
Maybe someone has a similar problem and has an idea?
Thanks in advance.
--
mfg Hans Sowa
mailto:[EMAIL PROTECTED]
--
mfg Hans Sowa
mailto:[EMAIL PROTECTED]

