[jboss-user] [JBoss Seam] - Stateful and PAGE scope

2008-02-15 Thread gersonk
I'd like to keep all the input data (binded to the variable contexts) of the first tab (rich:tabPanel) when switching to the second tab. Which is the best context for doing that if I can't use PAGE scope in the SFSB? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [JBoss Seam] - Stateful Seam Component injects POJO Seam Component

2008-02-15 Thread gersonk
I want to inject a POJO Seam Component (@Name, @Scope(PAGE)) into a SFSB Seam Component (@Name, @Stateful, default scope)... Is this possible? Are there any issues I should be aware of (transaction, entity manager, etc.)? View the original post : http://www.jboss.com/index.html?module=bb&op=v

[jboss-user] [JBoss Seam] - @In and @Factory

2008-02-08 Thread gersonk
Code example: | ... | @Name("componentA") | @Stateful | public class ComponentA{ | |@In(required=false) |@Out(required=false, scope=PAGE) |private Integer x; | |@Factory("x") |public void initX(){ | x = 1; |} | |public void someMet

[jboss-user] [JBoss Seam] - EntityHome as base of all DAO classes

2008-02-07 Thread gersonk
By using EntityHome as base of all my DAO class is a good design? Pros and cons? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127385#4127385 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127385 __

[jboss-user] [JBoss Seam] - hardcoded parameter value

2008-01-28 Thread gersonk
what's the best way to send a hardcoded value (String literal) from the page to a seam component without using submit method parameter? would it be a http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124070#4124070 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&

[jboss-user] [JBoss Seam] - Re: Component access another component

2008-01-27 Thread gersonk
"[EMAIL PROTECTED]" wrote : No. You'd need to declare a getter. Even the componentA declares a getter for its field, how can I access it from componentB's method? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123909#4123909 Reply to the post : http://www.

[jboss-user] [JBoss Seam] - Component access another component

2008-01-24 Thread gersonk
Is there a way to access a variable context defined in a component A's fields/methods from the component B's method? It might look like this: | @Name("componentA") | public class ComponentA{ | |@Out |private String fieldX; | | } | | @Name("ComponentB") | public

[jboss-user] [JBoss Seam] - Conversation Bug?

2008-01-22 Thread gersonk
My seam application list all books in a dataTable. The user can edit any book simply by clicking on the 'Edit This Book' button placed at the end of each row... it shows the input boxes and the save button in a modal panel. When the user finishes updating the book information and clicks on save b

[jboss-user] [JBoss Seam] - SSO integration

2007-12-12 Thread gersonk
Is there any plan to support the JBoss SSO integration in the next release (2.0.1)? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112359#4112359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112359 _

[jboss-user] [JBoss Seam] - Re: Seam Security - add a permission to Identity

2007-12-10 Thread gersonk
"[EMAIL PROTECTED]" wrote : I'm currently working on some extensions to the security API, one of these will be ACL security which will allow you to assign instance-based permissions to users. When will be released? Is there any workaround for the 2.0.0 version? I need this in the current projec

[jboss-user] [JBoss Seam] - Re: Seam Security - add a permission to Identity

2007-12-07 Thread gersonk
"[EMAIL PROTECTED]" wrote : There's currently nothing built into Seam to allow something like this. What do you suggest while Seam does not have such feature? Is there some plan to support that in the future? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=411

[jboss-user] [JBoss Seam] - Seam Security - add a permission to Identity

2007-12-07 Thread gersonk
How can I add a permission to Identity directly? Let's say 10 users have the same role but one of them must have another permission that doesn't belong to that role. I don't want to create another role. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4

[jboss-user] [JBoss Seam] - 'mavenized' property

2007-10-09 Thread gersonk
Could someone explain to me the meaning of the 'mavenized' attribute in the build.properties? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093194#4093194 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093194 ___

[jboss-user] [JBoss Seam] - Re: 2.0.0.CR2:

2007-10-08 Thread gersonk
I tried to build first (by running 'ant' in the root dir) but still these same errors occur (errors occur both during building and running 'seam setup'). anonymous wrote : | ... | [artifact:dependencies] Unable to resolve artifact: Missing: | [artifact:dependencies] -- | [artifac

[jboss-user] [JBoss Seam] - Maven Archetype - Seam 2.0.0. release

2007-10-08 Thread gersonk
Hi, I'd like to know if a maven archetype (for skeleton creation) will be available when the Seam 2.0.0 is released. Tks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092737#4092737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=postin

[jboss-user] [JBoss Seam] - Re: Can I use the immediate attribute with Seam?

2007-09-27 Thread gersonk
uops... the h:commandButton's immediate attribute... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089467#4089467 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089467 ___ jb

[jboss-user] [JBoss Seam] - Can I use the immediate attribute with Seam?

2007-09-27 Thread gersonk
Is it fine to use the immediate attribute with Seam? Will really all phases of Seam's Life Cycle be skipped? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089466#4089466 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=

[jboss-user] [JBoss Seam] - Steps to update the Seam jars

2007-09-24 Thread gersonk
I'd like to quickly update the new nightly Seam jars in my current application. It is as simple as copying the jar files (SeamRootDir\lib) to MyApplication/lib? Should I take care with something? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088120#4088120

[jboss-user] [JBoss Seam] - Re: RequestParameter with Complex Type

2007-09-21 Thread gersonk
Thanks, I'll try that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087383#4087383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087383 ___ jboss-user mailing list jboss-us

[jboss-user] [JBoss Seam] - RequestParameter with Complex Type

2007-09-21 Thread gersonk
Is it possible to bind a complex type to a object annotated with @RequestParameter? How do it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087379#4087379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087379 ___

[jboss-user] [JBoss Seam] - Re: Hot deploy SFSB and SLSB

2007-09-20 Thread gersonk
"[EMAIL PROTECTED]" wrote : ... All of these things will be fixed at some point, but for now, unless you need specific features of EJB3 (e.g. remote access, clustering) I would suggest to use POJOs. | Why I could not use POJOs and Spring (transaction managment and injection of Spring bean th

[jboss-user] [JBoss Seam] - Hotel Booking sample and Conversation - Why merge?

2007-09-20 Thread gersonk
The HotelBookingAction (SFSB) has an method that begins the long-running conversation (@Begin) called selectHotel(Hotel selectedHotel) . See below: | @Stateful | @Name("hotelBooking") | @Restrict("#{identity.loggedIn}") | public class HotelBookingAction implements HotelBooking | { |

[jboss-user] [JBoss Seam] - Re: Seam and JSF EL Expression

2007-09-20 Thread gersonk
"thejavafreak" wrote : | The second one will get the messageList that is created by the @Factory | but it's not necessary to use any factory method to get it to work... Is it about dependency injection? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086

[jboss-user] [JBoss Seam] - DVD Store sample - returns "success".

2007-09-19 Thread gersonk
I'm trying to understand the 'DVD Store' sample that comes with seam distribution. The EditCustomerAction.saveUser() could return the "success" string, but I can't find its reference in the pages.xml. How does Seam know which page it should forward to? | public String saveUser() { |

[jboss-user] [JBoss Seam] - Re: @In on SESSION scope component

2007-09-19 Thread gersonk
thanks. "monkeyden" wrote : Yes, we had some HUGE performance problems until we realized this. We have a relatively large form that was getting killed because of it. Interesting... But even the form is so large, I suppose that Seam Interceptor basically just copy the object's reference to the

[jboss-user] [JBoss Seam] - Seam and JSF EL Expression

2007-09-19 Thread gersonk
what's the difference about the two examples bellow (and benefits of one versus another)? How do I choose one or another? | | ... | | and | | ... | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086338#4086338 Reply to the pos

[jboss-user] [JBoss Seam] - @In on SESSION scope component

2007-09-19 Thread gersonk
When the component has SESSION scope, the dependency injection will occur for every component invocation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086317#4086317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=408

[jboss-user] [JBoss Seam] - Re: SFSB and Hibernate Validator -

2007-09-13 Thread gersonk
"[EMAIL PROTECTED]" wrote : Seam needs to be able to look up a model.value to find the relevant validation annotation, @In doesn't do that. Sorry, I didn't understand yet. If I submit the form (call some method on SFSB), Seam could validate immediately after injecting the model View the or

[jboss-user] [JBoss Seam] - Re: SFSB and Hibernate Validator -

2007-09-13 Thread gersonk
Actually I'd like to know why the code worked fine when I got rid of the '@In'. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084217#4084217 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084217 ___

[jboss-user] [JBoss Seam] - Re: SFSB and Hibernate Validator -

2007-09-13 Thread gersonk
It worked! Could you explain how it works? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084143#4084143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084143 ___ jboss-user

[jboss-user] [JBoss Seam] - SFSB and Hibernate Validator -

2007-09-12 Thread gersonk
Hi, I'm using jboss-seam-CVS.2007-09-03_13-05-07 (after fixing ) but the Hibernate Validator is not working. I tried this: | @Name("someService") | @Stateful() | public class SomeService implements ISomeService{ | @Pattern(regex=RegEx.XYZ, message="some message") | @In()

[jboss-user] [JBoss Seam] - Seam 2.0.0 BETA 2

2007-08-31 Thread gersonk
Hi where is the Seam 2.0.0 BETA 2? Is it available to download? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080153#4080153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080153