[JBoss-user] [JBoss Seam] - Re: Script.aculo.us with Seam Remoting

2006-05-13 Thread simon.nicholls
Looked at how Seam might play with jMaki? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943334#3943334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943334 --- Usi

[JBoss-user] [JBoss Seam] - Re: Cannot use @DataModel and sorting functionality for Toma

2006-04-04 Thread simon.nicholls
Hi, I saw something similar when playing around on this issue: http://jboss.org/index.html?module=bb&op=viewtopic&t=79980&postdays=0&postorder=asc&start=0 When clicking the commandLink, the view component tree will be reconstructed, calling your getTestactions. Is there any chance the query is

[JBoss-user] [JBoss Seam] - Re: Problem with @DataModel in PAGE scope

2006-03-31 Thread simon.nicholls
The problem as I see it, unfortunately, exists will all non page scope referenced components. There is in fact no way to reliably value bind to a Seam component from within the view that will accompany that component's destruction, due to lifecycle differences. For example, when a Seam conversa

[JBoss-user] [JBoss Seam] - Re: Problem with @DataModel in PAGE scope

2006-03-31 Thread simon.nicholls
Hi Gavin, I'll skip over/ignore some aspects (like capturing user typed form updates & actions), and concentrate on the core issue. I'll also try to keep it simple, for the benefit of anybody else reading. Whilst I'm talking here about Seam of course, I'd like to be clear to people that it's no

[JBoss-user] [JBoss Seam] - Re: Problem with @DataModel in PAGE scope

2006-03-30 Thread simon.nicholls
So, it seems this is a classic JSF gotcha - backing bean calls are made more than once (to a Seam component in this case). Once for the render, and then during the next web request, to reconstruct the component tree. The component is already destroyed by the time the second call is made, so a ne

[JBoss-user] [JBoss Seam] - Re: JAAS and SEAM

2006-03-29 Thread simon.nicholls
With regards to API use, I meant manual Seam context & component management. I'm using it in a few places where I'm trying out finer control over the components created & their outjection (usually from upstream actions) Your pages.xml use does look interesting, & that's a good tip. I'm guessing

[JBoss-user] [JBoss Seam] - Re: Question about SeamTest

2006-03-29 Thread simon.nicholls
I'll be using SeamTest for integration testing of each main line use case scenario at least. I've opted not to use the EJB bootstrap component though, & boot the EJB3 standalone using a beforeSuite @Configuration. Speed is the issue for me, though I think the EJB component will be very handy for

[JBoss-user] [JBoss Seam] - Re: JAAS and SEAM

2006-03-28 Thread simon.nicholls
Hi Louis, Great to hear it's going well for you, especially considering the scale/nature of your project. I've spent a couple of weeks delving into various aspects of Seam, and am planning to move forward with pretty much the same stack you're using. I've 100,000 users to support initially, but

[JBoss-user] [JBoss Seam] - Re: Problem with @DataModel in PAGE scope

2006-03-27 Thread simon.nicholls
H.Looks like it happens during APPLY_REQUEST_VALUES, as the isListOK method is invoked. The projectList will be null from that invocation onwards. 20:35:55,328 ERROR [STDERR] 27-Mar-2006 20:35:55 DebugPhaseListener beforePhase INFO: before phase: RESTORE_VIEW 1 20:35:55,562 ERROR [STDERR]

[JBoss-user] [JBoss Seam] - Re: Problem with @DataModel in PAGE scope

2006-03-27 Thread simon.nicholls
I'll get together an example of what I mean, and post it here later. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932903#3932903 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932903

[JBoss-user] [JBoss Seam] - Re: Problem with @DataModel in PAGE scope

2006-03-27 Thread simon.nicholls
The problem happens before the end of the first RENDER_RESPONSE phase is complete. The view is a facelet xhtml with a dataTable & next/previous buttons which check if they need to be rendered. Page scoping is very useful btw. Cheers View the original post : http://www.jboss.com/index.html?modul

[JBoss-user] [JBoss Seam] - Re: Problem with @DataModel in PAGE scope

