[jboss-user] [Remoting] - Worker thread initialization failure ( ejb remote test )

2008-10-20 Thread samdoyle
16:02:23,180 ERROR [ServerThread] Worker thread initialization failure
java.io.EOFException
at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:530)
at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373)
at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)

I have seen references to this problem caused by not having the same jars on 
client and server.

I have verified that the jars are the same however I do have the patched 
version of the remoting jar on both client and server. This is the patched 
version required to work with JBoss Messaging.

Any hints?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4183356#4183356

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4183356
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: Worker thread initialization failure ( ejb remote test )

2008-10-20 Thread samdoyle
The two jars I have is the remoting and allclient

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4183358#4183358

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4183358
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: Worker thread initialization failure ( ejb remote test )

2008-10-20 Thread samdoyle
Nevermind I enabled trace was an issue with the serialversionuids

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4183365#4183365

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4183365
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - JMSProviderLoader NOTYETINSTALLED When using Bridge?

2008-09-10 Thread samdoyle
Hello,

I keep running into this issue on startup when trying to make use of the 
messaging bridge.

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: 
jboss.messaging:service=JMSProviderLoader,name=DefaultJMSProvider
  |   State: NOTYETINSTALLED
  |   Depends On Me:
  | jboss.messaging:service=Bridge,name=HibernateSearchBridge

Here is the bridge configuration.

  | mbean code=org.jboss.jms.server.bridge.BridgeService
  |   name=jboss.messaging:service=Bridge,name=HibernateSearchBridge
  |   xmbean-dd=xmdesc/Bridge-xmbean.xml
  | 
  |   !-- The JMS provider loader that is used to lookup the source 
destination --
  |   depends optional-attribute-name=SourceProviderLoader
  |  jboss.messaging:service=JMSProviderLoader,name=DefaultJMSProvider
  |   /depends
  | 
  |   !-- The JMS provider loader that is used to lookup the target 
destination --
  |   depends optional-attribute-name=TargetProviderLoader
  |  jboss.messaging:service=JMSProviderLoader,name=DefaultJMSProvider
  |   /depends
  | 
  |   !-- The JNDI lookup for the source destination --
  |   attribute 
name=SourceDestinationLookup/queue/hibernatesearch/attribute
  | 
  |   !-- The JNDI lookup for the target destination --
  |   attribute 
name=TargetDestinationLookupqueue/hibernatesearchMaster/attribute
  | 
  |   !-- Optional: The Quality Of Service mode to use, one of:
  |   QOS_AT_MOST_ONCE = 0;
  |   QOS_DUPLICATES_OK = 1;
  |   QOS_ONCE_AND_ONLY_ONCE = 2; --
  |   attribute name=QualityOfServiceMode0/attribute
  | 
  | 
  |   !-- The maximum number of messages to consume from the source before 
sending to the target --
  |   attribute name=MaxBatchSize5/attribute
  | 
  |   !-- The maximum time to wait (in ms) before sending a batch to the 
target even if MaxBatchSize is not exceeded.
  | -1 means wait forever --
  |   attribute name=MaxBatchTime-1/attribute
  | 
  |   !-- The number of ms to wait between connection retrues in the event 
connections to source or target fail --
  |   attribute name=FailureRetryInterval5000/attribute
  | 
  |   !-- The maximum number of connection retries to make in case of 
failure, before giving up
  |-1 means try forever--
  |   attribute name=MaxRetries-1/attribute
  | 
  |   !-- If true then the message id of the message before bridging will 
be added as a header to the message so it is available
  |to the receiver. Can then be sent as correlation id to correlate 
in a distributed request-response --
  |   attribute name=AddMessageIDInHeaderfalse/attribute
  | 
  |/mbean

Here is the JMS section from hajndi-jms-ds.xml

!-- The JMS provider loader --
  | mbean code=org.jboss.jms.jndi.JMSProviderLoader
  |name=jboss.mq:service=JMSProviderLoader,name=HAJNDIJMSProvider
  |   attribute name=ProviderNameDefaultJMSProvider/attribute
  |   attribute name=ProviderAdapterClass
  | org.jboss.jms.jndi.JNDIProviderAdapter
  |   /attribute
  |   !-- The combined connection factory --
  |   attribute name=FactoryRefXAConnectionFactory/attribute
  |   !-- The queue connection factory --
  |   attribute name=QueueFactoryRefXAConnectionFactory/attribute
  |   !-- The topic factory --
  |   attribute name=TopicFactoryRefXAConnectionFactory/attribute
  |   !-- Access JMS via HAJNDI --
  |   attribute name=Properties
  |  java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  |  java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  |  java.naming.provider.url=${jboss.bind.address:localhost}:1100
  |  jnp.disableDiscovery=false
  |  jnp.partitionName=${jboss.partition.name:DefaultPartition}
  |  jnp.discoveryGroup=${jboss.partition.udpGroup:230.0.0.4}
  |  jnp.discoveryPort=1102
  |  jnp.discoveryTTL=16
  |  jnp.discoveryTimeout=5000
  |  jnp.maxRetries=1
  |   /attribute
  | /mbean

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4175673#4175673

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4175673
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JMSProviderLoader NOTYETINSTALLED When using Bridge?

2008-09-10 Thread samdoyle
I did try the configuration from the bridge example originally but it resulted 
in the same problem.


  |   !-- The JMS provider loader that is used to lookup the source 
destination --
  |   depends 
optional-attribute-name=SourceProviderLoaderjboss.messaging:service=JMSProviderLoader,na
  | me=JMSProvider/depends
  | 
  |   !-- The JMS provider loader that is used to lookup the target 
destination --
  |   depends 
optional-attribute-name=TargetProviderLoaderjboss.messaging:service=JMSProviderLoader,na
  | me=JMSProvider/depends

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4175676#4175676

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4175676
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossMQ] - Re: HAJNDIJMSProvider mbean not installed

2008-09-10 Thread samdoyle
Did you ever get an answer for this question? I know this isn't the JBoss 
Messaging forum but I'm seeing the same issue as well.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4175678#4175678

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4175678
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JMSProviderLoader NOTYETINSTALLED When using Bridge?

2008-09-10 Thread samdoyle
I guess I was supposed to use HAJNDIJMSProvider for the name value however that 
didn't solve anything and I still see the same error.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4175679#4175679

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4175679
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Need help with configuring message bridge from JBM-1.4.0

2008-09-10 Thread samdoyle
I see the exact same error as well. Getting the bridge to work as been a pain.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4175685#4175685

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4175685
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JMSProviderLoader NOTYETINSTALLED When using Bridge?

2008-09-10 Thread samdoyle
Looking at the JMX Console it looks as if the JMSProvider is there, its status 
is also started.

MBean Name: Domain Name:jboss.messaging
  | service:JMSProviderLoader
  | name:   HAJNDIJMSProvider
  | MBean Java Class:   org.jboss.jms.jndi.JMSProviderLoader
  | 
  | StateString java.lang.StringRStartedMBean 
Attribute.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4175706#4175706

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4175706
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JMSProviderLoader NOTYETINSTALLED When using Bridge?

