[JBoss-user] [JBoss Seam] - DataModel Serialization Error?

2006-06-06 Thread chane
I am getting this error with my component. Is this a problem? 17:29:52,296 ERROR [DebugUtils] javax.faces.FacesException: Could not get property serializableDataModel of component f1:items Where f1 is a form tag and items refers to a @DataModel property: | @Name("bo.sale.editor") | @State

[JBoss-user] [JBoss Seam] - Re: Accessing Snnotations on Proxied Local Object

2006-05-31 Thread chane
Thanks for the suggestions. I want to keep our annotations in one place if possible...so I'll have the developers pass the Class around. Thanks again, Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948090#3948090 Reply to the post : http://www.j

[JBoss-user] [JBoss Seam] - Re: Accessing Snnotations on Proxied Local Object

2006-05-29 Thread chane
Thanks for the reply. I was afraid that I had to "name" the class I was working with at some point. I use internal annotations on my classes and want to pass the object to methods that act on those annotations. The methods are "generic" in that they operate on any object with the annotation

[JBoss-user] [JBoss Seam] - Accessing Snnotations on Proxied Local Object

2006-05-27 Thread chane
I'm trying to access the annotations on a @In property (which is a SFSB) from another SFSB. However, the annotations do not appear to be accessible since the @In SFSB is proxied. Is there a way to access the annotations? Or should I go ask in another forum (pointers to the right one? I tried

[JBoss-user] [Beginners Corner] - JBossProxy

2006-05-25 Thread chane
If there is a more appropriate place to ask this question, please let me know I am using EJB3/Seam and need to access the annotations on a SFSB. When I retrieve the object, the getClass() methods tells me that it is a Proxy object. I have access to the Local interfaces annotations, just no

[JBoss-user] [JBoss Seam] - Re: Does Jenia multipleRowSelector work with seam?

2006-05-18 Thread chane
works for me. I followed the directions that are on the jenia website. I do access the property via property accessors and do not use (In/Out) annotations. The code in my view is: Where selector is the name of my backing bean. Good luck, Chris View the original post : http://www.jbos

[JBoss-user] [JBoss Seam] - Re: Hibernate and @Stateful Beans

2006-04-17 Thread chane
Gavin - Thanks for confirming! Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937755#3937755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937755 --- Thi

[JBoss-user] [JBoss Seam] - Hibernate and @Stateful Beans

2006-04-17 Thread chane
Can I use Hibernate Sessions (instead of an entityManger) in conjuction with @Stateful beans in the JBOSS Server? In looking at the hibernate example application, the action beans use @Scope(SESSION) instead of the @Stateful desigination. It all seems to work in my sample application. I'm co

[JBoss-user] [JBoss Seam] - Re: using commandButton to link to a new window (xhtml)

2006-04-11 Thread chane
The booking demo has an example of this. Also discussed in this thread. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=80815 Good luck! Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936692#3936692 Reply to the post : http://www.jboss.co

[JBoss-user] [JBoss Seam] - Is it possible to lazy fetch DataModel collection?

2006-04-10 Thread chane
In the seam-issues example on the editIssue.jsf, the commentsList data model is used. If I remove this section, whenever this view is generated, the list is still fetched from the database. Is it possible to seutp a @DataModel to fetch lazily when not used on a view? We have cases where we wou

[JBoss-user] [JBoss Seam] - Re: Possible to open new window with s:link?

2006-04-09 Thread chane
Good to know. It's just more natural for me to read. I've worked with other languages/applications where the $ was used for expression/variable substitution. It's not a problem to change my style - particularly if that is the way the jsf/facelets community is shaping up. Since el expressions

[JBoss-user] [JBoss Seam] - Re: Possible to open new window with s:link?

2006-04-09 Thread chane
I found the issue. In my s:link command, I was using ${personEditor.view}. When I changed this to #{personEditor.view} it worked! I found this by looking at the code in SeamPhaseListener line 104. But that is probably coincidence as I don't see how that line caused this behavior: | String

[JBoss-user] [JBoss Seam] - Re: Possible to open new window with s:link?

2006-04-09 Thread chane
Although in the log file I see the personEditor being deployed by Seam: | | 2006-04-09 22:58:25,921 INFO [javax.servlet.ServletContextListener] Welcome to Seam 1.0 beta 2 | 2006-04-09 22:58:25,953 INFO [org.jboss.seam.init.Initialization] reading properties from: /seam.properties | 20

[JBoss-user] [JBoss Seam] - Re: Possible to open new window with s:link?

2006-04-09 Thread chane
ok - I removed the and it still doesn't work. Also, when I look at the log file when I execute the booking demo I see the following: | | 2006-04-09 22:46:02,484 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request | 2006-04-09 22:46:02,484 DEBUG [org.jboss.seam.Component] ins

