[jboss-user] [JBoss Seam] - Re: Seam nightly builds

2007-10-15 Thread dajevtic
Any info, if the portal integration of Seam will work before the release? Regards,dj View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095473#4095473 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095473 __

[jboss-user] [JBoss Seam] - Re: Multiple WARs ind one EAR... SSO?

2007-06-28 Thread dajevtic
JBoss SSO sounds great. I'll look into it, thanks, Gavin. If now, due to some incompatibility circumstances, I would need 2 WARs, would it be possible? We have one app that uses JSPs and the new one that uses facelets, so I would have to go with 2 WARs as an intermediate solutions, while joining

[jboss-user] [JBoss Seam] - Multiple WARs ind one EAR... SSO?

2007-06-28 Thread dajevtic
Hi everyone. If I deploy multiple WARs in one EAR with jboss seam, will the logged in identity be known in both web applications? Has anyone tried this so far? Or would it be better if I had on EAR and one WAR only. If so, what might be the best way to implement some sort of SSO function? View t

[jboss-user] [JBoss Seam] - Re: problems wih getters

2007-06-28 Thread dajevtic
Post at least some code. Help us help you! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058823#4058823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058823 ___ jboss-user m

[jboss-user] [JBoss Seam] - Re: Error during navigation before response fully rendered -

2007-06-28 Thread dajevtic
but also let me add, that we haven't used this script in a long time, because the problems you describe seem to have already been solved in newer versions of JSF and Seam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058820#4058820 Reply to the post : htt

[jboss-user] [JBoss Seam] - Re: Error during navigation before response fully rendered -

2007-06-28 Thread dajevtic
First of all be asured that you're not the only one who encountered this problem. In Trinidad e.g. they tried to solve this issue, by adding a block attribute to their commandLink and commandButton tags. What we did (in order to prevent the user from double clicking, etc.) we added ONE javascri

[jboss-user] [JBoss Seam] - Re: and i18n

2007-06-28 Thread dajevtic
Yes, damian. Thanks for the hint. I include the tag via a4j:include in a richfaces modal dialog. Is there a way around this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058776#4058776 Reply to the post : http://www.jboss.com/index.html?module=bb&op=postin

[jboss-user] [JBoss Seam] - Re: and i18n

2007-06-28 Thread dajevtic
funny pippin, I was just typing a similar question: Can't help you out in the first two questions, but what I did notice, is that the control formats MM/dd/ after redeployments. If I do a fresh start of the app server, the control formats everything correctly. Do you experience the same probl

[jboss-user] [JBoss Seam] - Re: access the entityManager in a converter (seam 2 beta)

2007-06-28 Thread dajevtic
Pete, my guess is that after the page the conversation (or what ever scope) is not active any more. I tried it out and the only time I can reproduce is if the scope has ended after the page is displayed. When a value is selected and the selection submitted, then this stack trace occurs. Hope it

[jboss-user] [JBoss Seam] - Re: access the entityManager in a converter (seam 2 beta)

2007-06-28 Thread dajevtic
Sorry, really don't know. Have you followed all the steps porting to 2.0, like eliminate Ajax4JSF Filter in web.xml, remove the (Tranactional)SeamPhaseListener declaration, etc. etc. etc. I know that there are some open issues since Pete's change of the entity converter, might also be related t

[jboss-user] [JBoss Seam] - Re: access the entityManager in a converter (seam 2 beta)

2007-06-28 Thread dajevtic
It's hard for me to understand, too, especially when I don't get that exception. Post the complete stack trace. Probably colList and typeColList are retrieved in seperate transactions, which causes this problem... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=

[jboss-user] [JBoss Seam] - Re: access the entityManager in a converter (seam 2 beta)

2007-06-28 Thread dajevtic
do you mind posting the snipped of your page? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058649#4058649 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058649 ___ jboss-use

[jboss-user] [JBoss Seam] - Re: access the entityManager in a converter (seam 2 beta)

2007-06-28 Thread dajevtic
I am not sure if this is the best way. It would probably be better to use the seam entity converter, but here goes: | InitialContext ctx = new InitialContext(); | String jndiEntityManagerFactory = "factoryDefinedInComponentsXml"; |

[jboss-user] [JBoss Seam] - Re: Problem with el parameter in dataTaqble

2007-06-27 Thread dajevtic
Could it be that you are not in the same conversation? Meaning: After the page is displayed, your bean is probably destroyed (also your projects). You should begin the conversation in your Factory, not in your select method. For the select method use @Begin(join=true), for your factory use @Begin

[jboss-user] [JBoss Seam] - Re: No application context active

2007-06-27 Thread dajevtic
remove the view handlers from your faces-config.xml file. You have already defined the view handler in web.xml Kind regards, dj View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058239#4058239 Reply to the post : http://www.jboss.com/index.html?module=bb&op=pos

[jboss-user] [JBoss Seam] - Re: Editable tabular data the seam way?