2008-09-10 Thread samdoyle
ic nevermind heh

So the target and server provider need to match exactly as it is defined 
*-jms-ds.xml

*palm forehead*

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4175724#4175724

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4175724
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - JBoss MQ + EJB3 MDB Throws Already Registered Exception

2008-09-04 Thread samdoyle
As suggested I created a new thread.

MDB

@MessageDriven( activationConfig = {
  | @ActivationConfigProperty( propertyName = destinationType,
  |propertyValue = javax.jms.Queue ),
  | @ActivationConfigProperty( propertyName = destination,
  |propertyValue = queue/hibernatesearch )
  | //@ActivationConfigProperty( propertyName = maxSession, 
propertyValue = 1)
  | } )
  | public class SearchControllerMDB
  | extends AbstractJMSHibernateSearchController
  | {
  |private static Log log = LogFactory.getLog( SearchControllerMDB.class );
  | 
  |@PersistenceContext( unitName = event-management-tool )
  |private EntityManager em;
  | 
  |@Override
  |protected void cleanSessionIfNeeded( Session session )
  |{
  |   //nothing to do container managed
  |}
  | 
  |@Override
  |protected Session getSession()
  |{
  |   if ( log.isDebugEnabled() )
  |   {
  |  log.debug( SearchControllerMDB.getSession: entered );
  |   }
  |   return ( Session ) em.getDelegate();
  |}
  | 
  |
  | }

*-service.xml

mbean code=org.jboss.mq.server.jmx.Queue 
name=jboss.mq.destination:service=Queue,name=hibernatesearc
  | h
  |attribute name=JNDINamequeue/hibernatesearch/attribute
  |depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager/depends
  |depends 
optional-attribute-name=SecurityManagerjboss.mq:service=SecurityManager/depends
  |attribute name=SecurityConf
  |   security
  |  role name=guest read=true write=true create=true/
  |  role name=publisher read=true write=true create=true/
  |  role name=durpublisher read=true write=true create=true/
  |   /security
  |/attribute
  | /mbean

Result at startup:

ar=event-management-tool.jar,name=SearchControllerMDB,service=EJB3
  | javax.management.InstanceAlreadyExistsException: 
jboss.mq.destination:service=Queue,name=hibernatesearch a
  | lready registered.
  | at 
org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:761)
  | at 
org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:225)
  | at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.j
  | ava:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
  | at 
org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:295)
  | at 
org.jboss.mq.server.jmx.DestinationManager.createDestination(DestinationManager.java:305)
  | at 
org.jboss.mq.server.jmx.DestinationManager.createQueue(DestinationManager.java:271)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:44)
  | at 
org.jboss.ejb3.jms.DestinationManagerJMSDestinationFactory.createDestination(DestinationManager
  | JMSDestinationFactory.java:75)
  | at 
org.jboss.ejb3.mdb.MessagingContainer.createTemporaryDestination(MessagingContainer.java:573)
  | at 

[jboss-user] [EJB 3.0] - Re: JBoss MQ + EJB3 MDB Throws Already Registered Exception

2008-09-04 Thread samdoyle
Oh I guess I should mention I'm using JBoss 4.2.2.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4174385#4174385

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174385
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JBoss MQ + EJB3 MDB Throws Already Registered Exception

2008-09-04 Thread samdoyle
On the slave the lookup fails:

10:42:29,802 WARN  [ServiceController] Problem starting service 
persistence.units:ear=event-management-too
  | l.ear,jar=event-management-tool.jar,unitName=event-management-tool
  | org.hibernate.search.SearchException: Unable to lookup Search queue 
(queue/hibernatesearch) and connection
  |  factory (java:/ConnectionFactory)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4174395#4174395

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174395
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JBoss MQ + EJB3 MDB Throws Already Registered Exception

2008-09-04 Thread samdoyle
Solution for me was for this problem:

Drop JBoss MQ
Insert JBoss Messaging



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4174442#4174442

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174442
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: How can I deploy a MDB to only one instance in a cluster

2008-09-03 Thread samdoyle
Ah, excellent and much thanks!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4174048#4174048

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174048
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: service=EJB3 + is already registered

2008-09-03 Thread samdoyle
Same problem with 4.2.2

MDB
MessageDriven( activationConfig = {
  | @ActivationConfigProperty( propertyName = destinationType,
  |propertyValue = javax.jms.Queue ),
  | @ActivationConfigProperty( propertyName = destination,
  |propertyValue = queue/hibernatesearch )
  | //@ActivationConfigProperty( propertyName = maxSession, 
propertyValue = 1)
  | } )

jbossmq-destinations-service.xml

  mbean code=org.jboss.mq.server.jmx.Queue 
name=jboss.mq.destination:service=Queue,name=hibernatesearc
  | h
  |attribute name=JNDINamequeue/hibernatesearch/attribute
  |depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager/depends
  |depends 
optional-attribute-name=SecurityManagerjboss.mq:service=SecurityManager/depends
  |attribute name=SecurityConf
  |   security
  |  role name=guest read=true write=true create=true/
  |  role name=publisher read=true write=true create=true/
  |  role name=durpublisher read=true write=true create=true/
  |   /security
  |/attribute
  | /mbean

If I don't specify in the configuration it attempts to create a tempory queue 
on startup then throws an NPE!?

This is pretty critical.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4174142#4174142

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174142
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: service=EJB3 + is already registered

2008-09-03 Thread samdoyle
Some more information:

20:08:27,097 WARN  [ServiceController] Problem starting service 
jboss.j2ee:ear=event-management-tool.ear,j
  | ar=event-management-tool.jar,name=SearchControllerMDB,service=EJB3
  | javax.management.InstanceAlreadyExistsException: 
jboss.mq.destination:service=Queue,name=hibernatesearch a
  | lready registered.

ObjectName: 
jboss.j2ee:ear=event-management-tool.ear,jar=event-management-tool.jar,name=SearchControllerMD
  | B,service=EJB3
  |   State: FAILED
  |   Reason: javax.management.InstanceAlreadyExistsException: 
jboss.mq.destination:service=Queue,name=hiberna
  | tesearch already registered.
  |   I Depend On:
  | 
persistence.units:ear=event-management-tool.ear,jar=event-management-tool.jar,unitName=event-managemen
  | t-tool

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4174144#4174144

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174144
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: service=EJB3 + is already registered

2008-09-03 Thread samdoyle
I created my own *-service.xml  and moved the configuration out of the 
destinations and into that and the problem remains.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4174145#4174145

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174145
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - How can I deploy a MDB to only one instance in a cluster?

2008-09-02 Thread samdoyle
I'm trying to find out the best way to deploy an MDB in my application to only 
one node in a cluster.

I'm dealing with Hibernate Search which says the MDB you define for it can only 
reside on a master node.

Is there some configuration I can set to disable the MDB from being deployed?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4173823#4173823

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173823
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Exception opening latest JBoss Tools perspective.

2008-08-21 Thread samdoyle
Fresh install

Windows 32 bit Vista

Eclipse Platform
Version: 3.4.0
Build id: I20080617-2000

