[jboss-user] [JBoss Tools (users)] - Re: Runnigs test

2008-02-25 Thread hispeedsurfer
Ok, have seen this issue in jira: JBIDE-1478

But I have another problem using tests:

On startup I use @Observer(org.jboss.seam.postInitialization) to check some 
tasks like scheduling jobs(quartz), putting a message to queue using a mdb etc.

I don't use this class in my test but I receive an exception:

[Parser] Running:
  |   
V:\workspaces\datenvisualisierung\datenvisualisierung-test\test-src\de\oats\datenvisualisierung\test\AlltestTest.xml
  | 
  | WARN  [org.jboss.seam.init.Initialization] Did not install PojoCache due to 
NoClassDefFoundError: org/jgroups/MembershipListener
  | INFO  [org.quartz.simpl.SimpleThreadPool] Job execution threads will use 
class loader of thread: main
  | INFO  [org.quartz.core.QuartzScheduler] Quartz Scheduler v.1.5.2 created.
  | INFO  [org.quartz.simpl.RAMJobStore] RAMJobStore initialized.
  | INFO  [org.quartz.impl.StdSchedulerFactory] Quartz scheduler 
'DefaultQuartzScheduler' initialized from default resource file in Quartz 
package: 'quartz.properties'
  | INFO  [org.quartz.impl.StdSchedulerFactory] Quartz scheduler version: 1.5.2
  | INFO  [org.quartz.core.QuartzScheduler] Scheduler 
DefaultQuartzScheduler_$_NON_CLUSTERED started.
  | FAILED CONFIGURATION: @BeforeClass init
  | javax.ejb.EJBException: java.lang.RuntimeException: exception invoking: init
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:193)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:86)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:166)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:261)
  | at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:119)
  | at $Proxy98.observe(Unknown Source)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
  | at 
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
  | at 
org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:41)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
  | at 
org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
  | at 
org.javassist.tmp.java.lang.Object_$$_javassist_0.observe(Object_$$_javassist_0.java)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:2082)
  | at org.jboss.seam.core.Events.raiseEvent(Events.java:84)
  | at 
org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:97)
  | at org.jboss.seam.init.Initialization.init(Initialization.java:583)
  | at org.jboss.seam.mock.BaseSeamTest.startSeam(BaseSeamTest.java:939)
  | at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:923)
  | at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  | Caused by: java.lang.RuntimeException: exception invoking: init
  | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:135)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:2082)
  | at org.jboss.seam.Component.callCreateMethod(Component.java:2005)
  | at org.jboss.seam.Component.newInstance(Component.java:1976)
  | at org.jboss.seam.Component.getInstance(Component.java:1873)
  | at 

[jboss-user] [JBoss Tools (users)] - Runnigs test

2008-02-23 Thread hispeedsurfer
Hi,

I have problem to runnig tests inside a Seam Web Project using the JBoss Tools 
IDE.

Environment: JBoss Tools 2.0.GA, Seam 2.0.1.GA

When I create a new Seam Web (ear)Project with a simple Seam Action and try to 
run TestNG test as discriped in 'Seam Dev Tools Reference Guide'  the first 
excetion is 
[Parser] Running:
  |   
V:\workspaces\datenvisualisierung\testproject-test\test-src\org\domain\testproject\test\ActionTest.xml
  | 
  | WARN  [org.jboss.seam.init.Initialization] Did not install PojoCache due to 
NoClassDefFoundError: org/jgroups/MembershipListener
  | INFO  [org.ajax4jsf.cache.CacheManager] Selected 
[org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
  | INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] Creating LRUMap cache 
instance using parameters: {}
  | INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] Creating LRUMap cache 
instance of default capacity
  | INFO  [org.ajax4jsf.cache.CacheManager] Selected 
[org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
  | INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] Creating LRUMap cache 
instance using parameters: {}
  | INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] Creating LRUMap cache 
instance of default capacity
  | FAILED CONFIGURATION: @BeforeMethod begin
  | org.jboss.seam.InstantiationException: Could not instantiate Seam 
component: org.jboss.seam.security.identity
  | at org.jboss.seam.Component.newInstance(Component.java:1970)
  | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
  | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
  | at org.jboss.seam.contexts.Lifecycle.beginSession(Lifecycle.java:191)
  | at 
org.jboss.seam.contexts.ServletLifecycle.beginSession(ServletLifecycle.java:124)
  | at org.jboss.seam.mock.BaseSeamTest.begin(BaseSeamTest.java:912)
  | at org.jboss.seam.mock.SeamTest.begin(SeamTest.java:28)
  | Caused by: org.drools.RuntimeDroolsException: Unable to load dialect 
'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java'
  | at 
org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:152)
  | at 
org.drools.compiler.PackageBuilderConfiguration.buildDialectConfigurationMap(PackageBuilderConfiguration.java:140)
  | at 
org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:117)
  | at 
org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:94)
  | at org.jboss.seam.drools.RuleBase.compileRuleBase(RuleBase.java:40)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:2082)
  | at org.jboss.seam.Component.callCreateMethod(Component.java:2005)
  | at org.jboss.seam.Component.newInstance(Component.java:1976)
  | at org.jboss.seam.Component.getInstance(Component.java:1873)
  | at org.jboss.seam.Component.getInstance(Component.java:1840)
  | at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
  | at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
  | at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
  | at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
  | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
  | at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
  | at 
org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
  | at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:111)
  | at org.jboss.seam.Component$ELInitialValue.getValue(Component.java:2360)
  | at org.jboss.seam.Component.initialize(Component.java:1389)
  | at org.jboss.seam.Component.instantiateJavaBean(Component.java:1315)
  | at org.jboss.seam.Component.instantiate(Component.java:1268)
  | at org.jboss.seam.Component.newInstance(Component.java:1966)
  | ... 30 more
  | Caused by: java.lang.RuntimeException: The Eclipse JDT Core jar is not in 
the classpath
  | at 
org.drools.rule.builder.dialect.java.JavaDialectConfiguration.setCompiler(JavaDialectConfiguration.java:93)
  | at 
org.drools.rule.builder.dialect.java.JavaDialectConfiguration.init(JavaDialectConfiguration.java:54)
  | at 
org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:148)
  | ... 58 more
  | ... Removed 28 stack frames
  | SKIPPED CONFIGURATION: @AfterMethod end
  | SKIPPED CONFIGURATION: @AfterClass cleanup
  | SKIPPED: test
  | 
  | ===
  | Action Test
  | Tests run: 1, Failures: 0, Skips: 1
  | Configuration Failures: 1, Skips: 2
  | ===
  | 
  | 
  | ===
  | Action Tests
  | Total tests run: 1, Failures: 0, Skips: 1
  

[jboss-user] [JBoss Seam] - Re: Longrunning process

2008-02-11 Thread hispeedsurfer
Hi,

I have a mdb 
@MessageDriven(name=QueryMessageBean, activationConfig = {
  | @ActivationConfigProperty(propertyName=destinationType, 
propertyValue=javax.jms.Queue),
  | @ActivationConfigProperty(propertyName=destination, 
propertyValue=queue/oatsMessageQueue),
  | @ActivationConfigProperty(propertyName=maxSession, propertyValue=1)
  | 
  | })
  | @Name(queryMessageBean)
  | public class QueryMessageBean implements MessageListener {
  | 
  | @Resource
  | private MessageDrivenContext context;
  | @In(create=true)
  | private MySqlToORDB mySqlToOrdb;

and on class header of MySqlToOrdb I have declared these transactionattribute
@Stateless
  | @Name(mySqlToOrdb)
  | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
  | public class MySqlToORDbBean implements MySqlToORDB {
  | 
  | @PersistenceContext
  | private EntityManager entityManager;

I hope this helps


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

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


[jboss-user] [JBoss Seam] - Re: Longrunning process

2008-01-17 Thread hispeedsurfer
Hi,

thank you. It works now.

First I putted this on methods with the same exception than on to class 
definition and that was the solution.




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

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


[jboss-user] [JBoss Seam] - Re: SWP and quartz propertie file

2008-01-16 Thread hispeedsurfer
Hi Pete, Gavin or someone else,


as I can see the seam.quartz.properties file is also used in quartz example.
But what's the reason for the exception in my case? I already used the same 
file in a fromer seam project without prolems.

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

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


[jboss-user] [JBoss Seam] - Re: SWP and quartz propertie file

2008-01-15 Thread hispeedsurfer
Ok, I tried to put seam.quartz.properties file to ejbModule folder of the 
project. After some ClassNotFoundExceptions I putted the missing apache-commons 
jars to jboss default lib folder.

Then I received the following error:
org.quartz.JobPersistenceException: Couldn't store trigger: No ClassLoaders 
found for: org.jboss.seam.async.AsynchronousInvocation [See nested exception: 
org.quartz.JobPersistenceException: Couldn't store trigger: No ClassLoaders 
found for: org.jboss.seam.async.AsynchronousInvocation [See nested exception: 
java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.seam.async.AsynchronousInvocation]]
  | at 
org.quartz.impl.jdbcjobstore.JobStoreTX.doRecoverMisfires(JobStoreTX.java:1354)
  | at 
org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage(JobStoreSupport.java:2449)
  | at 
org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.run(JobStoreSupport.java:2468)
  | * Nested Exception (Underlying Cause) ---
  | org.quartz.JobPersistenceException: Couldn't store trigger: No ClassLoaders 
found for: org.jboss.seam.async.AsynchronousInvocation [See nested exception: 
java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.seam.async.AsynchronousInvocation]
  | at 
org.quartz.impl.jdbcjobstore.JobStoreSupport.storeTrigger(JobStoreSupport.java:964)
  | at 
org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverMisfiredJobs(JobStoreSupport.java:780)
  | at 
org.quartz.impl.jdbcjobstore.JobStoreTX.doRecoverMisfires(JobStoreTX.java:1352)
  | at 
org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage(JobStoreSupport.java:2449)
  | at 
org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.run(JobStoreSupport.java:2468)
  | * Nested Exception (Underlying Cause) ---
  | java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.seam.async.AsynchronousInvocation
  | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  | at java.lang.Class.forName0(Native Method)
  | at java.lang.Class.forName(Class.java:242)
  | at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:585)
  | at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
  | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
  | at java.util.HashMap.readObject(HashMap.java:1067)
  | 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 
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
  | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  | at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
  | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
  | at 
org.quartz.impl.jdbcjobstore.StdJDBCDelegate.getObjectFromBlob(StdJDBCDelegate.java:3873)
  | at 
org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectJobDetail(StdJDBCDelegate.java:956)
  | at 
org.quartz.impl.jdbcjobstore.JobStoreSupport.storeTrigger(JobStoreSupport.java:917)
  | at 
org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverMisfiredJobs(JobStoreSupport.java:780)
  | at 
org.quartz.impl.jdbcjobstore.JobStoreTX.doRecoverMisfires(JobStoreTX.java:1352)
  | at 
org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage(JobStoreSupport.java:2449)
  | at 
org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.run(JobStoreSupport.java:2468)
  | 07:59:04,260 ERROR [JobStoreTX] MisfireHandler: Error handling misfires: 
Couldn't store trigger: No ClassLoaders found for: 
org.jboss.seam.async.AsynchronousInvocation
  | org.quartz.JobPersistenceException: Couldn't store trigger: No 

[jboss-user] [JBoss Seam] - Re: SWP and quartz propertie file

2008-01-15 Thread hispeedsurfer
Hi nickarls,

thank you for response.

In a Seam-Web-Project all libraries from server are automatically put to 
build-path. So I use quartz.jar from server.

The strange is that I already used the same configuration in a console created 
seam-project.



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

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


[jboss-user] [JBoss Seam] - Re: SWP and quartz propertie file

2008-01-15 Thread hispeedsurfer
Ok,

than I have read this in post from jboss-developer-member that when I would 
like to persist quartz scheduling after server restart, I have to put 
seam.quartz.properties file to project - this was a few month ago and worked in 
a Seam console project. 

Now in a Seam-Web-Project I get the discribed errors. What is now the approach 
to persist quartz?

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

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


[jboss-user] [JBoss Seam] - Re: SWP and quartz propertie file

2008-01-15 Thread hispeedsurfer
Hi Pete,

but can you tell me wy I got this excpetion
anonymous wrote : No ClassLoaders found for: 
org.jboss.seam.async.AsynchronousInvocation

Is there something what I can change to get persistent quartz working?

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

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


[jboss-user] [JBoss Seam] - SWP and quartz propertie file

2008-01-14 Thread hispeedsurfer
Hi

in a normal console created Seam project the seam.quartz.properties file is 
located in the resources folder. 

But there is no quartz file in a Seam-Web-Project. Have I to put these file 
manually or have the quartz configuration changed?


Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Server.log and large tables

2007-12-18 Thread hispeedsurfer
thank you to all

@peter.hilton
I don't have a category with name org.jboss.seam (use jboss-4.2.2.GA)

@Bernix
I have changed the config in the way you pointed and it's ok now

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

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


[jboss-user] [JBoss Seam] - Server.log and large tables

2007-12-17 Thread hispeedsurfer
Hi,

in my application I can call a link to output a large table in a seperate 
browser window. 
When I call this link the server.log grows up from 3.65 MB to 45 MB.

The table is build with richfaces datatabel and subtables and ~260 rows

What the reason for this server.log growing on large table. I don't see any 
helpful entries in the log.

here a short cutting from server.log
2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.contexts.Contexts] found in 
session context: reportDisplay
  | 2007-12-17 20:13:41,299 DEBUG 
