You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Julien Martin <ba...@gmail.com> on 2006/09/01 18:32:14 UTC
Form needs two clicks in order to be submitted
Hello,
I am developing a faces application and I noticed that my form needs
two clicks in order to be submitted. I suspect it has to do with the
view tree not being stored in the server but I am not sure. Here is
the output generated from the first click:
[code]
2006-08-31 21:19:25,000 DEBUG
[org.apache.catalina.session.ManagerBase] Start expire sessions
StandardManager at 1157051965000 sessioncount 1
2006-08-31 21:19:25,000 DEBUG
[org.apache.catalina.session.ManagerBase] End expire sessions
StandardManager processingTime 0 expired sessions: 0
2006-08-31 21:19:35,000 DEBUG
[org.apache.catalina.session.ManagerBase] Start expire sessions
StandardManager at 1157051975000 sessioncount 0
2006-08-31 21:19:35,000 DEBUG
[org.apache.catalina.session.ManagerBase] End expire sessions
StandardManager processingTime 0 expired sessions: 0
2006-08-31 21:19:35,000 DEBUG
[org.apache.catalina.session.ManagerBase] Start expire sessions
StandardManager at 1157051975000 sessioncount 0
2006-08-31 21:19:35,000 DEBUG
[org.apache.catalina.session.ManagerBase] End expire sessions
StandardManager processingTime 0 expired sessions: 0
2006-08-31 21:19:35,000 DEBUG
[org.apache.catalina.session.ManagerBase] Start expire sessions
StandardManager at 1157051975000 sessioncount 0
2006-08-31 21:19:35,000 DEBUG
[org.apache.catalina.session.ManagerBase] End expire sessions
StandardManager processingTime 0 expired sessions: 0
2006-08-31 21:19:35,000 DEBUG
[org.apache.catalina.session.ManagerBase] Start expire sessions
StandardManager at 1157051975000 sessioncount 0
2006-08-31 21:19:35,000 DEBUG
[org.apache.catalina.session.ManagerBase] End expire sessions
StandardManager processingTime 0 expired sessions: 0
2006-08-31 21:19:35,000 DEBUG
[org.apache.catalina.session.ManagerBase] Start expire sessions
StandardManager at 1157051975000 sessioncount 0
2006-08-31 21:19:35,000 DEBUG
[org.apache.catalina.session.ManagerBase] End expire sessions
StandardManager processingTime 0 expired sessions: 0
2006-08-31 21:19:35,000 DEBUG
[org.apache.catalina.session.ManagerBase] Start expire sessions
StandardManager at 1157051975000 sessioncount 0
2006-08-31 21:19:35,000 DEBUG
[org.apache.catalina.session.ManagerBase] End expire sessions
StandardManager processingTime 0 expired sessions: 0
2006-08-31 21:19:45,000 DEBUG
[org.apache.catalina.session.ManagerBase] Start expire sessions
StandardManager at 1157051985000 sessioncount 0
2006-08-31 21:19:45,000 DEBUG
[org.apache.catalina.session.ManagerBase] End expire sessions
StandardManager processingTime 0 expired sessions: 0
2006-08-31 21:19:45,000 DEBUG
[org.apache.catalina.session.ManagerBase] Start expire sessions
StandardManager at 1157051985000 sessioncount 0
2006-08-31 21:19:45,000 DEBUG
[org.apache.catalina.session.ManagerBase] End expire sessions
StandardManager processingTime 0 expired sessions: 0
2006-08-31 21:20:23,828 DEBUG
[org.apache.catalina.connector.CoyoteAdapter] Requested cookie
session id is 8CFCE8CEE6D0B40E6496DBE8BA861382
2006-08-31 21:20:23,828 DEBUG
[org.apache.catalina.core.StandardWrapper] Returning non-STM
instance
2006-08-31 21:20:23,828 DEBUG [javax.faces.webapp.FacesServlet] service begin
2006-08-31 21:20:23,828 DEBUG
[org.apache.myfaces.context.servlet.ServletExternalContextImpl]
Incoming request has Content-Type header without character encoding:
application/x-www-form-urlencoded
2006-08-31 21:20:23,828 DEBUG
[org.apache.myfaces.lifecycle.LifecycleImpl] entering restoreView in
org.apache.myfaces.lifecycle.LifecycleImpl
2006-08-31 21:20:23,828 DEBUG
[org.apache.myfaces.application.jsp.JspStateManagerImpl] No serialized
view found in server session!
2006-08-31 21:20:23,828 DEBUG
[org.apache.myfaces.application.jsp.JspViewHandlerImpl] Created view
/welcomeJSF.jsp
2006-08-31 21:20:23,828 DEBUG
[org.apache.myfaces.lifecycle.LifecycleImpl] exiting from
lifecycle.execute in restoreView because getRenderResponse is true
from one of the after listeners
2006-08-31 21:20:23,828 DEBUG
[org.apache.myfaces.lifecycle.LifecycleImpl] entering renderResponse
in org.apache.myfaces.lifecycle.LifecycleImpl
2006-08-31 21:20:23,828 DEBUG
[org.apache.myfaces.application.jsp.JspViewHandlerImpl] Dispatching to
/welcomeJSF.jsp
2006-08-31 21:20:23,828 DEBUG
[org.apache.catalina.core.ApplicationDispatcher]
servletPath=/welcomeJSF.jsp, pathInfo=null, queryString=null,
name=null
2006-08-31 21:20:23,828 DEBUG
[org.apache.catalina.core.ApplicationDispatcher] Path Based Forward
2006-08-31 21:20:23,828 DEBUG
[org.apache.catalina.core.StandardWrapper] Returning non-STM
instance
2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
JspEngine --> /welcomeJSF.jsp
2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
ServletPath: /welcomeJSF.jsp
2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
PathInfo: null
2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
RealPath:
D:\system\jboss-4.0.3SP1\server\default\.\tmp\deploy\tmp36659guia.arcoiris.ear-contents\guia.arcoiris-war-exp.war\welcomeJSF.jsp
2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
RequestURI: /guia.arcoiris-war/welcomeJSF.jsp
2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
QueryString: null
2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
Request Params:
2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
searchForm:keywordField =
2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
searchForm:_id2 = search
2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
searchForm_SUBMIT = 1
2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
searchForm:_link_hidden_ =
2006-08-31 21:20:23,828 DEBUG [org.apache.myfaces.taglib.core.ViewTag]
entering ViewTag.doStartTag
2006-08-31 21:20:23,828 DEBUG [org.apache.myfaces.taglib.core.ViewTag]
leaving ViewTag.doStartTag
2006-08-31 21:20:23,843 DEBUG [org.apache.myfaces.taglib.core.ViewTag]
entering ViewTag.doAfterBody
2006-08-31 21:20:23,843 DEBUG [org.apache.myfaces.taglib.core.ViewTag]
leaving ViewTag.doAfterBody
2006-08-31 21:20:23,843 DEBUG [org.apache.myfaces.taglib.core.ViewTag]
entering ViewTag.doEndTag
2006-08-31 21:20:23,859 DEBUG [org.apache.myfaces.taglib.core.ViewTag]
leaving ViewTag.doEndTag
2006-08-31 21:20:23,859 DEBUG
[org.apache.catalina.core.ApplicationDispatcher] Disabling the
response for futher output
2006-08-31 21:20:23,875 DEBUG [org.apache.myfaces.util.DebugUtils]
View after rendering
========================================
<UIViewRoot id="NULL" FORMER_CHILD_IDS="[_id0, body]"
family="javax.faces.ViewRoot" locale="fr" renderKitId="HTML_BASIC"
rendered="true" rendererType="NULL" rendersChildren="false"
transient="false" viewId="/welcomeJSF.jsp">
<html.HtmlMessages id="_id0" forceIdIndex="true" errorClass="NULL"
errorStyle="NULL" family="javax.faces.Messages" fatalClass="NULL"
fatalStyle="NULL" globalOnly="false" infoClass="NULL" infoStyle="NULL"
layout="list" rendered="true" rendererType="javax.faces.Messages"
rendersChildren="false" showDetail="false" showSummary="true"
style="NULL" styleClass="NULL" title="NULL" tooltip="false"
transient="false" warnClass="NULL" warnStyle="NULL"/>
<html.HtmlPanelGroup id="body" FORMER_CHILD_IDS="[searchForm]"
forceIdIndex="true" family="javax.faces.Panel" rendered="true"
rendererType="javax.faces.Group" rendersChildren="true" style="NULL"
styleClass="NULL" transient="false">
<html.HtmlForm id="searchForm" FORMER_CHILD_IDS="[_id1]"
forceIdIndex="true"
org.apache.myfaces.renderkit.html.HtmlFormRendererBase.HIDDEN_COMMAND_INPUTS_SET="[searchForm:_link_hidden_]"
accept="NULL" acceptcharset="NULL" dir="NULL"
enctype="application/x-www-form-urlencoded" family="javax.faces.Form"
lang="NULL" onclick="NULL" ondblclick="NULL" onkeydown="NULL"
onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL"
onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" onreset="NULL"
onsubmit="NULL" rendered="true" rendererType="javax.faces.Form"
rendersChildren="false" style="NULL" styleClass="NULL"
submitted="false" target="NULL" title="NULL" transient="false">
<html.HtmlPanelGrid id="_id1"
FORMER_CHILD_IDS="[searchSubmitLabel, postcodeLabel,
commentExistsLabel, keywordField, countryField, websiteExistsField,
ratingField, commentExistsField, countryLabel, websiteExistsLabel,
ratingLabel, postcodeField, _id2, keywordLabel]" forceIdIndex="true"
bgcolor="NULL" border="0" cellpadding="NULL" cellspacing="NULL"
columnClasses="NULL" columns="2" dir="NULL" family="javax.faces.Panel"
footerClass="NULL" frame="NULL" headerClass="NULL" lang="NULL"
onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL"
onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL"
onmouseover="NULL" onmouseup="NULL" rendered="true"
rendererType="javax.faces.Grid" rendersChildren="true"
rowClasses="NULL" rules="NULL" style="NULL" styleClass="NULL"
summary="NULL" title="NULL" transient="false" width="NULL">
<html.HtmlOutputText id="keywordLabel" forceIdIndex="true"
converter="NULL" escape="true" family="javax.faces.Output"
localValue="enter keyword" rendered="true"
rendererType="javax.faces.Text" rendersChildren="false" style="NULL"
styleClass="NULL" title="NULL" transient="false"/>
<html.HtmlInputText id="keywordField" forceIdIndex="true"
accesskey="NULL" alt="NULL" converter="NULL" dir="NULL"
disabled="false" family="javax.faces.Input" immediate="false"
lang="NULL" localValue="NULL" localValueSet="false"
maxlength="-2147483648" onblur="NULL" onchange="NULL" onclick="NULL"
ondblclick="NULL" onfocus="NULL" onkeydown="NULL" onkeypress="NULL"
onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL"
onmouseover="NULL" onmouseup="NULL" onselect="NULL" readonly="false"
rendered="true" rendererType="javax.faces.Text"
rendersChildren="false" required="false" size="-2147483648"
style="NULL" styleClass="NULL" submittedValue="NULL" tabindex="NULL"
title="NULL" transient="false" valid="true" validator="NULL"
value="#{SearchManagedBean.keyword}" valueChangeListener="NULL"/>
<html.HtmlOutputText id="countryLabel" forceIdIndex="true"
converter="NULL" escape="true" family="javax.faces.Output"
localValue="choose country" rendered="true"
rendererType="javax.faces.Text" rendersChildren="false" style="NULL"
styleClass="NULL" title="NULL" transient="false"/>
<html.HtmlSelectOneListbox id="countryField"
FORMER_CHILD_IDS="[availableCountries]" forceIdIndex="true"
accesskey="NULL" converter="NULL" dir="NULL" disabled="false"
disabledClass="NULL" enabledClass="NULL"
family="javax.faces.SelectOne" immediate="false" lang="NULL"
localValue="NULL" localValueSet="false" onblur="NULL" onchange="NULL"
onclick="NULL" ondblclick="NULL" onfocus="NULL" onkeydown="NULL"
onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL"
onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" onselect="NULL"
readonly="false" rendered="true" rendererType="javax.faces.Listbox"
rendersChildren="false" required="false" size="0" style="NULL"
styleClass="NULL" submittedValue="NULL" tabindex="NULL" title="NULL"
transient="false" valid="true" validator="NULL"
value="#{SearchManagedBean.country}" valueChangeListener="NULL">
<UISelectItems id="availableCountries" forceIdIndex="true"
family="javax.faces.SelectItems" rendered="true" rendererType="NULL"
rendersChildren="false" transient="false"
value="#{SearchManagedBean.availableCountries}"/>
</html.HtmlSelectOneListbox>
<html.HtmlOutputText id="postcodeLabel" forceIdIndex="true"
converter="NULL" escape="true" family="javax.faces.Output"
localValue="choose postcode(s)" rendered="true"
rendererType="javax.faces.Text" rendersChildren="false" style="NULL"
styleClass="NULL" title="NULL" transient="false"/>
<html.HtmlSelectManyListbox id="postcodeField"
FORMER_CHILD_IDS="[availablePostcodes]" forceIdIndex="true"
accesskey="NULL" converter="NULL" dir="NULL" disabled="false"
disabledClass="NULL" enabledClass="NULL"
family="javax.faces.SelectMany" immediate="false" lang="NULL"
localValue="NULL" localValueSet="false" onblur="NULL" onchange="NULL"
onclick="NULL" ondblclick="NULL" onfocus="NULL" onkeydown="NULL"
onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL"
onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" onselect="NULL"
readonly="false" rendered="true" rendererType="javax.faces.Listbox"
rendersChildren="false" required="false"
selectedValues="#{SearchManagedBean.postcode}" size="-2147483648"
style="NULL" styleClass="NULL" submittedValue="NULL" tabindex="NULL"
title="NULL" transient="false" valid="true" validator="NULL"
value="#{SearchManagedBean.postcode}" valueChangeListener="NULL">
<UISelectItems id="availablePostcodes" forceIdIndex="true"
family="javax.faces.SelectItems" rendered="true" rendererType="NULL"
rendersChildren="false" transient="false"
value="#{SearchManagedBean.availablePostcodes}"/>
</html.HtmlSelectManyListbox>
<html.HtmlOutputText id="commentExistsLabel"
forceIdIndex="true" converter="NULL" escape="true"
family="javax.faces.Output" localValue="with comment" rendered="true"
rendererType="javax.faces.Text" rendersChildren="false" style="NULL"
styleClass="NULL" title="NULL" transient="false"/>
<html.HtmlSelectBooleanCheckbox id="commentExistsField"
forceIdIndex="true" accesskey="NULL" converter="NULL" dir="NULL"
disabled="false" family="javax.faces.SelectBoolean" immediate="false"
lang="NULL" localValue="NULL" localValueSet="false" onblur="NULL"
onchange="NULL" onclick="NULL" ondblclick="NULL" onfocus="NULL"
onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL"
onmousemove="NULL" onmouseout="NULL" onmouseover="NULL"
onmouseup="NULL" onselect="NULL" readonly="false" rendered="true"
rendererType="javax.faces.Checkbox" rendersChildren="false"
required="false" selected="#{SearchManagedBean.commentExists}"
style="NULL" styleClass="NULL" submittedValue="NULL" tabindex="NULL"
title="NULL" transient="false" valid="true" validator="NULL"
value="#{SearchManagedBean.commentExists}"
valueChangeListener="NULL"/>
<html.HtmlOutputText id="ratingLabel" forceIdIndex="true"
converter="NULL" escape="true" family="javax.faces.Output"
localValue="rating" rendered="true" rendererType="javax.faces.Text"
rendersChildren="false" style="NULL" styleClass="NULL" title="NULL"
transient="false"/>
<html.HtmlSelectOneListbox id="ratingField"
FORMER_CHILD_IDS="[availableRatings]" forceIdIndex="true"
accesskey="NULL" converter="NULL" dir="NULL" disabled="false"
disabledClass="NULL" enabledClass="NULL"
family="javax.faces.SelectOne" immediate="false" lang="NULL"
localValue="NULL" localValueSet="false" onblur="NULL" onchange="NULL"
onclick="NULL" ondblclick="NULL" onfocus="NULL" onkeydown="NULL"
onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL"
onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" onselect="NULL"
readonly="false" rendered="true" rendererType="javax.faces.Listbox"
rendersChildren="false" required="false" size="0" style="NULL"
styleClass="NULL" submittedValue="NULL" tabindex="NULL" title="NULL"
transient="false" valid="true" validator="NULL"
value="#{SearchManagedBean.rating}" valueChangeListener="NULL">
<UISelectItems id="availableRatings" forceIdIndex="true"
family="javax.faces.SelectItems" rendered="true" rendererType="NULL"
rendersChildren="false" transient="false"
value="#{SearchManagedBean.availableRatings}"/>
</html.HtmlSelectOneListbox>
<html.HtmlOutputText id="websiteExistsLabel"
forceIdIndex="true" converter="NULL" escape="true"
family="javax.faces.Output" localValue="with website" rendered="true"
rendererType="javax.faces.Text" rendersChildren="false" style="NULL"
styleClass="NULL" title="NULL" transient="false"/>
<html.HtmlSelectBooleanCheckbox id="websiteExistsField"
forceIdIndex="true" accesskey="NULL" converter="NULL" dir="NULL"
disabled="false" family="javax.faces.SelectBoolean" immediate="false"
lang="NULL" localValue="NULL" localValueSet="false" onblur="NULL"
onchange="NULL" onclick="NULL" ondblclick="NULL" onfocus="NULL"
onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL"
onmousemove="NULL" onmouseout="NULL" onmouseover="NULL"
onmouseup="NULL" onselect="NULL" readonly="false" rendered="true"
rendererType="javax.faces.Checkbox" rendersChildren="false"
required="false" selected="#{SearchManagedBean.websiteExists}"
style="NULL" styleClass="NULL" submittedValue="NULL" tabindex="NULL"
title="NULL" transient="false" valid="true" validator="NULL"
value="#{SearchManagedBean.websiteExists}"
valueChangeListener="NULL"/>
<html.HtmlOutputText id="searchSubmitLabel"
forceIdIndex="true" converter="NULL" escape="true"
family="javax.faces.Output" localValue="Submit here" rendered="true"
rendererType="javax.faces.Text" rendersChildren="false" style="NULL"
styleClass="NULL" title="NULL" transient="false"/>
<html.HtmlCommandButton id="_id2" forceIdIndex="true"
accesskey="NULL" action="" actionListener="NULL" alt="NULL" dir="NULL"
disabled="false" family="javax.faces.Command" image="NULL"
immediate="false" lang="NULL" onblur="NULL" onchange="NULL"
onclick="NULL" ondblclick="NULL" onfocus="NULL" onkeydown="NULL"
onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL"
onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" onselect="NULL"
readonly="false" rendered="true" rendererType="javax.faces.Button"
rendersChildren="false" style="NULL" styleClass="NULL" tabindex="NULL"
title="NULL" transient="false" type="submit" value="search"/>
</html.HtmlPanelGrid>
</html.HtmlForm>
</html.HtmlPanelGroup>
</UIViewRoot>
========================================
2006-08-31 21:20:23,875 DEBUG
[org.apache.myfaces.lifecycle.LifecycleImpl] exiting renderResponse in
org.apache.myfaces.lifecycle.LifecycleImpl
2006-08-31 21:20:23,875 DEBUG [javax.faces.webapp.FacesServlet] service end
2006-08-31 21:20:25,000 DEBUG
[org.apache.catalina.session.ManagerBase] Start expire sessions
StandardManager at 1157052025000 sessioncount 1
2006-08-31 21:20:25,000 DEBUG
[org.apache.catalina.session.ManagerBase] End expire sessions
StandardManager processingTime 0 expired sessions: 0
[/code]
Can anyone please help?
Thanks in advance,
Julien Martin.
Re: Form needs two clicks in order to be submitted
Posted by Victor Hugo <vh...@gmail.com>.
All,
Does anybody knows the solution of this problem?
Thank you all in advance.
Julien Martin-2 wrote:
>
> Hello,
> I am developing a faces application and I noticed that my form needs
> two clicks in order to be submitted. I suspect it has to do with the
> view tree not being stored in the server but I am not sure. Here is
> the output generated from the first click:
>
> [code]
> 2006-08-31 21:19:25,000 DEBUG
> [org.apache.catalina.session.ManagerBase] Start expire sessions
> StandardManager at 1157051965000 sessioncount 1
> 2006-08-31 21:19:25,000 DEBUG
> [org.apache.catalina.session.ManagerBase] End expire sessions
> StandardManager processingTime 0 expired sessions: 0
> 2006-08-31 21:19:35,000 DEBUG
> [org.apache.catalina.session.ManagerBase] Start expire sessions
> StandardManager at 1157051975000 sessioncount 0
> 2006-08-31 21:19:35,000 DEBUG
> [org.apache.catalina.session.ManagerBase] End expire sessions
> StandardManager processingTime 0 expired sessions: 0
> 2006-08-31 21:19:35,000 DEBUG
> [org.apache.catalina.session.ManagerBase] Start expire sessions
> StandardManager at 1157051975000 sessioncount 0
> 2006-08-31 21:19:35,000 DEBUG
> [org.apache.catalina.session.ManagerBase] End expire sessions
> StandardManager processingTime 0 expired sessions: 0
> 2006-08-31 21:19:35,000 DEBUG
> [org.apache.catalina.session.ManagerBase] Start expire sessions
> StandardManager at 1157051975000 sessioncount 0
> 2006-08-31 21:19:35,000 DEBUG
> [org.apache.catalina.session.ManagerBase] End expire sessions
> StandardManager processingTime 0 expired sessions: 0
> 2006-08-31 21:19:35,000 DEBUG
> [org.apache.catalina.session.ManagerBase] Start expire sessions
> StandardManager at 1157051975000 sessioncount 0
> 2006-08-31 21:19:35,000 DEBUG
> [org.apache.catalina.session.ManagerBase] End expire sessions
> StandardManager processingTime 0 expired sessions: 0
> 2006-08-31 21:19:35,000 DEBUG
> [org.apache.catalina.session.ManagerBase] Start expire sessions
> StandardManager at 1157051975000 sessioncount 0
> 2006-08-31 21:19:35,000 DEBUG
> [org.apache.catalina.session.ManagerBase] End expire sessions
> StandardManager processingTime 0 expired sessions: 0
> 2006-08-31 21:19:35,000 DEBUG
> [org.apache.catalina.session.ManagerBase] Start expire sessions
> StandardManager at 1157051975000 sessioncount 0
> 2006-08-31 21:19:35,000 DEBUG
> [org.apache.catalina.session.ManagerBase] End expire sessions
> StandardManager processingTime 0 expired sessions: 0
> 2006-08-31 21:19:45,000 DEBUG
> [org.apache.catalina.session.ManagerBase] Start expire sessions
> StandardManager at 1157051985000 sessioncount 0
> 2006-08-31 21:19:45,000 DEBUG
> [org.apache.catalina.session.ManagerBase] End expire sessions
> StandardManager processingTime 0 expired sessions: 0
> 2006-08-31 21:19:45,000 DEBUG
> [org.apache.catalina.session.ManagerBase] Start expire sessions
> StandardManager at 1157051985000 sessioncount 0
> 2006-08-31 21:19:45,000 DEBUG
> [org.apache.catalina.session.ManagerBase] End expire sessions
> StandardManager processingTime 0 expired sessions: 0
> 2006-08-31 21:20:23,828 DEBUG
> [org.apache.catalina.connector.CoyoteAdapter] Requested cookie
> session id is 8CFCE8CEE6D0B40E6496DBE8BA861382
> 2006-08-31 21:20:23,828 DEBUG
> [org.apache.catalina.core.StandardWrapper] Returning non-STM
> instance
> 2006-08-31 21:20:23,828 DEBUG [javax.faces.webapp.FacesServlet] service
> begin
> 2006-08-31 21:20:23,828 DEBUG
> [org.apache.myfaces.context.servlet.ServletExternalContextImpl]
> Incoming request has Content-Type header without character encoding:
> application/x-www-form-urlencoded
> 2006-08-31 21:20:23,828 DEBUG
> [org.apache.myfaces.lifecycle.LifecycleImpl] entering restoreView in
> org.apache.myfaces.lifecycle.LifecycleImpl
> 2006-08-31 21:20:23,828 DEBUG
> [org.apache.myfaces.application.jsp.JspStateManagerImpl] No serialized
> view found in server session!
> 2006-08-31 21:20:23,828 DEBUG
> [org.apache.myfaces.application.jsp.JspViewHandlerImpl] Created view
> /welcomeJSF.jsp
> 2006-08-31 21:20:23,828 DEBUG
> [org.apache.myfaces.lifecycle.LifecycleImpl] exiting from
> lifecycle.execute in restoreView because getRenderResponse is true
> from one of the after listeners
> 2006-08-31 21:20:23,828 DEBUG
> [org.apache.myfaces.lifecycle.LifecycleImpl] entering renderResponse
> in org.apache.myfaces.lifecycle.LifecycleImpl
> 2006-08-31 21:20:23,828 DEBUG
> [org.apache.myfaces.application.jsp.JspViewHandlerImpl] Dispatching to
> /welcomeJSF.jsp
> 2006-08-31 21:20:23,828 DEBUG
> [org.apache.catalina.core.ApplicationDispatcher]
> servletPath=/welcomeJSF.jsp, pathInfo=null, queryString=null,
> name=null
> 2006-08-31 21:20:23,828 DEBUG
> [org.apache.catalina.core.ApplicationDispatcher] Path Based Forward
> 2006-08-31 21:20:23,828 DEBUG
> [org.apache.catalina.core.StandardWrapper] Returning non-STM
> instance
> 2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
> JspEngine --> /welcomeJSF.jsp
> 2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
> ServletPath: /welcomeJSF.jsp
> 2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
> PathInfo: null
> 2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
> RealPath:
> D:\system\jboss-4.0.3SP1\server\default\.\tmp\deploy\tmp36659guia.arcoiris.ear-contents\guia.arcoiris-war-exp.war\welcomeJSF.jsp
> 2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
> RequestURI: /guia.arcoiris-war/welcomeJSF.jsp
> 2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
> QueryString: null
> 2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
> Request Params:
> 2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
> searchForm:keywordField =
> 2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
> searchForm:_id2 = search
> 2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
> searchForm_SUBMIT = 1
> 2006-08-31 21:20:23,828 DEBUG [org.apache.jasper.servlet.JspServlet]
> searchForm:_link_hidden_ =
> 2006-08-31 21:20:23,828 DEBUG [org.apache.myfaces.taglib.core.ViewTag]
> entering ViewTag.doStartTag
> 2006-08-31 21:20:23,828 DEBUG [org.apache.myfaces.taglib.core.ViewTag]
> leaving ViewTag.doStartTag
> 2006-08-31 21:20:23,843 DEBUG [org.apache.myfaces.taglib.core.ViewTag]
> entering ViewTag.doAfterBody
> 2006-08-31 21:20:23,843 DEBUG [org.apache.myfaces.taglib.core.ViewTag]
> leaving ViewTag.doAfterBody
> 2006-08-31 21:20:23,843 DEBUG [org.apache.myfaces.taglib.core.ViewTag]
> entering ViewTag.doEndTag
> 2006-08-31 21:20:23,859 DEBUG [org.apache.myfaces.taglib.core.ViewTag]
> leaving ViewTag.doEndTag
> 2006-08-31 21:20:23,859 DEBUG
> [org.apache.catalina.core.ApplicationDispatcher] Disabling the
> response for futher output
> 2006-08-31 21:20:23,875 DEBUG [org.apache.myfaces.util.DebugUtils]
> View after rendering
> ========================================
> <UIViewRoot id="NULL" FORMER_CHILD_IDS="[_id0, body]"
> family="javax.faces.ViewRoot" locale="fr" renderKitId="HTML_BASIC"
> rendered="true" rendererType="NULL" rendersChildren="false"
> transient="false" viewId="/welcomeJSF.jsp">
> <html.HtmlMessages id="_id0" forceIdIndex="true" errorClass="NULL"
> errorStyle="NULL" family="javax.faces.Messages" fatalClass="NULL"
> fatalStyle="NULL" globalOnly="false" infoClass="NULL" infoStyle="NULL"
> layout="list" rendered="true" rendererType="javax.faces.Messages"
> rendersChildren="false" showDetail="false" showSummary="true"
> style="NULL" styleClass="NULL" title="NULL" tooltip="false"
> transient="false" warnClass="NULL" warnStyle="NULL"/>
> <html.HtmlPanelGroup id="body" FORMER_CHILD_IDS="[searchForm]"
> forceIdIndex="true" family="javax.faces.Panel" rendered="true"
> rendererType="javax.faces.Group" rendersChildren="true" style="NULL"
> styleClass="NULL" transient="false">
> <html.HtmlForm id="searchForm" FORMER_CHILD_IDS="[_id1]"
> forceIdIndex="true"
> org.apache.myfaces.renderkit.html.HtmlFormRendererBase.HIDDEN_COMMAND_INPUTS_SET="[searchForm:_link_hidden_]"
> accept="NULL" acceptcharset="NULL" dir="NULL"
> enctype="application/x-www-form-urlencoded" family="javax.faces.Form"
> lang="NULL" onclick="NULL" ondblclick="NULL" onkeydown="NULL"
> onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL"
> onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" onreset="NULL"
> onsubmit="NULL" rendered="true" rendererType="javax.faces.Form"
> rendersChildren="false" style="NULL" styleClass="NULL"
> submitted="false" target="NULL" title="NULL" transient="false">
> <html.HtmlPanelGrid id="_id1"
> FORMER_CHILD_IDS="[searchSubmitLabel, postcodeLabel,
> commentExistsLabel, keywordField, countryField, websiteExistsField,
> ratingField, commentExistsField, countryLabel, websiteExistsLabel,
> ratingLabel, postcodeField, _id2, keywordLabel]" forceIdIndex="true"
> bgcolor="NULL" border="0" cellpadding="NULL" cellspacing="NULL"
> columnClasses="NULL" columns="2" dir="NULL" family="javax.faces.Panel"
> footerClass="NULL" frame="NULL" headerClass="NULL" lang="NULL"
> onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL"
> onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL"
> onmouseover="NULL" onmouseup="NULL" rendered="true"
> rendererType="javax.faces.Grid" rendersChildren="true"
> rowClasses="NULL" rules="NULL" style="NULL" styleClass="NULL"
> summary="NULL" title="NULL" transient="false" width="NULL">
> <html.HtmlOutputText id="keywordLabel" forceIdIndex="true"
> converter="NULL" escape="true" family="javax.faces.Output"
> localValue="enter keyword" rendered="true"
> rendererType="javax.faces.Text" rendersChildren="false" style="NULL"
> styleClass="NULL" title="NULL" transient="false"/>
> <html.HtmlInputText id="keywordField" forceIdIndex="true"
> accesskey="NULL" alt="NULL" converter="NULL" dir="NULL"
> disabled="false" family="javax.faces.Input" immediate="false"
> lang="NULL" localValue="NULL" localValueSet="false"
> maxlength="-2147483648" onblur="NULL" onchange="NULL" onclick="NULL"
> ondblclick="NULL" onfocus="NULL" onkeydown="NULL" onkeypress="NULL"
> onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL"
> onmouseover="NULL" onmouseup="NULL" onselect="NULL" readonly="false"
> rendered="true" rendererType="javax.faces.Text"
> rendersChildren="false" required="false" size="-2147483648"
> style="NULL" styleClass="NULL" submittedValue="NULL" tabindex="NULL"
> title="NULL" transient="false" valid="true" validator="NULL"
> value="#{SearchManagedBean.keyword}" valueChangeListener="NULL"/>
> <html.HtmlOutputText id="countryLabel" forceIdIndex="true"
> converter="NULL" escape="true" family="javax.faces.Output"
> localValue="choose country" rendered="true"
> rendererType="javax.faces.Text" rendersChildren="false" style="NULL"
> styleClass="NULL" title="NULL" transient="false"/>
> <html.HtmlSelectOneListbox id="countryField"
> FORMER_CHILD_IDS="[availableCountries]" forceIdIndex="true"
> accesskey="NULL" converter="NULL" dir="NULL" disabled="false"
> disabledClass="NULL" enabledClass="NULL"
> family="javax.faces.SelectOne" immediate="false" lang="NULL"
> localValue="NULL" localValueSet="false" onblur="NULL" onchange="NULL"
> onclick="NULL" ondblclick="NULL" onfocus="NULL" onkeydown="NULL"
> onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL"
> onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" onselect="NULL"
> readonly="false" rendered="true" rendererType="javax.faces.Listbox"
> rendersChildren="false" required="false" size="0" style="NULL"
> styleClass="NULL" submittedValue="NULL" tabindex="NULL" title="NULL"
> transient="false" valid="true" validator="NULL"
> value="#{SearchManagedBean.country}" valueChangeListener="NULL">
> <UISelectItems id="availableCountries" forceIdIndex="true"
> family="javax.faces.SelectItems" rendered="true" rendererType="NULL"
> rendersChildren="false" transient="false"
> value="#{SearchManagedBean.availableCountries}"/>
> </html.HtmlSelectOneListbox>
> <html.HtmlOutputText id="postcodeLabel" forceIdIndex="true"
> converter="NULL" escape="true" family="javax.faces.Output"
> localValue="choose postcode(s)" rendered="true"
> rendererType="javax.faces.Text" rendersChildren="false" style="NULL"
> styleClass="NULL" title="NULL" transient="false"/>
> <html.HtmlSelectManyListbox id="postcodeField"
> FORMER_CHILD_IDS="[availablePostcodes]" forceIdIndex="true"
> accesskey="NULL" converter="NULL" dir="NULL" disabled="false"
> disabledClass="NULL" enabledClass="NULL"
> family="javax.faces.SelectMany" immediate="false" lang="NULL"
> localValue="NULL" localValueSet="false" onblur="NULL" onchange="NULL"
> onclick="NULL" ondblclick="NULL" onfocus="NULL" onkeydown="NULL"
> onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL"
> onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" onselect="NULL"
> readonly="false" rendered="true" rendererType="javax.faces.Listbox"
> rendersChildren="false" required="false"
> selectedValues="#{SearchManagedBean.postcode}" size="-2147483648"
> style="NULL" styleClass="NULL" submittedValue="NULL" tabindex="NULL"
> title="NULL" transient="false" valid="true" validator="NULL"
> value="#{SearchManagedBean.postcode}" valueChangeListener="NULL">
> <UISelectItems id="availablePostcodes" forceIdIndex="true"
> family="javax.faces.SelectItems" rendered="true" rendererType="NULL"
> rendersChildren="false" transient="false"
> value="#{SearchManagedBean.availablePostcodes}"/>
> </html.HtmlSelectManyListbox>
> <html.HtmlOutputText id="commentExistsLabel"
> forceIdIndex="true" converter="NULL" escape="true"
> family="javax.faces.Output" localValue="with comment" rendered="true"
> rendererType="javax.faces.Text" rendersChildren="false" style="NULL"
> styleClass="NULL" title="NULL" transient="false"/>
> <html.HtmlSelectBooleanCheckbox id="commentExistsField"
> forceIdIndex="true" accesskey="NULL" converter="NULL" dir="NULL"
> disabled="false" family="javax.faces.SelectBoolean" immediate="false"
> lang="NULL" localValue="NULL" localValueSet="false" onblur="NULL"
> onchange="NULL" onclick="NULL" ondblclick="NULL" onfocus="NULL"
> onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL"
> onmousemove="NULL" onmouseout="NULL" onmouseover="NULL"
> onmouseup="NULL" onselect="NULL" readonly="false" rendered="true"
> rendererType="javax.faces.Checkbox" rendersChildren="false"
> required="false" selected="#{SearchManagedBean.commentExists}"
> style="NULL" styleClass="NULL" submittedValue="NULL" tabindex="NULL"
> title="NULL" transient="false" valid="true" validator="NULL"
> value="#{SearchManagedBean.commentExists}"
> valueChangeListener="NULL"/>
> <html.HtmlOutputText id="ratingLabel" forceIdIndex="true"
> converter="NULL" escape="true" family="javax.faces.Output"
> localValue="rating" rendered="true" rendererType="javax.faces.Text"
> rendersChildren="false" style="NULL" styleClass="NULL" title="NULL"
> transient="false"/>
> <html.HtmlSelectOneListbox id="ratingField"
> FORMER_CHILD_IDS="[availableRatings]" forceIdIndex="true"
> accesskey="NULL" converter="NULL" dir="NULL" disabled="false"
> disabledClass="NULL" enabledClass="NULL"
> family="javax.faces.SelectOne" immediate="false" lang="NULL"
> localValue="NULL" localValueSet="false" onblur="NULL" onchange="NULL"
> onclick="NULL" ondblclick="NULL" onfocus="NULL" onkeydown="NULL"
> onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL"
> onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" onselect="NULL"
> readonly="false" rendered="true" rendererType="javax.faces.Listbox"
> rendersChildren="false" required="false" size="0" style="NULL"
> styleClass="NULL" submittedValue="NULL" tabindex="NULL" title="NULL"
> transient="false" valid="true" validator="NULL"
> value="#{SearchManagedBean.rating}" valueChangeListener="NULL">
> <UISelectItems id="availableRatings" forceIdIndex="true"
> family="javax.faces.SelectItems" rendered="true" rendererType="NULL"
> rendersChildren="false" transient="false"
> value="#{SearchManagedBean.availableRatings}"/>
> </html.HtmlSelectOneListbox>
> <html.HtmlOutputText id="websiteExistsLabel"
> forceIdIndex="true" converter="NULL" escape="true"
> family="javax.faces.Output" localValue="with website" rendered="true"
> rendererType="javax.faces.Text" rendersChildren="false" style="NULL"
> styleClass="NULL" title="NULL" transient="false"/>
> <html.HtmlSelectBooleanCheckbox id="websiteExistsField"
> forceIdIndex="true" accesskey="NULL" converter="NULL" dir="NULL"
> disabled="false" family="javax.faces.SelectBoolean" immediate="false"
> lang="NULL" localValue="NULL" localValueSet="false" onblur="NULL"
> onchange="NULL" onclick="NULL" ondblclick="NULL" onfocus="NULL"
> onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL"
> onmousemove="NULL" onmouseout="NULL" onmouseover="NULL"
> onmouseup="NULL" onselect="NULL" readonly="false" rendered="true"
> rendererType="javax.faces.Checkbox" rendersChildren="false"
> required="false" selected="#{SearchManagedBean.websiteExists}"
> style="NULL" styleClass="NULL" submittedValue="NULL" tabindex="NULL"
> title="NULL" transient="false" valid="true" validator="NULL"
> value="#{SearchManagedBean.websiteExists}"
> valueChangeListener="NULL"/>
> <html.HtmlOutputText id="searchSubmitLabel"
> forceIdIndex="true" converter="NULL" escape="true"
> family="javax.faces.Output" localValue="Submit here" rendered="true"
> rendererType="javax.faces.Text" rendersChildren="false" style="NULL"
> styleClass="NULL" title="NULL" transient="false"/>
> <html.HtmlCommandButton id="_id2" forceIdIndex="true"
> accesskey="NULL" action="" actionListener="NULL" alt="NULL" dir="NULL"
> disabled="false" family="javax.faces.Command" image="NULL"
> immediate="false" lang="NULL" onblur="NULL" onchange="NULL"
> onclick="NULL" ondblclick="NULL" onfocus="NULL" onkeydown="NULL"
> onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL"
> onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" onselect="NULL"
> readonly="false" rendered="true" rendererType="javax.faces.Button"
> rendersChildren="false" style="NULL" styleClass="NULL" tabindex="NULL"
> title="NULL" transient="false" type="submit" value="search"/>
> </html.HtmlPanelGrid>
> </html.HtmlForm>
> </html.HtmlPanelGroup>
> </UIViewRoot>
> ========================================
>
> 2006-08-31 21:20:23,875 DEBUG
> [org.apache.myfaces.lifecycle.LifecycleImpl] exiting renderResponse in
> org.apache.myfaces.lifecycle.LifecycleImpl
> 2006-08-31 21:20:23,875 DEBUG [javax.faces.webapp.FacesServlet] service
> end
> 2006-08-31 21:20:25,000 DEBUG
> [org.apache.catalina.session.ManagerBase] Start expire sessions
> StandardManager at 1157052025000 sessioncount 1
> 2006-08-31 21:20:25,000 DEBUG
> [org.apache.catalina.session.ManagerBase] End expire sessions
> StandardManager processingTime 0 expired sessions: 0
> [/code]
>
> Can anyone please help?
>
> Thanks in advance,
>
> Julien Martin.
>
>
--
View this message in context: http://www.nabble.com/Form-needs-two-clicks-in-order-to-be-submitted-tf2203581.html#a6528036
Sent from the MyFaces - Users mailing list archive at Nabble.com.