Seam SVN: r15043 - branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/converter.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-08-14 15:38:58 -0400 (Tue, 14 Aug 2012)
New Revision: 15043
Modified:
branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/converter/PrioritizableConverter.java
Log:
fixed typo in @FacesConverter annotation
Modified: branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/converter/PrioritizableConverter.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/converter/PrioritizableConverter.java 2012-08-14 18:29:43 UTC (rev 15042)
+++ branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/converter/PrioritizableConverter.java 2012-08-14 19:38:58 UTC (rev 15043)
@@ -13,7 +13,7 @@
* Helper class for ConverterChain
*
*/
-@FacesConverter(value="org.jboss.sema.ui.PrioritizableConverter")
+@FacesConverter(value="org.jboss.seam.ui.PrioritizableConverter")
public class PrioritizableConverter implements Converter, Comparable<PrioritizableConverter>,
StateHolder
{
12 years, 4 months
Seam SVN: r15042 - branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-08-14 14:29:43 -0400 (Tue, 14 Aug 2012)
New Revision: 15042
Modified:
branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/FactoryLockTest.java
Log:
fixed typos in comments
Modified: branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/FactoryLockTest.java
===================================================================
--- branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/FactoryLockTest.java 2012-08-14 18:09:24 UTC (rev 15041)
+++ branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/FactoryLockTest.java 2012-08-14 18:29:43 UTC (rev 15042)
@@ -95,7 +95,7 @@
// This test is the same as factoryLock test, except it uses the same factory in both threads.
@Test
- @Ignore // this is weird usecase so we don't test it as we know it doesn't work
+ @Ignore // this is weird use case so we don't test it as we know it doesn't work due SFSB doesn't serve for multithread request from same client
public void sameFactoryLock()
throws Exception
{
@@ -117,7 +117,7 @@
});
}
- // This test is the same as sameFactoryLock test, except it uses a @Syncrhonized Seam component, instead of an SFSB
+ // This test is the same as sameFactoryLock test, except it uses a @Synchronized Seam component, instead of an SFSB
@Test
public void seamSynchronizedFactoryLock()
throws Exception
12 years, 4 months
Seam SVN: r15041 - in branches/community/Seam_2_3: seam-integration-tests/src/test/java/org/jboss/seam/test/integration and 1 other directory.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-08-14 14:09:24 -0400 (Tue, 14 Aug 2012)
New Revision: 15041
Modified:
branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/Component.java
branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/FactoryLockTest.java
Log:
JBSEAM-4997 enabled interleaving test and created locking on factoryMethod instead of factory
Modified: branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/Component.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/Component.java 2012-08-14 17:54:38 UTC (rev 15040)
+++ branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/Component.java 2012-08-14 18:09:24 UTC (rev 15041)
@@ -2081,7 +2081,6 @@
else if (factoryMethod != null && getOutScope(factoryMethod.getScope(), factoryMethod.getComponent()).isContextActive())
{
Object factory = Component.getInstance(factoryMethod.getComponent().getName(), true);
- Component component = factoryMethod.getComponent();
ScopeType scopeResult = getOutScope(factoryMethod.getScope(), factoryMethod.getComponent());
ScopeType scopeFactory = factoryMethod.getComponent().getScope();
// we need this lock in the following cases: (1) the target scope is
@@ -2101,26 +2100,13 @@
if (lockingNeeded)
{
- // Only one factory instance can access result scope
- // CONVERSATION / EVENT / PAGE anyway due to
- // the locking of the conversation.
- if (scopeResult == ScopeType.CONVERSATION || scopeResult == ScopeType.EVENT || scopeResult == ScopeType.PAGE)
- {
- synchronized (factory)
- {
- return createInstanceFromFactory(name, scope, factoryMethod, factory);
- }
- }
- // synchronize all instances of this component as they might
- // outject to the same scope (i.e. component factory in EVENT scope,
- // outjecting to APPLICATION scope).
- else
- {
- synchronized (component)
- {
- return createInstanceFromFactory(name, scope, factoryMethod, factory);
- }
- }
+ // Only one factory instance can access result scope
+ // CONVERSATION / EVENT / PAGE anyway due to
+ // the locking of the conversation.
+ synchronized (factoryMethod)
+ {
+ return createInstanceFromFactory(name, scope, factoryMethod, factory);
+ }
}
else
{
Modified: branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/FactoryLockTest.java
===================================================================
--- branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/FactoryLockTest.java 2012-08-14 17:54:38 UTC (rev 15040)
+++ branches/community/Seam_2_3/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/FactoryLockTest.java 2012-08-14 18:09:24 UTC (rev 15041)
@@ -66,7 +66,7 @@
thread.join();
}
- assert !exceptionOccured;
+ assertEquals(exceptionOccured,false);
}
// JBSEAM-4993
@@ -95,6 +95,7 @@
// This test is the same as factoryLock test, except it uses the same factory in both threads.
@Test
+ @Ignore // this is weird usecase so we don't test it as we know it doesn't work
public void sameFactoryLock()
throws Exception
{
@@ -142,7 +143,7 @@
// Test the behavior of two components using factories of each other.
@Test
// Skip the test, as it causes deadlock.
- @Ignore
+ //@Ignore
public void interleavingFactories()
throws Exception
{
12 years, 4 months
Seam SVN: r15040 - branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-08-14 13:54:38 -0400 (Tue, 14 Aug 2012)
New Revision: 15040
Modified:
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Conversations.xml
Log:
JBSEAM-5010
Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Conversations.xml
===================================================================
--- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Conversations.xml 2012-08-14 17:20:41 UTC (rev 15039)
+++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Conversations.xml 2012-08-14 17:54:38 UTC (rev 15040)
@@ -1259,88 +1259,34 @@
</exception>]]></programlisting>
<para>
- ICEfaces, RichFaces Ajax and Seam Remoting can all handle HTTP error
+ Seam Remoting and JSF 2 can both handle HTTP error
codes. Seam Remoting will pop up a dialog box showing the HTTP
- error. ICEfaces will indicate the error in its connection status
- component. RichFaces provides the most complete support for handling
+ error. JSF 2 provides support for handling
HTTP errors by providing a user definable callback. For example, to
show the error message to the user:
</para>
<programlisting><![CDATA[<script type="text/javascript">
- A4J.AJAX.onError = function(req,status,message) {
+ jsf.ajax.addOnError(function(data) {
alert("An error occurred");
- };
+ });
</script>]]></programlisting>
+ <note>
+ <title>JSF 2 javascript documentation</title>
+ More details about JSF 2 javascript API can be seen at
+ <ulink url="http://javaserverfaces.java.net/nonav/docs/2.0/jsdocs/symbols/jsf.ajax.html">http://javaserverfaces.java.net/nonav/docs/2.0/jsdocs/symbols/jsf.ajax.html</ulink>
+ </note>
+
+
<para>
If instead of an error code, the server reports that the view has expired,
- perhaps because the session timed out, you use a separate callback function
- in RichFaces to handle this scenario.
+ perhaps because the session timed out, you can use a standard
+ <ulink url="http://docs.oracle.com/javaee/6/api/javax/faces/context/ExceptionHandler....">javax.faces.context.ExceptionHandler</ulink>
+ to handle this scenario.
</para>
- <programlisting><![CDATA[<script type="text/javascript">
- A4J.AJAX.onExpired = function(loc,message) {
- alert("View expired");
- };
-</script>]]></programlisting>
-
- <para>
- Alternatively, you can allow RichFaces handle the error, in which
- case the user will be presented with a prompt that reads "View state
- couldn't be restored - reload page?" You can customize this message
- globally by setting the following message key in an application
- resource bundle.
- </para>
-
- <programlisting><![CDATA[AJAX_VIEW_EXPIRED=View expired. Please reload the page.]]></programlisting>
-
</section>
- <section>
- <title>RichFaces 4</title>
-
- <para>
- RichFaces is the JSF 2 component library most commonly used with Seam, and
- provides all the controls discussed above:
- </para>
-
- <itemizedlist>
- <listitem>
- <para>
- <literal>ignoreDupResponses</literal> — ignores the response
- produced by the request if a more recent 'similar' request is
- already in the queue. ignoreDupResponses="true" does <emphasis>not
- cancel</emphasis> the processing of the request on the server
- side — just prevents unnecessary updates on the client side.
- </para>
- <para>
- This option should be used with care with Seam's conversations as
- it allows multiple concurrent requests to be made.
- </para>
- </listitem>
- <listitem>
- <para>
- <literal>requestDelay</literal> — defines the time (in ms.)
- that the request will be remain on the queue. If the request has
- not been processed by after this time the request will be sent
- (regardless of whether a response has been received) or discarded
- (if there is a more recent similar event on the queue).
- </para>
- <para>
- This option should be used with care with Seam's conversations as
- it allows multiple concurrent requests to be made. You need to be
- sure that the delay you set (in combination with the concurrent
- request timeout) is longer than the action will take to execute.
- </para>
- </listitem>
- <listitem>
- <para>
- <literal><a:poll render="total" interval="1000" /></literal> —
- Polls the server, and rerenders an area as needed
- </para>
- </listitem>
- </itemizedlist>
- </section>
</section>
</chapter>
12 years, 4 months
Seam SVN: r15039 - branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-08-14 13:20:41 -0400 (Tue, 14 Aug 2012)
New Revision: 15039
Modified:
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Webservices.xml
Log:
JBSEAM-5013 webservices updated
Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Webservices.xml
===================================================================
--- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Webservices.xml 2012-08-14 16:42:50 UTC (rev 15038)
+++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Webservices.xml 2012-08-14 17:20:41 UTC (rev 15039)
@@ -2,7 +2,7 @@
<title>Web Services</title>
<para>
- Seam integrates with JBossWS to allow standard JEE web services to take full advantage of Seam's contextual framework,
+ Seam integrates with JBossWS to allow standard Java EE web services to take full advantage of Seam's contextual framework,
including support for conversational web services. This chapter walks through the steps required to allow web
services to run within a Seam environment.
</para>
@@ -17,28 +17,20 @@
</para>
<para>
- A special configuration file, <literal>standard-jaxws-endpoint-config.xml</literal> should be placed
+ A special configuration file, <literal>soap-handlers.xml</literal> should be placed
into the <literal>META-INF</literal> directory of the <literal>jar</literal> file that contains the
web service classes. This file contains the following SOAP handler configuration:
</para>
- <programlisting role="XML"><![CDATA[<jaxws-config xmlns="urn:jboss:jaxws-config:2.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:javaee="http://java.sun.com/xml/ns/javaee"
- xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">
- <endpoint-config>
- <config-name>Seam WebService Endpoint</config-name>
- <pre-handler-chains>
- <javaee:handler-chain>
- <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
- <javaee:handler>
- <javaee:handler-name>SOAP Request Handler</javaee:handler-name>
- <javaee:handler-class>org.jboss.seam.webservice.SOAPRequestHandler</javaee:handler-class>
- </javaee:handler>
- </javaee:handler-chain>
- </pre-handler-chains>
- </endpoint-config>
-</jaxws-config>]]></programlisting>
+ <programlisting role="XML"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+<handler-chains xmlns="http://java.sun.com/xml/ns/javaee">
+ <handler-chain>
+ <handler>
+ <handler-name>SOAP Request Handler</handler-name>
+ <handler-class>org.jboss.seam.webservice.SOAPRequestHandler</handler-class>
+ </handler>
+ </handler-chain>
+</handler-chains>]]></programlisting>
</sect1>
@@ -51,19 +43,21 @@
</para>
<programlisting role="XML"><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
- xmlns:seam="http://seambay.example.seam.jboss.org/">
+ xmlns:sb="http://seambay.example.seam.jboss.org/">
<soapenv:Header>
- <seam:conversationId xmlns:seam='http://www.jboss.org/seam/webservice'>2</seam:conversationId>
+ <seam:conversationId xmlns:seam='http://www.jboss.org/seam/webservice'>4</seam:conversationId>
</soapenv:Header>
<soapenv:Body>
- <seam:confirmAuction/>
+ <sb:setAuctionPrice>
+ <arg0>100</arg0>
+ </sb:setAuctionPrice>
</soapenv:Body>
-</soapenv:Envelope>
+</soapenv:Envelope>
]]></programlisting>
<para>
As you can see in the above SOAP message, there is a <literal>conversationId</literal> element within the
- SOAP header that contains the conversation ID for the request, in this case <literal>2</literal>.
+ SOAP header that contains the conversation ID for the request, in this case <literal>4</literal>.
Unfortunately, because web services may be consumed by a variety of web service clients written in a
variety of languages, it is up to the developer to implement conversation ID propagation between individual
web services that are intended to be used within the scope of a single conversation.
@@ -75,14 +69,14 @@
able to read the conversation ID from the request. Here's an example of a response to the above request message:
</para>
- <programlisting role="XML"><![CDATA[<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
- <env:Header>
- <seam:conversationId xmlns:seam='http://www.jboss.org/seam/webservice'>2</seam:conversationId>
- </env:Header>
- <env:Body>
- <confirmAuctionResponse xmlns="http://seambay.example.seam.jboss.org/"/>
- </env:Body>
-</env:Envelope>
+ <programlisting role="XML"><![CDATA[<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
+ <soap:Header>
+ <seam:conversationId xmlns:seam="http://www.jboss.org/seam/webservice">4</seam:conversationId>
+ </soap:Header>
+ <soap:Body>
+ <ns2:setAuctionPriceResponse xmlns:ns2="http://seambay.example.seam.jboss.org/"/>
+ </soap:Body>
+ </soap:Envelope>
]]></programlisting>
<para>
@@ -127,7 +121,9 @@
</para>
<programlisting role="JAVA"><![CDATA[@Stateless
-@WebService(name = "AuctionService", serviceName = "AuctionService")
+@Name("auctionService")
+@WebService(name = "AuctionService")
+@HandlerChain(file = "soap-handlers.xml")
public class AuctionService implements AuctionServiceRemote
{
@WebMethod
12 years, 4 months
Seam SVN: r15038 - branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts.
by seam-commits@lists.jboss.org
Author: dhinojosa
Date: 2012-08-14 12:42:50 -0400 (Tue, 14 Aug 2012)
New Revision: 15038
Modified:
branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml
branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml
Log:
JBSEAM-4996
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml 2012-08-14 14:44:50 UTC (rev 15037)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml 2012-08-14 16:42:50 UTC (rev 15038)
@@ -64,7 +64,7 @@
<istrue value="${debug}"/>
</condition>
<property name="transactionManagerLookupClass" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
- <property name="ejbJndiPattern" value="java:app/${project.name}-ejb/#{ejbName}"/>
+ <property name="ejbJndiPattern" value="java:app/${project.name}.jar/#{ejbName}"/>
<property name="seamBootstrapsPu" value="false" />
<condition property="seamEmfRef" value="#{entityManagerFactory}" else="#{null}">
<istrue value="${seamBootstrapsPu}"/>
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml 2012-08-14 14:44:50 UTC (rev 15037)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml 2012-08-14 16:42:50 UTC (rev 15038)
@@ -64,7 +64,7 @@
<istrue value="${debug}"/>
</condition>
<property name="transactionManagerLookupClass" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
- <property name="ejbJndiPattern" value="java:app/${project.name}-ejb/#{ejbName}"/>
+ <property name="ejbJndiPattern" value="java:app/${project.name}.jar/#{ejbName}"/>
<property name="seamBootstrapsPu" value="false"/>
<property name="seamEmfRef" value="#{null}"/>
<property name="puJndiName" value="java:/${project.name}EntityManagerFactory"/>
12 years, 4 months
Seam SVN: r15037 - branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-08-14 10:44:50 -0400 (Tue, 14 Aug 2012)
New Revision: 15037
Modified:
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Conversations.xml
Log:
JBSEAM-5011
Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Conversations.xml
===================================================================
--- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Conversations.xml 2012-08-14 14:24:22 UTC (rev 15036)
+++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Conversations.xml 2012-08-14 14:44:50 UTC (rev 15037)
@@ -1298,26 +1298,16 @@
</section>
<section>
- <title>RichFaces (Ajax4jsf)</title>
+ <title>RichFaces 4</title>
<para>
- RichFaces (Ajax4jsf) is the Ajax library most commonly used with Seam, and
+ RichFaces is the JSF 2 component library most commonly used with Seam, and
provides all the controls discussed above:
</para>
<itemizedlist>
<listitem>
<para>
- <literal>eventsQueue</literal> — provides a queue in which
- events are placed. All events are queued and requests are sent to
- the server serially. This is useful if the request to the
- server can take some time to execute (e.g. heavy computation,
- retrieving information from a slow source) as the server isn't
- flooded.
- </para>
- </listitem>
- <listitem>
- <para>
<literal>ignoreDupResponses</literal> — ignores the response
produced by the request if a more recent 'similar' request is
already in the queue. ignoreDupResponses="true" does <emphasis>not
@@ -1346,7 +1336,7 @@
</listitem>
<listitem>
<para>
- <literal><a:poll reRender="total" interval="1000" /></literal> —
+ <literal><a:poll render="total" interval="1000" /></literal> —
Polls the server, and rerenders an area as needed
</para>
</listitem>
12 years, 4 months
Seam SVN: r15036 - branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-08-14 10:24:22 -0400 (Tue, 14 Aug 2012)
New Revision: 15036
Modified:
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Events.xml
Log:
JBSEAM-5012
Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Events.xml
===================================================================
--- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Events.xml 2012-08-14 13:51:00 UTC (rev 15035)
+++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Events.xml 2012-08-14 14:24:22 UTC (rev 15036)
@@ -606,13 +606,6 @@
</page>]]></programlisting>
- <warning> In case you are using JSF RI 2,
- you have to define navigation rule for each of the possible
- non-null outcome values from a page action, or else implicit navigation
- is going to render. It is annoying, hopefully will be fixed in the next
- maintenance version release of JSF 2.
- </warning>
-
<para>
The view-id may be given as a JSF EL expression:
</para>
12 years, 4 months
Seam SVN: r15035 - branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/annotations/async.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2012-08-14 09:51:00 -0400 (Tue, 14 Aug 2012)
New Revision: 15035
Modified:
branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/annotations/async/Asynchronous.java
Log:
fixed typo in javadoc of Asynchronous annotation
Modified: branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/annotations/async/Asynchronous.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/annotations/async/Asynchronous.java 2012-08-14 13:50:35 UTC (rev 15034)
+++ branches/community/Seam_2_3/jboss-seam/src/main/java/org/jboss/seam/annotations/async/Asynchronous.java 2012-08-14 13:51:00 UTC (rev 15035)
@@ -18,7 +18,7 @@
*
* Note that asynchronous calls are processed in
* a different EVENT, SESSION and CONVERSATION
- * context to the caller, so the actual recieving
+ * context to the caller, so the actual receiving
* object may be a different instance of the
* component to the object that was called.
*
12 years, 4 months
Seam SVN: r15033 - branches/community/Seam_2_3/examples-ee6/seamdiscs/seamdiscs-web/src/main/webapp.
by seam-commits@lists.jboss.org
Author: vdedik
Date: 2012-08-14 07:38:46 -0400 (Tue, 14 Aug 2012)
New Revision: 15033
Modified:
branches/community/Seam_2_3/examples-ee6/seamdiscs/seamdiscs-web/src/main/webapp/artists.xhtml
Log:
JBSEAM-5009
Modified: branches/community/Seam_2_3/examples-ee6/seamdiscs/seamdiscs-web/src/main/webapp/artists.xhtml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/seamdiscs/seamdiscs-web/src/main/webapp/artists.xhtml 2012-08-13 11:46:56 UTC (rev 15032)
+++ branches/community/Seam_2_3/examples-ee6/seamdiscs/seamdiscs-web/src/main/webapp/artists.xhtml 2012-08-14 11:38:46 UTC (rev 15033)
@@ -47,10 +47,14 @@
rendered="#{artist.class.simpleName eq 'Artist'}" />
<tr:outputText value="None"
rendered="#{artist.class.simpleName eq 'Band' and empty artist.bandMembers}" />
- <rich:list value="#{artist.bandMembers}" var="bandMember"
- rendered="#{artist.class.simpleName eq 'Band' and not empty artist.bandMembers}">
- <tr:outputText value="#{bandMember.name}" />
- </rich:list>
+ <tr:group
+ rendered="#{artist.class.simpleName eq 'Band' and not empty artist.bandMembers}">
+ <ul>
+ <tr:iterator value="#{artist.bandMembers}" var="bandMember">
+ <li><tr:outputText value="#{bandMember.name}"/></li>
+ </tr:iterator>
+ </ul>
+ </tr:group>
</tr:column>
<f:facet name="detailStamp">
<s:div style="width: 200px">
12 years, 4 months