[jboss-user] [JBoss jBPM] - Modifing a Deployed Process Definition

2008-07-03 Thread chane
I have an existing process definition deployed (jbpm-jpdl-3.2.2.jar). As expected, there are new requirements for which we need to add to the process definition. I would like to modify the existing process definition rather than deploy a second version. Otherwise, I will need to write a

[jboss-user] [JBoss Seam] - Dependency Injection in Domain Model / Seam / Hibernate / Gu

2007-12-18 Thread chane
I have a fairly standard architecture for my application. I'm using SFSB/SLSB Seam components with IN/OUT injection. These methods call the EntityManager (e.g., find()) to interact with the database. | @Name(seam.editor) | @Stateful | public class SeamEditor implements ISeamEditor{ |

[jboss-user] [JBoss Seam] - Re: Pageflow 3rd Party Site

2007-12-06 Thread chane
[EMAIL PROTECTED] wrote : I'm surprised, I think the pageflow scope state should have been maintained. But its hard to know why its not without seeing the application. I also thought the pageflow scope should have been in the conversation. I couldn't figure out what was causing it to not be

[jboss-user] [JBoss Seam] - Re: Pageflow 3rd Party Site

2007-12-05 Thread chane
I had the 3rd party site redirect call a stateless method. In that method I reattached the conversation from a variable included in the redirect request: Manager.instance().restoreConversation() After I reinstated the conversation, the Pageflow.instance() was null. Did I do something wrong.

[jboss-user] [JBoss Seam] - Pageflow 3rd Party Site

2007-11-30 Thread chane
I have created a pageflow for a shopping cart checkout process. I am now adding the ability to pay with PayPal. This process requires that I redirect the user to the PayPal site. Once the user completes the payment, PayPal redirects the user back to the shopping cart to complete the

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-11-13 Thread chane
[EMAIL PROTECTED] wrote : | No. I've scheduled the issue however. | Pete, As you guys talk about this here are some things I have noticed that need to be looked at for closer Seam/Trinidad integration. - dialogs - which is how this thread original was started and the hack provided

[jboss-user] [JBoss Seam] - Re: Trinidad/TreeTable and how to determine selected rows

2007-10-16 Thread chane
When watching my debug statements the listener method was being called after the action method. Not being a complete expert on the JSF lifecycle is this a Seam issue or a JSF issue. Where would you recommend I look first? I would have thought the listener method being called after the action

[jboss-user] [JBoss Seam] - Re: Trinidad/TreeTable and how to determine selected rows

2007-10-12 Thread chane
Pete - thanks for the info. That is exactly what I need and it works great! On a related topic, do you think it would be possible to create something similar to @DataModel/@DataModelSelection for TreeModel? I started to look at the DataModelBinding classes last night; but didn't have time to

[jboss-user] [JBoss Seam] - Trinidad/TreeTable and how to determine selected rows

2007-10-11 Thread chane
I am using the Trinidad TreeTable component. We present the component and the user can select a number of rows. When an commandButton is selected, we are trying to figure out a good way to get the selected rows in our method call. Here's what we have: Facelets fragment | |tr:form

[jboss-user] [JBoss Seam] - @Create not called 100% of the time

