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
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{
|
[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
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.
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
[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
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
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
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
I have the following SFSB:
@Name(finder)
| @Stateful
| @Scope(ScopeType.EVENT)
| @LoggedIn
| public class ActivityGenericFinder implements IActivityGenericFinder {
|
|public ActivityGenericFinder(){
| log.fatal(CONSTRUCTING);
|}
|
|@Create
|public
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 :
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) {
|
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 :
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,
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)
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
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
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
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
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
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
|
|
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
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
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
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
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.
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
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
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?
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
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
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
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
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,
-
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
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
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...
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,
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
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
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
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
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
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
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
[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
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
[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
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
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
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
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]
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
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
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 :
[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
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
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
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,
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:
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
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
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 :
63 matches
Mail list logo