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

2007-11-13 Thread wchico2
Hi, As of last week Seam 2.0 has become productive. Has the situation changed in any way? What I noticed is that the original way of propagation of this hack is not possible anymore with Seam 2.0 because the line

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

2007-11-13 Thread [EMAIL PROTECTED]
No. I've scheduled the issue however. Try replacing the line with ConversationPropagation.instance().setConversatonId(convId); | Manager.instance().restoreConversation(); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4104040#4104040 Reply to the post :

[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 PPR/Ajax and Seam

2007-11-13 Thread [EMAIL PROTECTED]
Please create a JIRA issue for each area of integration needed (e.g. one for tables, one for skinning). Put them in the JSF category for now. N.b. this isn't high up the dev teams priority list - for obvious reasons we need to deal with RichFaces integration first. *But* if people can create

[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 dajevtic
Please check in my provided listeners, if you are using conversationId paramter name od cid parameter name... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042826#4042826 Reply to the post :

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

2007-05-03 Thread smithbstl
which is correct? coversationId or cid? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042834#4042834 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042834 ___ jboss-user mailing

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

2007-05-03 Thread dajevtic
The one that is configured in your components.xml. In your case probably cid ?! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042836#4042836 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042836

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

2007-05-03 Thread smithbstl
Ok thanks. It was consistent between components.xml and the phase listener. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042837#4042837 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042837

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

2007-05-03 Thread petemuir
Can one of you create a JIRA issue for me? I need to know what the exact problem you are encountering is (and how I can replicate), and what you are doing to solve it and the relevant classes. Then I can roll it into the jboss-seam-trinidad.jar and seamdiscs example. Thanks! View the original

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

2007-05-03 Thread smithbstl
I have created the jira, Chris or dajevtic, feel free to add anything I may have left out. http://jira.jboss.com/jira/browse/JBSEAM-1289 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042843#4042843 Reply to the post :

[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-02 Thread smithbstl
Thanks Chris, I am going through your example now. Just one thing, you have a MySQL datasource defined in persistence.xml You should change this to Hypersonic for the example so it will run out of the box. Just requires a change to DefaultDS as the JNDI name of the datasource in

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

2007-05-02 Thread smithbstl
Ok I finally have this working. I think it had to do with not having my tags enclosed in a trh:body element which is required to get PPR working. I thought a tr:document would suffice but I guess not? Also I have done some limited testing with the Phase Listener/Action Listener provided by

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

2007-05-01 Thread smithbstl
Thanks Chris, I have it most of the way working except for a couple of issues. 1. When i use a commandLink to open the dialog, I can't get PPR to refresh the inputText on the orginal page. I keep getting this message ERROR [STDERR] May 1, 2007 9:11:57 AM

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

2007-05-01 Thread smithbstl
Thanks Chris, I have a return listener already which is functioning correctly, just not the PPR to refresh the page public void processReturn(ReturnEvent event) { | if (event.getReturnValue() != null) { | //setUserName(((User)(event.getReturnValue())).getUserName());

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

2007-05-01 Thread dajevtic
Hi. Have you ever tried placing your to-be-updated tags into a panelGroupLayout or panelLabelAndMessage? I use inputListOfValues for either inputting or selecting a postal code from a list of values and upon selection i update the calling page's fields with city and country info. It all works

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

2007-05-01 Thread smithbstl
I will try your suggestion dajevtic, thanks A couple of questions, 1. Are you still using the code you provided earlier in the thread (Phase Listener and Action Listener)? I know those comments are a number of months old and didn't if anything on either Seam or Trinidad was fixed to make

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

2007-05-01 Thread dajevtic
Hi, yes I still use the phase- and action listeners, but to be honest, I haven't tested in months, whether it works without them. I've beem using the SeamFaceletViewHandler since I switched to Facelets some weeks ago. If my solution doesn't work, then let me know. I'll provide more info. View

[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: Trinidad PPR/Ajax and Seam

2007-04-27 Thread smithbstl
Chris, I am also having problems getting dialogs to work with Seam, could you post a working example since you seem to have gotten it working? It would really help to see all the pieces together in one place. Thanks View the original post :

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

2007-04-15 Thread dajevtic
chane, I'm glad you got it sorted out. However, you might want to consider not using bindings at all. To me they are actually the most useless feature of JSF... I actually didn't quite figure out why you are using the bindings at all?! View the original post :

[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-15 Thread dajevtic
Mainly I use the following class for consistent dialog handling for trinidad: package de.livemediagroup.dialog; | | import java.util.Hashtable; | import java.util.Map; | | import org.apache.myfaces.trinidad.context.RequestContext; | import

[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-12 Thread dajevtic
Hi Chane. Try adding @Scope(ScopeType.CONVERSATION) to the class. That should do the trick. If not let me know and I'll try your code myself. Regards, dj View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4036619#4036619 Reply to the post :

[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] - Re: Trinidad PPR/Ajax and Seam

2007-04-05 Thread petemuir
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... View the original post :

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

2007-04-05 Thread dajevtic
Hi Chane. Let's see: chane wrote : | 1) Did you extend/override the Seam PhaseListener or did you incorporate another one into the stack? | Created my own phase listener and added it in faces-config like this: | lifecycle | phase-listener |

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

2007-04-05 Thread dajevtic
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, but if you want to make

[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 petemuir
Chris, take a look at the seamdiscs example in Seam CVS, it shows Seam, Trinidad, RichFaces and Ajax4jsf working together - note that it is work in progess (especially regarding the tables). I've yet to use Trinidad dialogs - I'll see if I can incorporate them into the example somewhere. View

[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: Trinidad PPR/Ajax and Seam

2007-03-17 Thread dajevtic
My appologies for not answering earliert. I didn't sign up for notification of new posts. If anyone still needs help regarding this matter, I'll be glad to help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029071#4029071 Reply to the post :

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

2007-02-28 Thread hamtho2
Is this only necessary when using the PPR of Trinidad and if using ajax4jsf there is no need or is this a general must-do if using trinidad together with seam correctly. Could you give some more detail on the PhaseListener. Is it necessary to write an own PhaseListener that overrides the

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

2007-02-01 Thread petemuir
AFAIK there has been no work on the Seam codebase to improve trinidad integration (waiting on a release from Trinidad) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4009289#4009289 Reply to the post :

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

2007-01-31 Thread awhitford
Does anybody know if this is still necessary with 1.1.5 GA of Seam? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4009207#4009207 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4009207

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

2006-12-20 Thread dajevtic
Hi Chane, we used Seam and Trinidad in several of our POCs. No production applications yet, though. I remember that we had to incorporate an additional phase listener along with an action listener configured in faces-config when using the dialog framework of Trinidad / ADF, because the