2006-03-27 Thread simon.nicholls
Oops, my numbering is wrong. Problem is caused at the third step View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932820#3932820 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932820

[JBoss-user] [JBoss Seam] - Problem with @DataModel in PAGE scope

2006-03-27 Thread simon.nicholls
After a @DataModel annotated variable is set up for use in page scope, subsequent calls to the DataModel holding component from a JSF view cause the DataModel to be lost. eg: 1. dataTable refers to @DataModel annotated dataList, @Factory creates the dataList, & ListDataModel wrapped dataList ge

[JBoss-user] [JBoss Seam] - Re: Best practice for search then update group of use cases

2006-03-24 Thread simon.nicholls
Ahtumbleweed. I had hoped to spark off some chat about patterns for wiring together conversations & seam components. I'll slip out quickly then, while nobody is looking :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932346#3932346 Reply to the post

[JBoss-user] [JBoss Seam] - Best practice for search then update group of use cases

2006-03-23 Thread simon.nicholls
For arguments sake, let's say a system has a collection of jobs, which will be edited by recruiters. There are several key use cases - view job, edit job, delete job, update job status for example, and each will start with searching the jobs. A single recruiter is most likely to be editing a sp

[JBoss-user] [JBoss Seam] - Re: .seam welcome-file

2006-03-20 Thread simon.nicholls
I have to disagree. There's little effort involved, you can easily reuse the rule over multiple directories & developments, and the end result feels better than a redirect. That filter is good for other rewriting tasks that also crop up, like controlling spider navigation of your site's URLs for

[JBoss-user] [JBoss Seam] - Re: .seam welcome-file

2006-03-18 Thread simon.nicholls
If I remember correctly, welcome-file doesn't pass the request through the jsf servlet as hoped. You could give http://tuckey.org/urlrewrite a try - a rule like this would probably work: | ^(.*)/$ | $1/index.seam | View the original post : http://www.jboss.com/index.htm

[JBoss-user] [JBoss Seam] - LocaleSelector.getLocale failing for SeamTest integration te

2006-03-15 Thread simon.nicholls
I'm having a problem with current HEAD, with regards to LocaleSelector/SeamViewHandler additions. When running my integration tests, they fall over in LocaleSelector.getLocale here: facesContext.getApplication().getViewHandler().calculateLocale(facesContext) as SeamTest uses MockFacesContext, &

[JBoss-user] [JBoss Seam] - Re: JSF 1.2 / Seam

2006-03-09 Thread simon.nicholls
Looks like overuploading worked a treat. There's a lot of knowledge tucked away in the Seam forum, and it would be good to see some of the more change-resistant info in the wiki. Werner, could you try the newest attachment in glassfish? View the original post : http://www.jboss.com/index.html?

[JBoss-user] [JBoss Seam] - Re: JSF 1.2 / Seam

2006-03-08 Thread simon.nicholls
I've rebuilt it on Java 5. I wonder if it's possible to overwrite the wiki attachments. Sandbox keeps asking me to log in, else I'd check. Am travel tired, so will test etc tomorrow. Cheers Gavin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928912#3928912

[JBoss-user] [JBoss Seam] - Re: JSF 1.2 / Seam

2006-03-08 Thread simon.nicholls
Bottom of http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamWithJSF1.2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928902#3928902 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928902 -

[JBoss-user] [JBoss Seam] - Re: JSF 1.2 / Seam

2006-03-08 Thread simon.nicholls
I'm not ;-) I'm sure the problem was that I was trying out Mustang amongst other things. Gavin, can you or another JBoss representative remove the attachment from the wiki page? I'll build a Java 5 version, but don't want to cause confusion with multiple attachments up there. View the original

[JBoss-user] [JBoss Seam] - Re: Advice on reusable jPDL and SFSB components

2006-03-07 Thread simon.nicholls
I've just started looking at jBPM for my own project, and can see composition/re-use becoming important very quickly, at both pageflow and process level. The whole search/select/do stuff deal is classic. +1 in Jira. Regarding IDEs, I must be going mad, as I'm sure I tried a simple PageFlow wiza

[JBoss-user] [JBoss Seam] - Re: JSF 1.2 / Seam

2006-03-07 Thread simon.nicholls
Err...I mean the *main* Seam wiki page View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928441#3928441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928441 --- This S

[JBoss-user] [JBoss Seam] - Re: JSF 1.2 / Seam

2006-03-07 Thread simon.nicholls
Have added a wiki page, and linked it into the JBoss Seam amin page, under Tips http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSeam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928439#3928439 Reply to the post : http://www.jboss.com/index.html?module=bb&op=

[JBoss-user] [JBoss Seam] - Re: JSF 1.2 / Seam

2006-03-07 Thread simon.nicholls
Hehe! True! For some barmy reason I'd pasted in a commented out listener last night (the myfaces one, just to deepen the shame of it all). In general though, I was asking so that there is a clear example of getting JSF 1.2 working with Seam & facelets, for people reading the thread. In case

[JBoss-user] [JBoss Seam] - Re: JSF 1.2 / Seam

2006-03-07 Thread simon.nicholls
Actually, could I be a pain & ask you to email me your updated ear/attach it somewhere? I'm getting FacesServlet.init NullPointerExceptions on servlet load. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928400#3928400 Reply to the post : http://www.jboss.co

[JBoss-user] [JBoss Seam] - Re: JSF 1.2 / Seam

2006-03-07 Thread simon.nicholls
Thanks! I did try updating jsf-libs initially, but had the same issue as I recall. Is this a nightly JSF 1.2 build you're using? I'll give it a try. Else, can you let me know where to get it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928389#3928389 Repl

[JBoss-user] [JBoss Seam] - Re: JSF 1.2 / Seam

2006-03-06 Thread simon.nicholls
Hi Roger, I get the same problem, and have updated JIRA with some investigation info. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928269#3928269 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928269 --

[JBoss-user] [JBoss Seam] - Re: JSF 1.2 / Seam

2006-03-06 Thread simon.nicholls
I've added an issue to JIRA http://jira.jboss.com/jira/browse/JBSEAM-156 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928224#3928224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928224 ---

[JBoss-user] [EJB 3.0] - Re: Hibernate enum bug ?

2006-02-22 Thread simon.nicholls
The other thing I'm using, which I forgot to mention, is named queries declared at class level. Anybody else had success/failure with enums in EJB-QL? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925570#3925570 Reply to the post : http://www.jboss.com/inde

[JBoss-user] [EJB 3.0] - Re: Hibernate enum bug ?

2006-02-20 Thread simon.nicholls
I used the installer for 4.0.4RC1, and selected the ejb3 option during the install process, which should give me RC5. I've also tried updating the hibernate and EJB3 libs manually to latest versions, and still get the same problem. Files inside my 4.0.4RC1 installer are stamped 07/02/06 21:24 H

[JBoss-user] [EJB 3.0] - Re: Hibernate enum bug ?

2006-02-16 Thread simon.nicholls
My enum mappings work fine except for when used as parameters in EJB-QL queries, so I guess I've got a completely different problem, though symptoms looked the same when I searched the forum. I misread the comments below is thinking that it was EJB-QL issues that would be addressed. Looks like

[JBoss-user] [EJB 3.0] - Re: Hibernate enum bug ?

2006-02-14 Thread simon.nicholls
Any more info on the spec situation regarding this? I didn't find anything in PFD spec, but I guess it was released too soon to have the issue resolved by then. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923749#3923749 Reply to the post : http://www.jbo

[JBoss-user] [JBoss Seam] - Re: Seam on Tomcat

2005-12-19 Thread simon.nicholls
I got a: "jboss-seam/examples/booking/src/test" doesn't exist" error when running the default deploy target in build.tomcat.xml This was due to compile target being sucked in from ../../build.xml, with ${src.test.dir} declared as a source path for the javac task, and "src/test" being the defau

[JBoss-user] [JBoss Seam] - Re: Seam on Tomcat

2005-12-19 Thread simon.nicholls
Worked great, though I had to override src.test.dir in the tomcat build file. Cheers for sorting this out View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913400#3913400 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913