[org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor]  
LongLivedSessionPropagationInterceptor
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.core.Events] Processing 
event:org.jboss.seam.preSetVariable.reportDisplay
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.core.Events] Processing 
event:org.jboss.seam.postSetVariable.reportDisplay
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.core.Events] Processing 
event:org.jboss.seam.preSetVariable.org.jboss.seam.this
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.core.Events] Processing 
event:org.jboss.seam.postSetVariable.org.jboss.seam.this
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.core.Events] Processing 
event:org.jboss.seam.preSetVariable.org.jboss.seam.method
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.events
  | 2007-12-17 20:13:41,299 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.events
  | 

[jboss-user] [JBoss Seam] - Re: Server.log and large tables

2007-12-17 Thread hispeedsurfer
ok, as I can see there is a JIRA
http://jira.jboss.org/jira/browse/JBSEAM-2232

but is there something what I can do temporary prevent from this problem 
because I always run in a space problem:

log4j error: Failed to flush writer,

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

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


[jboss-user] [JBoss Seam] - CascadeType.Remove and asynchronous method

2007-12-09 Thread hispeedsurfer
Hi,

I have a entity that is in relation with some other entities with cascade type 
'remove'.

When I call an action from website to remove (entityManager.remove(userQuery);) 
an specific entity all other entities are also removed as expected.

But if the same is called inside an asynchronous method only the first entity 
is removed(userQuery in this case).