JBossTools-2.1.2.GA-ALL-win32

java.lang.ClassNotFoundException: 
org.eclipse.gef.internal.ui.palette.editparts.PaletteEditPart
at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:481)
at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397)
at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385)
at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at 
org.jboss.tools.vpe.ui.palette.CustomPaletteEditPartFactory.createDrawerEditPart(CustomPaletteEditPartFactory.java:27)
at 
org.eclipse.gef.ui.palette.PaletteEditPartFactory.createEditPart(PaletteEditPartFactory.java:66)
at 
org.eclipse.gef.editparts.AbstractEditPart.createChild(AbstractEditPart.java:249)
at 
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:726)
at 
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:677)
at 
org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:571)
at 
org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:235)
at 
org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:219)
at 
org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:198)
at 
org.eclipse.gef.editparts.SimpleRootEditPart.setContents(SimpleRootEditPart.java:101)
at 
org.eclipse.gef.ui.palette.PaletteViewer.setPaletteRoot(PaletteViewer.java:397)
at 
org.jboss.tools.vpe.ui.palette.PaletteAdapter.createControl(PaletteAdapter.java:59)
at 
org.jboss.tools.common.model.ui.views.palette.PaletteViewPart.createPartControlImpl(PaletteViewPart.java:63)
at 
org.jboss.tools.common.model.ui.views.palette.PaletteViewPart.createPartControl(PaletteViewPart.java:50)
at 
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
at 
org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
at 
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531)
at 
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at 
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at 
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at 
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at 
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:649)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
at 
org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:568)
at 
org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:271)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:964)
at 
org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2593)
at 
org.eclipse.ui.internal.WorkbenchWindow$25.run(WorkbenchWindow.java:2869)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at 
org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2850)
at 
org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:759)
at 
org.eclipse.ui.internal.WorkbenchWindow$7.run(WorkbenchWindow.java:1707)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at 
org.eclipse.ui.internal.WorkbenchWindow.openPage(WorkbenchWindow.java:1704)
at 
org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspective(ShowPerspectiveHandler.java:156)
at 
org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(ShowPerspectiveHandler.java:124)
at 
org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowPerspectiveHandler.java:63)
at 
org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at 

[jboss-user] [JBoss Tools (users)] - Re: Exception opening latest JBoss Tools perspective.

2008-08-21 Thread samdoyle
Nevermind, found a post saying JBosss Tools wasn't compatible with this version 
of Eclipse.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4171671#4171671

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4171671
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Lastest JBoss Tools doesn't work on Vista.

2008-07-08 Thread samdoyle
Was using latest version of Europa then tried on Ganymede. Using x84 Vista with 
jdk 1.6 and the latest version of JBoss Tools as of the day i posted this.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4163157#4163157

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163157
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Lastest JBoss Tools doesn't work on Vista.

2008-07-04 Thread samdoyle
Keeps throwing an exception when trying to open a .xhtml file that 
javaxpcomglue.dll is not accessible I saw another time when there was a link 
error.
[/img]

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4162630#4162630

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162630
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Topic Subscription only works with JBoss Libraries?

2008-01-23 Thread samdoyle
Thanks Norman,

Open MQ is the default built in provider for GlassFish which I have used 
several times. I was wondering if there was any significance to the 
UIL2ConnectionFactory just beyond the name. As I said there appears to be a way 
to override the default in the the SubscriptionRegistry since basically 
defaults to UIL2ConnectionFactory if a connection provider is not set. Since 
this is possible I was wondering if there was some configuration option. I 
guess I can blatantly try creating a connection factory with the name 
UIL2ConnectionFactory and see if that works.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4122710#4122710

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122710
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Topic Subscription only works with JBoss Libraries?

2008-01-23 Thread samdoyle
Ah thanks Norman, I assume this is where this entry comes into play?


  | component name=topicPublisher 
class=org.jboss.seam.jms.ManagedTopicPublisher
  | property name=topicJndiNametopic/chatroomTopic/property
  | /component
  | 

The only thing I have set in my components.xml is the jndi-pattern


  | core:init jndi-pattern=java:comp/env/testapp/#{ejbName}/local 
debug=true/
  | 

Thanks, S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4122791#4122791

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122791
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Topic Subscription only works with JBoss Libraries?

2008-01-23 Thread samdoyle
Thanks Shane, I'll take a look.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4122870#4122870

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122870
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam Topic Subscription only works with JBoss Libraries?

2008-01-22 Thread samdoyle
I'm executing this in my JavaScript based off the chatroom example. I'm 
attempting to deploy this in GlassFish. Do I need some specific JBoss MQ 
libraries deployed? Will it now work with another JMS implementation such as 
Open MQ? I suspect this since it is looking for this UIL2ConnectionFactory.


  | function connect() 
  | {
  |Seam.Remoting.subscribe( jms/transitTopic, transitMessageCallback );  
  | }
  | 

I get the following error even though I know the Topic exists and the JNDI name 
is correct. I have configured the components.xml to allow the topic.


  | 
[#|2008-01-22T01:40:07.430-0800|SEVERE|sun-appserver9.1|org.jboss.seam.remoting.messaging.SubscriptionRegistry|_ThreadID=36;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=eaaff11c-7fd9-442b-834a-3894f052eafb;|javax.naming.NameNotFoundException:
 UIL2ConnectionFactory not found|#]
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4122399#4122399

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122399
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Topic Subscription only works with JBoss Libraries?

2008-01-22 Thread samdoyle
Anyone?

Thanks, S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4122429#4122429

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122429
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Topic Subscription only works with JBoss Libraries?

2008-01-22 Thread samdoyle
So looking at the SubscriptionRegistry code it appears that it is possible to 
override the default connection provider which results in the 
UIL2ConnectionFactory being used. Is there some specific configuration option I 
need to use to make this work with GlassFish?

Thanks, S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4122436#4122436

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122436
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Conversations doing my head in - help

2008-01-18 Thread samdoyle
JBoss Tools is nice. I wish there was integration with NetBeans in addition to 
Eclipse.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4121464#4121464

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121464
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Remoting Chatroom Example

2008-01-18 Thread samdoyle
Never mind I did a grep based on the information in the documentation. I see it 
is specified in an alternate format.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4121470#4121470

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121470
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam Remoting Chatroom Example

2008-01-18 Thread samdoyle
So looking at the documentation section 21.11.1 


  | 21.11.1. Configuration
  | Before you can subscribe to a JMS topic, you must first configure a list of 
the topics that can be s
  | ubscribed to by Seam Remoting. List the topics under 
org.jboss.seam.remoting.messaging.subscriptionR
  | egistry.allowedTopics in seam.properties, web.xml or components.xml. 
  | 

There also should be an entry for this also somewhere for the following


  | remoting:remoting poll-timeout=5 poll-interval=1/
  | 

I don't see either configured for the chatroom example.

Can someone provide a full working example of using remoting with JMS Topic 
subscriptions?

Thanks, S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4121459#4121459

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121459
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam support in a production environment?

2007-12-12 Thread samdoyle
Hello, we will be bidding on a substantial product in an area where have 
established some level of expertise. We have a varied technology stack but it 
does include Seam,Drools and Hibernate. I'm a bit concerned with the level of 
support though that is available for Seam? When doing the proposal we need 
these bases covered and if something goes wrong in this large scale deployment 
I can't really be waiting for a response from the message board.

Thanks, S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4112332#4112332

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112332
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-06 Thread samdoyle
Hey so I don't see the exception being propagated to the browser now which is 
great. I see the exceptions in the log but I have set the logging in the app. 
server to finest and still do not see the debug messages. What is required to 
enable the log debugging?

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4110984#4110984

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110984
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-05 Thread samdoyle
Hello Shane, latest build from CVS still generates this error periodically.


  | 
[#|2007-12-05T13:48:50.106-0500|SEVERE|sun-appserver9.1|org.jboss.seam.remoting.Remoting|_ThreadID=20;_ThreadName=httpSSLWorkerThread-38080-1;_RequestID=b24ed108-c908-43e6-81c5-bbf9ccc60b3b;|Error
  | org.dom4j.DocumentException: Error on line 1 of document  : Premature end 
of file. Nested exception: Premature end of file.
  | at org.dom4j.io.SAXReader.read(SAXReader.java:482)
  | at org.dom4j.io.SAXReader.read(SAXReader.java:365)
  | at 
org.jboss.seam.remoting.ExecutionHandler.handle(ExecutionHandler.java:57)
  | at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:111)
  | at 
org.jboss.seam.servlet.SeamResourceServlet.doGet(SeamResourceServlet.java:75)
  | at 
org.jboss.seam.servlet.SeamResourceServlet.doPost(SeamResourceServlet.java:92)
  | 


[EMAIL PROTECTED] wrote : The request packet looks well-formed and complete, 
it's not clear why the exception is being thrown.  Just to try something 
different, I've wrapped the request's InputStream in an InputStreamReader for 
the parsing of the xml.  You can try this in the latest CVS version.
  | 
  | samdoyle wrote : 
  |   | Some questions though. 
  |   | 
  |   | 1.) Why are each of the response packets incrementing in conversation 
