[jboss-user] [JBoss Seam] - Re: binding inputText to MapMyClass, Integer

2007-12-27 Thread sonstone
That's what I was missing. Thanks a lot for the info!!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4115773#4115773 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4115773 ___

[jboss-user] [JBoss Seam] - binding inputText to MapMyClass, Integer

2007-12-11 Thread sonstone
I have successfully bound a checkbox to MapMyClass, Boolean but when I try to bind a text field to MapMyClass, Integer the map injected into my seam component contains a String value instead of an Integer. Is there a workaround for this or should I just convert the Integer to a String myself?

[jboss-user] [JBoss Seam] - Re: Seam JSF controls do not work in external Facelet templa

2007-12-06 Thread sonstone
Anyone have a workaround for this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4111049#4111049 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4111049 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: seam component reuse advice

2007-11-15 Thread sonstone
I found the answer. If you have the same problem see this section of the manual. http://docs.jboss.com/seam/2.0.0.GA/reference/en/html/xml.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105170#4105170 Reply to the post :

[jboss-user] [JBoss Seam] - seam component reuse advice

2007-11-15 Thread sonstone
I have a scenario where I have a search type component that I want to re-use within the same conversation. That is, I want an instance A configured differently than an instance B but I want to use them both within the same conversation. Do I have to create separate session beans and have them

[jboss-user] [EJB 3.0] - Re: Error Injecting EntityManager

2007-11-06 Thread sonstone
I was getting this error and I did two things and the problem went away. 1) - I was using @PersistenceUnit annotation for whatever reason so I switched it to use @PersitenceContext 2) - I had the entity manager field private with a public getter and protected setter. I had problems until I

[jboss-user] [JBoss Seam] - Re: Error after updated CR2!

2007-11-03 Thread sonstone
I had the same problem and it was because I had two copies of the entity class deployed. I had renamed my ear so there were two versions of the same application being deployed with different names. Hope this helps. Daniel View the original post :

[jboss-user] [JBoss Seam] - Re: Deployment fails jee5 GlassFish example

2007-11-01 Thread sonstone
I tried this on CR3 and it works fine as long as you don't have spaces in your glassfish installation path. This may sound kind of obvious in the java world but the default installation path for glassfish when installing netbeans 6 is the Program Files directory. View the original post :

[jboss-user] [JBoss Seam] - Re: composite ui component

2007-02-06 Thread sonstone
Thanks a lot. Facelets is exactly what I needed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012258#4012258 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012258 ___

[jboss-user] [JBoss Seam] - composite ui component

2007-02-05 Thread sonstone
This may be the wrong forum, but if someone could direct me to the proper place that would be excellent. I would like to write a component that can dynamically link in other pre-configured jsf tags. When everything is linked in, I'd like everything to be treated as a single component within

[jboss-user] [JBoss Seam] - Re: composite ui component

2007-02-05 Thread sonstone
No, I think you might be right about it being more of a jsf question. I was just hoping someone could help me here. I'd like to do something like this in my page: | h:form | z:mycomponent config=#{customer.config}/ | h:commandButton value=Ok action=doAuthenticate/ |

[jboss-user] [JBoss Seam] - Re: Validation with pageflows

2007-01-23 Thread sonstone
Here is some code: The beans: | @Entity | @Name(payment) | @Scope(ScopeType.CONVERSATION) | public class PaymentBean implements Payment { | |@NotNull |@Length(max=12,min=10) |@Pattern(regex=^[a-zA-Z0-9]+$, message=Must be alphanumeric.) |private String

[jboss-user] [JBoss Seam] - Re: Validation with pageflows

2007-01-23 Thread sonstone
I figured out what the problem was. I wasn't surrounding the h:inputText tag with the s:validateAll tag. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4005367#4005367 Reply to the post :

[jboss-user] [JBoss Seam] - Validating initial input parameters for a pageflow

2007-01-23 Thread sonstone
I would like to require an initial set of request parameters that get passed into a pageflow. Depending on whether those parameters are valid, I'd like to redirect to an error page. Ideally, I'd like to map those parameters to a model and use annotations to define the validation rules. Does

[jboss-user] [JBoss Seam] - Validation with pageflows

2007-01-22 Thread sonstone
How do you get a pageflow to stay on the same page if a validation error occurs? I am currently using the s:validateAll tag to initiate the validation within my page. I have an h:commandButton that triggers the transition change. I can see DEBUG statements from the ValidationInterceptor

[jboss-user] [JBoss Seam] - Guidance on nested pageflows

2007-01-19 Thread sonstone
I've seen a few posts about this topic but can't get my head around what is possible. I'd like to have a main pageflow that delegates to several sub-flows rather than have a single rather large main flow; and I'd like the delegation to be controlled by the pageflow. Is this possible; and if

[jboss-user] [JBoss Seam] - Re: Guidance on nested pageflows

2007-01-19 Thread sonstone
Great, I'm looking forward to that and thanks for the quick reply. When the true nested pageflows are added, it would be nice if there was the ability to evaluate an expression to determine the transition destination for a decision. The use case I am trying to address goes something like