Here the quartz scheduled class
@Name(processor)
  | @AutoCreate
  | public class ReportProcessor {
  | 
  | @In 
  | EntityManager entityManager;
  | 
  | @Logger Log log;
  | 
  | @Asynchronous
  | @Transactional
  | public QuartzTriggerHandle scheduleDeleteReport(@Expiration Date when, 
UserQuery userQuery) 
  | { 
  | userQuery = entityManager.merge(userQuery);
  | 
  | log.info([#0] Processing userQuery #1, 
System.currentTimeMillis(), userQuery.getId());
  | 
  | if (userQuery.getActive()) {
  | entityManager.remove(userQuery);
  | }
  | 
  | return null;
  | }
  | }

UserQuery for example is joined with 
@OneToMany(mappedBy=userQuery, cascade=CascadeType.REMOVE)


Is there a solution get this working or what's the cause only the first entity 
is removed?

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

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


[jboss-user] [JBoss Seam] - Dataimport in Seam tests

2007-12-03 Thread hispeedsurfer
Hi,

project is created with seam-gen v.2.0.0.GA
Production DB is MySQL

For testing purpose I filled import-test.sql with values
INSERT INTO Customer (id, version, userName, hashedPassword, email, memberName) 
VALUES
  | (1, 1, 'feivel', 'd41d8cd98f00b204e9800998ecf8427e', '[EMAIL PROTECTED]',  
'00022')

Here the corresponding entity

  | @Entity
  | @Name(user)
  | @Table(name = Customer)
  | public class User implements java.io.Serializable {
  | 
  | private Long id;
  | private Long version;
  | private String userName;
  | private String memberName;
  | private String email;
  | private String hashedPassword;
  | 
  | @Id
  | @GeneratedValue(strategy = IDENTITY)
  | @Column(name = id, unique = true, nullable = false)
  | public Long getId() {return this.id;}
  | public void setId(Long id) {this.id = id;}
  | 
  | @Version
  | @Column(name = version)
  | public Long getVersion() {return this.version;}
  | public void setVersion(Long version) {this.version = version;}
  | 
  | @Column(name = userName, nullable = false)
  | @NotNull
  | public String getUserName() {return this.userName;}
  | public void setUserName(String username) {this.userName = username;}
  | ..
  | }
  | 

But when I run a login-test the values not in HSQLDB
@Test
  |public void testLoginComponent() throws Exception
  |{
  |   new ComponentTest() {
  | 
  |  @Override
  |  protected void testComponents() throws Exception
  |  {
  | assert getValue(#{identity.loggedIn}).equals(false);
  | setValue(#{identity.username}, 00022);
  | setValue(#{identity.password}, );
  | invokeMethod(#{identity.login});
  | assert getValue(#{identity.loggedIn}).equals(true);
  | invokeMethod(#{identity.logout});
  | assert getValue(#{identity.loggedIn}).equals(false);
  | setValue(#{identity.username}, gavin);
  | setValue(#{identity.password}, tiger);
  | invokeMethod(#{identity.login});
  | assert getValue(#{identity.loggedIn}).equals(false);
  |  }
  |  
  |   }.run();
  |}



@Stateless
  | @Name(authenticator)
  | public class AuthenticatorBean implements Authenticator
  | {
  | @Logger
  | private Log log;
  | 
  | @PersistenceContext
  | private EntityManager entityManager;
  | 
  | @In
  | private Identity identity;
  | 
  | @Out(required=false, scope=ScopeType.SESSION) 
  | private User currentUser;
  |
  | public boolean authenticate(){
  | log.info(authenticating #0, identity.getUsername());
  | try {
  | List results = entityManager.createQuery(select u from User u 
where u.memberName =:username).setParameter(username, 
identity.getUsername()).getResultList();
  | if ( results.size()==0 )
  | {
  |return false;
  | }
  | else
  | {
  |currentUser = (User) results.get(0);
  | }
  | } catch (PersistenceException e) {
  | e.printStackTrace();
  | return false;
  | }
  | .

In debug-modus I can see that the returned list from entityManager is empty, 
also I call from User u in sql statement.

I found nothing in docu or forum what I have done wrong. The 
persistence-test.xml is that one created automatically from Seam
?xml version=1.0 encoding=UTF-8?
  | !-- Persistence deployment descriptor for tests --
  | persistence xmlns=http://java.sun.com/xml/ns/persistence; 
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; 
  |  version=1.0
  |  
  |persistence-unit name=datenvisualisierung
  |   providerorg.hibernate.ejb.HibernatePersistence/provider
  |   jta-data-sourcejava:/DefaultDS/jta-data-source
  |   properties
  |  property name=hibernate.hbm2ddl.auto value=create-drop/
  |  property name=hibernate.show_sql value=true/
  |  property name=hibernate.cache.use_second_level_cache 
value=false/
  |  property name=jboss.entity.manager.factory.jndi.name 
value=java:/datenvisualisierungEntityManagerFactory/
  |   /properties
  |/persistence-unit
  | 
  | /persistence
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Dataimport in Seam tests

2007-12-03 Thread hispeedsurfer
But of course I mean data-export.

Normally it should do it's work only fill import-test.sql, is it true?

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

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


[jboss-user] [JBoss Tools (users)] - TestNG fails

2007-12-02 Thread hispeedsurfer
Hi,


I use RHDS CR1 to develop an Seam-2 EAR-project. 

I saw the problems using TestNG and JBoss Tools here: 
http://jira.jboss.org/jira/browse/JBSEAM-2129
http://jira.jboss.com/jira/browse/JBIDE-1129, but need these tests urgently.

Is there something what I can do get tests working?


Thanks

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

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


[jboss-user] [JBoss Tools (users)] - Re: TestNG fails

2007-12-02 Thread hispeedsurfer
Hi Max,

thank you for response. 

I greated this project within RHDS as Seam-Web-Project. So there is no 
build.xml file that I can use seam-gen command line interface.

Is there an other possibility use command line interface?




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

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


[jboss-user] [JBoss Seam] - Re: force cancel quartz timer

2007-11-17 Thread hispeedsurfer
As I demanded for the umpteenth time. Cancel a timer work not in that way as I 
expect.

For i.e. I have a customer paying a rate that should be stoped for a while but 
the payment process is already started. 

In the quartz sample a exception is thrown that the handler can not be 
stopped(cancel) and the message is Payment already processed.

What can I do to force cancel this job?


Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Charts

2007-11-12 Thread hispeedsurfer
Here is an example based on engelme idea that is working for me

import java.io.IOException;
  | import java.io.Serializable;
  | 
  | import org.jboss.seam.annotations.Name;
  | import org.jfree.chart.ChartFactory;
  | import org.jfree.chart.ChartUtilities;
  | import org.jfree.chart.JFreeChart;
  | import org.jfree.chart.plot.PiePlot;
  | import org.jfree.data.general.DefaultPieDataset;
  | 
  | 
  | @Name(chartprocesser)
  | public class ChartProcessor implements Serializable{
  | /**
  |  * 
  |  */
  | private static final long serialVersionUID = 1L;
  | byte[] chart;
  | 
  | 
  | public void createChart()
  | {
  | 
  |  final DefaultPieDataset dataset = new DefaultPieDataset();
  |  dataset.setValue(One, new Double(43.2));
  |  dataset.setValue(Two, new Double(10.0));
  |  dataset.setValue(Three, new Double(27.5));
  |  dataset.setValue(Four, new Double(17.5));
  |  dataset.setValue(Five, new Double(11.0));
  |  dataset.setValue(Six, new Double(19.4));
  |  final JFreeChart chart = ChartFactory.createPieChart(
  |  Pie Chart Demo 2,  // chart title
  |  dataset, // dataset
  |  true,// include legend
  |  true,
  |  false
  |  );
  |  final PiePlot plot = (PiePlot) chart.getPlot();
  |  plot.setNoDataMessage(No data available);
  | 
  |try{
  | this.chart = 
ChartUtilities.encodeAsPNG(chart.createBufferedImage(400, 400));
  |} catch (IOException e){
  | e.printStackTrace();
  |}
  | 
  |   }
  | 
  | 
  | public byte[] getChart() {
  | createChart();
  | return chart;
  | }
  | 
  | 
  | public void setChart(byte[] chart) {
  | this.chart = chart;
  | }
  | 
  | }

a:form id=chartform
  | a:outputPanel id=chart
  | s:graphicImage 
value=#{chartprocesser.chart}/
  | /a:outputPanel
  | /a:form



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

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


[jboss-user] [JBoss Seam] - Right approach using EntityManager and MDB

2007-11-09 Thread hispeedsurfer
Hi

I have not much experience with MDBs.

I need to use EntityManager in combination with a MDB. As I have seen here in 
forum an other user have used this in the same way as follow:

MDB
package de.oats.business.mdb;
  | 
  | import javax.annotation.Resource;
  | import javax.ejb.ActivationConfigProperty;
  | import javax.ejb.MessageDriven;
  | import javax.ejb.MessageDrivenContext;
  | import javax.jms.Message;
  | import javax.jms.MessageListener;
  | import javax.jms.ObjectMessage;
  | 
  | import org.jboss.annotation.ejb.PoolClass;
  | import org.jboss.seam.annotations.In;
  | 
  | 
  | @MessageDriven(name=QueryMessageBean, activationConfig = {
  | @ActivationConfigProperty(propertyName=destinationType, 
propertyValue=javax.jms.Queue),
  | @ActivationConfigProperty(propertyName=destination, 
propertyValue=queue/oatsMessageQueue)
  | 
  | })
  | @PoolClass(value=org.jboss.ejb3.StrictMaxPool.class, maxSize=1)
  | public class QueryMessageBean implements MessageListener {
  | 
  | @Resource
  | private MessageDrivenContext context;
  | @In(create=true)
  | private UserQuery userquery;
  | 
  | public void onMessage(Message message) {
  | QueryTest name = null;
  | 
  | try {
  | if (message instanceof ObjectMessage) {
  | ObjectMessage objMessage = (ObjectMessage) message;
  | Object obj = objMessage.getObject();
  | if (obj instanceof QueryTest) {
  | name = (QueryTest) obj;
  | userquery.setSqlQuery(name.getSqlQuery());
  | userquery.query();
  |  } else {
  | System.err.println(Expecting ProcessDTO in Message);
  | }
  | } else {
  | System.err.println(Expecting Object Message);
  | }
  | } catch (Throwable t) {
  | t.printStackTrace();
  | context.setRollbackOnly();
  | }
  | } 
  | }
  | 
  | 

SLSB
package de.oats.business.mdb;
  | 
  | import java.io.Serializable;
  | import java.sql.Connection;
  | import java.sql.ResultSet;
  | import java.sql.Statement;
  | import java.util.Date;
  | 
  | import javax.ejb.Stateless;
  | import javax.persistence.EntityManager;
  | import javax.persistence.PersistenceContext;
  | 
  | import org.jboss.seam.annotations.In;
  | import org.jboss.seam.annotations.Name;
  | 
  | import de.oats.model.QueryResult;
  | 
  | @Stateless
  | @Name(userQuery)
  | public class UserQueryBean implements UserQuery{
  | 
  | private String sqlQuery;
  | 
  | private static Connection con = null;
  | @PersistenceContext
  | private EntityManager entityManager;
  | 
  | public UserQueryBean() {
  | super();
  | }
  | 
  | public String query(){
  | ResultSet rs;
  | Statement stmt;
  | try {
  | con = MysqlCon.getConnection();
  | stmt = con.createStatement();
  | 
  | rs = stmt.executeQuery(sqlQuery);
  | QueryResult qrslt = null;
  | while(rs.next()){
  | qrslt = new QueryResult();
  | qrslt.setAnzahl(rs.getLong(anzahl));
  | qrslt.setY20gpnum(rs.getString(y20gpnum));
  | qrslt.setLat(rs.getDouble(lat));
  | qrslt.setLon(rs.getDouble(lon));
  | 
  | entityManager.persist(qrslt);
  | }
  | entityManager.flush();
  | } catch (Exception e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | }
  | return 5 seconds for  +kindOfQuery;
  | }
  | public void setSqlQuery(String sqlQuery) {
  | this.sqlQuery = sqlQuery;
  | }
  | 
  | }
  | 

But userquery is always null in spite of @In(create=true)

An other try was to put EntityManager in the ObjectMessage(UserTest) - here is 
null value on entityManager.

Use Seam 2.0 (seam generatet project) and jboss-4.2.1.GA

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

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


[jboss-user] [JBoss Seam] - Custom EntityHome message

2007-11-02 Thread hispeedsurfer
Hi,

I work with Seam EntityHome component. If I update, create or delete an entity 
there is a FacesMessage with english content. 
I need to customize this message for the german language.

In the Home class I can see that message fields are private. Should it be not 
protected to customize messages in derived classes.

On the other hand I work with local-configuration in faces-config.xml and 
messages_de.properties. It would be nice if I can put there the 
correspondending messages!

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

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


[jboss-user] [JBoss Seam] - Re: TransientObjectException in seamspace-like approach

2007-10-26 Thread hispeedsurfer
Hi Pete,

yes I think so. 
@Stateful
  | @Name(register)
  | public class RegisterAction implements Register

and
s:link view=/admin/registration.xhtml propagation=begin value=Neuer 
Benutzer/

If I move adding userrole to last step of my wizard the problem disappears. 

in register():
UserRole ur = (UserRole)entitymanager.createQuery(from UserRole ur where 
ur.name = ' +name +').getSingleResult();
  |this.user.getUserRoles().add(ur);


Is this normal? I thought it should be no matter whether you put this to 
process!

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

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


[jboss-user] [JBoss Seam] - TransientObjectException in seamspace-like approach

2007-10-25 Thread hispeedsurfer
Hi, I try to use a User/UserRole relation and took the seam-space as example

I have a UserRole entity with some predefined rolenames in database

UserRole class:
@Entity
  | @Name(userroles)
  | public class UserRole implements Serializable {
  | 
  | /**
  |  * 
  |  */
  | private static final long serialVersionUID = -8632996340533021763L;
  | private Long id;
  | private Integer version;
  | private String name;
  | 
  | @Id @GeneratedValue
  | public Long getId() {
  |  return id;
  | }
  | 
  | public void setId(Long id) {
  |  this.id = id;
  | }
  | 
  | @Version
  | public Integer getVersion() {
  |  return version;
  | }
  | 
  | @SuppressWarnings(unused)
  | private void setVersion(Integer version) {
  |  this.version = version;
  | }   
  | 
  | @Length(max=20)
  | public String getName() {
  |  return name;
  | }
  | 
  | public void setName(String name) {
  |  this.name = name;
  | }   
  | }


and a User class as counterpart
@Entity
  | @Name(user)
  | @Table(name = user, catalog = oats)
  | public class User implements java.io.Serializable {
  | 
  | /**
  |  * 
  |  */
  | private static final long serialVersionUID = 1L;
  | private long id;
  | private Long version;
  | private String userName;
  | private String email;
  | private SetUserRole userRoles;
  | 
  | public User() {
  | }
  | 
  | public User(long id) {
  | this.id = id;
  | }
  | 
  | @Id @GeneratedValue
  | public long getId() {
  | return this.id;
  | }
  | 
  | public void setId(long id) {
  | this.id = id;
  | }
  | 
  | @Column(name = version)
  | public Long getVersion() {
  | return this.version;
  | }
  | 
  | public void setVersion(Long version) {
  | this.version = version;
  | }
  | 
  | @Column(name = username, unique = true)
  | @NotEmpty
  | public String getUserName() {
  | return this.userName;
  | }
  | 
  | public void setUserName(String username) {
  | this.userName = username;
  | }
  | 
  | @Column(name = email)
  | @Email(message=Email)
  | @NotEmpty
  | public String getEmail() {
  | return this.email;
  | }
  | 
  | public void setEmail(String email) {
  | this.email = email;
  | }
  | 
  | @ManyToMany
  | @JoinTable(name = userroles, joinColumns = @JoinColumn(name = 
USER_ID), inverseJoinColumns = @JoinColumn(name = ROLE_ID))
  | public SetUserRole getUserRoles() {
  | return userRoles;
  | }
  | 
  | public void setUserRoles(SetUserRole userroles) {
  | this.userRoles = userroles;
  | }
  | 
  | }


Than I have a wizard(with a4j:include) to create new users with the predefined 
userroles.
(user data are based on existing values from database)

first step:
div class=navPanel
  | h:outputLabel for=gpid value=GP-Id/h:outputLabel
  | h:inputText id=gpid value=#{user.userName}/h:inputText
  | a4j:commandButton value=Next  
action=#{register.searchGpId}/
  | /div

@Begin
  | public String searchGpId() {
  | String query = from Csy20oats y20 where y20gpnum like ' 
+user.getUserName() +';
  | userSearchResults = 
entitymanager.createQuery(query).getResultList();
  | return next;
  | }

these results are displayed in a datatable and one record can be used to select 
user data
div class=navPanel
  | 
  | rich:scrollableDataTable 
  | rows=10
  | id=userresultdatatable
  | var=data
  | 
value=#{register.userSearchResults}
  | rich:column width=50px
  | f:facet name=headerh:outputText 
value=GP-Id/h:outputText/f:facet
  | h:outputText 
value=#{data.y20gpnum}/h:outputText
  | /rich:column
  | rich:column width=150px
  | f:facet name=headerh:outputText 
value=Name/h:outputText/f:facet
  | h:outputText 
value=#{data.y21kname}/h:outputText
  | /rich:column
  | rich:column width=75px
  | f:facet name=headerh:outputText 
value=Aktion/h:outputText/f:facet
  | a:commandLink id=userselectlink 
action=#{register.selectUser(data)} value=Ausweahlen/a:commandLink
  | /rich:column
  | 
  | /rich:scrollableDataTable
  | /div
  | 

public String 

[jboss-user] [JBoss Seam] - Re: approach using seam tests

2007-10-14 Thread hispeedsurfer
Sorry,

first time 2.0.CR1 and than latest from cvs.

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

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


[jboss-user] [JBoss Seam] - Re: force cancel quartz timer

2007-09-24 Thread hispeedsurfer
is there nobody else with a similar situation cancel a async call although the 
timer is already processed?


hope for reply!!!

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

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


[jboss-user] [JBoss Seam] - Re: force cancel quartz timer

2007-09-24 Thread hispeedsurfer
hi juntao,

I know that I can cancel the timer with QuartzTriggerHandler, but if the 
process is already called the first time and there some other calls in the 
future(i.e. daily calls) I can't cancel the timer this way.

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

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


[jboss-user] [JBoss Seam] - force cancel quartz timer

2007-09-21 Thread hispeedsurfer
hi,

what's the way to force cancel a timer. I always receive the message in payment 
example Payment already processed. But sometimes in my case a timer have to 
be stopped although he's processed.

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

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


[jboss-user] [JBoss Seam] - Re: Maintain async calls after restart

2007-09-20 Thread hispeedsurfer
ok sorry, only the non-existing tables were the root of the problem.

There some scripts creating these tables for the corresponding db in 

quartz-1.6.0.zip\docs\dbTables 


Now it works

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

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


[jboss-user] [JBoss Seam] - restrictions to local intranet

2007-09-18 Thread hispeedsurfer
hi,

is it possible with Seam securing components to restrict user-access to some 
admin regions in web-app only from (local) intranet?

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

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


[jboss-user] [JBoss Seam] - Re: Ask for some understanding

2007-09-11 Thread hispeedsurfer
ok christian,

thank you for help. Now it's clear.

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

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


[jboss-user] [JBoss Seam] - Ask for some understanding

2007-09-10 Thread hispeedsurfer
I know Seam for a while, but have some questions regarding things like @Scope. 
@Stateful and Interfaces.

If I create a Bean with @Stateful and @Scope(ScopeType.SESSION) annotation for 
example I have to implement an interface to access fields and methods from my 
JSF page. If I create a Bean without @Stateful annotation but with 
@Scope(ScopeType.SESSION) I don't need an interface for access.

Now, why I should use @Stateful annotation or is ther any benefit, because I 
can reach goal without interfaces?


I would be grateful to hear ...

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

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


[jboss-user] [JBoss Seam] - EL enhancements and EntityQuery

2007-09-06 Thread hispeedsurfer
Hi,

I use a rich:datatabel component to display data from an class extending the 
EntityQuery class

  | @Name(recipientsList)
  | public class RecipientsList extends EntityQuery {
  | 

from datatable i use method expression

  | h:form
  | rich:dataTable id=searchresults
  | 
onRowMouseOver=this.style.backgroundColor='#F1F1F1'
  | 
onRowMouseOut=this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'
  | var=addrlist
  | value=#{addresslist}
  | f:facet name=header
  | rich:columnGroup
  | rich:column
  | h:outputText 
value=Surname/h:outputText
  | /rich:column
  | /rich:columnGroup
  | /f:facet
  | rich:column
  | h:outputText 
value=#{addrlist.surname}/h:outputText
  | /rich:column
  | a:support id=support1 event=onRowClick 
action=#{recipientsList.selectedRecipient(addrlist)}/
  | /rich:dataTable
  | /h:form
  | 
to call selectedRecipient on above class and set the selected recipient from 
table in the class.

In firebug I can see that the ajax-request works, but the method in class is 
never called (debug). There is nothing to see, no error or whatever.

I also have used a:support and richt:dataTable in the same way with an 
other app and there the correspondending method is called. 
Is there a limitation using EL enhancement or why method is not called in this 
case?

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: SSL Security in seam

2007-09-05 Thread hispeedsurfer
Can you tell me how solved the problem?


Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Maintain async calls after restart

2007-09-04 Thread hispeedsurfer
Hi Michael,

can you tell me what I have to change in properties file to get quartz working 
with mysql for example. 
I see the seam.quartz.properties in CVS but it's not obvious for me what I have 
to do.

org.quartz.scheduler.instanceName Sched1
  | org.quartz.scheduler.instanceId 1
  | org.quartz.scheduler.rmi.export false
  | org.quartz.scheduler.rmi.proxy false
  | 
  | org.quartz.threadPool.class org.quartz.simpl.SimpleThreadPool
  | org.quartz.threadPool.threadCount 3
  | 
  | org.quartz.jobStore.class org.quartz.simpl.RAMJobStore
  | 


Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Maintain async calls after restart

2007-08-28 Thread hispeedsurfer
Hi,

it's important for me. Is it possible to maintain quartz scheduled job after 
server restart anf if the answer is 'yes' please tell tell me what I have to 
do!!!


Thanks
Andreas 

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

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


[jboss-user] [JBoss Seam] - select multiple entities for datatable

2007-08-25 Thread hispeedsurfer
Have used several attempts to display data from multiple entities without 
success
List reslist = entityManager.createQuery(select qr.gpnum, csy.name from 
QueryResult qr, Csy20oats csy where qr.gpnum=csy.y20gpnum).getResultList();
  | return reslist;

rich:dataTable id=entitylist var=results value=#{gmBean.resultList}
  | h:column
  | f:facet name=headername/f:facet
  | #{results.name}
  | /h:column
  | h:column
  | f:facet name=headergpnum/f:facet
  | #{results.gpnum}
  | /h:column
  | 
  | /rich:dataTable

display data from only one entity - no problem
List reslist = entityManager.createQuery(select qr from QueryResult qr, 
Csy20oats csy where qr.gpnum=csy.y20gpnum).getResultList();
  | return reslist;

Also have used ListDataModel, but it's the same.

Is it possible to display data from multiple entities and if 'yes', what I have 
to do?

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

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


[jboss-user] [JBoss Seam] - Re: Maintain async calls after restart

2007-08-14 Thread hispeedsurfer
Please,

can someone tell me if it's normal with quartz, that the job after server 
restart is gone. 

Or, better - what can I do to maintain quartz scheduled calls after restart.


Thanks


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

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


[jboss-user] [JBoss Seam] - Maintain async calls after restart

2007-08-13 Thread hispeedsurfer
Hi,

what can I do to maintain asynchronous calls after shutdown of JBoss AS?

I use the similar asynchronous call as in quartz example. Everything works 
fine, but after server restart all timers (or whatever is created in 
background) are gone. 

What is be designed to keep such timers in memory?

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

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


[jboss-user] [JBoss Seam] - Re: Maintain async calls after restart

2007-08-13 Thread hispeedsurfer
I don't know if quartz use EJB3 timer, because in JMX-Console under 
EJBTimerService - java.util.List listTimerHandles() no timer is listed after 
start asynchronous method. 

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

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


[jboss-user] [JBoss Seam] - Re: Maintain async calls after restart

2007-08-13 Thread hispeedsurfer
I have read that the use of quartz is the better solution. But there should be 
a possibilty to persist async calls across server restart.

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

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


[jboss-user] [JBoss Seam] - Re: how to upload file ?

2007-07-02 Thread hispeedsurfer
Have a look at seam/examples/seamspace.

register2.xhtml and the correspondending bean show how to use fileupload with 
seam.

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

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


[jboss-user] [JBoss Seam] - Re: Seam, problem with EntityManager

2007-07-02 Thread hispeedsurfer
if you have the following in components.xml
core:managed-persistence-context name=entityManager
  |   auto-create=true
  |persistence-unit-jndi-name=java:/TestEntityManagerFactory/

you can use
@In(create=true)
  | private EntityManager entityManager;

But one question. Why you have managed-bean stuff in faces-config.xml?
This should be handelt from your annotations in your bean, I think!

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad Ajax4JSF

2007-07-02 Thread hispeedsurfer
thanks,
works now

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

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


[jboss-user] [JNDI/Naming/Network] - Re: 10061: Connection refused

2007-06-27 Thread hispeedsurfer
Thank you Peter.
Have solved my problem with note to Configuration Issues.

Set address to 0.0.0.0 under server/default/deploy/jboss-web.deployer/server.xml

  | Connector port=8080 address=0.0.0.0
  | 

Is the same as -b option?

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

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


[jboss-user] [JNDI/Naming/Network] - 10061: Connection refused

2007-06-26 Thread hispeedsurfer
I'am not sure if this is the right place for my problem.

environment:
- jboss-4.2.0.GA
- seam-1.3.Alpha
-W2K
-java 6 jdk


No problem with jboss-4.0.5.GA and seam-1.2.1 or a call from localhost:8080

But if I try to call my webapp or the the server with http://ip-address:8080 
the following code is shown in my browser.
Error Code 10061: Connection refused 
  | 

Use NegotiateKerberos for authentication. So far no problems.

No exception thrown in console with debug-mode. Nothing to see.

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

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


[jboss-user] [EJB 3.0] - Re: problem with EJBQL queries in JBoss 4.2.0 GA

2007-06-21 Thread hispeedsurfer
Hello,

Is there a known problem with illegal attempt to dereference collection 
exception?

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

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


[jboss-user] [EJB 3.0] - Re: problem with EJBQL queries in JBoss 4.2.0 GA

2007-06-19 Thread hispeedsurfer
The same exception with my quer. Runs on jboss-4.0.5.GA but not on 
jboss-4.2.0.GA

 error
 java.lang.IllegalArgumentException: org.hibernate.QueryException: illegal 
attempt to dereference collection 
[{synthetic-alias}messmittel0_.messmitteltyp_idmessmitteltyp.funktionen] with 
element property reference [id] [select me.id from 
de.bosch.ccecp.mmd.model.Messmittelexemplar me where 
messmitteltyp.funktionen.id=1]

in 

  | try{
  | l = em.createQuery(select me.id from 
Messmittelexemplar as me where messmitteltyp.funktionen.id= + 
me.getId()).getResultList();
  | for (Object o : l){
  | ids += , + o;
  | }
  | }catch(Exception e){
  | e.printStackTrace();
  | }
  | 

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

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


[jboss-user] [JBoss Seam] - Re: entity update without submit

2007-06-18 Thread hispeedsurfer
Thank you pete,

have performed bybassUpdates on cancel-commitLink and wondered about entity 
update anymore.
Now on a:support it work expected.



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

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


[jboss-user] [JBoss Seam] - entity update without submit

2007-06-15 Thread hispeedsurfer
Have the problem that the entity is updated without a submit.
Once I have changed the value of the drop-down-menu it's directly updated to 
database.

This should not the correct behaviour!?! But I don't know why?


  | s:decorate id=generationDecorator template=edit.xhtml
  | ui:define name=labelGeneration:/ui:define
  | h:selectOneMenu id=gen value=#{specialrelease.generation} 
converter=#{selectItemHelper} required=true
  | f:selectItems value=#{specialreleaseeditor.allGenerations}/
  | a:support event=onblur reRender=generationDecorator/
  | /h:selectOneMenu
  | f:verbatim
  | a 
href=javascript:Richfaces.showModalPanel('_gpanel',{left:'auto', top:'auto'})
  | New Generation
  | /a
  | /f:verbatim
  | br  /
  | s:message/s:message
  | /s:decorate
  | 
  | 

This is what to see in console firsthand of change. 

  | 15:22:06,480 INFO  [STDOUT] Hibernate: update specialreleases set 
version=?, generation_id=?, creater_id=?, requestNumber=?, description=?, 
requestYear=?, status=?, document=?, numberOfParts=?, valideToDate=?, 
permitDate=?, timerHandle=? where id=? and version=?
  | 

Is this possible in case of a wrong configuration or what can it be? 

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

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


[jboss-user] [JBoss Seam] - s:fileupload and a4j

2007-06-06 Thread hispeedsurfer
one question.

WHAT is the reason WHY s:fileuplaod and a4j submit not working together?

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

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


[jboss-user] [JBoss Seam] - Re: Simplest s:fileUpload usage

2007-06-02 Thread hispeedsurfer
in my case I see a upload field with button. But the values for file, filename 
and contenttype in the backing bean are always null and getter/setter are never 
called only I comment the s:fileupload. In ohter forms in my app there is no 
problem with fileupload only in this one.



  | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
  |   
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | html xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | xmlns:a=https://ajax4jsf.dev.java.net/ajax;
  | xmlns:rich=http://richfaces.ajax4jsf.org/rich;
  | xmlns:t=http://myfaces.apache.org/tomahawk;
  | head
  | meta http-equiv=Content-Type content=text/html; charset=UTF-8 /
  | titlesonderfreigabe/title
  | link href=./stylesheet/theme.css rel=stylesheet type=text/css /
  | link href=./stylesheet/date.css rel=stylesheet type=text/css /
  | /head
  | 
  | body
  | div id=bodycontent
  | div id=north
  | div id=info
  | div id=text class=infos| Imprint | 
Contact | 02/23/2007/div
  | /div
  | div id=corporateID
  | div id=hdrLogoimg src=img/logo3.png 
alt=logo //div
  | /div
  | div id=bradgrum class=infos
  | /div
  | div id=status
  | a:status
  | f:facet name=start
  | h:graphicImage 
value=/img/mozilla_blu.gif/h:graphicImage
  | /f:facet
  | f:facet name=stop
  | h:graphicImage 
value=/img/connect_idle.gif/h:graphicImage
  | /f:facet
  | /a:status/div
  | /div
  | 
  | div id=west
  | h:form
  | a:commandLink action=#{specialreleaseeditor.create} 
value=New Specialrelease reRender=center immediate=true/a:commandLink
  | /h:form
  | /div
  | 
  | 
  | h:panelGroup id=center
  | h:messages globalOnly=true 
styleClass=message/
  | !-- this is included normally with ui:include
  | 
  | div id=content
  | span class=errors
  |h:messages id=mainmassage globalOnly=true/
  | /span
  | div id=uppercontent2
  | h:form id=upperform enctype=multipart/form-data
  | s:validateAll
  | div class=formfield style=float: left; width: 
100%;
  | 
  | h:panelGrid id=upperPanelGrid 
columns=1
  | 
  | 
  | 
  | 
  | s:decorate 
id=descriptionDecorator template=edit.xhtml
  | ui:define 
name=labelDescription:/ui:define
  | h:inputTextarea 
id=desc value=#{specialreleaseeditor.description} required=true
  | a:support 
event=onblur reRender=descriptionDecorator/
  | /h:inputTextarea
  | br  /
  | /s:decorate
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | s:decorate
  | h:panelGrid 
id=fileugrid
  | h:outputLabel 
for=fileuploadFile/h:outputLabel
  | s:fileUpload id=fileupload 
data=#{specialreleaseeditor.file} accept=*/* 
fileName=#{specialreleaseeditor.fileName} 
contentType=#{specialreleaseeditor.fileContentType}/
  | br  /
  | 
s:message/s:message
  | /h:panelGrid
  | /s:decorate
  | 

[jboss-user] [JBoss Seam] - Re: Simplest s:fileUpload usage

2007-06-01 Thread hispeedsurfer
@morellon
which alteration you mean?

My binding is always null.

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Simplest s:fileUpload usage

2007-05-31 Thread hispeedsurfer
Hi Shane,
have updated the fileupload example in JIRA.

Have tested and should explode-able on JBoss-4.2.0.GA.

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

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


[jboss-user] [JBoss Seam] - Re: Simplest s:fileUpload usage

2007-05-29 Thread hispeedsurfer
Hello Shane,

have you an explanation for this problem?

After press save in my example all fields should be accessed.
But the fields still have null values.


Hope you can help.


Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Simplest s:fileUpload usage

2007-05-28 Thread hispeedsurfer
Hi Shane,

have create a report to JIRA. 
http://jira.jboss.org/jira/browse/JBSEAM-1360

I never have done this before. Hope is ok.


Thanks


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

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


[jboss-user] [JBoss Seam] - Re: Simplest s:fileUpload usage

2007-05-24 Thread hispeedsurfer
It's exactly the same behaviour in my app. 

But I use Facelets(*.xhtml).
The strange thing I found out: If I comment s:fileUpload tag, the fields are 
entered

!--s:fileUpload id=fileupload data=#{specialreleaseeditor.file} 
accept=*/* fileName=#{specialreleaseeditor.fileName} 
contentType=#{specialreleaseeditor.fileContentType}/--

Without the comment the getter/setter of the fields file, fileName and 
fileContentType are not called in debug mode.

Use Seam 1.2.1 and have configured the app as discriped. No exception is thrown.

What can I do, get this working.



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

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


[jboss-user] [JBoss Seam] - Re: Dte Pciker not interested in my formatter

2007-05-23 Thread hispeedsurfer
Hi have exactly the same problem and already put resource servlet to web.xml

If I pick 1st June it result in 06/01/2007 instead of 01/06/2007


  | s:decorate id=dateDecorator template=edit.xhtml
  | h:inputText value=#{specialrelease.valideToDate} id=validToDate 
required=true
  | s:convertDateTime pattern=dd/MM//
  | a:support event=onblur reRender=dateDecorator/
  | /h:inputText
  | s:selectDate for=validToDate dateFormat=dd/MM/
  | h:graphicImage url=img/dtpick.gif 
style=margin-left:5px;cursor:pointer/h:graphicImage
  | /s:selectDate
  | s:message/
  | /s:decorate
  | 

Use JBoss Seam 1.2.1
jboss-seam-ui.jar is placed in WEB-INF/lib folder

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

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


[jboss-user] [JBoss Seam] - cancel timer after restart

2007-05-10 Thread hispeedsurfer
Hi,

have implemented a timer as shown in seampay example.

Also have used the cancel method to stop the timer. 

Until server is restarted the method work as expected. But after server restart 
ich receive the message like Payment already processed in seampay example.

How can I cancel the timer after server restart using java?



THX
ANdi

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

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


[jboss-user] [Security JAAS/JBoss] - Re: NegotiateKerberos

2007-04-23 Thread hispeedsurfer
You have to put 

negotiate.jar 
  | negotiate-src.jar
  | 
  | 
  | to lib folder of your server

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

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


[jboss-user] [JBoss Seam] - Re: Seam and Richfaces : Drag and Drop Problem

2007-04-20 Thread hispeedsurfer
Hi davidetaibi

anonymous wrote : Look in 
deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml
  | 
  | set UseJBossWebLoader=true 

Now it works

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

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


[jboss-user] [JBoss Seam] - Re: Seam and Richfaces : Drag and Drop Problem

2007-04-18 Thread hispeedsurfer
Hi,

have the same problem.

  | javax.faces.el.MethodNotFoundException: /specialreleaseeditor.xhtml 
@107,140 dropListener=#{requestlist.processDrop}: Method not found: 
RequestListBean:5c4o1y-w4tnnw-f0o94j20-1-f0opgfby-1s.processDrop(org.ajax4jsf.dnd.event.DropEvent)
  | 

@stu2
What your DanD inferface looks like?




  | @Stateful
  | @Scope(ScopeType.CONVERSATION)
  | @Name(requestlist)
  | @SuppressWarnings(unchecked)
  | public class RequestListBean extends AbstractChildListBeanRequest, 
SpecialRelease implements
  | RequestList {
  | public void processDrop(DropEvent dropEvent) {
  | Dropzone dropzone = (Dropzone) dropEvent.getComponent();
  | 
  | }
  | 
  | }
  | 


  | package de.bosch.ecp.business;
  | 
  | import java.util.List;
  | 
  | import javax.ejb.Local;
  | 
  | import org.ajax4jsf.dnd.event.DropEvent;
  | import org.ajax4jsf.dnd.event.DropListener;
  | 
  | import de.bosch.ecp.abstracts.AbstractChildList;
  | import de.bosch.ecp.model.Request;
  | import de.bosch.ecp.model.SpecialRelease;
  | 
  | @Local
  | public interface RequestList extends AbstractChildListRequest, 
SpecialRelease{
  | public void processDrop(DropEvent dropEvent);
  | }
  | 
  | 

If I implement DropListener in RequestlistBean problem is the same as well.

Use jboss-seam-1.2.1.GA seam-gen, 
ajax4jsf-1.1.1-SNAPSHOT.jar
richfaces-3.0.1-20070414.000828-14.jar
tomahawk-1.1.5-SNAPSHOT.jar

in WEB-INF\lib folder

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

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


[jboss-user] [JBoss Seam] - Re: DataModelSelection not updated

2007-04-13 Thread hispeedsurfer
Hi Pete,

thank you for your suggestion. I use now el enhancement and it works.


Bye
Andi

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

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


[jboss-user] [JBoss Seam] - Re: DataModelSelection not updated

2007-04-13 Thread hispeedsurfer
You can find on Seam docs what el enhancement is. 

Look at
http://docs.jboss.com/seam/1.2.1.GA/reference/en/html/elenhancements.html

page parameters are also descriped there
http://docs.jboss.com/seam/1.2.1.GA/reference/en/html/events.html#d0e3803

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

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


[jboss-user] [JBoss Seam] - Re: DataModelSelection not updated

2007-04-12 Thread hispeedsurfer
Hi Pete,

I don't know what you mean. Neither page parameters nor el enhancement should 
be used for my problem.

First time I load a table with all entries. When I select a row, the 
correspondending entity is displayed on the bottom of the page.

Then I use search to reduce the table with this one

  | a:region id=searchRegion renderRegionOnly=false
  |h:inputText id=searchString 
value=#{specialreleaselist.searchString} style=width: 165px;
  |  a:support event=onkeyup 
actionListener=#{specialreleaselist.find} reRender=searchResults, lowerform 
requestDelay=1 /
  |/h:inputText
  | /a:region!-- End searchRegion --
  | 

A few entries are display now, but when I select on of these (i.e. the first 
one) the displayed entity is this one from whole table of the first load. 

Why DataModelSelection not updated on search result table? There should be a 
possibility to refresh the DataModelSelection!

Have no idea to solve this with el or page parameters


Thanks

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

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


[jboss-user] [JBoss Seam] - Re: DataModelSelection not updated

2007-04-11 Thread hispeedsurfer
Helllo,

no idea why the selected datamodel not updated? Only the sequence from whole 
table are existent in reduced table.


Thanks
Andi

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

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


[jboss-user] [JBoss Seam] - DataModelSelection not updated

2007-04-10 Thread hispeedsurfer
Hi,

have a table and use row selection with DataModelSelection. If the whole table 
is loaded all is perfect. But when I use searchpattern like in booking 
example(ajax) to reduce tablesize DataModelSelection not updated. For example 
all times the first row from whole table is selected while this row no longer 
exist in reduced table.


  | public abstract class AbstractListBeanT extends BaseEntityimplements 
Serializable {
  | 
  | protected String searchString;
  | 
  | @PersistenceContext
  | protected EntityManager em;
  | 
  | 
  | @DataModelSelection
  | private T selectedEntity;
  | }
  | 


  | @Stateful
  | @Scope(ScopeType.CONVERSATION)
  | @Name(specialreleaselist)
  | @SuppressWarnings(unchecked)
  | public class SpecialreleaseListBean extends 
AbstractListBeanSpecialRelease implements
  | SpecialreleaseList {
  | 
  | /**
  |  * 
  |  */
  | private static final long serialVersionUID = 1L;
  | 
  | 
  | @In
  | FacesMessages facesMessages;
  | 
  | @DataModel
  | protected ListSpecialRelease sprTablelist;
  | 
  | 
  | @Factory(sprTablelist)
  | public void find(){
  | sprTablelist =  loadList();
  | }
  | @Factory(value=specialreleasepattern, scope=ScopeType.EVENT)
  | public String getSearchPattern(){
  |   return searchString==null ? 
  | % : '%' + searchString.toLowerCase().replace('*', '%') + 
'%';
  | }
  | 
  | 
  | protected ListSpecialRelease loadList() {
  | List readFromDB = null;
  | readFromDB = readFromDB(select s from SpecialRelease s where 
lower(s.description) like #{specialreleasepattern});
  | 
  | return readFromDB;
  | }
  | }

What is the right way updating DataModelSelection?


Thanks
Andi

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

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


[jboss-user] [JBoss Seam] - Need help

2007-04-03 Thread hispeedsurfer
Hi,

I hope someone can help me.
I have a search field to reduce a table result similar like in booking example. 
This search field is placed on a template based site.
But only the first site how share this template uses the search field in right 
way.

template.xhtml

  | ui:composition xmlns=http://www.w3.org/1999/xhtml;
  |   xmlns:ui=http://java.sun.com/jsf/facelets;
  |   xmlns:h=http://java.sun.com/jsf/html;
  |   xmlns:f=http://java.sun.com/jsf/core;
  |   xmlns:s=http://jboss.com/products/seam/taglib;
  |   xmlns:a=https://ajax4jsf.dev.java.net/ajax;
  |   xmlns:rich=http://richfaces.ajax4jsf.org/rich;
  |   xmlns:t=http://myfaces.apache.org/tomahawk;
  |   xmlns:sb=http://myfaces.apache.org/sandbox;
  |  div id=content
  | h:form id=searchform
  |   
  | span class=errors
  |h:messages globalOnly=true/
  | /span
  | 
  | 
  | fieldset 
  | a:region id=searchRegion 
renderRegionOnly=false
  |h:inputText id=searchString 
value=#{searchboxlist.searchString} style=width: 165px;
  |  a:support event=onkeyup 
actionListener=#{searchboxlist.find} reRender=searchResults, lowerform 
requestDelay=1 /
  |/h:inputText
  |sb:focus id=focus for=searchString/
  | /a:region!-- End searchRegion --
  | 
  |   
  |a:status for=searchRegion
  |   f:facet name=start
  |  h:graphicImage value=/img/spinner.gif/
  |   /f:facet
  |/a:status
  | /fieldset
  | 
  |   /h:form!-- End searchform --
  |   
  | 
  | ui:insert name=values /
  | /div!-- End content --
  | /ui:composition
  | 
searchboxlist holding the currend business bean (ui:param name=searchboxlist 
value=#{userlist} /)

This template is used from several inner pages that are included with 
ui:include src=#{currentSite}/

one of this inner site is like this one
userlist.xhtml (in this case currentSite contain userlist.xhtml)

  | ui:composition xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | xmlns:a=https://ajax4jsf.dev.java.net/ajax;
  | xmlns:rich=http://richfaces.ajax4jsf.org/rich;
  | xmlns:t=http://myfaces.apache.org/tomahawk;
  | template=/skeleton-list.xhtml
  | 
  | ui:param name=searchboxlist value=#{userlist} /
  | 
  | ui:define name=values
  | div id=uppercontent
  | a:outputPanel id=searchResults
  | a:form id=upperform
  | rich:dataTable
  | 
onRowMouseOver=this.style.backgroundColor='#F1F1F1'
  | 
onRowMouseOut=this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'
  | cellpadding=0 cellspacing=0 
width=840 border=0 var=user
  | columnsWidth=205 
value=#{usertablelist}
  | 
  | f:facet name=header
  | rich:columnGroup
  | rich:column
  | h:outputText 
value=erste/h:outputText
  | /rich:column
  | rich:column
  | h:outputText 
value=zweite/h:outputText
  | /rich:column
  | rich:column
  | h:outputText 
value=dritte/h:outputText
  | /rich:column
  | rich:column
  | h:outputText 
value=vierte/h:outputText
  | /rich:column
  | /rich:columnGroup
  | /f:facet
  | 
  | rich:column
  | h:outputText 

[jboss-user] [JBoss Seam] - Template not working properly

2007-04-03 Thread hispeedsurfer
Hey, no idea whats wrong.

why userlist.find is called when I pass adminlist to template?
Normally only adminlist.find should be called.

I see that the right page (admins.xhtml) is displayed but userlist in template 
is called. 



thanks

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

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


[jboss-user] [JBoss Seam] - Session wide variable

2007-03-26 Thread hispeedsurfer
Hi,

what can I do to maintain a session wide variable?

I have a class Site with a variable currentSite.
At startup this currentSite should store the startpage i.e. main.xhtml
In other classes I should set this variable to the next displayed page.

to change the sites this is the section where is reRendered on an action to 
change the currentSite

  | h:panelGroup id=center
  | a4j:outputPanel id=first
  | a4j:include viewId=#{site.currentSite} /
  | /a4j:outputPanel
  | /h:panelGroup
  | 


I have tried some experiments with static field etc. but without success.

Please can help me someone!!!

Thanks
Andi

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

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


[jboss-user] [JBoss Seam] - Re: Session wide variable

2007-03-26 Thread hispeedsurfer
Ok, thank you KoniKoni for the first time.

An what can I do to initialize a value like main.xhtml at startup?
Is it possible?


Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Session wide variable

2007-03-26 Thread hispeedsurfer
in pages.xml i have now a call to init method to initialize the start-value.

@In Context sessionContext works gread. 

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Dynamic navigation with partial page rendering

2007-03-20 Thread hispeedsurfer
If nobody would response, one easier question.

Is it possible with facelets/templates and a4j rerender to redraw only the 
ui:insert tag of the main-template

main.xhtml (template)

  | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
  |   
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | html xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | xmlns:a4j=https://ajax4jsf.dev.java.net/ajax;
  | xmlns:rich=http://richfaces.ajax4jsf.org/rich;
  | xmlns:t=http://myfaces.apache.org/tomahawk;
  | head
  | meta http-equiv=Content-Type content=text/html; charset=UTF-8 /
  | titleSF/title
  | link href=./stylesheet/theme.css rel=stylesheet type=text/css /
  | /head
  | 
  | body
  | div id=bodycontent
  | div id=north
  | /div
  | 
  | div id=westui:include src=./layout/navigation.xhtml 
//div
  | 
  | a4j:outputPanel id=center
  | h:panelGroup id=group
  | ui:insert name=content /
  | /h:panelGroup
  | /a4j:outputPanel
  | /div
  | /body
  | /html
  | 

navigation.xhtml

  | 
  | ui:composition xmlns=http://www.w3.org/1999/xhtml;
  |   xmlns:ui=http://java.sun.com/jsf/facelets;
  |   xmlns:h=http://java.sun.com/jsf/html;
  |   xmlns:f=http://java.sun.com/jsf/core;
  |   xmlns:s=http://jboss.com/products/seam/taglib;
  |   xmlns:a4j=https://ajax4jsf.dev.java.net/ajax;
  |   xmlns:rich=http://richfaces.ajax4jsf.org/rich;
  |   xmlns:t=http://myfaces.apache.org/tomahawk;
  |  h:form
  | 
  | 
  | rich:panelBar height=300 id=panelbar width=160
  | rich:panelBarItem 
binding=#{pagecontent.myBarItem} id=sf label=SF
  | a4j:regiona4j:commandLink 
action=#{pagecontent.find} value=button 
reRender=center/a4j:commandLink/a4j:region
  | /rich:panelBarItem
  | rich:panelBarItem 
binding=#{pagecontent.myBarItem2} id=adb label=Addressbook 
contentClass=activeItem
  | a4j:regiona4j:commandLink 
action=#{pagecontent.find} value=buttona4j:support event=onclick 
reRender=center/a4j:support/a4j:commandLink/a4j:region
  | /rich:panelBarItem
  |  /rich:panelBar
  |  /h:form
  | /ui:composition
  | 

action=#{pagecontent.find} calls the find method to return the outcome(i.e. 
usereditor).

usereditor.xhtml

  | ui:composition xmlns=http://www.w3.org/1999/xhtml;
  |   xmlns:ui=http://java.sun.com/jsf/facelets;
  |   xmlns:h=http://java.sun.com/jsf/html;
  |   xmlns:f=http://java.sun.com/jsf/core;
  |   xmlns:s=http://jboss.com/products/seam/taglib;
  |   xmlns:a4j=https://ajax4jsf.dev.java.net/ajax;
  |   xmlns:rich=http://richfaces.ajax4jsf.org/rich;
  |   xmlns:t=http://myfaces.apache.org/tomahawk;
  |   template=main.xhtml
  |  ui:define name=content
  | br/
  | h:form
  | s:validateAll
  | f:facet name=aroundInvalidField
  | s:span styleClass=errors/
  | /f:facet
  | div id=undiv class=entry
  | div class=labelh:outputLabel 
for=usernameUsername:/h:outputLabel/div
  | div class=input
  | s:decorate
  | h:inputText id=username 
value=#{user.username} required=true partialSubmit=true /h:inputText
  |  br/
  |  s:message/
  | /s:decorate
  | /div
  | /div
  | /s:validateAll
  | /h:form
  | /ui:define
  | /ui:composition
  | 

navigation.xml

  | ?xml version='1.0' encoding='UTF-8'?
  | !DOCTYPE faces-config PUBLIC
  |   -//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN
  |   http://java.sun.com/dtd/web-facesconfig_1_1.dtd;
  | 
  | faces-config
  | 
  |navigation-rule
  |   navigation-case
  |  from-outcomehome/from-outcome
  |  to-view-id/home.xhtml/to-view-id
  |  redirect /
  |   /navigation-case
  |/navigation-rule
  |navigation-rule
  |   navigation-case
  |  from-outcomeusereditor/from-outcome
  |  to-view-id/usereditor.xhtml/to-view-id
  |  redirect /
  |   /navigation-case
  |/navigation-rule
  | /faces-config
  | 

If I call the startpage (userlist.seam) of this application all is perfect. 
But when i press the button of the navigation the page is display as xml

  |   ?xml version=1.0 ? 
  | - html xmlns=http://www.w3.org/1999/xhtml;
  | - head
  |   

[jboss-user] [JBoss Seam] - Dynamic navigation with partial page rendering

2007-03-19 Thread hispeedsurfer
Hi,

I know a4j and richfaces. I want to build a dynamic menu with rich:panelBar and 
rich:panelBarItem. Every time a commandLink inside the panelBarItem is clicked 
only the desired content should be rerendert.

My site is greated in classic style with header, menu on west-side and the 
center content. 
main.xhtml
div id=westui:include src=./layout/navigation.xhtml //div
  | 
  | div id=center
  | h:panelGroup id=dritter
  | ui:include src=#{pagecontent.mySite} /
  | /h:panelGroup
  | /div
navigation.xhtml

  | h:form
  | rich:panelBar height=300 id=panelbar width=160
  | rich:panelBarItem binding=#{pagecontent.myBarItem} id=sf 
label=Sonderfreigaben
  | divh:commandLink 
actionListener=#{pagecontent.find} value=buttona4j:support 
event=onclick reRender=center/a4j:support/h:commandLink/div
  | /rich:panelBarItem
  |  /rich:panelBar
  | /h:form
  | 

from PageContentBean.java  the find method

  | public void find(ActionEvent event){
  | HtmlPanelBarItem modBarItem = (HtmlPanelBarItem)myBarItem;
  | ...
  | mySite = usereditor.xhtml;
  | }

After pressed button the usereditor page is display but the whole site is 
rerendert not only the center content.

Is there a gap in my mind?

Please, can someone tell me what is to do get this correctly working. An 
example would be helpful.

I hope it was not to difficult to understand (non native speaker, sorry)

Thanks
Andi

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

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


[jboss-user] [EJB 3.0] - Re: @ManyToOne results in tinyblob

2007-03-06 Thread hispeedsurfer
Hi Andy,

thank you for response. I think mixing annotations levels was the cause of my 
problem. Now it works.

Thanks


Bye
Andi

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

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


[jboss-user] [EJB 3.0] - Re: @ManyToOne results in tinyblob

2007-03-04 Thread hispeedsurfer
Hi,

why nobody post a reply? 

This project was build with Seam 1.1.1GA on XAMPP(1.5.4a) MySQL(5.0.24a) 
database. 


What can I do to create a foreign key build on the referenced primary key 
instead of the tinyblob? OR Why at all there is created a tinyblob?


Thanks

Andreas



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

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


[jboss-user] [EJB 3.0] - @ManyToOne results in tinyblob

2007-02-26 Thread hispeedsurfer
Hi,

I'am working on JBoss-4.0.5.GA with EJB3 on MySQL.
Why a @ManyToOne join result in a tinyblob instead of a foreign-key?

My entities are a Baseentity and some derived classes with such @ManyToOne 
connections.

Here the BaseEntity
@MappedSuperclass
  | public abstract class BaseEntity implements Serializable{
  | 
  | @Column(name=__UUID__, unique=true, nullable=false, updatable=false, 
length=36)
  | protected String internalUUID;
  | 
  | 
  | protected Long id;
  | protected Integer version;
  | 
  | @Id @GeneratedValue
  | protected Long getId(){
  | return id;
  | }
  | 
  | protected void setId(Long id){
  | this.id = id;
  | }
  | 
  | @Version
  | protected Integer getVersion(){
  | return version;
  | }
  | public void setVersion(Integer version) {
  | this.version = version;
  | }
  | 
  | public BaseEntity(){
  | this.internalUUID = java.util.UUID.randomUUID().toString();
  | }
  | 
  | @Override
  | public boolean equals(Object o) {
  | return (o == this || (o instanceof BaseEntity  
internalUUID.equals(((BaseEntity)o).internalUUID)));
  | }
  | 
  | public String toString() {
  | return getClass().getSimpleName() +  Id:  + getId();
  | }
  | 
  | @Override
  | public int hashCode() {
  | return internalUUID.hashCode();
  | }
  | 
  | 
  | }

a derived class
@Entity
  | @Name(generation)
  | @Table(name=generations)
  | @SuppressWarnings(unused)
  | public class Generation extends BaseEntity {
  | 
  | /**
  |  * 
  |  */
  | private static final long serialVersionUID = 6004105498293729499L;
  | private String name;
  | 
  | /**
  |  * 
  |  */
  | public Generation() {
  | // TODO Auto-generated constructor stub
  | }
  | public String getName() {
  | return name;
  | }
  | public void setName(String name) {
  | this.name = name;
  | }
  | }

and the class with manytoone relation
@Entity
  | @Name(specialrelease)
  | @Table(name=specialreleases)
  | @SuppressWarnings(unused)
  | public class SpecialRelease extends BaseEntity {
  | 
  | /**
  |  * 
  |  */
  | private static final long serialVersionUID = -8813581197028149761L;
  | static final int NOTRELEASED= 1;
  | static final int NOTPERMITTED   = 2;
  | static final int ONDEMAND   = 3;
  | static final int DECLINED   = 4;
  | static final int EXPIRED= 5;
  | static final int NOTVALID   = 6;
  | 
  | 
  | //@NotNull
  | private Long requestNumber;
  | 
  | 
  | private String description;
  | 
  | @ManyToOne
  | private Generation generation;
  | 
  | 
  | /**
  |  * 
  |  */
  | public SpecialRelease() {
  | // TODO Auto-generated constructor stub
  | status = NOTRELEASED; //Genemhmigungsprozess noch nicht 
gestartet
  | }
  | 
  | 
  | public Generation getGeneration() {
  | return generation;
  | }
  | 
  | public void setGeneration(Generation generation) {
  | this.generation = generation;
  | }
  | }
  | 

Even I tried to put @JoinColumn(name=generation_id, 
referencedColumnName=id) to the relation the result is the same.


An idea what I can to to avoid the tinyblob?


Thanks
Andreas

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

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


[jboss-user] [JBoss Seam] - Re: Check interval

2007-02-24 Thread hispeedsurfer
Hi,

for all with the same problem. 
There is a good example named seam-pay.



Bye!

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

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


[jboss-user] [JBoss Seam] - Re: Check interval

2007-02-21 Thread hispeedsurfer
I have seen various variation with @Asyncronous or Ejb3TimerService but I don't 
know what's the right for me to run from startup and check expiration date 
every day to send an email. 
The send email is not the problem only schedule the service.


I hope for help.



Thanks
Andreas


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

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


[jboss-user] [EJB 3.0] - Re: ENTITY not mapped

2007-02-02 Thread hispeedsurfer
Hi Andy,

thank you for response. Unfortunatly your suggestion not bring the desired 
result.


On hibernate forum I found that absence Serializable can cause the problem, but 
the BaseEntity class that extends Person class implements serialisation.


I hope it's not a similar problem like 
http://www.jboss.com/index.html?module=bbop=viewtopict=98829


Any other idea?


Thanks
Andreas

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

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


[jboss-user] [EJB 3.0] - Re: ENTITY not mapped

2007-02-02 Thread hispeedsurfer
Ok,

found out that I have to use the fully qualified name in query like

from de.foo.ecp.model.Person p where p.class='US' order by name, forename


But why. What is to do using only the entity name?


Thanks
Andreas

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

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


[jboss-user] [EJB 3.0] - ENTITY not mapped

2007-02-01 Thread hispeedsurfer
Hi,

I using a InheritanceType.SINGLE_TABLE and try to query this, but without 
success.

Here my abstract superclass
@Entity
  | @Name(person)
  | @Inheritance(strategy = InheritanceType.SINGLE_TABLE)
  | @DiscriminatorColumn(name = PERSON_TYPE, discriminatorType = 
DiscriminatorType.STRING)
  | @SuppressWarnings(unused)
  | public abstract class Person extends BaseEntity{
  | 
  | @Id @GeneratedValue 
  | @Column(name = PERSON_ID)
  | private Long id;
  | ...

and the extended subclass
@Entity
  | @DiscriminatorValue(US)
  | @Name(user)
  | public class User extends Person
  | . {

Now when I use to query (from person where PERSON_TYPE='US' order by name, 
forename) the user class the following exception is thrown
Caused by: org.hibernate.hql.ast.QuerySyntaxException: person is not mapped 
[from person where PERSON_TYPE='US' order by name, forename]

All tables are created when the app is deployed.

Using JBoss-4.0.5.GA with Seam 1.1.1


Any idea whats wrong in my app?


Thanks
Andreas

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

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


[jboss-user] [Beginners Corner] - Re: Simple action not called

2007-01-16 Thread hispeedsurfer
Hi,

can please anybode have a look on my code.

I have no idea what's wrong and what I have to do call the method onListLoad() 
suggessful.


Thanks
Andreas

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

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


[jboss-user] [JBoss Seam] - param delivery on facelet template

2007-01-16 Thread hispeedsurfer
Hi,

is it possible to deliver a param value from website to website?

I have a template with sidebar container etc and a few derived pages from this 
template. In some cases I dont want display the sidebar.

For this case I thought to can pass a parameter to template and use this value 
for 'renderer' attribut. But this doesn't work.

template
div id=sidebar rendered=#{!dialog} div class=menua href.. /div

derived page
h:outputLink value=foo.seam target=_blank
  |   f:param name=conversationId value=#{conversation.id}/
  |   f:param name=dialog value=true /
  |   h:outputText value=edit/ 
  | /h:outputLink

But the sidebar is allways displayed.
What can I do to solve this problem?


Thanks
Andi

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

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


[jboss-user] [JBoss Seam] - Re: Refresh entities

2007-01-15 Thread hispeedsurfer
Hi, 

My fault: A new browser instance comes a new workspace/conversation.
Here my solution. 

Therefor the conversationID has to pass with a new browser window(open link in 
new window).



div class=menua 
href=foo.seam?conversationId=#{conversation.id}Foo/a/div

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

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


[jboss-user] [JBoss Seam] - Re: Refresh entities

2007-01-13 Thread hispeedsurfer
Hi,

what can I do to refresh the rerenderd result from Entitymanager?

Any idea?



Thanks
andi

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

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


[jboss-user] [JBoss Seam] - Refresh entities

2007-01-12 Thread hispeedsurfer
How can I refresh entities in the following case.

I have a page that contains:
div class=entry
  | a4j:log hotkey=M /
  | a4j:commandButton value=Reload 
reRender=Sensor/
  | div class=labelSensor:/div
  | div class=input
  | a4j:region renderRegionOnly=false
  | h:selectOneMenu id=Sensor 
value=#{messkette.sensor}
  | 
converter=#{selectItemHelfer} required=true disabled=#{gesperrt}
  | f:selectItems 
value=#{messketteEditor.alleSensorenMitBlank} /
  | a4j:support 
event=onchange reRender=Funktion, Sensormessbereich, Einheit, Sensorwarnung 
/
  | /h:selectOneMenu
  | /a4j:region
  | h:message for=Sensor 
styleClass=message /
  | divh:outputText id=Sensorwarnung 
value=#{messketteEditor.sensorWarnung} styleClass=kursiv //div
  | /div  
  | /div

Sometimes I need to edit or create a entry from database in a second instance 
of web browser. So the list in messketteEditor has changed. But when I perform 
the Reload commandButton the outcome is the same with no changes. 
What I have to do tell the Entitymanger to refresh the list from database.

Here the function that will be executet when a entity is changed or created
public String speichern() {
  | 
  | checkKorrekterAufruf();
  | 
  | if (!vorSpeichern()) {
  | ejbCtx.setRollbackOnly();
  | return null;
  | }
  | 
  | try {
  | 
  | String message = ;
  | 
  | T entity = getEntity();
  | 
  | if (neu) {
  | //Neues Entity, anlegen
  | em.persist(entity);
  | message = angelegtMessage();
  | loggeAenderung(getEntity(), angelegt);
  | } else {
  | //Bestehendes Entity, Änderungen übernehmen
  | setEntity(em.merge(entity));
  | message = bearbeitetMessage();
  | loggeAenderung(getEntity(), bearbeitet);
  | }
  | 
  | nachSpeichern();System.out.println(entity);
  | 
  | em.flush();
  | 
  | addMessage(message);
  | 
  | } catch (Exception ex) {
  | ejbCtx.setRollbackOnly();
  | addWarning(speichernError() +   + exceptionListe(ex));
  | System.out.println(ex.getMessage());
  | ex.printStackTrace();
  | 
  | return null;
  | }
  | 
  | return zurueckOutcome; 
  | }

and this is the code to return the list
private ListStandardEntity listeHolen(Class? extends StandardEntity klasse, 
String where, String order) {
  | 
  | String klassenName = klasse.getName();
  | 
  | String query = from  + klassenName;
  | if (where != null)
  | query +=  where  + where;
  | if (order != null)
  | query +=  order by  + order;
  | 
  | ListStandardEntity liste;
  | 
  | try {
  | liste = (ListStandardEntity) 
em.createQuery(query).getResultList();
  | } catch (Exception ex) {
  | //Im Fehlerfall (z.B. nichts gefunden) leere Liste 
erzeugen
  | ex.printStackTrace();
  | liste = new VectorStandardEntity();
  | }
  | 
  | return liste;
  | }

Is there a solution for this case?


Thanks
andi

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4000915

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam doesn't play with ICEFaces

2007-01-12 Thread hispeedsurfer
Hello Felix,

thank you for response. Can you please post the fix for this problem.


Thanks
andi

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Same query doesn't work on jboss-4.0.5.GA

2007-01-11 Thread hispeedsurfer
Ok it works 
Thanks to andydale.

First I extracted hibernate-3.2.0.ga.zip. From the hibernate directory with ant 
I executed with 5 errors.
Then I have copied the directory to eclipse workspace and make a new project 
from existing ant. build.xml - Run as ant build: Error.

Now from workspace/hibernate directory I started ant from console over again. 
Yeaaah

And the query execute successful!!!

Is there a easier way to get this started?


Thanks
andreas

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Same query doesn't work on jboss-4.0.5.GA

2007-01-10 Thread hispeedsurfer
Hi,

Can someone tell me why a query in my webapp on jboss-4.0.4.GA runs 
successfully, but on jboss-4.0.5.GA the resultlist is empty.

query= from org.foo.Measurement where measure.sensor = true and id != 0 order 
by measure.typ
@In(create=true)
  | ...
  | private EntityManager em;
  | ...
  | liste = em.createQuery(query).getResultList();
  | 

component.xml
component name=em class=org.jboss.seam.core.ManagedPersistenceContext
  | property name=persistenceUnitJndiName
  | java:/EntityManagerFactories/boschMmdData
  | /property
  | /component
  | 

All libraries on jboss the same, the database too.

Thanks
andi



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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Same query doesn't work on jboss-4.0.5.GA

2007-01-10 Thread hispeedsurfer
additional info.


  | same app.ear deployed on both servers. 
  | database: mysql (xampp)
  | entities mapped to database an filled with values
  | other lists from database tables are displayed in my app 
  | mysql libraries placed in lib jbossas/server/default/lib
  | 
  | 
  | only on the new server the getResultList() is empty - but why?
  | 
  | Thanks
  | Andreas

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Same query doesn't work on jboss-4.0.5.GA

2007-01-10 Thread hispeedsurfer
Is there an other configuration on jboss-4.0.5.GA as on jboss-4.0.4.GA for 
peristance access or what the problem 

here the stack trace


08:31:52,743 ERROR [STDERR] java.lang.NullPointerException
  | 08:31:52,743 ERROR [STDERR] at 
org.hibernate.hql.ast.tree.FromClause.findIntendedAliasedFromElementBasedOnCrazyJPARequirements(FromClause.java:120)
  | 08:31:52,759 ERROR [STDERR] at 
org.hibernate.hql.ast.tree.FromClause.containsClassAlias(FromClause.java:247)
  | 08:31:52,759 ERROR [STDERR] at 
org.hibernate.hql.ast.tree.FromClause.isFromElementAlias(FromClause.java:135)
  | 08:31:52,759 ERROR [STDERR] at 
org.hibernate.hql.ast.HqlSqlWalker.isNonQualifiedPropertyRef(HqlSqlWalker.java:474)
  | 08:31:52,759 ERROR [STDERR] at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.addrExpr(HqlSqlBaseWalker.java:4382)
  | 08:31:52,790 ERROR [STDERR] at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.addrExprLhs(HqlSqlBaseWalker.java:4830)
  | 08:31:52,790 ERROR [STDERR] at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.addrExpr(HqlSqlBaseWalker.java:4311)
  | 08:31:52,790 ERROR [STDERR] at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.expr(HqlSqlBaseWalker.java:1212)
  | 08:31:52,790 ERROR [STDERR] at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.orderExprs(HqlSqlBaseWalker.java:1545)
  | 08:31:52,790 ERROR [STDERR] at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.orderExprs(HqlSqlBaseWalker.java:1639)
  | 08:31:52,790 ERROR [STDERR] at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.orderClause(HqlSqlBaseWalker.java:1521)
  | 08:31:52,790 ERROR [STDERR] at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:622)
  | 08:31:52,790 ERROR [STDERR] at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
  | 08:31:52,790 ERROR [STDERR] at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
  | 08:31:52,790 ERROR [STDERR] at 
org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:228)
  | 08:31:52,790 ERROR [STDERR] at 
org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:160)
  | 08:31:52,790 ERROR [STDERR] at 
org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
  | 08:31:52,790 ERROR [STDERR] at 
org.hibernate.engine.query.HQLQueryPlan.init(HQLQueryPlan.java:77)
  | 08:31:52,790 ERROR [STDERR] at 
org.hibernate.engine.query.HQLQueryPlan.init(HQLQueryPlan.java:56)
  | 08:31:52,790 ERROR [STDERR] at 
org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
  | 08:31:52,790 ERROR [STDERR] at 
org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
  | 08:31:52,806 ERROR [STDERR] at 
org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)
  | 08:31:52,806 ERROR [STDERR] at 
org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623)
  | 08:31:52,806 ERROR [STDERR] at 
org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:92)
  | 08:31:52,806 ERROR [STDERR] at 
de.beffo.seam.helper.SelectItemHelfer.listeHolen(SelectItemHelfer.java:139)
  | 08:31:52,806 ERROR [STDERR] at 
de.beffo.seam.helper.SelectItemHelfer.getSelectItemsMitBlank(SelectItemHelfer.java:112)
  | 08:31:52,806 ERROR [STDERR] at 
de.beffo.seam.helper.SelectItemHelfer$$FastClassByCGLIB$$bed44e52.invoke(generated)
  | 08:31:52,806 ERROR [STDERR] at 
net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | 08:31:52,806 ERROR [STDERR] at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  | 08:31:52,806 ERROR [STDERR] at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  | 08:31:52,806 ERROR [STDERR] at 
org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23)
  | 08:31:52,806 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor943.invoke(Unknown Source)
  | 08:31:52,806 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 08:31:52,806 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:597)
  | 08:31:52,806 ERROR [STDERR] at 
org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | 08:31:52,806 ERROR [STDERR] at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | 08:31:52,837 ERROR [STDERR] at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | 08:31:52,837 ERROR [STDERR] at 
org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:33)
  | 08:31:52,837 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor956.invoke(Unknown Source)
  | 

[jboss-user] [JBoss Seam] - Seam doesn't play with ICEFaces

2007-01-09 Thread hispeedsurfer
My question is 'why this app work with pur Seam and MyFaces, but not with 
ICEFaces'

1. Abstract editor class
public abstract class AbstractEditorBeanT extends StandardEntity extends 
AbstractEditorListeGemeinsamesT implements Serializable {
  | .
  | .   
  | protected boolean neu;
  | 
  | @Begin(nested=true, ifOutcome={editor})
  | public String bearbeiten() {
  | 
  | if (id == null) {
  | addWarning(idError());
  | return main;
  | }
  | 
  | //Entity holen
  | try {
  | setEntity((T) em.find(getEntityClass(), 
Long.parseLong(id)));
  | neu = false;
  | if (getEntity() == null) throw new Exception();
  | } catch (Exception ex) {
  | addWarning(findenError());
  | return null;
  | }
  | 
  | nachLaden();
  | 
  | //Alles ok? Dann Editor anzeigen
  | return editor;
  | }
  | .
  | .
  | public boolean getNeu() {
  | checkKorrekterAufruf();
  | return neu;
  | }
  | .
  | .
  | }
  | 

2.  Measurement class
@Stateful
  | @Scope(ScopeType.CONVERSATION)
  | @Name(messmitteltypEditor)
  | @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) 
  | public class MessmitteltypEditorBean extends 
AbstractEditorBeanMessmitteltyp implements MessmitteltypEditor {
  | 
  | @In(required=false) @Out(required=false)
  | private Messmitteltyp messmitteltyp;
  | .
  | .
  | }

3. All changes to web.xml, faces-config.xml and lib dirs for ICEFaces as 
descriped 
here:http://support.icesoft.com/jive/servlet/KbServlet/download/623-102-847/SeamKBArticle.txt

4. The xhtml pages:
a)messmittelTypListe.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:ui=http://java.sun.com/jsf/facelets;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | xmlns:t=http://myfaces.apache.org/tomahawk;
  | template=vorlage-liste.xhtml
  | 
  | !-- content --
  | 
  | ui:param name=ueberschrift value=Messmitteltypen /
  | ui:param name=editor value=#{messmitteltypEditor} /
  | ui:param name=liste value=#{messmitteltypListe} /
  | ui:param name=login value=true /
  | 
  | ui:define name=content
  | 
  | .
  | 
  | /ui:define
  | 
  | /ui:composition
  | 

b)
Template
vorlage-liste.xhtml - this call AbstractEditor.bearbeiten
!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:ui=http://java.sun.com/jsf/facelets;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | xmlns:t=http://myfaces.apache.org/tomahawk;
  | template=vorlage-grundgeruest.xhtml
  | .
  | .
  | .
  | 
  | t:dataTable var=zeile 
value=#{liste.eintraege}
  | rendered=#{liste.eintraege.rowCount  
0} styleClass=table
  | 
  | ui:insert name=content /
  | 
  | t:column styleClass=breite16
  | h:commandLink 
action=#{editor.bearbeiten} !-- this call AbstractEditor.bearbeiten() neu= 
true --
  | f:param name=id 
value=#{zeile.id} /
  | h:graphicImage 
value=/img/edit.gif /
  | /h:commandLink
  | /t:column
  | 
  | /t:dataTable

c)
Template
vorlage-editor.xhtml - Exception getting value of property neu of base of typ
!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:ui=http://java.sun.com/jsf/facelets;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | xmlns:t=http://myfaces.apache.org/tomahawk;
  | template=vorlage-grundgeruest.xhtml
  | 
  | !-- Hauptteil --
  | 
  | ui:define name=hauptteil
  | 
  | div class=section
  | h1
  | #{ueberschrift}
  

[jboss-user] [JBoss Seam] - Re: Seam doesn't play with ICEFaces

2007-01-09 Thread hispeedsurfer
Hello,

I think it's a bug like descriped here
http://www.jboss.com/index.html?module=bbop=viewtopicp=3991677#3991677

Can it be?



Thanks
Andreas

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

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


[jboss-user] [JBoss Seam] - Re: Seam doesn't play with ICEFaces

2007-01-09 Thread hispeedsurfer
Hi Jerome,

thank you for reply. I have tried to modify the PersistentFacesServlet.java as 
descriped. But in the icefaces.src.core package ELSetPropertiesRule.java is an 
error that getExpressionFactory() is undefined for type Application.

When I try to export this package as jar file to my ice-application the 
following exception is thrown:

java.lang.UnsupportedOperationException: Cannot set ServletRequest Parameter
  | at 
org.apache.myfaces.context.servlet.RequestParameterMap.setAttribute(RequestParameterMap.java:44)
  | at 
org.apache.myfaces.context.servlet.AbstractAttributeMap.put(AbstractAttributeMap.java:104)
  | at 
com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:341)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
  | at 
org.jboss.web.tomcat.security.HttpServletRequestResponseValve.invoke(HttpServletRequestResponseValve.java:70)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:619)
  | 13:34:11,577 ERROR [[Persistent Faces Servlet]] Servlet.service() for 
servlet Persistent Faces Servlet threw exception
  | java.lang.UnsupportedOperationException: Cannot set ServletRequest Parameter
  | at 
org.apache.myfaces.context.servlet.RequestParameterMap.setAttribute(RequestParameterMap.java:44)
  | at 
org.apache.myfaces.context.servlet.AbstractAttributeMap.put(AbstractAttributeMap.java:104)
  | at 
com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:341)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 

[jboss-user] [JBoss Seam] - Re: HelloWorld-Ajax with Facelets

2006-12-22 Thread hispeedsurfer
Hello folks,

can please someone reply whether it's possible to solve the problem with 
parameters and facelets.

Or is it not possible to use blueprints library with facelets?


thx
andi

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

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


[jboss-user] [JBoss Seam] - HelloWorld-Ajax with Facelets

2006-12-21 Thread hispeedsurfer
Hello,

running the helloworld4 example with .jsp from JBoss Seam Book was successful.

Here the code:

ManagerAction.java
int MAX_RESULTS_RETURNED = 10;
  |   String [] popularNames = new String [] {
  |   Gavin King, Thomas Heute, Michael Yuan,
  |   Norman Richards, Bill Burke, Marc Fleury
  |   };
  |   public void suggestName (FacesContext context,
  |String partialName, CompletionResult result) {
  | 
  | System.out.println(Auto Complete method is called);
  | 
  | int totalNum = 0;
  | if (partialName.length()  0) {
  |   for (int i=0; ipopularNames.length; i++) {
  | if 
(popularNames.toLowerCase().indexOf(partialName.toLowerCase())!=-1
  |  totalNum  MAX_RESULTS_RETURNED) {
  | 
  |   result.addItem(popularNames);
  |   totalNum++;
  | }
  |   }
  | } else {
  |   for (int i=0; iMAX_RESULTS_RETURNED 
  |ipopularNames.length; i++) {
  | result.addItem(popularNames);
  |   }
  | }
  | 
  |   }

hello.jsp
h:form
  | 
  | h:panelGrid columns=2
  |   h:outputText value=Your Name /
  |   h:panelGroup
  | ui:autoComplete
  | size=15 id=name
  | completionMethod=#{manager.suggestName}
  | value=#{greeter.name}
  | required=false /
  | h:message for=name /
  |   /h:panelGroup

Now, when I use Facelets for a similar example with same Bean-Code I receive 
the Error:
ELException: /hello2.xhtml: Bean: 
org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$73f8c9e7, property: suggestName
11:29:38,603 ERROR [STDERR] 21.12.2006 11:29:38 
com.sun.facelets.FaceletViewHandler handleRenderException
  | SCHWERWIEGEND: Error Rendering View[/hello2.xhtml]
  | javax.el.ELException: /hello2.xhtml: Bean: 
org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$73f8c9e7, property: suggestName
  | at 
com.sun.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:53)
  | at 
com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
  | at 
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:433)
  | at 
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
  | at 
org.apache.myfaces.shared_impl.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:75)
  | at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
  | at 
org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:442)
  | at 
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java:216)
  | at 
org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:98)
  | at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 

[jboss-user] [JBoss Seam] - Re: HelloWorld-Ajax with Facelets

2006-12-21 Thread hispeedsurfer
Hi,

I think it's a problem with the parameters of suggestName() method. But how can 
I pass the required values?

thx
andi

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

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


[jboss-user] [JBoss Seam] - Re: HelloWorld-Ajax with Facelets

2006-12-21 Thread hispeedsurfer
It's included as ui.tld (I think) in the bpcatalog-ee5-ea-0.6-installer.jar 
from sun's blueprints website

https://www.dev.java.net/files/documents/1713/36734/bpcatalog-ee5-ea-0.6-installer.jar

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Authentication in NT Domain

2006-11-27 Thread hispeedsurfer
Is it possible to receive the username from clientside in a ejb3-Bean? (without 
user interaction)

Yes/No


Andreas

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

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


  1   2   >