id?
  |   | 2.) Why do sometimes when I make a request it appears I get pack an 
empty response followed by a valid response?
  |   | 
  | 
  | 1. Unless you explicitly set the conversation ID yourself (see the remoting 
docs) then whatever conversation ID is current at the end of the request will 
be sent back in the remoting response.
  | 2. I've never seen anything like this, could you give me an example?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4110675#4110675

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110675
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-05 Thread samdoyle
Cool and thanks, I'll checkout and build again.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4110713#4110713

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110713
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-04 Thread samdoyle
No JavaScript errors. I'll check it out with debugging enabled.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4110294#4110294

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110294
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-04 Thread samdoyle
The following produced the error, doesn't look unusual. It is the same as the 
several succeeding requests before it.


  | 
  | Tue Dec 4 11:01:57 PST 2007: Request packet:
  | 
envelopeheadercontextconversationId41/conversationId/context/headerbodycall
 component=incidentAccessor method=getIncidents id=17
  | params/paramsrefs/refs/call/body/envelope
  | 
  | 

As a result of this it is generating a error 400 poup dialog which as a result 
of the current way remoting works doesn't appear to be trappable.

Some questions though. 

1.) Why are each of the response packets incrementing in conversation id?
2.) Why do sometimes when I make a request it appears I get pack an empty 
response followed by a valid response?

[EMAIL PROTECTED] wrote : I haven't seen this before.  Are there any 
Javascript errors when this occurs?  I suggest you turn on debug mode so that 
you can examine the request packets that are being sent to the server to 
confirm that they are complete.  Debug mode is turned on like this:
  | 
  | Seam.Remoting.setDebug(true)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4110303#4110303

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110303
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-04 Thread samdoyle
Anyone?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4110351#4110351

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110351
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-04 Thread samdoyle
I lost our demo box again until tomorrow but what happens sometimes is that in 
the debug output window it just says empty response immediately followed by the 
expected response. Seemed odd.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4110397#4110397

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110397
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam in clustered environment.

2007-12-03 Thread samdoyle
[EMAIL PROTECTED] wrote : Please post the exception.

Ah, I had a configuration mistake but now with everything configured properly 
and I have verified HA is working properly I see the Identity exception being 
thrown when trying to replicate it. I'm using drools but not exactly sure what 
the relationship is between it and the Identity. This is definitely a show 
stopper  for a high availability requirement.

Could someone from the Seam team please comment.


  | 
#|2007-12-03T12:09:13.520-0500|INFO|sun-appserver9.1|org.apache.catalina.session.ManagerBase|_ThreadID=22;_ThreadName=httpSSLWorkerThread-38080-1;|PWC2785:
 Cannot serialize session attribute org.jboss.seam.security.identity for 
session 0fba09ba81165626f5a35d7a2291
  | java.io.NotSerializableException: 
org.drools.reteoo.ReteooWorkingMemory$WorkingMemoryReteAssertAction
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109995#4109995

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109995
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam in clustered environment.

2007-12-03 Thread samdoyle
I have created a case for this. 
http://jira.jboss.com/jira/browse/JBSEAM-2340

S.D

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4110004#4110004

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110004
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam in clustered environment.

2007-12-03 Thread samdoyle
I am using 4.0.0 atm so I will try upgrading and see if that resolves it. 

Thanks, S.D.

matt.drees wrote : I ran into that exception once (in a different context).  
I believe that particular problem should be fixed in Drools 4.0.1.  See 
http://jira.jboss.com/jira/browse/JBRULES-1066.
  | 
  | Maybe using a newer drools version is all you need?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4110010#4110010

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110010
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Remoting periodic exception.

2007-12-03 Thread samdoyle
Using the JavaScript remoting I will see periodically but quite frequently the 
following exception. It is a result of simply doing a polled based operation to 
retrieve the latest available data.

  | 
[#|2007-12-03T12:53:34.110-0500|SEVERE|sun-appserver9.1|org.jboss.seam.remoting.Remoting|_ThreadID=21;_ThreadName=httpSSLWorkerThread-38080-0;_RequestID=d5d7caaf-2e82-41be-b6f7-383164d5a74f;|Error
  | org.dom4j.DocumentException: Error on line 1 of document  : Premature end 
of file. Nested exception: Premature end of file.
  | at org.dom4j.io.SAXReader.read(SAXReader.java:482)
  | at org.dom4j.io.SAXReader.read(SAXReader.java:343)
  | at 
org.jboss.seam.remoting.ExecutionHandler.handle(ExecutionHandler.java:59)
  | at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:113)
  | at 
org.jboss.seam.servlet.SeamResourceServlet.doGet(SeamResourceServlet.java:69)
  | at 
org.jboss.seam.servlet.SeamResourceServlet.doPost(SeamResourceServlet.java:86)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4110012#4110012

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110012
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting periodic exception.

2007-12-03 Thread samdoyle
Anyone see this before?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4110063#4110063

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110063
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Can Seam Remoting use JSON over XML?

