[
https://issues.jboss.org/browse/JBSEAM-5017?page=com.atlassian.jira.plugi...
]
Vaclav Dedik commented on JBSEAM-5017:
--------------------------------------
Looks like richfaces and trinidad integration is partially broken, if I use trinidad
instead of richfaces for the ajax, it works, see the patch below:
{code}
Index: seamdiscs-web/src/main/webapp/artists.xhtml
===================================================================
--- seamdiscs-web/src/main/webapp/artists.xhtml (revision 15050)
+++ seamdiscs-web/src/main/webapp/artists.xhtml (working copy)
@@ -14,19 +14,13 @@
<rich:panel>
<f:facet name="header">Artists</f:facet>
- <tr:form>
- <tr:inputText value="#{exampleArtist.name}" label="Filter by artist
name">
- <a:ajax render="artists" event="keyup"
requestDelay="1" />
- </tr:inputText>
-  
- <a:status>
- <f:facet name="start">
- <h:graphicImage value="/img/spinner.gif" />
- </f:facet>
- </a:status>
+ <tr:form defaultCommand="renderArtists">
+ <tr:inputText value="#{exampleArtist.name}" label="Filter by artist
name"/>
+ <tr:commandButton text="Submit" id="renderArtists"
partialSubmit="true"/>
+  
</tr:form>
- <a:outputPanel id="artists">
+ <tr:panelGroupLayout partialTriggers="renderArtists">
<tr:form>
<tr:table value="#{artists.dataModel}" var="artist"
rows="#{artists.maxResults}">
@@ -66,7 +60,7 @@
</f:facet>
</tr:table>
</tr:form>
- </a:outputPanel>
+ </tr:panelGroupLayout>
<tr:panelButtonBar rendered="#{identity.loggedIn}">
<s:button action="artist" value="Add artist"
id="addArtist">
<f:param name="artistId" value="" />
{code}
Seamdiscs filtering by artist name doesn't work properly
--------------------------------------------------------
Key: JBSEAM-5017
URL:
https://issues.jboss.org/browse/JBSEAM-5017
Project: Seam 2
Issue Type: Bug
Components: Examples
Affects Versions: 2.3.0.BETA2
Environment: JBoss AS 7.1.1.Final
Reporter: Tomas Remes
Assignee: Vaclav Dedik
Labels: seamdiscs
Fix For: 2.3.0.CR1
Deploy seamdiscs example and go to
http://localhost:8080/seam-seamdiscs. Click on Artists
link in top menu and then fill in some text (e.g. Fairport) to input field. Notice that
nothing happened. Filtering stars to work properly only after page refresh.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira