[JBoss JIRA] (RF-13588) Showcase can not be deployed on WildFly 8.0.0.Final
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-13588?page=com.atlassian.jira.plugin.s... ]
Juraj Húska updated RF-13588:
-----------------------------
Priority: Critical (was: Major)
> Showcase can not be deployed on WildFly 8.0.0.Final
> ---------------------------------------------------
>
> Key: RF-13588
> URL: https://issues.jboss.org/browse/RF-13588
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: showcase
> Affects Versions: 5.0.0.Alpha3
> Reporter: Juraj Húska
> Priority: Critical
>
> This exception is thrown to WildFly console during showcase deployment:
> {code}
> 14:49:25,193 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "richfaces-showcase-5.0.0.Alpha3-jbas71.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.undertow.deployment.default-server.default-host./showcase" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./showcase: Failed to start service
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: com.sun.faces.mgbean.ManagedBeanCreationException: An error occurred performing resource injection on managed bean persistenceService
> Caused by: java.lang.RuntimeException: com.sun.faces.mgbean.ManagedBeanCreationException: An error occurred performing resource injection on managed bean persistenceService
> Caused by: com.sun.faces.mgbean.ManagedBeanCreationException: An error occurred performing resource injection on managed bean persistenceService
> Caused by: com.sun.faces.spi.InjectionProviderException: java.lang.IllegalStateException: JBAS011048: Failed to construct component instance
> Caused by: java.lang.IllegalStateException: JBAS011048: Failed to construct component instance
> Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke public void org.richfaces.demo.arrangeablemodel.PersistenceService.init() on org.richfaces.demo.arrangeablemodel.PersistenceService@3b057890
> Caused by: java.lang.reflect.InvocationTargetException
> Caused by: java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V"}}
> {code}
> Seems like incompatibility with *guava* v 16.0.0 which is embedded in WildFly 8.0.0.Final.
> Showcase can be deployed successfully on WildFly 8.0.0.CR1 (guava 15) or JBoss AS 7.1.1.Final.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 8 months
[JBoss JIRA] (RF-13534) a4j:mediaOutput on GF4: "Unauthorized deserialisation attempt"
by Robert Raksi (JIRA)
[ https://issues.jboss.org/browse/RF-13534?page=com.atlassian.jira.plugin.s... ]
Robert Raksi commented on RF-13534:
-----------------------------------
This issue is present on Glassfish 3.1.1, Java 1.6.0_45 too.
> a4j:mediaOutput on GF4: "Unauthorized deserialisation attempt"
> --------------------------------------------------------------
>
> Key: RF-13534
> URL: https://issues.jboss.org/browse/RF-13534
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.5
> Environment: Glassfish 4.0, Mac OS X 10.9.1, Java(TM) SE Runtime Environment (build 1.7.0_21-b12), Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
> Reporter: Daniele Benegiamo
> Fix For: 5-Tracking
>
> Attachments: MediaOutput.zip
>
>
> On GF4.0 any attempt to use {{<a4j:mediaOutput>}} raises the same exception ("{{java.io.InvalidClassException: Unauthorized deserialisation attempt}}"). Everything works nicely with the old RichFaces 4.1.0.
> Below you can find a stack trace, a sample page and a sample managed bean as minimum reproducible test case.
> To keep the test case short, the sample doesn't uses the {{value}} attribute, but exceptions are raised also when using it (e.g. passing a simple {{java.lang.String}}).
> From a first quick analysis seems that:
> * basic types (as {{java.lang.String}}) are not properly detected as "de-serializable";
> * types implementing {{Serializable}} or {{SerializableResource}} interfaces are impossible to instantiate by {{LookAheadObjectInputStream}} (row 118 - {{Class.forName()}} call in {{isClassValid()}} method - raises a {{ClassNotFoundException}} exception).
> {code:title=Exception}
> SEVERE: Input error for deserialize data
> java.io.InvalidClassException: Unauthorized deserialization attempt; org.jboss.weld.util.el.ForwardingMethodExpression
> at org.richfaces.util.LookAheadObjectInputStream.resolveClass(LookAheadObjectInputStream.java:105)
> at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1610)
> at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
> at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1620)
> at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1769)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
> at com.sun.faces.facelets.el.TagMethodExpression.readExternal(TagMethodExpression.java:158)
> at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1835)
> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1794)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
> at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1989)
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1913)
> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
> at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1704)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
> at org.richfaces.util.Util.decodeObjectData(Util.java:237)
> at org.richfaces.resource.DefaultCodecResourceRequestData.getData(DefaultCodecResourceRequestData.java:97)
> at org.richfaces.resource.ResourceFactoryImpl.createResource(ResourceFactoryImpl.java:337)
> at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:156)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:643)
> at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:318)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
> at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:357)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260)
> at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188)
> at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)
> at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)
> at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)
> at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
> at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
> at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
> at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
> at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
> at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
> at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)
> at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
> at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
> at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
> at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
> at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)
> at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
> at java.lang.Thread.run(Thread.java:722)
> WARNING: StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
> java.lang.NullPointerException
> at org.richfaces.resource.MediaOutputResource.encode(MediaOutputResource.java:62)
> at org.richfaces.resource.UserResourceWrapperImpl.encode(UserResourceWrapperImpl.java:188)
> at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:229)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:643)
> at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:318)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
> at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
> at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:357)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260)
> at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188)
> at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)
> at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)
> at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)
> at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
> at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
> at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
> at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
> at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
> at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
> at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)
> at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
> at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
> at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
> at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
> at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)
> at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
> at java.lang.Thread.run(Thread.java:722)
> {code}
> {code:xml|title=index.xhtml}
> <?xml version='1.0' encoding='UTF-8' ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://xmlns.jcp.org/jsf/html"
> xmlns:a4j="http://richfaces.org/a4j">
> <h:head>
> <title>Page title</title>
> </h:head>
> <h:body>
> <a4j:mediaOutput element="img" createContent="#{myBean.myCreateContent}"/>
> </h:body>
> </html>
> {code}
> {code:java|title=MyBean.java}
> package org.example;
> import java.awt.Color;
> import java.awt.Font;
> import java.awt.Graphics2D;
> import java.awt.image.BufferedImage;
> import java.io.IOException;
> import javax.enterprise.context.RequestScoped;
> import javax.imageio.ImageIO;
> import javax.inject.Named;
> @Named
> @RequestScoped
> public class MyBean
> {
> public void myCreateContent (java.io.OutputStream output, java.lang.Object input)
> throws IOException
> {
> BufferedImage img = new BufferedImage (400, 200, BufferedImage.TYPE_INT_RGB);
> Graphics2D graphics2D = img.createGraphics ();
> graphics2D.setBackground (Color.BLACK);
> graphics2D.setColor (Color.WHITE);
> graphics2D.clearRect (0, 0, img.getWidth (), img.getHeight ());
> graphics2D.setFont (new Font ("Arial", Font.PLAIN, 12));
> graphics2D.drawString ("String", 20, 35);
> ImageIO.write (img, "png", output);
> }
> }
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 8 months
[JBoss JIRA] (RF-13587) rich:autocomplete - suggestion box doesn't show up at all
by Pavol Pitonak (JIRA)
[ https://issues.jboss.org/browse/RF-13587?page=com.atlassian.jira.plugin.s... ]
Pavol Pitonak updated RF-13587:
-------------------------------
Environment:
Implementation: JSF-2.2.6 mojarra, Mojarra 2.2.5
Server: WebLogic 12.1.2.1, WildFly 8.0.0.Final
Browser: Chrome 33, Firefox 27
Java: 1.7
was:
Implementation: JSF-2.2.6 mojarra
Server: WebLogic 12.1.2.1
Browser: Chrome
Java: 1.7
> rich:autocomplete - suggestion box doesn't show up at all
> ---------------------------------------------------------
>
> Key: RF-13587
> URL: https://issues.jboss.org/browse/RF-13587
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.5
> Environment: Implementation: JSF-2.2.6 mojarra, Mojarra 2.2.5
> Server: WebLogic 12.1.2.1, WildFly 8.0.0.Final
> Browser: Chrome 33, Firefox 27
> Java: 1.7
> Reporter: Amit Tikoo
> Assignee: Brian Leathem
> Labels: richfaces
> Fix For: 4.3.5
>
>
> I am using a <rich:autocomplete> component but the suggestion box just doesn't show up. Here is a simple case I'm trying:
> XHTML:
> {code}
> <h:form id="amit" prependId="false">
> <rich:autocomplete mode="ajax" minChars="1" autofill="true" var="station" autocompleteMethod="#{segmentationBean.autocomplete1}" >
> <rich:column styleClass="sexy">
> <b>#{station}</b>
> </rich:column>
> </rich:autocomplete>
> </h:form>
> {code}
> JAVA:
> {code}
> public List<String> autocomplete1(String request){
> List<String> suggestions = new ArrayList<String>();
> suggestions.add("test 1");
> suggestions.add("test 2");
> suggestions.add("test 3");
> suggestions.add("test 4");
> return suggestions;
> }
> {code}
> This shows up in logging (using <a4j:log/>)
> {code}
> error[14:47:03.644]: Received 'error@malformedXML' event from <span id=j_idt5 class=rf-au ...>
> error[14:47:03.644]: [status=200] During update: javax.faces.ViewState not found
> {code}
> Also i can see the suggestion if i switch the mode to "Client"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 8 months
[JBoss JIRA] (RF-13587) rich:autocomplete - suggestion box doesn't show up at all
by Pavol Pitonak (JIRA)
[ https://issues.jboss.org/browse/RF-13587?page=com.atlassian.jira.plugin.s... ]
Pavol Pitonak commented on RF-13587:
------------------------------------
[~amittikoo84], thanks for quick reply.
[~bleathem], I'm quite sure that it's caused by JSF 2.2.
> rich:autocomplete - suggestion box doesn't show up at all
> ---------------------------------------------------------
>
> Key: RF-13587
> URL: https://issues.jboss.org/browse/RF-13587
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.5
> Environment: Weblogic
> Reporter: Amit Tikoo
> Assignee: Brian Leathem
> Labels: richfaces
> Fix For: 4.3.5
>
>
> I am using a <rich:autocomplete> component but the suggestion box just doesn't show up. Here is a simple case I'm trying:
> XHTML:
> {code}
> <h:form id="amit" prependId="false">
> <rich:autocomplete mode="ajax" minChars="1" autofill="true" var="station" autocompleteMethod="#{segmentationBean.autocomplete1}" >
> <rich:column styleClass="sexy">
> <b>#{station}</b>
> </rich:column>
> </rich:autocomplete>
> </h:form>
> {code}
> JAVA:
> {code}
> public List<String> autocomplete1(String request){
> List<String> suggestions = new ArrayList<String>();
> suggestions.add("test 1");
> suggestions.add("test 2");
> suggestions.add("test 3");
> suggestions.add("test 4");
> return suggestions;
> }
> {code}
> This shows up in logging (using <a4j:log/>)
> {code}
> error[14:47:03.644]: Received 'error@malformedXML' event from <span id=j_idt5 class=rf-au ...>
> error[14:47:03.644]: [status=200] During update: javax.faces.ViewState not found
> {code}
> Also i can see the suggestion if i switch the mode to "Client"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 8 months
[JBoss JIRA] (RF-13587) rich:autocomplete - suggestion box doesn't show up at all
by Pavol Pitonak (JIRA)
[ https://issues.jboss.org/browse/RF-13587?page=com.atlassian.jira.plugin.s... ]
Pavol Pitonak updated RF-13587:
-------------------------------
Environment:
Implementation: JSF-2.2.6 mojarra
Server: WebLogic 12.1.2.1
Browser: Chrome
Java: 1.7
was:Weblogic
> rich:autocomplete - suggestion box doesn't show up at all
> ---------------------------------------------------------
>
> Key: RF-13587
> URL: https://issues.jboss.org/browse/RF-13587
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.5
> Environment: Implementation: JSF-2.2.6 mojarra
> Server: WebLogic 12.1.2.1
> Browser: Chrome
> Java: 1.7
> Reporter: Amit Tikoo
> Assignee: Brian Leathem
> Labels: richfaces
> Fix For: 4.3.5
>
>
> I am using a <rich:autocomplete> component but the suggestion box just doesn't show up. Here is a simple case I'm trying:
> XHTML:
> {code}
> <h:form id="amit" prependId="false">
> <rich:autocomplete mode="ajax" minChars="1" autofill="true" var="station" autocompleteMethod="#{segmentationBean.autocomplete1}" >
> <rich:column styleClass="sexy">
> <b>#{station}</b>
> </rich:column>
> </rich:autocomplete>
> </h:form>
> {code}
> JAVA:
> {code}
> public List<String> autocomplete1(String request){
> List<String> suggestions = new ArrayList<String>();
> suggestions.add("test 1");
> suggestions.add("test 2");
> suggestions.add("test 3");
> suggestions.add("test 4");
> return suggestions;
> }
> {code}
> This shows up in logging (using <a4j:log/>)
> {code}
> error[14:47:03.644]: Received 'error@malformedXML' event from <span id=j_idt5 class=rf-au ...>
> error[14:47:03.644]: [status=200] During update: javax.faces.ViewState not found
> {code}
> Also i can see the suggestion if i switch the mode to "Client"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 8 months
[JBoss JIRA] (RF-11417) Tab: investigate why @action does not work
by Valiantsin Shukaila (JIRA)
[ https://issues.jboss.org/browse/RF-11417?page=com.atlassian.jira.plugin.s... ]
Valiantsin Shukaila edited comment on RF-11417 at 3/24/14 10:17 AM:
--------------------------------------------------------------------
The problem was that tabPanel is not broadcasting event to it's child - tabs. The code change in pull request fixes this problem.
was (Author: trims):
The problem was that tabPanel is not broadcasting event to it's child - tabs. The code change fixes this problem.
> Tab: investigate why @action does not work
> ------------------------------------------
>
> Key: RF-11417
> URL: https://issues.jboss.org/browse/RF-11417
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.1.0.CR1
> Reporter: Lukáš Fryč
> Fix For: 5-Tracking
>
>
> Determine why rich:tab @action has not been implemented.
> Verify that its implementation can't affect current applications (and try to find possible workaround).
> Implement @action and @actionListener.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 8 months
[JBoss JIRA] (RF-13587) rich:autocomplete - suggestion box doesn't show up at all
by Amit Tikoo (JIRA)
[ https://issues.jboss.org/browse/RF-13587?page=com.atlassian.jira.plugin.s... ]
Amit Tikoo commented on RF-13587:
---------------------------------
Implementation: JSF-2.2.6 mojarra
Server: WebLogic 12.1.2.1
Browser: Chrome
Java: 1.7
> rich:autocomplete - suggestion box doesn't show up at all
> ---------------------------------------------------------
>
> Key: RF-13587
> URL: https://issues.jboss.org/browse/RF-13587
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.5
> Environment: Weblogic
> Reporter: Amit Tikoo
> Assignee: Brian Leathem
> Labels: richfaces
> Fix For: 4.3.5
>
>
> I am using a <rich:autocomplete> component but the suggestion box just doesn't show up. Here is a simple case I'm trying:
> XHTML:
> {code}
> <h:form id="amit" prependId="false">
> <rich:autocomplete mode="ajax" minChars="1" autofill="true" var="station" autocompleteMethod="#{segmentationBean.autocomplete1}" >
> <rich:column styleClass="sexy">
> <b>#{station}</b>
> </rich:column>
> </rich:autocomplete>
> </h:form>
> {code}
> JAVA:
> {code}
> public List<String> autocomplete1(String request){
> List<String> suggestions = new ArrayList<String>();
> suggestions.add("test 1");
> suggestions.add("test 2");
> suggestions.add("test 3");
> suggestions.add("test 4");
> return suggestions;
> }
> {code}
> This shows up in logging (using <a4j:log/>)
> {code}
> error[14:47:03.644]: Received 'error@malformedXML' event from <span id=j_idt5 class=rf-au ...>
> error[14:47:03.644]: [status=200] During update: javax.faces.ViewState not found
> {code}
> Also i can see the suggestion if i switch the mode to "Client"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 8 months