2007-06-26 Thread dajevtic
Pete, in case you haven't tried yet, don't bother. I got it sorted out. Thanks for offering your help. The problem was indeed, that when saving my data, I did not post the page ref during saving. Adding the parameter in my sort and save buttons, now the data in the data base is updated correctly

[jboss-user] [JBoss Seam] - Re: Editable tabular data the seam way?

2007-06-25 Thread dajevtic
Furthermore, don't forget to place a form around the table and the commandButton. Sorry, it's been a while since i dug up the code and I had changed it since. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057430#4057430 Reply to the post : http://www.jboss.

[jboss-user] [JBoss Seam] - Re: Editable tabular data the seam way?

2007-06-25 Thread dajevtic
SMALL typo in the code: | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057429#4057429 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057429 ___

[jboss-user] [JBoss Seam] - Re: Editable tabular data the seam way?

2007-06-25 Thread dajevtic
Pete, I'll start off with a very simple example: Replace the following code inside search.xhtml of the contactlist example application: | | | Name | Cell Phone | Home Phone | Address | City | State

[jboss-user] [JBoss Seam] - Re: Editable tabular data the seam way?

2007-06-25 Thread dajevtic
Done, Pete. Thanks! Any idea how to resolve the paging issue (form submission with pagination) in the meantime? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057402#4057402 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply

[jboss-user] [JBoss Seam] - Re: Editable tabular data the seam way?

2007-06-25 Thread dajevtic
I agree, as I have tried your approach before, Pete. Unfortunately it didn't work with pagination, that's why I decided to have a SFSB which extends EntityQuery. I would really appreciate a Seam example where I can have a dataTable (fine if it's not richfaces datatable, but nice-to-have ;-) with

[jboss-user] [JBoss Seam] - Editable tabular data the seam way?

2007-06-25 Thread dajevtic
Hi everyone? I have a question regarding a how to: I want to have a dataTable (jsf ri or richfaces) where I have editable tabular data from a database table. I want (almost) every column to be editable (similar to excel). What is the best (technical) approach to achieve this? Using framework conf

[jboss-user] [JBoss Seam] - Re: seam-generated ear: IncompatiblaClassChangeError

2007-06-24 Thread dajevtic
dough. Thx! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057222#4057222 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057222 ___ jboss-user mailing list jboss-user@lists.j

[jboss-user] [JBoss Seam] - seam-generated ear: IncompatiblaClassChangeError

2007-06-24 Thread dajevtic
Hi, folks! First of all I really want to thank everyone involved in this project for making such an effort in making Seam my first Application Framework of choice. I really enjoy the hours I spend in learning more and more about Seam. Now to the bad part ;-) Today I updated from CVS version an

[jboss-user] [JBoss Seam] - Re: Will Woodstock works with Seam some day? :)

2007-06-20 Thread dajevtic
Are there any news related to this topic? I've tried using a seam-gen(erated) project together with woodstock and gave up after ajax4jsf erros turned out longer than their source-code ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056058#4056058 Reply to

[jboss-user] [JBoss Seam] - JSPs and Facelets in one seam application?

2007-06-12 Thread dajevtic
Hi! Is it possible to run a seam application with jsp and facelet support? I've tried using my own ViewHandler (a modified version used to work months ago) however this doesn't work anymore: Before (used to work in seam 1.1): | public class JspAndFaceletViewHandler extends FaceletPortletViewHa

[jboss-user] [JBoss Seam] - Re: EntityQuery by Extension wrong maxResults

2007-06-02 Thread dajevtic
Hi Gavin. You were probable right. I used the cvs nightly build of 0531 which still had the problem. I am now using the current cvs (freshly checked out) and the results are shown correctly now. I don't override createQuery however I do have a rather "uncommon" use of EntityQuery. I extend Enti

[jboss-user] [JBoss Seam] - Re: EntityQuery by Extension wrong maxResults

2007-06-01 Thread dajevtic
By the way I use .getDataModel() instead of .getResultList() as the value binding for my dataTables. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050493#4050493 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050493 __

[jboss-user] [JBoss Seam] - Re: EntityQuery by Extension wrong maxResults

