[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2007-01-04 Thread ccanning
If you need more information on maven2 or think the documentation is poor, you might want to download/read this free book on maven2 : http://www.mergere.com/m2book_download.jsp. It is pretty good. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998122#3998122

[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-20 Thread ccanning
Would you like for us to try to get the current file structure to work with maven? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995430#3995430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995430 ___

[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-20 Thread ccanning
I think we are going to try to do both. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995385#3995385 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995385 ___ jboss-user mail

[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-18 Thread ccanning
Sorry for the late response. I am living in the NW and haven't had power since Thursday. Currently, I don't include the thirdparty-all.jar because it is not needed to compile/test against seam. I actually haven't create a package yet to build seam using maven (which would probably be the best ap

[jboss-user] [JBoss Seam] - Re: Using an @Logger instance outside of a SEAM POJO

2006-12-15 Thread ccanning
This is how I get/create a seam logger outside of seam managed components. | | import org.jboss.seam.log.Log; | import org.jboss.seam.log.LogImpl; | | /** | * This will provide various utility/helper methods for dealing with seam. | * @author Charles Canning | */ | public

[jboss-user] [JBoss Seam] - Re: log4j configuration with JBoss AS & Seam

2006-12-15 Thread ccanning
I use the one in /server/{server-configuration}/conf/. It works fine for me. Is your log4j.xml setup correctly? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994369#3994369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&

[jboss-user] [JBoss Seam] - Re: Basic Seam questions

2006-12-15 Thread ccanning
@Destroy - Designates a destroy method that is called when a context ends and the component is being disposed. (Seam annotation) @Remove - Applied to a business method of a stateful session bean class. Indicates that the stateful session bean is to be removed by the container after completion o

[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-15 Thread ccanning
I will be willing to help also since I use Maven 2 and I am moving most of my projects over to the Seam architecture. The biggest issue I see right now is the javax.* jars from sun. But, I think through the java.net repository, we might be able to include enough jars to get everything compiling/

[jboss-user] [JBoss Seam] - Seam Testing and IntelliJ Idea

2006-12-07 Thread ccanning
This might be slightly off topic, but I was wondering if anybody has the seam unit tests involving the EntityManger running with the TestNG plugin for Idea. If so, how do you have your project set up? I am using the standard maven 2 layout for my project structure. View the original post : h

[jboss-user] [JBoss Seam] - Re: Logout guidance - previous values populating in page

2006-12-07 Thread ccanning
Did you check to see if the information is stored in a cookie? Does the information still get populated from a new/different browser? I can't answer your question, but maybe this will help you find the answer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=399

[jboss-user] [JBoss Seam] - Re: Null EntityManager

2006-12-01 Thread ccanning
Thanks for the info. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990552#3990552 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990552 ___ jboss-user mailing list jboss-user

[jboss-user] [JBoss Seam] - Null EntityManager

2006-11-30 Thread ccanning
Hi I have a seam pojo annotated as @PersistenceContext (type=EXTENDED) private EntityManager em; and I have the factory method @Factory ("foobar") @SuppressWarnings ("unchecked") public void findAllFoobars() { foobars = em.createQuery("from Foobar f").getResultList();

[jboss-user] [JBoss Seam] - Re: Null EntityManager

2006-11-30 Thread ccanning
Converting the pojo to SFSB seems to have solved the problem. Is this possibly a scoping issue? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990205#3990205 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990205 __

[jboss-user] [JBoss Seam] - Re: How do I deal with exceptions when using the SAF?

2006-11-15 Thread ccanning
Thanks. That was what I was using while waiting for an answer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986330#3986330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986330

[jboss-user] [JBoss Seam] - Re: @Log and NullPointerException

2006-11-15 Thread ccanning
Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986306#3986306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986306 ___ jboss-user mailing list jboss-user@lists.jboss.

[jboss-user] [JBoss Seam] - Re: @Log and NullPointerException

2006-11-15 Thread ccanning
I have an @Entity that is a seam managed component @Name and my @Logger is null. Is this related to this issue or is it a different issue that I should post? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986298#3986298 Reply to the post : http://www.jboss.

[jboss-user] [JBoss Seam] - How do I deal with exceptions when using the SAF?

2006-11-15 Thread ccanning
I have to override the standard persistence mechanisms to get my persistence to work, but that requires some exceptions to be thrown and some messages to be sent back to the user. How do I deal with this in the SAF context? Does it require me to make my exceptions RuntimeExceptions? Is there a w

[jboss-user] [JBoss Seam] - Re: Conversation for multi-page edit using new SAF

2006-11-14 Thread ccanning
Sorry for the late reply. The problem actually had nothign to do with the seam contexts at all. This was the debug page that came up when the error occurred. The actual problem was corrupted indexes in my maxdb database. View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[jboss-user] [JBoss Seam] - Conversation for multi-page edit using new SAF

2006-11-13 Thread ccanning
I am using the new Seam application framework I am getting conversation context errors. I am wondering how do I start a multi-page conversation using the seam framework using the standard persistence methods where there is a new page for each embedded object. A has a set of B B has a set of C

[jboss-user] [JBoss Seam] - Re: Incompatible Method signature with Home<> and documentat

2006-11-10 Thread ccanning
Thanks. I will give that a try. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984939#3984939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984939 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Name of @In Parameters

2006-11-09 Thread ccanning
I am new to seam, but I will try to answer the question. It appears that the ICheckoutAction is currently null. If it is allowed to be null, you should use (required=false). If you want Seam to create it, try (create=true). I think the exception prepends the name so you know which component is h

[jboss-user] [JBoss Seam] - Incompatible Method signature with Home<> and documentation

2006-11-09 Thread ccanning
In the reference documentation for the Seam application framework, the PersonHome example has method | protected Person getNewInstance() { | return new Person(country); | } | but, the Home class has signature | | public ValueBinding getNewInstance(); | |

[jboss-user] [JBoss Seam] - Re: Good example of 1.1.B1 Application Framework using exten

2006-11-09 Thread ccanning
That won't help me today, but that is great to hear. Yeah, I tried reversing with the current tools already to see if that would help. :). I have some complex logic around creating and deleting. Would it be possible for someone to tell me what exactly needs to be overriden and what I can leave i

[jboss-user] [JBoss Seam] - Good example of 1.1.B1 Application Framework using extension

2006-11-09 Thread ccanning
I was wondering if there is a complete example of the Seam application framework available based completely on the extension method (ie. extending EntityHome<> and EntityQuery<>) instead of the xml configuration method. Maybe even access to the complete source for the eg.Person/eg.PersonHome stu

[jboss-user] [JBoss Seam] - Re: Seam, EntityManager and Criteria

2006-11-08 Thread ccanning
Thanks, that will really help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984294#3984294 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984294 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Seam, EntityManager and Criteria

2006-11-08 Thread ccanning
I am not sure if this is the right place to ask this question, but here it is. I have noticed that with 1.1 B1 documentation, you can combine some hibernate specific features (filters) with the EntityManager. I was wondering if it is possible to use Hibernate Criteria based queries with the EJB3

[jboss-user] [JBoss Seam] - Error Parsing: #{memberTypeManager.editMemberType(mt)}

2006-11-07 Thread ccanning
The stack trace is below. I received this exception after I manually upgraded to 1.1.0 BETA 1 and followed the booking hotel example. Does anyone know what is causing this? Thanks. com.sun.facelets.tag.TagAttributeException: /browse_membertypes.xhtml @30,135 action="#{memberTypeManager.editMem

[jboss-user] [JBoss Seam] - Re: Design question/ Best Practices

2006-11-07 Thread ccanning
Thanks Gavin. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983893#3983893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983893 ___ jboss-user mailing list jboss-user@lists.

[jboss-user] [JBoss Seam] - Design question/ Best Practices

2006-11-06 Thread ccanning
I am in the process of designing a new application based on Seam and EJB3 and I want to get some design help/best practices since it has been a while since I developed a web-based app. My application will be accessed by the web-tier and through other mechanisms (possibly RMI or webservices). So,

[jboss-user] [JBoss Seam] - Re: Question about propogating selections to other component

2006-11-06 Thread ccanning
Thanks. Good to know. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983533#3983533 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983533 ___ jboss-user mailing list jboss-use

[jboss-user] [JBoss Seam] - Re: Question about propogating selections to other component

2006-11-03 Thread ccanning
I like this approach much better. Do you think 1.1 might be released before the end of the year? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983152#3983152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983152 _

[jboss-user] [JBoss Seam] - Question about propogating selections to other components

2006-11-03 Thread ccanning
I am new to Seam and to JSF/facelets. Lookign at the booing example that came with seam 1.0.1GA, you have one action for selecting the hotel and another for booking the hotel. In the example, the booking action has the searching action injected into it. It there any other way to propagate the se

[jboss-user] [JBoss Seam] - Re: Maven Archetype for Seam?

2006-07-24 Thread ccanning
This would be great. I am trying to learn seam/facelets/jsf and get it working with the embedded ejb container. It would be great to have the maven pom generated so that I don't have to figure out all of the package layouts and dependencies to get this running with my maven environment. View th