[JBoss-user] [JBoss Seam] - Re: Possible to open new window with s:link?

2006-04-09 Thread chane
I have tried the following with and without the . And this the only navigation rule that contains view. | | /results.xhtml | | view | /view.xhtml | | | edit | /view.xhtml | | | View the original post : http://www.j

[JBoss-user] [JBoss Seam] - Re: Possible to open new window with s:link?

2006-04-09 Thread chane
Excellent! I just grabbed the latest CVS code and the example works great! However, I can't seem to make it work in my simple application. Is there any special setup I need to do in order to use the Seam UI components? I have my sample appication working almost identically to the booking exam

[JBoss-user] [JBoss Seam] - Possible to open new window with s:link?

2006-04-08 Thread chane
I have just started to seriously work with Seam (and actually this is my first app with JSF/facelets also). I am trying to get the following use case to work and am wondering if it is possible with Seam (or maybe this is a generic JSF question). Basically, I have a search screen that returns a

[JBoss-user] [JBoss Seam] - Why do I need the @Valid tag?

2006-02-17 Thread chane
I generated a sample CRUD application using the Hibernate Reverse Eng. tool. Worked like a charm - very nice work. I am trying to do something similar to the example.issueIssueFinderBean with the property example. For some reason, I can't seem to make it work without the @Valid tag. When

[JBoss-user] [JBoss Seam] - Re: Understanding Conversations

2006-02-07 Thread chane
Gavin, Thanks for responding and pointing me in the right direction. It has been a while since I looked at EJBs (actually 2.x timeframe). I can already tell it makes sense just reading section 5.6 (Persistent Contexts - in the persistence spec). I now have lots of reading/learning to do in m

[JBoss-user] [JBoss Seam] - Re: Understanding Conversations

2006-02-07 Thread chane
Sorry, yes I am talking about the Entities. To walk through on of the examples, I'm looking at the exampe/hibernate.../HotelBookingAction.java. A conversation is started when the find() method is called. I see that the hotels variable is set based on a call to the persistence engine (in this c

[JBoss-user] [JBoss Seam] - Understanding Conversations

2006-02-07 Thread chane
I've been picking through the Seam source code trying to understand how conversations are implemented. One question I am wrestling with understanding is how conversations with state saved on the client work. Looking through the code, I expected to see the re-created component re-associated wit

[JBoss-user] [JBoss Seam] - Error when running TestNG for Hibernate Example

2006-01-31 Thread chane
I am trying to run the TestNG (using the Eclipse Plugin) tests for the Hibernate example. I have followed the directions in the example/hibernate/readme.txt (adding source paths and jars to classpath). When I run the testng.xml, I get a jndi error: | INFO 01-02 01:47:56,750 (Initialization

[JBoss-user] [JBoss Portal] - Re: Track User Clicks/Downloads

2006-01-18 Thread chane
Great! Thanks for the response. I was hoping the answer was something like that. Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918122#3918122 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918122 ---

[JBoss-user] [Beginners Corner] - Forum Search Functionality

2006-01-17 Thread chane
Sorry, didn't know which forum to post a request about the forums to. In the forum search functionality, the Forum drop down box has a long list of forums. Any chance of having someone alpha order them? It would make life easier to search specific forums looking for answers. Thanks in advance,

[JBoss-user] [JBoss Portal] - Track User Clicks/Downloads

2006-01-17 Thread chane
Is it possible to "track" a users interaction (some/all) within the CMS? We are putting together a membership site and would like to track some things a user does. For example, download/click on a PDF file (which I'm assuming would be a URL link in the portal - could be a form submit button

[JBoss-user] [JBoss Portal] - Re: CMS Site Export

2006-01-04 Thread chane
The JIRA is: http://jira.jboss.com/jira/browse/JBPORTAL-549 Is JIRA the best place to follow if this feature request is being worked on for 2.4? Thanks, Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915635#3915635 Reply to the post : http://www.

[JBoss-user] [JBoss Portal] - CMS Site Export

2006-01-04 Thread chane
Sorry in advance if my nomenclature is a little different. I've just started to look at JBoss. I didn't find anything in the docs or forums; but I am wondering if it is possible with the CMS porlet to export the site as a static site. I am looking for a solution to allow for my users to main

[JBoss-user] [JBoss Seam] - Maintaining Relationships with JSF/Seam

2005-12-09 Thread chane
I'm just starting my journey into JSF and like what I see with the Seam additions so far. In our application we have a fairly rich data model. In the GUI, the user is allowed to assign/modify relationships fairly easily. For example, we have an order object: pulic class Order{ private Pe