2007-12-01 Thread samdoyle
I have usually found it easier to create a separate class for returning 
resultsets since there is most of the time a lot to strip out. Even so the 
verbosity and inclusion of metadata in the response really increases the 
response size.

We had a case where we had a large set of data being requested and the remoting 
response ended up to be 500k and the loading time was not acceptable. As a 
result we were required to create a custom solution.

On the topic of remoting can you tell me what the status is of the JavaScript 
JMS topic subscription is? We have done some prototyping using server side push 
with DWR and decided this is pretty much the direction we want to go in. The 
JMS topic subscription in Seam has always been classified as experimental. Is 
this still the case?

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109541#4109541

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109541
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: pages.xml restrict rule does not work in 2.0 GA

2007-12-01 Thread samdoyle
This is correct isn't it? This is what I have in my pages.xml.


  | exception class=org.jboss.seam.security.AuthorizationException
  |   redirect
  |  messageYou don't have permission to do this/message
  |   /redirect
  |/exception
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109542#4109542

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109542
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam in clustered environment.

2007-12-01 Thread samdoyle
I guess the only thing I can do is try to find out from Sun what they use to 
debug/verify session data replication since having this type of high 
availability is a requirement for what we are doing. If Seam is not cluster 
safe I don't think we will be able to use it. This would be unfortunate 
considering the amount of time we have put into trying to make things work with 
it.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109544#4109544

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109544
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam in clustered environment.

2007-12-01 Thread samdoyle
Will do. When I get back in the office on Monday I'm going to construct a very 
simple application to verify the clustering session replication. I know this 
functionality undergoes rigorous internal testing and has to be past a suite of 
testcases before each release. I don't suspect that this is an issue with the 
session replication in GlassFish.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109574#4109574

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109574
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Trapping Seam Remoting AJAX errors.

2007-11-30 Thread samdoyle
Actually I think that JIRE is different I was looking for something like with 
Prototype Ajax.Request where you can specify on404 and onFailure handlers when 
submitting your request.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109428#4109428

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109428
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Can Seam Remoting use JSON over XML?

2007-11-30 Thread samdoyle
There is quite a bit of overhead data returned in its present state.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109495#4109495

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109495
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Trapping Seam Remoting AJAX errors.

2007-11-30 Thread samdoyle
Yes/No ?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109484#4109484

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109484
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - pages.xml restrict rule does not work in 2.0 GA

2007-11-30 Thread samdoyle
I had this rule by mistake in my pages.xml:


  | page view-id=/notificationAdmin.xhtml login-required=true
  |   restrict#{s:hasRole('ultra-user')}/restrict
  |  /page
  | 

There is no ultra-user role yet I can still access the notificationAdmin. An 
exception is thrown but I still can access the page.


  | org.jboss.seam.security.AuthorizationException: Authorization check failed 
for expression [#{s:hasRole('ultra-user')}]
  | at 
org.jboss.seam.security.Identity.checkRestriction(Identity.java:227)
  | at org.jboss.seam.navigation.Page.checkPermission(Page.java:218)
  | at org.jboss.seam.navigation.Page.preRender(Page.java:238)
  | at org.jboss.seam.navigation.Pages.preRender(Pages.java:309)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:544)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:455)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:146)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | at 
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | at 
org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
  | at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
  | at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
  | at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
  | at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
  | at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
  | at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
  | at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
  | at 
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
  | at 
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)

[jboss-user] [JBoss Seam] - Re: Seam in clustered environment.

2007-11-30 Thread samdoyle
So I just upgraded Seam and I didn't encounter this error but I am still 
required to login again after the active cluster instance becomes disabled.

My session data appears to be replicated yet Seam requires a new login after 
the failover. 

Can someone, if anyone, provide some information on Seam in a clustered 
environment it is giving me headaches at the moment.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109497#4109497

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109497
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: pages.xml restrict rule does not work in 2.0 GA

2007-11-30 Thread samdoyle
I have that default generated by seam-gen which says you are not authorized to 
perform the operation or something like that. I'm not in the office.

[EMAIL PROTECTED] wrote : Do you have a redirect configured for the 
org.jboss.seam.security.AuthorizationException exception?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109513#4109513

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109513
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Trapping Seam Remoting AJAX errors.

2007-11-29 Thread samdoyle
ugh.., thanks for the quick response though :(

[EMAIL PROTECTED] wrote : This is an outstanding issue that has been on the 
backburner for a while, unfortunately:
  | 
  | http://jira.jboss.org/jira/browse/JBSEAM-633

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109129#4109129

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109129
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Trapping Seam Remoting AJAX errors.

2007-11-29 Thread samdoyle
Um so is there a way to trap these in some form of exception handler callback? 
I didn't see any in the documentation and we get a timeout sometimes and want 
to disable the annoying popup.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109126#4109126

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109126
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam in clustered environment.

2007-11-28 Thread samdoyle
Alright will do once I can get back our demo environment for testing. It is the 
only place we have atm which has load balancing and clustering setup.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4108650#4108650

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108650
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam in clustered environment.

2007-11-27 Thread samdoyle
up

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4108194#4108194

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108194
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam in clustered environment.

2007-11-27 Thread samdoyle
I'm using EJB3 as is provided with GlassFish. I think the biggest factor was 
the Identity instance I'll go back to check if there are any others.

When you enable availability on an application for a GlassFish cluster you get 
in memory session data replication across the cluster. As a result what is 
stored for session data needs to be Serializable.

I noticed a Serializable exception being thrown pertaining to the Identity when 
it was attempted to replicate it although it does implement the Serializable 
interface. Perhaps there is some additional session state data that is not 
Serializable. All the ones that are outjected in our code are as far as I can 
tell.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4108273#4108273

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108273
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam in clustered environment.

2007-11-26 Thread samdoyle
Is there some Seam documentation somewhere that discusses specifics dealing 
with a clustered deployment? 

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4107844#4107844

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107844
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam in clustered environment.

2007-11-26 Thread samdoyle
Nothing?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4107911#4107911

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107911
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam in clustered environment.

2007-11-25 Thread samdoyle
I'm trying a Seam application across a GlassFish cluster with session data 
being replicated via the in memory replication. It looks like certain instances 
such as Identity are not serializable and as a result Seam does not behave well.

A basic scenario is if I login and then bring down the instance which did the 
authentication the new instance will not have the identity session data 
replicated and the user is forced to login again.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4107649#4107649

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107649
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JBoss Tools candidate release

2007-11-15 Thread samdoyle
Thanks for getting back to me Max,

Yes, this is what I tried to do, I installed the Glassfish adapter and tried to 
create a new Seam based project using it. I'll try the other route you 
mentioned. Could it be made compatible so that it would work with new Seam 
projects? I'm not sure what the issues are involved in doing this?

Am I losing anything by not being able to create a Seam Project?

Thanks, S.D.

[EMAIL PROTECTED] wrote : 
  | samdoyle:
  | You can use JBossTools/RHDS with Glassfish - you just need to use the 
Glassfish WTP adapter. the only that won't work is the Seam Wizard Project 
creation since Glassfish WTP adapter is not listed as compatible with jst.seam. 
Note: if you have an existing project you can use the seam related features 
like jsf, el code completion, seam views etc. without any issues.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4105075#4105075

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105075
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Projects in Red Hat Developer Studio

2007-11-15 Thread samdoyle
Thanks for the response, I'll give your suggestion a try. I don't mind messing 
around a bit with the configuration if RDHS will allow for a rapid development 
environment with full Facelets, Seam and Richfaces support. Hopefully Hibernate 
will be in there to :)