2007-08-24 Thread chane
I have the following SFSB: @Name(finder) | @Stateful | @Scope(ScopeType.EVENT) | @LoggedIn | public class ActivityGenericFinder implements IActivityGenericFinder { | |public ActivityGenericFinder(){ | log.fatal(CONSTRUCTING); |} | |@Create |public

[jboss-user] [JBoss Seam] - Re: @Create not called 100% of the time

2007-08-24 Thread chane
matt.drees wrote : Just to clarify, find() and next() are not called in the same request, right? Correct. Each call is in a separate request (click from the GUI). Chris... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4077884#4077884 Reply to the post :

[jboss-user] [JBoss Seam] - Re: @Create not called 100% of the time

2007-08-24 Thread chane
I have been able to track it down to a specific place in the Seam code; but now I'm stuck as to how to debug next. In Component.callComponentMethod the following is being executed: | public Object callComponentMethod(Object instance, Method method, Object... parameters) { |

[jboss-user] [JBoss Seam] - Re: @Create not called 100% of the time

2007-08-24 Thread chane
I'm not sure what was happening as I had compiled/deployed several times. However, I did a clean dist and that seems to have cleared up the issue. Strange At least I learned a little more about the internals of Seam. Chris View the original post :

[jboss-user] [Beginners Corner] - How to view remaining Stateful Bean Timeout value

2007-08-24 Thread chane
Is there a way to view (programatically or view a GUI) the remaining amount of time on a bean before it expires (as set by the max-bean-age) from the cache? I am experiencing some session timeouts and would like to view the timeout values on my EJB3 stateful beans (specific ones). Thanks,

[jboss-user] [JBoss Seam] - Re: @Asynchronous / Conversations / Transactions Best Practi

2007-06-29 Thread chane
Thanks Gavin for the reply. I finally figured something out. Working with new technology is always fun, even if it is a bit frustrating. I'm very new to using EJB3 - in fact I switched to using it (from tomcat/hibernate) when seam was still in it's first releases (mainly cvs at that time)

[jboss-user] [JBoss Seam] - Re: @Asynchronous / Conversations / Transactions Best Practi

2007-06-29 Thread chane
Thanks - I'll give that a try. I didn't try since once I figured out how to use @In EntityManager em I didn't look at this piece again and I forgot about it. Now that I've been through a more in depth learning process, I won't forget about this again (actually I probably never really learned

[jboss-user] [JBoss Seam] - Restore View and HTTPSession Timeout

2007-06-29 Thread chane
I have a generic search screen (standard input form) that displays the results on the next page using a . The ScopeType.EVENT is used on the SFSB. If the user hits the refresh button any time prior to the HTTPSession timeout, then the form is resubmitted and the search generated again (could

[jboss-user] [JBoss Seam] - Re: Restore View and HTTPSession Timeout

2007-06-29 Thread chane
Just to be complete I'll answer my own post. What I really want is a RESTful style search/results function. I ended up adding pages.xml actions to the mix with embedded parameters and things work like a charm. I don't have to muck around with changing timeout limits and the next/previous

[jboss-user] [JBoss Seam] - @Asynchronous / Conversations / Transactions Best Practices

2007-06-27 Thread chane
I have an asynchronous method started from a SLSB. I know I can access the entitymanager in the async SLSB, is it possible to have Conversations or some type of fine grained transaction control. My async method takes a list of records and iterates over each record. I need to have the

[jboss-user] [JBoss Seam] - Manager.instance().beginNestedConversation() throws Exceptio

2007-06-26 Thread chane
I am using Seam 1.2.0p1 with Jboss 4.0.4. When I execute the following code, an Exception is thrown. Any ideas on what I'm doing wrong: @Name(value=com.importSale) | @Stateless | public class ImportSale implements IImport { | |@In(create = true) |protected EntityManager

[jboss-user] [JBoss Seam] - Is it possible to have same Class name Different package/@Na

2007-06-13 Thread chane
Is it possible in Seam to have two SFSB that have the same class name but be in two packages with different component names? | package com.firstpackage.inf | | @Local | public interface ISomeEditor{ | ... methods ... | } | | package com.firstpackage | |

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-05-03 Thread chane
smithbstl wrote : | I still can't find a way to propagate the conversation to the dialog window. I have tried the above mentioned Phase Listener and also the s:conversationPropagation tag in Seam's Library. Neither seem to work. | The test app I put together does propagate the

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-05-03 Thread chane
smithbstl wrote : Chris, I have followed your instructions and am not seeing the conversation propagated. | | 1st page has a conversation id (cid) of 1 | 2nd page (long running conversation) cid=2 | 3rd page(page with dialog link) cid=2 | dialog page cid=4 hmmm... note sure what to

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-05-03 Thread chane
I have modified the JIRA. I can try to answer questions Chris View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042854#4042854 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042854

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-05-01 Thread chane
ok - I created a quick test application to demonstrate the Trinidad Dialog / Seam integration. It can be found at: https://sourceforge.net/project/showfiles.php?group_id=189858 To use it: This is a simple test app showing Trinidad Dialogs working with the Seam framework. To use, deploy the

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-04-30 Thread chane
I don't have a sample I can post. But I'll help you through it if I can. There might even be a better way. Here's what I did/know: 1) I used the classes dajevtic posted at the start of this thread. - The ActionListener needs to be a subclass of the one provided by MyFaces or the Sun RI.

[jboss-user] [JBoss Seam] - Re: s:fileUpload/ IE/Firefox Filename differences

2007-04-18 Thread chane
Thanks for the explanation Shane! Chris View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038414#4038414 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038414 ___ jboss-user

[jboss-user] [JBoss Seam] - s:fileUpload/ IE/Firefox Filename differences

2007-04-17 Thread chane
I'm using Seam1.2.0patch1. The filename parameter on s:fileUpload/ is different between IE and Firefox. On Firefox, I get just the filename. On IE (6.x), the path + filename is returned. Is this expected? My page is: | h:form enctype=multipart/form-data id=f1 |h:commandLink

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-04-15 Thread chane
I was using the bindings more because that was the example of how to use the dialogs with the Trinidad documentation. If I didn't want to use bindings (which I don't really have a preference), how can I update the field on the calling page from the dialog selection. How do you use dialogs?

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-04-14 Thread chane
dj - thanks for your help and writing the code you posted very early in this discussion. I finally got it to work. The trick is that the component that is the target for the binding element on the tr:inputText binding=#{dialogManager.input}.../ can not be a Conversation Scoped Component. Once

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-04-13 Thread chane
I'm pretty sure the Conversation scope is added to Stateful components automatically. Anyway, I added it explicitly to see if that had any affect and I still get the same error. Maybe I should back up a step and prepare a simple application that I could upload so that people could take a

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-04-11 Thread chane
dj- When you created the bean that manages the dialog, did you use a Seam managed bean or did you create a backing bean entry in faces-config.xml? I'm using the Seam @Name and getting a wicked error when I click on the button to initiate the dialog. Thanks for any insight. Chris The

[jboss-user] [JBoss Seam] - Dot notation to name @Name / @Factory components

2007-04-10 Thread chane
Two hopefully easy questions: For our components managed by Seam we use a naming scheme similar to package naming. For example, @Name(com.domain.blah.blah) In our xhtml (facelets) we used to (Seam 1.0) have to use a $ in place of the dot to access these components. We are in the process of

[jboss-user] [JBoss Seam] - How to return to a previous page without conversations

2007-04-06 Thread chane
I seem to be having a brain freeze. I'm trying to create a simple mechanism where a user is on a view page (no conversation is active). They click a link and are taken to another page. Do some stuff and then click a return button and are taken back to the original page. For example, -

[jboss-user] [JBoss Seam] - Re: How to return to a previous page without conversations

2007-04-06 Thread chane
Thanks for the reply. Although, I'm going to say I don't understand how that will help return to a previous page. Isn't @End for transaction control. How can I use end on the return action method to navigate back to a previous page? Do you know if there is an example in the Seam

[jboss-user] [JBoss Seam] - Re: How to return to a previous page without conversations

2007-04-06 Thread chane
Christian, Thanks for the reply, very helpful. I will check out the example also. One idea: Trinidad has a concept of pageFlowScope (http://incubator.apache.org/adffaces/devguide/communicatingBetweenPages.html) I'm not sure if I want to use this or not; however, in the document they use an

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-04-05 Thread chane
petemuir wrote : Trinidad provides sorting and paging on it's enhanced DataModel (CollectionModel) - I'm working on backing this with EntityQuery (and hence the database) rather than doing the paging and sorting in java - I haven't finished this yet so there is some weird behaviour... ah...

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-04-05 Thread chane
dajevtic wrote : By the way. Please remember that the Listener only checks if the action source is of type CoreCommandLink! | If you also use a CoreCommandButton or a somewhere then you must add the check for this instance as well, or just use the super class UIXCommand. | I'm not 100% sure,

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-04-04 Thread chane
dj - thanks for the info on dialogs. I am just starting to incorporate the trinidad dialog functionality into my app. Couple of questions if you have the time: 1) Did you extend/override the Seam PhaseListener or did you incorporate another one into the stack? 2) Same question for the

