[jboss-user] [JBoss Seam] - Re: @In(required = false,value=

2007-10-12 Thread lcoetzee
Aaah.. the behavior of DataModel has changed a lot (earlier it did provide some pseudo @In/@Out functionality)! Is there a way that I can get the changed stuff from "sections" back into the DataModel and displayed? (Apologies for grabbing so much airtime with this!) L View the original pos

[jboss-user] [JBoss Seam] - Re: @In(required = false,value=

2007-10-12 Thread lcoetzee
Pete, that is very very cute !!! Works nicely. Thanks. Another way (using the old approach combined with this new method) which works as well is: | @In(required = false,value="#{sections.rowIndex}") | private int selectedSectionIndexNr; | | | public String selectSection() {

[jboss-user] [JBoss Seam] - Re: @In(required = false,value=

2007-10-12 Thread lcoetzee
Oops.. title should have read: @In(required = false,value="#{sections.rowData}") issues L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094537#4094537 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094537 _

[jboss-user] [JBoss Seam] - @In(required = false,value=

2007-10-12 Thread lcoetzee
Hi, this with reference to: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121008 I have two beans: questionnaireManagementBean which outjects a DataModel : @DataModel | private List sections; and renders an jsf page. From the JSF page two actions can be executed (on the second

[jboss-user] [JBoss Seam] - Re: DataModel in two SFSB issues (regression)

2007-10-11 Thread lcoetzee
Thanks Pete... my Eclipse code completetion, combined with the "default value" tripped me up a bit. Thanks L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094362#4094362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply

[jboss-user] [JBoss Seam] - Re: DataModel in two SFSB issues (regression)

2007-10-11 Thread lcoetzee
One question regarding: | @In("#{sections.rowData}") | @Out(required = false, scope = ScopeType.CONVERSATION) | private Section section; | Is there a way that one can say .. required=false using the above annotation. At this point I get an exception when I try to use execute ano

[jboss-user] [JBoss Seam] - Re: DataModel in two SFSB issues (regression)

2007-10-11 Thread lcoetzee
Great stuff. Thanks Pete. (I will have to update my code in a few places where I have used this behavior, but not a big problem) A quick test showed that it needs to be : | @In("#{sections.wrappedData}") | private List sections; | | @In("#{sections.rowData}") | @Out(required =

[jboss-user] [JBoss Seam] - DataModel in two SFSB issues (regression)

2007-10-11 Thread lcoetzee
Hi, some time ago I ran into this problem (which was fixed in CVS), but seems to have re-appeared with Seam 2.0 CR2 http://www.jboss.com/index.html?module=bb&op=viewtopic&t=106625 Briefly... I have a SFSB (questionnaireManagementBean) where I create/populate a datamodel ("sections"), which is

[jboss-user] [JBoss Seam] - Re: Conversational ?

2007-09-06 Thread lcoetzee
Hi Pete. No problem re. the delayed reply. I have rebuilt the latest Seam from CVS today (Sept 6). Somewhere along the line Seam has actually resolved this problem (or it appears that way from my testing ;-). I will deploy this version and keep an eye on the log files and report back if I s

[jboss-user] [JBoss Tools (users)] - How to compile JBossTools ?

2007-08-28 Thread lcoetzee
Hi, bandwidth constraints prevents me from downloading regular nightly builds. However, I can keep up to date by just building it locally after doing a svn update. Unfortunately I havent found any documentation of how to actually build the various plugins... Does somebody have a pointer for th

[jboss-user] [JBoss Seam] - Re: Conversational ?

2007-08-22 Thread lcoetzee
I have the following in my pages.xml. The issue comes in that the method on the bean gets called (which requires all the injections to take place) way before we actually get to the navigation part. | | | | | |

[jboss-user] [JBoss Seam] - Conversational ?

2007-08-22 Thread lcoetzee
Hi, we have a problem that used to be addressed by @Conversational. However with Seam 2 I am not sure how to address it. The scenario: I have a current long running conversation. During this conversation a page (view.xhtml) is displayed. view.xhtml contains an s:link with an action in a state

[jboss-user] [JBoss Seam] - Re: howto display the an enum object internationalized

2007-08-03 Thread lcoetzee
What we do is the following: | public enum GenderEnum { | FEMALE, MALE; | | public final static String translatedGenders[][] = { | {"Female", "Male"}, | {"Vroulik", "Manlik"}, | {"Female - Zulu", "Male -Zulu"},

[jboss-user] [JBoss Seam] - Re: Property 'debug' not found on type org.jboss.seam.Names

2007-07-19 Thread lcoetzee
The CVS build I made now (Thu Jul 19 14:04:12 SAST 2007) works again ! Thanks L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065747#4065747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065747

[jboss-user] [JBoss Seam] - Property 'debug' not found on type org.jboss.seam.Namespace

2007-07-18 Thread lcoetzee
Hi, using a build from CVS 18/07/2007 I can no longer access the debug.jsf page. I get the following exception: | 8:08:45,946 WARN [lifecycle] phase(RENDER_RESPONSE 6,[EMAIL PROTECTED]) threw exception: javax.faces.FacesException: javax.el.PropertyNotFoundException: /file:/home/lcoetzee

[jboss-user] [JBoss Seam] - Re: org.jboss.seam.web.isUserInRole issue

2007-07-11 Thread lcoetzee
Hmmmseems the names have changed. Changing: #{org$jboss$seam$web$isUserInRole['ServiceTopicManager']} into #{isUserInRole['ServiceTopicManager']} Solves the problem. L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062921#4062921 Reply to the post :

[jboss-user] [JBoss Seam] - org.jboss.seam.web.isUserInRole issue

2007-07-11 Thread lcoetzee
Hi, with this mornings update of Seam (Wed Jul 11 07:56:18 SAST 2007) it seems as if the isUserInRole functionality has stopped working. I see the following in the log file: | 2007-07-11 12:28:26,092 INFO [org.jboss.seam.init.Initialization] two components with same name, higher precedence

[jboss-user] [JBoss Seam] - Re: Class type issue

2007-07-11 Thread lcoetzee
Hmm... trying: | Class deproxied = org.hibernate.Hibernate.getClass(clazz); results in : Executing deproxy on csir.structure.par.Topic_$$_javassist_21 -->java.lang.Class which is not quite what I had in mind ;-). I need to get the subclass of Topic. L View the original post : http://www

[jboss-user] [JBoss Seam] - Re: Class type issue

2007-07-11 Thread lcoetzee
I have made some progress with your suggestion.. (e.g. implemented a facelets function). Unfortunately the getEntityClass returns the base class and not the inherited class.. e.g | Executing deproxy on csir.structure.par.Topic_$$_javassist_226 -->csir.structure.par.Topic In this case the d

[jboss-user] [JBoss Seam] - Re: Class type issue

2007-07-04 Thread lcoetzee
Hmmm.. but the problem comes in later. I do | | bla bla bla | | Which works very well to display a specific thing based on the class type. Issue is that because of this manipulation, those that have been manipulated are of the wrong type So why are only some of them manipulated

[jboss-user] [JBoss Seam] - Class type issue

2007-07-04 Thread lcoetzee
Hi, I have quite an interesting issue (which at this point has me stumped). I have a class Service that has a one-to-many to Topic (which is a base clase). Topic is extended into three other (CMSTopic, DFTopic and MMTopic). Service | @Entity | @Name("service") | @Table(name = "service")

[jboss-user] [JBoss Seam] - Re: Nullpointer on passivateEntity (current CVS)

2007-06-28 Thread lcoetzee
I have played around a bit more and have seen that the issue is related to the following: | Context ctx = Contexts.getConversationContext(); | | if (ctx != null) { | ctx.remove("needSelections"); | ctx.flush(); |

[jboss-user] [JBoss Seam] - Re: Nullpointer on passivateEntity (current CVS)

2007-06-27 Thread lcoetzee
I have hacked down my application as much as I could. Hopefully you will be able to make sense of it ;-) http://jira.jboss.com/jira/browse/JBSEAM-1564 Thanks L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058321#4058321 Reply to the post : http://www.

[jboss-user] [JBoss Seam] - Nullpointer on passivateEntity (current CVS)

2007-06-26 Thread lcoetzee
Hi, I have run into the following Exception: | 12:03:57,002 ERROR [SeamPhaseListener] uncaught exception | java.lang.NullPointerException | at org.jboss.seam.contexts.PassivatedEntity.passivateEntity(PassivatedEntity.java:155) | at org.jboss.seam.contexts.EntityBean.passi

[jboss-user] [JBoss Seam] - Re: Enabling the redirect filter

2007-06-25 Thread lcoetzee
Confirmed. Working again. Thanks for the quick response. L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057423#4057423 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057423

[jboss-user] [JBoss Seam] - Enabling the redirect filter

2007-06-25 Thread lcoetzee
Hi, somewhere along the line I have lost the ability to enable the redirect filter (CVS build Mon Jun 25 morning SAST). I have the following configured in web.xml: | | Seam Filter | org.jboss.seam.web.SeamFilter | | | | Seam Filter

[jboss-user] [JBoss Seam] - Re: SeamExtendedManagedPersistencePhaseListener ?

2007-06-19 Thread lcoetzee
Aahh.. That is good information. I have fixed up the code a bit and now works as expected (from what we have tested here). Thanks a stack. L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055543#4055543 Reply to the post : http://www.jboss.com/index.htm

[jboss-user] [JBoss Seam] - Re: SeamExtendedManagedPersistencePhaseListener ?

2007-06-19 Thread lcoetzee
I will check it, but this is code that has worked with all the Seam CVS's prior to the weekend. My feeling is that, that detatched thing would have popped earlier. L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055486#4055486 Reply to the post : http://

[jboss-user] [JBoss Seam] - Re: SeamExtendedManagedPersistencePhaseListener ?

2007-06-19 Thread lcoetzee
A new day ;-) I have changed my EntityManager to be container managed: | @PersistenceContext(type=PersistenceContextType.EXTENDED, name="napEntityManager") | EntityManager em; I now get the following: 2007-06-19 09:29:04,036 ERROR [csir.content.management.seam.ContentManagementBean] F

[jboss-user] [JBoss Seam] - Re: SeamExtendedManagedPersistencePhaseListener ?

2007-06-18 Thread lcoetzee
Aahh.. makes sense. I will change it tomorrow and give feedback. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055362#4055362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055362 _

[jboss-user] [JBoss Seam] - Re: SeamExtendedManagedPersistencePhaseListener ?

2007-06-18 Thread lcoetzee
Jip... this is what we have: @In(create = true, value = "napEntityManager") | EntityManager em; | We do all sorts of things (e.g. sometimes we have to evict a touched entity)... L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055355#4055355 Re

[jboss-user] [JBoss Seam] - Re: SeamExtendedManagedPersistencePhaseListener ?

2007-06-18 Thread lcoetzee
Hmm.. something else... my method where this happens (save) is annotated with a @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) and the sfsb with | @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) Dont know if that might give some insight. L View the original post

[jboss-user] [JBoss Seam] - Re: SeamExtendedManagedPersistencePhaseListener ?

2007-06-18 Thread lcoetzee
Seam thinks that the version numbers are different (the values of the versions). These values do not correlate with the version value in the database (8910 and 8904 with 1 in the db). I am using : | private Integer version; | | @Version | public Integer getVersion() { |

[jboss-user] [JBoss Seam] - Re: SeamExtendedManagedPersistencePhaseListener ?

2007-06-18 Thread lcoetzee
I have tested and seems to be working. Thanks. However, the following exception has cropped up (from functionality that did work previously). I will look into it a bit more to see if I can see what is going on. L 2007-06-18 18:32:27,210 ERROR [csir.content.management.seam.ContentManagementB

[jboss-user] [JBoss Seam] - SeamExtendedManagedPersistencePhaseListener ?

2007-06-18 Thread lcoetzee
Hi, I am tracking Seam's CVS. Some changes done very recently (over the weekend or Friday 15/06/2007) is creating some weird things. I see that there is no more SeamExtendedManagedPersistencePhaseListener. I have taken that out from my faces-config.xml. I assume that the normal SeamPhaseListen

[jboss-user] [JBoss Seam] - Re: Seam and Adobe Flex

2007-06-11 Thread lcoetzee
Just for interest sake I have uploaded a very small example of using OpenLaszlo (which compiles into swf) with Seam to the JBossSeam page on the wiki some time ago. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSeam. Look at the example under OpenLaszlo + Seam - a basic example using OpenLaszlo

[jboss-user] [JBoss Seam] - Re: Seam.invalidateSession issue

2007-06-08 Thread lcoetzee
Verified! Logout is working again! Thanks for the quick response. L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052422#4052422 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052422 __

[jboss-user] [JBoss Seam] - Seam.invalidateSession issue

2007-06-07 Thread lcoetzee
Hi, we have been using the Seam.invalidateSession for a long time with great success. Very recently this seems to have stopped working (just tested with a very new Seam cvs build...(Thu Jun 7 18:14:16 SAST 2007)). For some reason my session does not get invalidated. I have also tried to end

[jboss-user] [JBoss Seam] - Re: Seam and OpenLaszlo?

2007-05-07 Thread lcoetzee
Hi, I have added a very basic example to the Seam Wiki. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSeam Look at: anonymous wrote : OpenLaszlo + Seam - a basic example using OpenLaszlo to create a swf object (explode in examples/remoting) | Regards L View the original post : http:/

[jboss-user] [JBoss Seam] - Re: Seam and OpenLaszlo?

2007-05-07 Thread lcoetzee
I haven't had the time to work a lot on it. I am currently porting the example to the latest Seam cvs and jboss 4.2.0-CR2. I will place it on the wiki (will post here once I have done that), might be useful ! Regards L View the original post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JBoss Seam] - Re: Migrate to jboss 4.2.0 CR

2007-04-18 Thread lcoetzee
I am making slow progress. The fix for com.sun.faces.application.ApplicationImpl.addELResolver(javax.el.ELResolver) error is the following (points 1 and 2): 1. in application.xml I only have | jboss-seam.jar | | | jboss-el.jar |

[jboss-user] [JBoss Seam] - Re: DataModel in two SFSB issues

2007-04-18 Thread lcoetzee
I have managed to get the relevant part of my app running under the new jb4.2.0. Seems the fix has done the trick ! Great stuff. Thanks. L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038459#4038459 Reply to the post : http://www.jboss.com/index.htm

[jboss-user] [JBoss Seam] - Re: Migrate to jboss 4.2.0 CR

2007-04-18 Thread lcoetzee
Based on the following: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss5AndMyFaces I am encouraged to dig a bit more. I have resolved the Error configuring application listener of class org.apache.myfaces.webapp.StartupServletContextListener error (still had a myfaces listener configure

[jboss-user] [JBoss Seam] - Migrate to jboss 4.2.0 CR

2007-04-18 Thread lcoetzee
Hi, This post with reference to: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=106625 I want to migrate my application to use the latest Seam cvs (to test a fix which has been submitted) which requires jboss 4.2.0CR. It seems that jb4.2.0 uses the JSF1.2 RI and not the myfaces jsf a

[jboss-user] [JBoss Seam] - Re: DataModel in two SFSB issues

2007-04-18 Thread lcoetzee
My applications is still running on jboss 4.0.5, which means that I can't test the new Seam (as Seam is now dependent on jboss 4.2.0). I have been trying to port my app to run with the new jboss and seam. Unfortunately I am struggling a bit (the move from myfaces to jsf-ri appears to be problem

[jboss-user] [JBoss Seam] - DataModel in two SFSB issues

2007-04-17 Thread lcoetzee
Hi, I have an interesting issue with DataModels. Any suggestions would be appreciated. The setup: I have Bean "A" which has a list ("sections") annotated as DataModel. "sections" is available in my current conversation. When invoking a method from my JSF page (which calls a method in my secon

[jboss-user] [JBoss Seam] - Re: JAAS login with JBoss Seam

2007-03-28 Thread lcoetzee
The Seam wiki contains an example (now outdated). Look under the Deprecated & Old Stuff heading. http://www.jboss.com/wiki/Wiki.jsp?page=JBossSeam L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032341#4032341 Reply to the post : http://www.jboss.com/ind

[jboss-user] [JBoss Seam] - CSS background image ending conversation?

2007-03-06 Thread lcoetzee
Hi, we make use of several different CSS to improve the accessibility of the page currently viewed. While a page is viewed we have a long running conversation. I make use of some javascript to change the default style sheet to one with a different background and fonts. In this CSS a new backgr

[jboss-user] [JBoss Seam] - Re: Remoting problem: object as param not passed

2007-01-25 Thread lcoetzee
Posted in Jira: http://jira.jboss.org/jira/browse/JBSEAM-700 Thanks Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006678#4006678 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006678

[jboss-user] [JBoss Seam] - Re: Remoting problem: object as param not passed

2007-01-25 Thread lcoetzee
Interestingly enough I can make it work when I change my JavaBean into an Entity: | @Entity //this makes it work | @Name("person") | public class Person implements Serializable{ | .. | results in this: | 15:16:30,024 INFO [STDOUT] Received value: dummyvalue | 15:16:30,02

[jboss-user] [JBoss Seam] - Remoting problem: object as param not passed

2007-01-25 Thread lcoetzee
Hi, I am playing around with the Seam remoting. I am playing with the helloworld seam application: I am attempting to pass a seam object (JavaBean) from the browser to the backend. When invoking the method with the parameter, the method is called, but the object is not populated with any value

[jboss-user] [JBoss Seam] - Re: Seam and OpenLaszlo?

2007-01-17 Thread lcoetzee
I have made significant progress by using Seam remoting. Using flash.external.ExternalInterface opens up the various Javascript methods in the xhtml (as well as the ActionScript in the Flash movie). I have hacked the helloworld example (seam remoting), thus invoking the Seam method from with

[jboss-user] [JBoss Seam] - Seam and OpenLaszlo?

2007-01-16 Thread lcoetzee
Hi, we have developed and released a very substantial application using Seam http://www.napsa.org.za/portal and had a lot of fun while doing it. My group is now in the process of starting development of a new application. Currently the thinking is to use a more "flashy" type of presentation la

[jboss-user] [JBoss Seam] - Re: Ajax Push/Reverse Ajax?

2006-12-13 Thread lcoetzee
Great work Shane et. al. I love Seam! Has made my life so much easier ! Had a quick look in the Seam code. Appears to be using polling. However I think it will work well (as long as one doesn't have massive number of people killing the server in terms of load). L View the original post :

[jboss-user] [JBoss Seam] - Ajax Push/Reverse Ajax?

2006-12-13 Thread lcoetzee
Hi, I have been looking a bit at implementing some kind of chat room funcitonality in my application using Seam and Ajax. From the Seam docs I see that the Ajax uses polling to contact the server to retrieve updates. I have been wondering if it wont be possible to implement some kind of "Push"

[jboss-user] [JBoss Seam] - Re: Ajax Push/Reverse Ajax?

2006-12-13 Thread lcoetzee
Gavin, excellent example (had a quick look/play with it now). That is the way I was thinking (to use a message topic, publish/subscribe etc. (just looked at the JMS Messaging in the docs as well)). >From what I can see this example does not use the normal polling mechanism (I >have just bro

[jboss-user] [JBoss Seam] - Re: ELContext exception

2006-11-23 Thread lcoetzee
Thanks. I have added it ! I will keep an eye on the log file to see if it has solved it ! Interesting that the seam examples do not contain it though. L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988081#3988081 Reply to the post : http://www.jboss.com

[jboss-user] [JBoss Seam] - Re: ELContext exception

2006-11-22 Thread lcoetzee
Jip. In my WAR: | WEB-INF/lib/el-api.jar | WEB-INF/lib/el-ri.jar | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988059#3988059 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988059

[jboss-user] [JBoss Seam] - Re: Weird injection issue

2006-11-22 Thread lcoetzee
What I can see in the log file is that the bean (viewContentBean), which outjects the element initially (selectedGroupingForView) has been destroyed earlier[org.jboss.seam.interceptors.RemoveInterceptor] Stateful component was removed: viewContentBean but it seems that the conversation is still

[jboss-user] [JBoss Seam] - ELContext exception

2006-11-22 Thread lcoetzee
Hi, at times I see a NoClassDefFoundError exception in my log file. Normally occurs when the RemoveInterceptor is removing. Below is a typical exception. Note the ELContext exception: Caused by: java.lang.NoClassDefFoundError: javax/el/ELContext Any idea why this happens ? | 2006-11-22 10:

[jboss-user] [JBoss Seam] - Re: Weird injection issue

2006-11-21 Thread lcoetzee
I agree that it is a conversation timeout. I have | /public/error/errorPage.xhtml | | in components.xml as well as | ... | in pages.xml. As I understand it, it should through me out if I try to access the bean without the conversation. The complete method call from

[jboss-user] [JBoss Seam] - Re: FacesMessage propagation issue

2006-11-15 Thread lcoetzee
Jira: http://jira.jboss.com/jira/browse/JBSEAM-503 L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986138#3986138 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986138 ___

[jboss-user] [JBoss Seam] - Re: FacesMessage propagation issue

2006-11-13 Thread lcoetzee
I think Pete is refering to something as suggested in http://forum.java.sun.com/thread.jspa?forumID=427&threadID=657727 This method saves a list of messages in the session which gets re-instated later on. I have used it before but had a few issues where the same error message gets displayed twic

[jboss-user] [JBoss Seam] - Re: FacesMessage propagation issue

2006-11-13 Thread lcoetzee
I have looked a bit at the FacesMessages.java. I think I understand why I loose my messages when I have @End(beforeRedirect=true). facesMessages is conversation scoped: @Scope(ScopeType.CONVERSATION) | @Name("facesMessages") | @Intercept(NEVER) | public class FacesMessages implements Seria

[jboss-user] [JBoss Seam] - FacesMessage propagation issue

2006-11-13 Thread lcoetzee
Hi, I am struggling a bit to propagate my FacesMessage over redirects when used in conjunction with @End(beforeRedirect=true). When not ending the conversation, my faces message is displayed on the desired page. However, the moment I try to force an end using the above annotation, the message

[jboss-user] [JBoss Seam] - Re: EL enhancement with Enums

2006-11-02 Thread lcoetzee
Gavin, works like a dream after I wrapped it ! Thanks Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982868#3982868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982868 ___

[jboss-user] [JBoss Seam] - EL enhancement with Enums

2006-11-02 Thread lcoetzee
Hi, we would like to use the EL enhancement which would allow us to send a Enum param back. allLanguagesManager is an arraylist containing all the enums: | | | | |

[jboss-user] [JBoss Seam] - Re: Creating RSS feed ?

2006-10-27 Thread lcoetzee
Strange how writing things down helps the mind :-) I see in the blog example that the faces servlet is mapped to: | Faces Servlet | /seam/* | | while I use: | Faces Servlet | *.jsf | and the important one | j

[jboss-user] [JBoss Seam] - Creating RSS feed ?

2006-10-27 Thread lcoetzee
Hi, I have been trying to create a rss feed publishing things (new elements) along the line of the example in the jboss-seam blog example. For some very weird reason I am not able to get Seam to inject/unwrap when the rss news feed page is accessed. my rss page looks something like this(rssNew

[jboss-user] [JBoss Seam] - Re: Custom 404 error page display problem

2006-10-19 Thread lcoetzee
Interestingly enough the problem is solved when configuring the errorpage as a jsf not xhtml | 404 | /public/error/errorPage.jsf | I have noticed that the Seam blog example uses | 404 | /seam/404.xhtml |

[jboss-user] [JBoss Seam] - Custome 404 error page display problem

2006-10-19 Thread lcoetzee
Hi, I have annotated my exception class with the @HttpError to return the 404 error code: @ApplicationException(rollback=true) | @HttpError(errorCode=HttpServletResponse.SC_NOT_FOUND) | public class NAPEntityNotFoundException extends Exception implements Serializable { | When I throw th

[jboss-user] [JBoss Seam] - Re: Runtime specification of viewId in Redirect ?

2006-10-10 Thread lcoetzee
Jira. Will do. One possible solution for now is probably just to have different exceptions classes, each one annotated to point to a different viewId. Slightly cumbersome, but it will also do the trick (if you remember to throw the right exception in the right place ;-). Thanks L View the o

[jboss-user] [JBoss Seam] - Runtime specification of viewId in Redirect ?

2006-10-10 Thread lcoetzee
Hi, I am making use of the @Redirect tag as below: @ApplicationException(rollback=true) | @Redirect(viewId = "/secure/structure/management/adminHome.xhtml") | public class NAPException extends Exception implements Serializable { This works well. However, ideally I would like to configure the

[jboss-user] [JBoss Seam] - Re: Step-by-step localization guide

2006-09-07 Thread lcoetzee
For those guys out there using postgresql this is how to create a UTF-8 db: #On linux su to postgres user su -c "su -s /bin/sh postgres" #Create the db user createuser -d -P -E dbUser #create the instance createdb -E UNICODE instance -O dbUser #To see if it worked: psql -l #Results in ins

[jboss-user] [JBoss Seam] - FYI: Seam presentation at JUGSA

2006-08-30 Thread lcoetzee
I will be giving a Seam introduction/overview on 31/08/2006 (17h30 SAST) at our local Java User Group in Pretoria (South Africa). For those people in the vicinity (or those feeling like experiencing Africa and who want to quickly fly over) all are welcome ;-). Regards Dr. Louis Coetzee louis.c

[jboss-user] [JBoss Seam] - Re: Gavin ?

2006-08-22 Thread lcoetzee
Welcome back. Hope you had an excellent rest ! Looking forward to see what you have planned for Seam next ;-) L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966878#3966878 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=re

[jboss-user] [JBoss Seam] - Re: Gavin ?

2006-08-22 Thread lcoetzee
Aah. Good. Well deserved ! Looking forward to have a rested Gavin back. Thanks L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966598#3966598 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966598 ___

[jboss-user] [JBoss Seam] - Gavin ?

2006-08-21 Thread lcoetzee
Hi all, is Gavin on leave ? I haven't seen a posting from him since about 10 Aug (and almost no activiy on the CVS of Seam). Anyway, me just curious ;-) Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966596#3966596 Reply to the post : http://www.j

[jboss-user] [JBoss Seam] - Resuming parent conversation

2006-08-07 Thread lcoetzee
Hi, I have been stuggling a bit to resume my parent conversation after the end of a nested (inner) conversation. I have seen quite a bit of postings regarding the topic but as yet I have not been able to resume my parent conversation. I have the following scenario: I am in a current convers

[jboss-user] [JBoss Seam] - Nested conversations clarrification

2006-08-04 Thread lcoetzee
Hi, I have been playing around with nested conversations and ran into an iteresting situation. I would like to try and clarify my understanding... I have a conversation with some outjected variables e.g. an oujected variable : "component". 1. When I start a nested conversation (@Begin(join=tr

[jboss-user] [JBoss Seam] - Re: nested datatables with s:link

2006-07-24 Thread lcoetzee
Excellent. thanks Gavin. Later Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958652#3958652 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958652 ___ jboss-user mail

[jboss-user] [JBoss Seam] - Re: nested datatables with s:link

2006-07-17 Thread lcoetzee
Jip. I think in this case it is more a case of getting Tomahawk working with Facelets. The whole thing falls apart in a specific class that was written to allow for the usage in Facelets. I will keep an eye on the Trinidad stuff. With regard to the current solution: I am still searching for goo

[jboss-user] [JBoss Seam] - Re: nested datatables with s:link

2006-07-17 Thread lcoetzee
Jip, it will work. My one fear of using the RequestParameter stuff is that I need to add a bit more error handling to ensure that somebody isn't messing with the url (e.g sending a bogus row value). Thanks L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=

[jboss-user] [JBoss Seam] - Re: nested datatables with s:link

2006-07-17 Thread lcoetzee
I have found a way using MyFaces Tomahawk's updateActionListener. Something like: | | | | | | | |

[jboss-user] [JBoss Seam] - nested datatables with s:link

2006-07-15 Thread lcoetzee
Hi, I want to nest datatable, with the inside loop containing a s:link with an action. Something like: | | #{currentSection.sectionLabel} | | #{currentQuestion.questionLabel} |