Thanks, S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4105077#4105077

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105077
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam Projects in Red Hat Developer Studio

2007-11-14 Thread samdoyle
So I'm not sure if this is the best place to ask this but I can't find any 
forums related to  Red Hat Developer Studio.

RDS will not allow me to create a Seam project with a GlassFish server 
instance. When it comes to the dialog that asks me the project name, runtim and 
server I specify the installed GlassFish instance and it doesn't take. Because 
of this I can't continue.

Anyone have any ideas?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4104831#4104831

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104831
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JBoss Tools candidate release

2007-11-14 Thread samdoyle
Why does Red Hat Developer Studio not allow you to create a Seam project if you 
are using Glassfish for your server instance?

Does this mean I can't use RHDS if I am using Glassfish?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4104856#4104856

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104856
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - JSTL Test Boolean Question

2007-11-05 Thread samdoyle
I'm not sure why it doesn't appear to work or if I am doing something 
incorrectly.

Here is basically what I have.


  | rich:column
  |c:choose
  |   c:when test=${sop.isRequired} 
  |  h:outputText value=#{sop.name} style=color:#ff / 
  |   /c:when
  |   c:otherwise
  |  h:outputText value=#{sop.name} / 
  |   /c:otherwise
  |/c:choose
  | /rich:column
  | 

With this I never see the style applied and just the standard text output.

If I change:

  | c:when test=${sop.isRequired} 
  | to
  | c:when test=${true} 
  | 

The style is applied. I know that the values are correct for the isRequired 
field since when I just ouput the value such as:

  | h:outputText value=#{sop.isRequired} style=color:#ff /
  | 
I will see the mix of true and false values rendered.

Thanks, S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101968#4101968

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101968
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JSTL Test Boolean Question

2007-11-05 Thread samdoyle
dustismo wrote : Not sure if this is your problem, but have you tried this?
  | 
  | 
  |   | c:when test=#{sop.isRequired} 
  |   | 
  | 
  | -Dustin

Yep tried that as well to no avail.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101976#4101976

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101976
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JSTL Test Boolean Question

2007-11-05 Thread samdoyle
Excellent and thanks, that did the trick.

S.D.

matt.drees wrote : c:when is evaluated when the component tree is created 
(typically right at the beginning of the renderResponse phase).  It's used to 
determine which components get added to the tree.  I'm guessing you want the 
decision to be made later, for each row.  So you actually want both components 
added to the tree, but you only want one or the other rendered for any given 
row.
  | 
  | So, you probably want something like this:
  | 
  |   | rich:column
  |   |   h:outputText value=#{sop.name} style=color:#ff 
rendered=#{sop.isRequired}/ 
  |   |   h:outputText value=#{sop.name} rendered=#{not 
sop.isRequired}/ 
  |   | /rich:column
  |   | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4102026#4102026

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102026
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using EL in backend Java code?

