[JBoss Seam] - Re: DataModel: Row is not available
by mrobinson28
Is the documentation incorrect?
seam reference docs wrote :
| @DataModel
|
| Exposes an attribute of type List, Map, Set or Object[] as a JSF DataModel into the scope of the owning component...
|
I believe that the standard JSF datatable only supports a limited number of types (not java.util.Set ) which seems to cause problems for one-to-many relationships where the "most natural" type of association is a Set. The hibernate documentation seems to really make a point of this being the most correct mapping where there are not any duplicates but then you can't render it using the stock datatable. The last time I tried it the MyFaces implementation actually "incorrectly" supported the rendering of a Set within a datatable but there were discussions about "fixing" the implementation to not support it.
Can you show how you add to the Collection? and mabye the .xhtml (assuming Facelets)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037799#4037799
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037799
19 years, 1 month
[Clustering/JBoss] - Re: Tomcat Cluster Error
by baskaran_c
I have defined the "deploy/tc5-cluster-service.xml " as below
<?xml version="1.0" encoding="UTF-8"?>
| <server>
|
| <mbean code="org.jboss.cache.TreeCache"
| name="jboss.cache:service=TomcatClusteringCache">
| <depends>jboss:service=Naming</depends>
| <depends>jboss:service=TransactionManager</depends>
| <attribute name="TransactionManagerLookupClass">org.jboss.cache.JBossTransactionManagerLookup</attribute>
| <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
| <attribute name="CacheMode">REPL_ASYNC</attribute>
| <attribute name="ClusterName">Tomcat-Cluster</attribute>
| <attribute name="LockAcquisitionTimeout">15000</attribute>
|
| <attribute name="ClusterConfig">
| <Config>
| <UDP mcast_addr="${jboss.partition.udpGroup:228.1.2.3}" mcast_port="45566"
| ip_ttl="8" ip_mcast="true"
| mcast_send_buf_size="800000" mcast_recv_buf_size="150000"
| ucast_send_buf_size="800000" ucast_recv_buf_size="150000"
| loopback="false"/>
| <PING timeout="2000" num_initial_members="3"
| up_thread="true" down_thread="true"/>
| <MERGE2 min_interval="10000" max_interval="20000"/>
| <FD shun="true" up_thread="true" down_thread="true"
| timeout="2500" max_tries="5"/>
| <VERIFY_SUSPECT timeout="3000" num_msgs="3"
| up_thread="true" down_thread="true"/>
| <pbcast.NAKACK gc_lag="50" retransmit_timeout="300,600,1200,2400,4800"
| max_xmit_size="8192"
| up_thread="true" down_thread="true"/>
| <UNICAST timeout="300,600,1200,2400,4800" window_size="100" min_threshold="10"
| down_thread="true"/>
| <pbcast.STABLE desired_avg_gossip="20000"
| up_thread="true" down_thread="true"/>
| <FRAG frag_size="8192"
| down_thread="true" up_thread="true"/>
| <pbcast.GMS join_timeout="5000" join_retry_timeout="2000"
| shun="true" print_local_addr="true"/>
| <pbcast.STATE_TRANSFER up_thread="true" down_thread="true"/>
| </Config>
| </attribute>
|
|
| </mbean>
| </server>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037788#4037788
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037788
19 years, 1 month