[JBoss JIRA] Created: (RF-3113) StringIndexOutOfBoundsException with Sun RI 1.2_07
by Andreas Höhmann (JIRA)
StringIndexOutOfBoundsException with Sun RI 1.2_07
--------------------------------------------------
Key: RF-3113
URL: http://jira.jboss.com/jira/browse/RF-3113
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: jetty 6.1.6
sun ri 1.2_07
Reporter: Andreas Höhmann
Priority: Critical
If i use the same application with myfaces 1.2.2 ... there is no such error.
The error happend if a validation (hibernate-validator) happend ... the validation is triggerd via ajax ...
Example:
<h:inputText
id="name"
disabled="#{isReadonly}"
maxlength="#{sid:getMaxLength(data, 'getName')}"
required="#{sid:isRequired(data, 'getName')}"
requiredMessage="#{bundle['project.name.validate.required']}"
validator="#{WorkAreaManager.validateProjectName}"
value="#{WorkAreaManager.selectedView.data.name}" >
<sid:validator />
<sid:livevalidation delay="1000" id="name" reRender="#{WorkspaceTreeBean.treeID}"/>
<sid:changelistener />
</h:inputText>
* <sid:validator/> use xmlns:val="http://www.schmelzer.cc/hibernate"
* sid:livevalidation is a a4j:support onkeyup
* sid:changelistener is a simple <f:valueChangeListener>
This is the html for the input-field:
<input type="text" id="project_form:name" name="project_form:name" value="Projekt" maxlength="30" onkeyup="A4J.AJAX.Submit('_viewRoot','project_form',event,{'ignoreDupResponses':true,'parameters':{'project_form:nameajax':'project_form:nameajax'} ,'eventsQueue':'validation','requestDelay':1000,'actionUrl':'../../sid-base-web-app/pages/sid.jsf;jsessionid=1y26mch3dzasv'} )" tabindex="0"/>
If the request starts the following exception occured (ONLY with sun ri)
17.04.2008 07:55:06 com.sun.faces.lifecycle.Phase doPhase
SCHWERWIEGEND: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /pages/sid.xhtml) Exception thrown during phase execution
: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@131ebb3]
2008-04-17 07:55:06.874::WARN: Nested in javax.servlet.ServletException: String index out of range: 0:
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:695)
at javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java:570)
at org.ajax4jsf.renderkit.RendererUtils.findComponentFor(RendererUtils.java:849)
at org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:72)
at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:317)
at org.ajax4jsf.component.AjaxViewRoot.broadcastAjaxEvents(AjaxViewRoot.java:336)
at org.ajax4jsf.application.AjaxViewHandler.processAjaxEvents(AjaxViewHandler.java:206)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:182)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:256)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:362)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:488)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
2008-04-17 07:55:06.874::WARN: /sid-base-web-app/pages/sid.jsf;jsessionid=xa7qhz6yktnl
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:695)
at javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java:570)
at org.ajax4jsf.renderkit.RendererUtils.findComponentFor(RendererUtils.java:849)
at org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:72)
at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:317)
at org.ajax4jsf.component.AjaxViewRoot.broadcastAjaxEvents(AjaxViewRoot.java:336)
at org.ajax4jsf.application.AjaxViewHandler.processAjaxEvents(AjaxViewHandler.java:206)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:182)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:256)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:362)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:488)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (RF-3076) "client" type tree not work when navigate from one pate to tree page(this page include tree component) ;h:commandButton can get form field value
by shi long (JIRA)
"client" type tree not work when navigate from one pate to tree page(this page include tree component) ;h:commandButton can get form field value
-------------------------------------------------------------------------------------------------------------------------------------------------
Key: RF-3076
URL: http://jira.jboss.com/jira/browse/RF-3076
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: jsf-impl-1.2_04-p02
jdk1.5
richfaces-3.2.0.GA
tomcat6.0.16
Reporter: shi long
Priority: Blocker
i find two problem.
first ,h:commandButton can get form field value.
second,"client" type tree not work when navigate from one pate to tree page(this page include tree component)
i have the login page,when password ok ,system auto navigate to main page,this page contain tree component,
when i use h:commandButton,i cann't get user's name and password,i have to use a4j:commandButton do navagate,
but problem appear,page navigate to main page ,but tree component cann't work,when set tree's switch type to "ajax",it is ok
, but i don't want to use ajax type in tree component ,how can i do?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (RF-2997) Scrolling with scrollableDataTable in 3.2.0
by andreas_back (JIRA)
Scrolling with scrollableDataTable in 3.2.0
-------------------------------------------
Key: RF-2997
URL: http://jira.jboss.com/jira/browse/RF-2997
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: IE6, IE7
Reporter: andreas_back
When using a rather large number of rows
(for examle <input id="j_id1:articleList_rows_input" name="_rows_input" type="hidden" value="163586" />, but rows="30")
scrolling for a while in a scrollableDataTable with IE6 or IE7 breaks the data that is shown in the table.
The testdata that is shown in the table has an ascending row number without gaps in the data.
After scrolling for a while the row numbers of rows that are visible
in the table are not ascending anymore, there can be several blocks
of ascending rows.
If the table is in such a state then the data in the visible row does not
correspond to the data of the selected rows.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months