2007-11-01 Thread samdoyle
[EMAIL PROTECTED] wrote :  
Expressions.instance().createValueExpression(#{myBean.myProperty})  returns 
Object. It needs to cast to your object type.
  | 
  |   | Interpolator.instance().interpolate(#{myBean.myProperty}) 
  |   |  returns String.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101057#4101057

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101057
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using EL in backend Java code?

2007-11-01 Thread samdoyle
I'll give that at try, thanks.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101064#4101064

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101064
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Using EL in backend Java code?

2007-10-31 Thread samdoyle
Can anyone point me to an example?

We have a popup that is generated from clicking on a map icon. This popup hits 
a JSF page on the backend. This is done within a user authenticated 
conversation so I want to use the EL to get the user's name like 
#{identity.username} in my Java code.

Thanks, S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100850#4100850

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100850
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using EL in backend Java code?

2007-10-31 Thread samdoyle
Something like:

String userName = #{identity.username};

How would you do this?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100855#4100855

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100855
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using EL in backend Java code?

2007-10-31 Thread samdoyle
Anyone?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100881#4100881

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100881
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using EL in backend Java code?

2007-10-31 Thread samdoyle
Still looking. All I see when searching on Google is people complaining about 
SeamElResolver not working.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100895#4100895

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100895
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using EL in backend Java code?

2007-10-31 Thread samdoyle
The only thing  I see that resembles what I am looking for is some Test based 
examples which have no indication on how to do it in a Session Bean

  | @Test
  | public void testSayHello() throws Exception {
  | new FacesRequest(/hello.jsp) {
  | @Override
  | protected void updateModelValues() throws Exception {
  | setValue(#{person.name},Michael Yuan);
  | }
  | @Override
  | protected void invokeApplication() {
  | assert getValue (#{person.name}).equals(Michael Yuan);
  | assert invokeMethod(#{manager.sayHello}) == null;
  | assert getValue (#{person.name}) == null;
  | }
  | @Override
  | protected void renderResponse() {
  | ListPerson fans =
  | (ListPerson) getValue(#{fans});
  | assert fans!=null;
  | assert fans.get(fans.size()-1)
  | .getName().equals(Michael Yuan);
  | }
  | }.run();
  | }
  | TestNG-based
  | The entire JSF lifecycle
  | as well as database session
  | are mocked

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100898#4100898

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100898
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Isn't the Core JSTL suppose to be supported?

2007-10-25 Thread samdoyle
Yet when I use the c:forEach and c:choose I get Seam debug window with no 
useful information in it whatsoever. There is no exception being thrown in the 
logs.


  | c:forEach items=#{cameraAccessor.findCamerasForCameraGroup()} 
var=camera
  |   
  |   c:choose
  |  c:when test='#{camera.getDirection() eq N}'
  | li id=northCama class=off href=# 
  |  title=North Camera 
  |  onClick=testFunction('N', 
'#{camera.getId()}');N/a/li
  |  /c:when
  |  c:when test='#{camera.getDirection() eq W}'
  | li id=westCam a class=off href=# 
  |  title=West Camera 
  |  onClick=testFunction('W', 
'#{camera.getId()}');W/a/li
  |  /c:when
  |  c:when test='#{camera.getDirection() eq E}'
  | li id=eastCam a class=off href=# 
  |  title=East Camera 
  |  onClick=testFunction('E', 
'#{camera.getId()}');E/a/li
  |  /c:when
  |  c:when test='#{camera.getDirection() eq S}'
  | li id=southCama class=off href=# 
  |  title=South Camera 
  |  onClick=testFunction('S', 
'#{camera.getId()}');S/a/li 
  |  /c:when
  |  c:otherwise
  |  /c:otherwise
  |   /c:choose
  |   li id=allCama class=off href=# 
  |  title=All Cameras 
  |  onClick=testFunction('ALL', 
'#{camera.getId()}');ALL/a/li
  |   
  |/c:forEach

Both cameraAccessor and camera are Seam components.

Thanks, S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4099065#4099065

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099065
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Isn't the Core JSTL suppose to be supported?

2007-10-25 Thread samdoyle
Please disregard this, this wasn't the problem.

This initially worked but when I added the jstl conditional checking it stopped 
so naturally I blamed it on the jstl. I rolled back everything and it was still 
not working. 

The problem was the method signature used to take a Long parameter but was 
changed to long. The paramter being passed to the page was:

  | param name=groupID value=#{cameraAccessor.cameraGroupID}
  |  converterId=javax.faces.Long/
Using a javax.faces.Long converter. I guess autoboxing isn't supported in this 
matter.

There was no way I could see in the Seam Debug page to indicate this problem. 
It was only a matter of going through all elements that I discovered this.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4099075#4099075

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099075
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Using Seam and Groovy together question

2007-10-22 Thread samdoyle
So I have just started to look at Groovy to see what the hype is about. It is 
interesting to see what appears to be pretty much a dynamically typed version 
of Java. Why this is happening alone has me wondering.

I have worked with some large scale projects awhile ago that were done in Perl 
and TCL. I have not had the the pleasure to work with Python, PHP, Ruby etc. 
but from what I have noticed is that when these projects grow considerably and 
more and more people start delving into the code it can become a bit 
nightmarish to maintain.

That being said now let me come back to using Seam with Groovy. What does this 
really buy me? I understand you can make hot deployments by copying the files 
into a directory without compilation and the next load will make your changes 
visible. So beyond that is there anything I'm missing?
I mean the deployment through using NB for me is pretty quick and I get amazing 
insight and support from the IDE which I don't have with scripting languages.

Looking at some blogs people seem to be raving over things such as closures and 
automatic implied getter/setter operations along with some other syntax related 
suger. 

So once again back to Seam. I mean if I use Groovy aren't I still making use of 
Facelets and JSF components such as RichFaces or is this gone and replaced by 
GSP and Groovlets as I think they are calling them.

Although new technology can be exciting in terms of learning something new I 
really dislike it when now I have to really delve into things to see if this 
actually gives me something that I really need and will make my company and 
myself more productive. I mean if this is the case then I'm all for it. If not 
then am I not wasting my time with the exception that for myself personally I 
have learned yet another new technology framework?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097485#4097485

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097485
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using Seam and Groovy together question

2007-10-22 Thread samdoyle
I know this is a bit winded but would like to hear from someone who has gone 
through the Seam + Groovy experience if there are any out there.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097568#4097568

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097568
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using Seam and Groovy together question

2007-10-22 Thread samdoyle
Nobody has tried Groovy and Seam together? Do I need to be the first and take a 
leap even though I don't really see the reason for doing so? =/

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097607#4097607

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097607
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using Seam and Groovy together question

2007-10-22 Thread samdoyle
Hi Norman and thanks for for the response.

I think we are just going to have to take it for a test drive and see for 
ourselves. I mean I'm pretty happy with Java but if this is something that can 
help in being more productive in the long run then it is certainly worth the 
time evaluating.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097644#4097644

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097644
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Should you allow @Name on entity beans?

2007-10-20 Thread samdoyle
By doing this it makes it easier to do things like embed logic into entity 
beans which is not their intended use. A colleague of mine who is brand new to 
EJB3 and Seam did that just the other day and I was like  wow, that is pretty 
odd.

Unless there are some good use cases for doing this perhaps you guys should 
disallow this or perhaps throw are verbose warning or something?

Just a thought.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097210#4097210

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097210
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Should you allow @Name on entity beans?

2007-10-20 Thread samdoyle
Hello Dan and thanks for the clarification. 

I'm still myself fairly new to Seam myself but we are considering using it in 
two new projects based on successful results in prototyping.

Do you know anything about the status of the server side push JavaScript 
Remoting capability provided by Seam? The last I read was that it was still 
experimental. The regular remoting works great however we are looking at 
requirements that suggest using a push would be a better approach. For the time 
being until Seam has official support for this we are using DWR.

Thanks, S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097213#4097213

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097213
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Is passing a object through el to JavaScript possible?

2007-10-19 Thread samdoyle
Thanks for the response, I'll take a look at that the jsFunction you mentioned.

S.D.

IGx89 wrote : One solution would be to have something like the following in 
your HEAD section:
  | 
  | 
  |   | script
  |   | var status = #{status};
  |   | /script
  |   | 
  | 
  | and just use that var in your script.
  | 
  | Another possible (much more elaborate) method would be to use a4j:jsFunction

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097131#4097131

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097131
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Is passing a object through el to JavaScript possible?

2007-10-19 Thread samdoyle
Just tested this in my case works great! Good stuff.


  | h:selectBooleanCheckbox value=#{staus.isSelected}
  |   a4j:support event=onclick 
  |
onsubmit=test('#{status.statusName}')
  |
action=#{statusAccessor.edit(status)}/
  |/h:selectBooleanCheckbox
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097140#4097140

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097140
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Is passing a object through el to JavaScript possible?

2007-10-19 Thread samdoyle
Basically I want to do something like this but it doesn't appear to work. Is 
there something I can do to make it work?


  | a4j:support event=onclick 
  |onsubmit=javascript:test(#{status})
  |action=#{accessor.edit(status)}/
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097115#4097115

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097115
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Is passing a object through el to JavaScript possible?

2007-10-19 Thread samdoyle
Actually the status field is a var used in interation in a rich:dataTable, in 
addition the JavaScript I want to pass the object to does not use AJAX put 
manipulates decorations on a already rendered GoogleMap.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097132#4097132

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097132
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Why does this not render data when I see the methods being c

2007-10-16 Thread samdoyle
So this simple snippet results in my appropriate breakpoints getting hit such 
as the get description but yet nothing is rendered on the page??


  |  c:forEach items=#{user.getUserAgencies()} var=userAgency
  |   c:forEach items=#{userAgency.getAgencyIncidentTypes()} 
var=incidentType
  |  h:outputText value=#{userAgency.agencyName()} /
  |  h:outputText value=#{incidentType.getDescription()} /
  |   /c:forEach
  |/c:forEach
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4095851#4095851

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095851
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Why does this not render data when I see the methods bei

2007-10-16 Thread samdoyle
View source shows this. I'm not really sure how this is empty seeing how the 
method invocation is being hit and I view the variables and they are filled in 
properly in the debugger.


  | c:forEach items=[EMAIL PROTECTED] var=userAgency
  |   c:forEach items= var=incidentType
  |   /c:forEach
  |/c:forEach/div/div
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4095853#4095853

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095853
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Why does this not render data when I see the methods bei

2007-10-16 Thread samdoyle
Please disregard as it turns out my core tag lib was bound to an older uri. sigh

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4095859#4095859

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095859
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: security-config.xml equivalent in 2.0?

2007-10-04 Thread samdoyle
Thanks Shane, 

I'll take a look whenever I get some spare cycles. I remember seeing a useful 
Eclipse plugin that helps in defining the rules. It's unfortunate there isn't 
one for NetBeans. =/

[EMAIL PROTECTED] wrote : I recommend the drools reference documentation as a 
good starting point for obtaining a fundamental understanding of the default 
rules language, that's pretty much all I've read myself.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4091716#4091716

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091716
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: security-config.xml equivalent in 2.0?

2007-10-03 Thread samdoyle
Great thanks for the information and the workaround. I was't aware that the 
hasPermission would also check the role as well. I'll give this a try.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4091221#4091221

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091221
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: security-config.xml equivalent in 2.0?

2007-10-03 Thread samdoyle
Hi Shane,

This didn't work either.


  | rich:tab switchType=page immediate=true 
  | rendered=#{s:hasPermission('super-user', null, null)} label=Agency 
  | Admin name=AgencyAdmin action=AgencyAdmin
  |ui:include src=menu.xhtml
  |  ui:param name=projectName value=#{projectName}/
  |   /ui:include
  |/rich:tab
  | 

This tab is rendered as part of the landing page after the user has been 
authenticated.

S.D.

[EMAIL PROTECTED] wrote : Oops, you're absolutely right.  In seamspace it 
works because the role check is performed within the context of a (rule-based) 
permission check.  I've fixed this in CVS so that RuleBasedIdentity now checks 
the security context for the existence of the role (as well as checking the 
subject), however if you can't test with the latest CVS version you could 
alternatively replace your s:hasRole() expression with an s:hasPermission() 
expression that simply checks for the existence of the required role.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4091234#4091234

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091234
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: security-config.xml equivalent in 2.0?

2007-10-03 Thread samdoyle
Ah thanks, no I'm preety much a noob to drools. 
Can you point me to some documentation with some solid examples.?
I was looking at a very detailed grammar document but I'm a bit stretched for 
time for delving into that at the moment.

I just checked out the code from cvs and was going to build that and give it a 
try to.

Thanks, S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4091302#4091302

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091302
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: security-config.xml equivalent in 2.0?

2007-10-03 Thread samdoyle
This works awesome though, thanks again!

S.D.

[EMAIL PROTECTED] wrote : What does the source for your rule look like?  It 
should be something like this:
  | 
  | rule IsUserSuperUser
  |   |   no-loop
  |   |   activation-group permissions
  |   | when
  |   |   check: PermissionCheck(name == rolecheck, action == super-user, 
granted == false)
  |   |   Role(name == 'super-user')
  |   | then
  |   |   check.grant();
  |   | end
  | 
  | In this case the expression would be hasPermission('rolecheck', 
'super-user', null).

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4091307#4091307

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091307
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: security-config.xml equivalent in 2.0?

2007-10-02 Thread samdoyle
[EMAIL PROTECTED] wrote : You configure seam security through pages.xml

How do you define the hierarchical relationship amongst roles through the 
pages.xml? I don't see anywhere that provides that which is what was provided 
in the security-config.xml?

Thanks, S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4090771#4090771

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090771
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - What the heck!!!!????

2007-10-02 Thread samdoyle
I'm really starting to lose faith in Seam as I go beyond the simple tutorials 
and examples.


  | javax.el.PropertyNotFoundException: /notificationAdmin.xhtml @50,99
  | value=#{notificationManager.agencyIncidentTypes}: The 
  | class 'org.javassist.tmp.java.lang.Object_$$_javassist_1' does not have 
  | the property 'agencyIncidentTypes'.
  | 

And clearly notificationManager does!!


  | @Stateful
  | @Name(notificationManager)
  | @Scope(ScopeType.CONVERSATION)
  | @Restrict(#{s:hasRole('ultra-user')})
  | public class NotificationManagerBean 
  |implements NotificationManagerLocal {
  |
  |@DataModel
  |private ListAgency agencies;
  |
  |@EJB
  |private AgencyFacadeLocal agencyFacade;
  |
  |@Out(scope=ScopeType.CONVERSATION)
  |private ListIncidentType agencyIncidentTypes = 
  |   new ArrayListIncidentType();
  |
  |/** Creates a new instance of NotificationManagerBean */
  |public NotificationManagerBean() {
  |}
  |
  |@Begin(join=true) // Start the conversation.
  |@Factory(agencies) // for #{agencies} as done now
  |public void factoryAgencies()
  |{
  |   this.agencies =
  |  agencyFacade.findAll();
  |}
  |
  |public void getAgencyIncidentTypes( Agency selectedAgency )
  |{
  |   this.agencyIncidentTypes = selectedAgency.getAgencyIncidentTypes();
  |}
  |
  |// Ends the conversation via cancel operation.
  |@End
  |public void cancel() {}
  |
  |// Ends the conversation via the apply operation.
  |@End 
  |public void apply() {}
  |
  |@Remove
  |public void destroy() {}
  | 
  | }
  | 

Here is the xhtml

  | !DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
  | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | ui:composition xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:rich=http://richfaces.ajax4jsf.org/rich;
  | xmlns:a4j=https://ajax4jsf.dev.java.net/ajax;
  | xmlns:c=http://java.sun.com/jstl/core;
  | template=layout/template3col.xhtml
  |
  |h:messages globalOnly=true styleClass=message/
  |
  |ui:param name=activeTab value=NotificationAdmin/
  |
  |
  |ui:define name=leftsidebar
  |   rich:panel
  |  h:form
  | rich:dataTable id=agencies
  | var=agency value=#{agencies}
  |
  |f:facet name=header
  |   rich:columnGroup
  |  rich:column
  | h:outputText value=Agency Name /
  |  /rich:column
  |   /rich:columnGroup
  |/f:facet
  |
  |rich:column
  |   a4j:commandLink type=submit
  |value=#{agency.agencyName}
  |reRender=incidenttypes
  |
action=#{notificationManager.getAgencyIncidentTypes(agency)}/
  |   !-- s:link 
action=#{notificationManager.getAgencyIncidentTypes(agency)} 
value=#{agency.agencyName}/ --
  |   !-- h:outputText value=#{agency.agencyName} / --
  |/rich:column
  |
  | /rich:dataTable
  |  /h:form
  |   /rich:panel
  |/ui:define
  |
  |ui:define name=content
  |   rich:panel
  |  h:form
  | rich:dataTable id=incidenttypes
  | var=incidentType 
value=#{notificationManager.agencyIncidentTypes}
  |
  |f:facet name=header
  |   rich:columnGroup
  |  rich:column
  | h:outputText value=Incident Type /
  |  /rich:column
  |   /rich:columnGroup
  |/f:facet
  |
  |rich:column
  |   h:outputText value=#{incidentType.description} /
  |/rich:column
  |
  | /rich:dataTable
  |  /h:form
  |   /rich:panel
  |/ui:define
  |
  |ui:define name=rightsidebar
  |/ui:define
  |
  | /ui:composition
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4090818#4090818

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090818
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: What the heck!!!!????

2007-10-02 Thread samdoyle
smithbstl wrote : Is the getter defined on your Local interface?

No I do not have a defined getter in the Local but the 

@DataModel
   private List agencies;

which is implied @Out does not either and it works.

S.D.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4090831#4090831

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090831
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >