[jboss-user] [JBoss Seam] - Re: How to prevent startup console log info?

2008-02-04 Thread appendix
Just increase the log level for javax.servlet.ServletContextListener (Generic Welcome Message), org.jboss.seam.deployment.* and org.jboss.seam.init.* to WARN or higher. Regards, Kurt View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126041#4126041 Reply to the

[jboss-user] [JBoss Seam] - Re: s:formattedText fails with dynamic content being null

2008-02-03 Thread appendix
Hi Pete, thank you for your response. I've filed an issue (http://jira.jboss.com/jira/browse/JBSEAM-2572). Unfortunately I didn't had the chance to test more recent Seam releases so far. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126016#4126016 Reply to

[jboss-user] [JBoss Seam] - s:formattedText fails with dynamic content being null

2008-01-29 Thread appendix
Hi, we were facing random ugly XML Parsing errors in our seam application, which is using s:formattedText with content from backing beans like the following example: | s:formattedText value=some text referring to the users email, which is optional (*#{user.email}*), but the address should

[jboss-user] [JBoss Seam] - Re: authenticator.authenticate called several times

2008-01-22 Thread appendix
Hi! I had same issue some time ago. Have a look at the following thread in this forum: http://www.jboss.com/index.html?module=bbop=viewtopict=122033 Cheers, K. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122073#4122073 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Why I got java.lang.NoClassDefFoundError when using some

2007-12-18 Thread appendix
Hi, you've probably two versions of richfaces-ui*.jar in your ear package. Just put all richfaces.jars into the lib directory of your ear so they are visible to all the packages within the ear. Regards, Kurt View the original post :

[jboss-user] [JBoss Seam] - Re: Ajax, conversation and multiple requests..

2007-12-05 Thread appendix
Hi! Pete, thank you very much! I'm really appreciating getting help pretty fast on this forum most of the times. Best regards, Kurt View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110481#4110481 Reply to the post :

[jboss-user] [JBoss Seam] - Ajax, conversation and multiple requests..

2007-12-04 Thread appendix
Hi! I'm having an entity bean (personal) with some attributes, which I would like to edit through a view page - nothing special so to say. But I'm getting some random anonymous wrote : | The conversation ended, timed out or was processing another request | JSF Messages while editing the

[jboss-user] [JBoss Seam] - Re: Ajax, conversation and multiple requests..

2007-12-04 Thread appendix
Hi, thank you guys for your posts! Actually section 6.9. Concurrent calls to conversational components in the reference documentation really covers the topic in an excellent way. But I think I don't fully understand, why this behavior can still occur if there is the same eventQueue set on all

[jboss-user] [JBoss Seam] - Re: formattedText with dynamic content - escaping

2007-11-22 Thread appendix
Hi Pete, thank you for showing interest. I gave the whole situation a brief thought and came to the conclusion that a generic approach that transparently escapes rich text tokens in s:formattedText would be hard to implement, because the method would have to differentiate somehow between

[jboss-user] [JBoss Seam] - formattedText with dynamic content - escaping

2007-11-19 Thread appendix
Hi! I'm facing the situation, where I do have a page containing a formattedText tag to display some information, I'm getting from the resource bundle as shown below: | s:formattedText value=#{messages['newGroupCreated.text']}/ | whereas the text in the message bundle is: |

[jboss-user] [JBoss Seam] - Re: Problems using Authenticator.authenticate()

2007-11-06 Thread appendix
Hi! I was giving this whole authentication and undetermined number of calls to authenticator.authenticate() some thoughts and my workaround is that I'm using my own LoginHandler. This one is called from the LoginPage and acts as a regular JSF Bean, hence can determine the next rendered page

[jboss-user] [JBoss Seam] - Problems using Authenticator.authenticate()

2007-10-24 Thread appendix
Hi! I'd like to use Seam's simplified security mode with the build in identity and a custom authenticator class. I've initialized the security context in components.xml: anonymous wrote : | security:identity authenticate-method=#{authenticator.authenticate} / | Added the authenticator

[jboss-user] [JBoss Seam] - Re: Problems using Authenticator.authenticate()

2007-10-24 Thread appendix
Hi! Thank you for your response! As I mentioned only textual to spare the reader some extra code quotations, the dbAccess.athenticate(...) methode is executing a native SQL query through the injected EntityManager (@PersistenceContext private EntityManager em;): | ..snip - just

[jboss-user] [JBoss Seam] - Re: Problems using Authenticator.authenticate()

2007-10-24 Thread appendix
Hi! Thank you for your response! I really appreciate it. [EMAIL PROTECTED] wrote : There is no garuntee on how many times the authenticate method will be called. | ..snip.. | That's bad :( I'm facing the situation that the database is counting the login attempts and blocks the account,

[jboss-user] [JBoss Seam] - Why is Authenticator.authenticate() called twice if it retur

2007-10-22 Thread appendix
Hi! I've just generated an application with seam-gen (seam-2.0.0.CR2) and modified the Authenticator.authenticate() method to return false as well: | public boolean authenticate() | { | log.info(authenticating #0, identity.getUsername()); | if

[jboss-user] [JBoss jBPM] - Re: No subprocessId in Node with subprocess

2006-12-01 Thread appendix
Hi Jainner, I thought about that as well - and it would make sense, but I'm doing that already. I'm using the ant deploy task: | target name=deploy-process-definition | taskdef name=deploypar classpathref=ant.classpath classname=org.jbpm.ant.DeployProcessTask | /taskdef |

[jboss-user] [JBoss jBPM] - Re: No subprocessId in Node with subprocess

2006-11-30 Thread appendix
Hi Koen, thank you for your reply and please accept my apologies for mixing up a term. It is indeed not a task node, which cannot hold a sub-process, but a process-state-node as exemplified by the following snippet. | process-state name=subProcessStateNode | sub-process

[jboss-user] [JBoss Seam] - Re: JavaScript Error when using sortable t:dataTable

2006-10-23 Thread appendix
Thank you all for your replies! Since Gavin suggested to use the Apache Trinidad components, I gave it a shot. I've downloaded the m1 snapshot from http://people.apache.org/maven-snapshot-repository/org/apache/myfaces/trinidad/ and followed teh documentation to get all teh servlets and

[jboss-user] [JBoss Seam] - Re: JavaScript Error when using sortable t:dataTable

2006-10-20 Thread appendix
I thought about that as well, but couldn't find a second jsf-facelets.jar anywhere. Anyways, I've downloaded the trinidad sources and did a complete build. Everything's ok now. Thank you all for the help! Kurt View the original post :

[jboss-user] [JBoss Seam] - Re: Seam Remoting und JMS Topic subscription questions.

2006-10-19 Thread appendix
Thank you Shane, you've been really helpful! The getter is not an immediate issue for me. I just wanted to point that out, that some other guy later on won't need to worry, why the provider cannot be set in components.xml :) Again, I'd like to thank you for your great help! Kurt View the

