[jboss-user] [JBoss Seam] - @CreateProcess

2007-07-18 Thread pippin1966
Hi, I have two doubts about @CreateProcess (1) I don't understand how data is bound to a jBPM process instance (Seam does a lot of magic). Reading dvdstore code I see you can attach variables to the process using: @Out(scope=ScopeType.BUSINESS_PROCESS) Is this the way to bind data to the

[jboss-user] [JBoss Seam] - Redirection to login page if not logged in

2007-07-09 Thread pippin1966
Hi, I'm trying to change the redirection that Seam does when you are not logged in. (1) I have defined this in pages.xml page view-id=/admin/* | restrict#{s:hasRole('admin')}/restrict | /page (2) In the header of pages.xml pages

[jboss-user] [JBoss Seam] - Re: Redirection to login page if not logged in

2007-07-09 Thread pippin1966
The thing I was doing wrong: exception class=org.jboss.seam.security.NotLoggedInException | redirect view-id=/home.xhtml | messagePlease log in first/message | /redirect | /exception In pages.xml is the page you use for notLogged exceptions Sorry.

[jboss-user] [JBoss Seam] - s:selectDate and i18n

2007-06-28 Thread pippin1966
Hi, I've been working with Seam for two weeks now and I think it's a great framework. It's incredible the amount of functionality it can do with so little code :-) I have a problem with one of the Seam jsf controls: s:selectDate ¿Is there anyway to i18n this control? I need: (a) First day of

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

2007-06-28 Thread pippin1966
[EMAIL PROTECTED] wrote : (a) This is possible in Seam2 | (b) What literals? | (c) What pattern are you providing in s:convertDate Time (a) OK, thanks (b) Sunday - Domingo, Monday - Lunes, etc (3) Now it's working OK, very strange. Even if I redeploy. This is a fragment of the xhtml file

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

2007-06-28 Thread pippin1966
[EMAIL PROTECTED] wrote : So, that comes froms the locale (if set) - set your locale, you should get it localised. You were right Pete. Everything it's OK now, even Monday it's the first day of the week. Thanks a lot View the original post :