2007-06-01 Thread dajevtic
Wait! No good :-( I am using CVS20070531 and the code alredy states: | protected List truncResultList(List results) |{ | Integer mr = getMaxResults(); | if ( mr!=null && results.size() > mr ) | { | return results.subList(0, mr); | } | else

[jboss-user] [JBoss Seam] - Re: EntityQuery by Extension wrong maxResults

2007-06-01 Thread dajevtic
Excellent, thanks pampam! Is it safe to change the code by myself or will this have any negative impact on any other parts of EntityQuery? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050488#4050488 Reply to the post : http://www.jboss.com/index.html?mod

[jboss-user] [JBoss Seam] - EntityQuery by Extension wrong maxResults

2007-06-01 Thread dajevtic
Hello everyone, I recently updated to the last CVS version of Seam and suddenly my EntityQuery objects always return one record less that I set using setMaxResults. e.g. When I set max results to 5 per page, only 4 records are shown. When hitting "Next" i am presented the records 6 through 9, et

[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=bb&op=viewtopic&p=4042836#4042836 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042836 _

[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=bb&op=viewtopic&p=4042826#4042826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl

[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 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 p

[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 org.apache.myfaces.trinidad.event.ReturnEvent

[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 : http://www.jboss.com/index.html?mod

[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=bb&op=viewtopic&p=4036619#4036619 Reply to the post : http://www.jboss.com/i

[jboss-user] [JBoss Seam] - Re: Where do the seam jars go in jboss?

2007-04-10 Thread dajevtic
Alternatively you can place all required jars like myfaces, trinidad, seam, ajax4jsf, richfaces, etc. into the jsf-libs folder of jboss-deploy/jbossweb-tomcat55.sar/jsf-libs dir. It keeps you EAR file small in case you deploy to a remote server with small upload bandwidth. I prefer this approac

[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 ma

[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: | | | mypackage.MyPhaseListener

[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=bb&op=viewtopic&p=4029071#4029071 Reply to the post : http://www.jb

[jboss-user] [JBoss Seam] - Re: @DataModel == ListDataModel ???

2007-03-11 Thread dajevtic
Thanks, I decided to implement my own "PersistableList" and my own @PersistableDataModel. Basically the List fetches the objects from a database the first time they are required. It works great now, even supports filtering and RecordsPerPage settings. Thanks for all the tipps. Regards, dj View

[jboss-user] [JBoss Seam] - @DataModel == ListDataModel ???

2007-03-09 Thread dajevtic
Hello everyone, I have a question regarding the @DataModel annotation regarding large result sets (> 100.000): When I do a getResultList on the entityManager and I annotate the List with @DataModel, are all records fetched at once? I am playing with the datascroller tag of richfaces and it looks

[jboss-user] [JBoss Seam] - Re: JSF IDE support

2007-03-08 Thread dajevtic
Can anyone explain what RHDS will mean for JbossIDE? Will it be merged into RHDS? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026179#4026179 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026179

[jboss-user] [JBoss Seam] - Re: Another Seam, Myfaces, Facelets, Ajax4JSF and Trinidad p

2007-02-19 Thread dajevtic
see your original post in another thread View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018810#4018810 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018810 ___ jboss-user mai

[jboss-user] [JBoss Seam] - Re: Seam, Trinidad, Ajax4Jsf and Facelets

2007-02-19 Thread dajevtic
Use the SeamFaceletViewHandler instead of sun's as the alternate view handler. Parameters for method bindings are seam specific. the sun facelet view handler does not know how to handle those. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018808#4018808 Rep

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

2006-12-21 Thread dajevtic
+1 - Merry Xmas and a happy new year to all of you! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995563#3995563 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995563 ___

[jboss-user] [JBoss Seam] - Re: aliases in components.xml on per page basis

2006-12-20 Thread dajevtic
Is anything planned in this direction? If not, I would like to open a feature request in Jira, because it is the only thing I can think of to rid myself from the final tomahawk components I use in my seam apps: "AliasBeanScope" and "AliasBean"? I have about twenty files which all look like: |

[jboss-user] [JBoss Seam] - aliases in components.xml on per page basis

2006-12-20 Thread dajevtic
Hi, there! | | | | is a great way to create aliases, but is it possible to do this on a per page basis? Meaning, can I have an alias of user being #{actor} on one page, #{father} on another and #{alien} on a third, etc.? View the original post : http://www.jboss.com/index.html?

[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 conversat

[jboss-user] [JBoss Seam] - Re: jboss-4.0.5.GA with portal profile breaks booking exampl

2006-10-25 Thread dajevtic
Hi Gavin! Thank you for your reply! Could you please post once you have resolved this, or at least once you've found the conflicting reason, or should I open a JIRA? Thanks and cheers! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980644#3980644 Reply to th

[jboss-user] [JBoss Seam] - jboss-4.0.5.GA with portal profile breaks booking example

2006-10-24 Thread dajevtic
Hello everyone, I've tried deploying the booking example to jboss (installed as portal profile) and I get the following stack trace: anonymous wrote : 15:51:27,578 ERROR [[/seam-booking]] Exception starting filter ajax4jsf | java.lang.IllegalStateException: No Factories configured for this App

[jboss-user] [JBoss Seam] - Re: Seam security example failure.

2006-10-20 Thread dajevtic
Almost forgot the login page :-) | | | | | | | | |

[jboss-user] [JBoss Seam] - Re: Seam security example failure.

2006-10-20 Thread dajevtic
Hi, dear Seamers! I have manged to get a Login Module working which takes Users and Passwords from an EJB3. After that I use a Session bean that takes the user principal of the Faces Context's external context and authenticates the user with the seam authenticator. login-module.xml: |