[jboss-user] [JBoss Seam] - Re: Seam Remoting und JMS Topic subscription questions.

2006-10-18 Thread appendix
Hi, that finally did the trick! Thank you again for your help. By the way, I'm using JBossMessaging instead of JBossMQ and therefore needed to set the connection provider in the subscriptionRegistry. Is there a reason why the property connectionProvider in

[jboss-user] [JBoss Seam] - Re: JavaScript Error when using sortable t:dataTable

2006-10-18 Thread appendix
Hi, thank you for your response. Unfortunately setting preserveSort to false didn't solve the problem. So you abandoned tomahawk components - are there any alternatives to implementing your components on your own? I mean a sortable, clickable table should be nothing unusual - standard

[jboss-user] [JBoss Seam] - Re: Seam Remoting und JMS Topic subscription questions.

2006-10-17 Thread appendix
Thanks Shane, overriding the subscriptionCallback definitely did the trick. I never wanted to use the setTimeout() version in a production environment. So finally I got the token in an input field and this is passed along the request until the page is rerenderd. I followed your suggestion,

[jboss-user] [JBoss Seam] - Re: Seam Remoting und JMS Topic subscription questions.

2006-10-16 Thread appendix
Hi, thanks for helping me on this topic! But I'm not sure, if your suggestion would realy help me out, because the channelMessageCallback() method is not always called _before_ the page is refreshed. Actually in my scenario it is never called before the first refresh. Imagine this timeline: 1)

[jboss-user] [JBoss Seam] - JavaScript Error when using sortable t:dataTable

2006-10-16 Thread appendix
Hi, I'd like to use the Apache Tomahawk dataTable component to display Seams taskInstanceList using pagination and to be able to sort the table according to the users selection. I followed the recommendations on this forum and I'm able to use tomahawk components (tested with dataTable,

[jboss-user] [JBoss Seam] - Re: Seam Remoting und JMS Topic subscription questions.

2006-10-13 Thread appendix
Hi, thanks for your reply! I've tried to follow your hint, but somehow it seems that I cannot access the token after subscription to be able to write it to an input field. The xhtml page is defined as following: | script type=text/javascript | //![CDATA[ | Seam.Remoting.setDebug(true);

[jboss-user] [JBoss jBPM] - How to set task instance variables with h:inputText/ ?

2006-10-03 Thread appendix
Hi, I wonder if there is a way to set task instance variables directly from the frontend (build upon JSF/Seam)? I've tried h:inputText value=#{taskInstance.variables['var1']}/ to set var1 into the context of the current taskInstance. Using this expression in an h:outputText / tag with an

[jboss-user] [JBoss Seam] - Re: Task assignment via pooled actor

2006-09-15 Thread appendix
Hi Gavin, thanks again for trying to clearify this issue. I've read in the documentation that a pooled task is assigned to an actorId as well, but I've tried it with the very plain example (my initial post). Also the DVD store example is using a groupId [1] to get the task on the

[jboss-user] [JBoss Seam] - Re: Task assignment via pooled actor

2006-09-14 Thread appendix
Thank you Gavin for your answer. Looking at the process definitions in the DVD store example there are two different ways of assignment: 1) pooled-actors=#{shipperAssignment.pooledActors} 2) pooled-actors=reviewers As far as I understood both ways work via groups assigned to the actor (in