[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-04-04 Thread chane
petemuir, Thanks for the info. I'll check out the seamdiscs example. If you get something working with dialogs can you post here so I am sure to check. I'll be checking out the Seam head tomorrow and will keep checking. Also, are you having issues with the Trinidad tables or just trying to

[jboss-user] [JBoss Seam] - Re: StatefulBean destroyed without Session expiring !!

2007-02-07 Thread chane
This might help... http://wiki.jboss.org/wiki/Wiki.jsp?page=JbossTimeoutSettingForSeam View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012809#4012809 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012809

[jboss-user] [JBoss Seam] - Trinidad PPR/Ajax and Seam

2006-12-20 Thread chane
I am using Seam for a project and am about to start incorporating a component framework like Trinidad into the project (Trinidad has some components that ICEFaces doesn't, specifically - TreeTable). I particularly want to take advantage of Trinidads Partial Page Rendering (Ajax). I have been

[jboss-user] [JBoss Seam] - Encoded Request Parameter

2006-12-12 Thread chane
I have noticed that in some older browsers that request parameters are being encoded by the browser such that: http://somedomain.com/action.seam?param1=v1param2=v2 is encoding the symbol to: http://somedomain.com/action.seam?param1=v1amp;param2=v2 which means that param2 looks like

[jboss-user] [JBoss Seam] - Name of @In Parameters

2006-11-09 Thread chane
I am experiencing something in a production application that occurs infrequently (but enough to be worried); however, I am having trouble duplicating it. I am wondering if any has seen something like this? First, question to start debuging is what is the name of an @In component. Is it the

[jboss-user] [JBoss Seam] - Re: Name of @In Parameters

2006-11-09 Thread chane
thanks, that would make sense about the name. My next problem then is how is that component null. What I didn't show is that this is part of a pageflow and the first step in the pageflow setups the ICheckoutAction which I include below. I'm pretty sure that an exception was not thrown prior

[jboss-user] [JBoss Seam] - Re: Seam + JSF, problem with double-click

2006-10-20 Thread chane
[EMAIL PROTECTED] wrote : Use Seam 1.1 (currently available only in CVS). How do you protect against double clicks in Seam 1.1? We are experiencing this in our testing and this would be enough of a reason to move to using Seam 1.1. Forgive me if this is in the documenation. I have not keep up

[jboss-user] [JBoss Seam] - Re: Seam calling other ejbs

2006-09-28 Thread chane
FYI, it is there as I was able to check it out via anon cvs... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3975058#3975058 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975058

[jboss-user] [JBoss Seam] - Re: Seam calling other ejbs

2006-09-27 Thread chane
[EMAIL PROTECTED] wrote : | In fact, I have more and more been leaning away from putting @Entity annotations directly on entity beans, and leaning towards using stuff like the manager component pattern for associating entities with context variables. (eg. the new CRUD framework in CVS uses

[jboss-user] [EJB 3.0] - How To do EAR Packaging

2006-09-22 Thread chane
Is there a how to on the different packaging options for my applications with new latest JBoss AS? I have looked through the online documenation and a section doesn't jump out at me that I should read. Basically, I'm trying to figure out how to deploy a bunch of shared dependency jars (around

[jboss-user] [JBoss Seam] - Re: How do you do integration testing?

2006-08-30 Thread chane
Christian - thanks for the link. we use DBUnit and this was an interesting read. I have just started to experiment with a new (at least to me) type of testing framework called FIT. Basically, inputs/outputs are defined in a table structure. A Fixture needs to be written for each page. The

[jboss-user] [JBoss Seam] - How do you do integration testing?

2006-08-28 Thread chane
Working through several example applications we are now getting serious about developing production applications. The last step is to figure out how we are going to perform integration testing (we use testng for unit testing). I have started to play around with SeamTest test classes. I am

[jboss-user] [JBoss Seam] - Could not create instance of org.apache.log4j.Level - org.ap

2006-07-31 Thread chane
Not sure where I'm hitting this particular exception; but is there an issue with using log4j. Should I be using something else? | 2006-07-31 12:29:15,250 DEBUG [org.jboss.seam.contexts.Contexts] destroying: conversation | 2006-07-31 12:29:15,250 DEBUG [org.jboss.seam.contexts.Contexts]

[jboss-user] [JBoss Seam] - Re: Could not create instance of org.apache.log4j.Level - or

2006-07-31 Thread chane
Thanks - I will try your suggestion of using transient in a couple of places. If I had a remote idea of what was throwing the exception I would show it. However, not one of my classes is in the stack trace. Which means it has be to something in the conversation I am using. I do use a

[jboss-user] [JBoss Seam] - Conversation List

2006-07-31 Thread chane
Do I have to set a configuration parameter to get the conversationList populated in seam? I ask because I grabed the following code from the booking example (which I can deploy and works great on my machine). However, when I paste the following into my facelets xhtml, the conversation list is

[jboss-user] [JBoss Seam] - Re: @Redirect

2006-07-27 Thread chane
Gavin/CptnKirk Thanks...for some reason I could not get @Redirect to work last night. Now that I've sleep, it works like a charm this morning. But at least I learned more about the internals of Seam... Have a good day, Chris View the original post :

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

2006-07-27 Thread chane
[EMAIL PROTECTED] wrote : | * deprecation of @Conversational(ifNotBeginOutcome) in favor of no-conversation-view-id I just started to use 1.1 in cvs and I am wondering about the reason for deprecating @Conversational. I don't use pages.xml very much and would prefer to have this

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

2006-07-27 Thread chane
Your right. I went back and traced through the logs again and I thought it was being destroyed since I saw some context.destroy messages in the log. I mis-read them as being in the stateful context.Thanks for putting me on the right path. I'm really used to stateless frameworks and

[jboss-user] [JBoss Seam] - Understanding Serialization

2006-07-27 Thread chane
After a conversation has sat idle for a while due to think time (or abondonment), I am seeing SerializationException errors in the log. Suggestions on where I can learn about serialization? A couple of specific questions that might clear up my issues: 1. Is it enough to add Serializable to a

[jboss-user] [JBoss Seam] - s:link does not work after JBoss restart

2006-07-26 Thread chane
On a results screen I use the s:link tag in a table. The results screen is generated from a SFSB with ScopeType.EVENT. When the user clicks on the s:link / action, a new screen opens up from another SFSB with ScopeType.CONVERSATION. This works great until JBoss is restarted. Once restarted,

[jboss-user] [JBoss Seam] - Re: s:link does not work after JBoss restart

2006-07-26 Thread chane
opened JIRA: http://jira.jboss.org/jira/browse/JBSEAM-319 I'll take a look at the page actions again to see if I can figure out how to use those. I don't so much need bookmarkable links, as I want to make the results screen reslient to server system crashes. This led me to another question:

[jboss-user] [JBoss Seam] - Add to the list of default Interceptors

2006-07-26 Thread chane
Is there a mechanism to add a new default interceptor to Seam (other than modifying the list of interceptors in the Component.initDefaultInterceptors() method)? Thanks, Chris View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3961167#3961167 Reply to the

[jboss-user] [JBoss Seam] - InvocationContext missing getTarget Exception

2006-07-25 Thread chane
I'm trying to run Seam 1.0.1 (grabbed the binaries from sf) and AS 4.0.4GA. When I run the application I get the following exception. It looks like a mismatch between class version. The InvocationContext installed in 4.0.4 uses getBean instead of getTarget. Is 1.0.1 supposed to run with

[jboss-user] [JBoss Seam] - Re: InvocationContext missing getTarget Exception

2006-07-25 Thread chane
Thanks that worked. I did not realize there was a difference between the JEMS installer and the AS downloadable installer. Chris View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3960806#3960806 Reply to the post :