[JBoss JIRA] Created: (RF-3240) listShuttle keep user from doing text selection (i.e. select a text excerpt for removal)
by Jander Nascimento (JIRA)
listShuttle keep user from doing text selection (i.e. select a text excerpt for removal)
----------------------------------------------------------------------------------------
Key: RF-3240
URL: http://jira.jboss.com/jira/browse/RF-3240
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: Windows XP SP2, JBoss AS 4.2.0.GA, Firefox 2.0.0.14 EN, RichFaces 3.2.0.SR1
Reporter: Jander Nascimento
Symptons:
User not allowed to perform any text selection after insert listShuttle component in the page;
Description:
Seems that its main purpose was to forbid user to select source or target Caption from listShuttle component;
Investigation:
This symptons can be seen in Firefox, since it implements css property extension "-moz-user-select ", or any other browser that implements such property. This property is added in body(.body class) tag by listShuttle.xcss (within richfaces-ui package), doing so, user cannot select any text from the entire body. This may bother the user;
Thanks in advance
--
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, 9 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, 9 months
[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, 9 months