[jboss-user] [JBoss Seam] - Re: Task assignment via pooled actor

2006-09-12 Thread appendix
Here's a follow-up to my previous post I've started the debugger to look into PooledTaskInstanceList.getPooledTaskInstanceList() to see why the task is never assigned if the actorId is used instead of a group of the actor. |public ListTaskInstance getPooledTaskInstanceList() |{

[jboss-user] [JBoss Seam] - Issue with instance variable not being injected/created in D

2006-09-06 Thread appendix
Hi, I'm implementing a DecisionHandler for a workflow definition. The class should act just as a demonstrator and is really simple. | @Name(bpm.patientRegisterGoalHandler) | @Interceptors(SeamInterceptor.class) | public class PatientRegisterGoalHandler implements DecisionHandler{ |

[jboss-user] [JBoss Seam] - Error messages from application created with seam-gen

2006-08-30 Thread appendix
Hi, an application created with the seam-gen http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSEAMGen script throws some errors when invoked after being deployed to the jboss server. I'm just curious if this is the desired behavior? I mean, I wouldn't care too much if these were just INFO or

[jboss-user] [JBoss Seam] - Re: DVDstore application with persistence allowing server re

2006-08-29 Thread appendix
If I take the process line out, I'd expect the jbpm component still to be initialized and the jbpm-related tables to be created. Just the actual process definition shouldn't be deployed to the database, right? Instead of getting this behavior, none of the jbpm_* named tables are created at

[jboss-user] [JBoss Seam] - Re: DVDstore application with persistence allowing server re

2006-08-28 Thread appendix
Thank you Norman to stick to the topic! I've solved the initial issue by updatiung both the persistence.xml AND hibernate.cfg.xml (create-drop to update). So the DVD Store keeps it's orders over server restarts. Albeit I'm still having this behavior that no database tables are created at

[jboss-user] [JBoss Seam] - Re: DVDstore application with persistence allowing server re

2006-08-25 Thread appendix
HI, thank you for your response. I've tried your suggestion and removed the processDefinition from components.xml starting off from a completely functional copy, but then Seam can't create the new process anymore because none of the jbpm related tables are created in the database at server

[jboss-user] [JBoss Seam] - DVDstore application with persistence allowing server restar

2006-08-24 Thread appendix
Hi, I'm toying with the dvdstore example application and would like to achieve a more real life szenario by getting persistence over jboss server restarts. By default the application is completely reset to its initial state after a server restart. So I changed the property hbm2ddl.auto in

[jboss-user] [JBoss Seam] - Re: validation not performed after submit

2006-08-18 Thread appendix
Hi, ok I could use required=true but what do you mean by: anonymous wrote : @NotNull has no effect on validation. I thought Seam simply calls the Hibernate validation framework. What other effect has this annotation? Why are the examples given in the Seam distribution using the @NotNull

[jboss-user] [JBoss Seam] - validation not performed after submit

2006-08-16 Thread appendix
Hi, I do have an entity bean named user, which I do access directly from a xhtml page. On some properties of the bean are validator tags and all input fields in the xhtml page are surrounded by a s:validateAll tag. When the page is rendered and the input fields are left untouched, the action

[jboss-user] [JBoss Seam] - Re: When can @Logger be used?

2006-08-11 Thread appendix
Thank you for your replies! I've tried several annotations. The current one is: | @Name(user1A6) | @Interceptors(SeamInterceptor.class) | public class User1A6 { | But I've tried it w/o the interceptor as well. I'm trying to log the properties which are injected to the bean from an JSF

[jboss-user] [JBoss Seam] - When can @Logger be used?

2006-08-10 Thread appendix
Hi, We've just started to work with Seam by extending the examples provided in the distribution. We understood that Seam is providing a logger build on top apache.commons.logging. As described in the user documentation it can be used by putting @Logger private Log log; into the bean code.