[jboss-user] [JBoss Seam] - Re: Facotry-session and bean-conversation

2007-09-07 Thread yohann49
I found the solution. I forgot the "return orders". | @Factory(value="orders", scope = SESSION) | public List findOrder(){ | | Query query; | | query = em.createQuery("select o from Order o where o.customer=#{currentContact.custome

[jboss-user] [JBoss Seam] - Re: Exception with SelectManyCheckbox

2007-09-07 Thread yohann49
I forgot, the problem is solved I used : | | | | | thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082118#4082118 Reply to the post : http://www.jboss.com/index.html?module=bb&op=pos

[jboss-user] [JBoss Seam] - Re: Facotry-session and bean-conversation

2007-09-07 Thread yohann49
If I remove the Datamodel annotation, my jsf page is empty because in the page I use the factory to display the list of order in a datatable.But their no exception. So I must Outject my factory, but the exception appears if I do that. What could I do ? Yohann View the original post : http://

[jboss-user] [JBoss Seam] - Facotry-session and bean-conversation

2007-09-07 Thread yohann49
Hello ! I was wondering if it could be possible to have a bean wich his scope is CONVERSATION and a fctory in this bean whis his scope is SESSION. I want to do that but when I want to go to the xhtml page, I have this exception : Exception during request processing: javax.servlet.ServletExcept

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - cascadeType does'nt work ?

2007-09-07 Thread yohann49
hello I have 5 entity : Customer, Order, OrderLine, Contact and ReportBinder. After a long conversation for subscritpion, I persist data concerning the customer and with the cascade, the order and the contact are persist. In the Order there is a Cascade concernig the orderline (the same fo

[jboss-user] [JBoss Seam] - persist and cascade

2007-09-05 Thread yohann49
Hello !! I have 5 entity : Customer, Order, OrderLine, Contact and ReportBinder. After a long conversation for subscritpion, I persist data concerning the customer and with the cascade, the order and the contact are persist, however the OrderLine and ReportBinder are not. Why ? And the other

[jboss-user] [JBoss Seam] - Re: SelectOneRadio

2007-08-29 Thread yohann49
I found a solution, in fact I must declare PackageLine as a String and no as o Package. Now the problem is: I want a Package not a string how could I do to have this ? Thanks PS: sorry for my english View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079193#407

[jboss-user] [JBoss Seam] - Re: SelectOneRadio

2007-08-29 Thread yohann49
Since my first post, I removed @In from packageLine, and the misstacke is still there View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079020#4079020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079020

[jboss-user] [JBoss Seam] - Re: SelectOneRadio

2007-08-28 Thread yohann49
I'm so desperate. It works if I use selectManyCheckbox : | | | | | | | | | | | |

[jboss-user] [JBoss Seam] - Re: SelectOneRadio

2007-08-28 Thread yohann49
In fact, when I look on the Debug page, in the session context, packageLine is not create but it'sinject and outject. Where is the problem ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078592#4078592 Reply to the post : http://www.jboss.com/index.html?mod

[jboss-user] [JBoss Seam] - Re: SelectOneRadio

2007-08-27 Thread yohann49
I try, but packageLine is still empty. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078432#4078432 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078432 ___ jboss-user maili

[jboss-user] [JBoss Seam] - SelectOneRadio

2007-08-27 Thread yohann49
hello ! I have a page with radio buttons. But when I click on the submit button, I don't know what button has been selected. My bean : | @Stateful | @Scope(SESSION) | @Name("PackageManager") | public class PackageManager implements com.pingwy.web.front.PackageManagerLocal, Serializab

[jboss-user] [JBoss Seam] - Re: Exception with SelectManyCheckbox

2007-08-24 Thread yohann49
Ok but I don't understand the difference between f:selectItems and s:selectitems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077713#4077713 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077713

[jboss-user] [JBoss Seam] - Re: Exception with SelectManyCheckbox

2007-08-24 Thread yohann49
| | | | That's the code in my jsf page. The Bean and the entity page are the same. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077702#4077702 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [JBoss Seam] - Re: Exception with SelectManyCheckbox

2007-08-24 Thread yohann49
Yes I made this misstacke. But after correction there is no change. To resolv this problem I tried anything, but I'am still block. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077688#4077688 Reply to the post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JBoss Seam] - Exception with SelectManyCheckbox

2007-08-24 Thread yohann49
Hello !! I have a list of report(already persist in database), and I want to display them on a jsf page with selectManyCheckbox.But when I want to acces to the page I have this exception : Exception during request processing: javax.servlet.ServletException: Expected a child component type

[jboss-user] [JBoss Seam] - Re: Exception when i want to fill a form !!

2007-08-22 Thread yohann49
It's ok there is no problem now. I use | @DataModelSelection("conts") @Out(required = false) Contact contactel = new Contact(); | | @Begin(join = true) | public String createContact(){ | Contact contact = new Contact(); | contact.setFirstName(contactel.get

[jboss-user] [JBoss Seam] - Re: Exception when i want to fill a form !!

2007-08-22 Thread yohann49
Yes, in fact it's for a subscription process, first the client choose a subscription, then he enter the name of his server and finally he must enter his contact. All works except the page for the contact. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076719#

[jboss-user] [JBoss Seam] - Re: Exception when i want to fill a form !!

2007-08-22 Thread yohann49
However I try with your code but it change nothing . (I'm french so my english is not perfect) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076714#4076714 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076714

[jboss-user] [JBoss Seam] - Re: Exception when i want to fill a form !!

2007-08-22 Thread yohann49
If this is a question yes I want that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076707#4076707 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076707 ___ jboss-user maili

[jboss-user] [JBoss Seam] - Re: Exception when i want to fill a form !!

2007-08-22 Thread yohann49
I try your solution but it's the same thing View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076642#4076642 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076642 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: Exception when i want to fill a form !!

2007-08-22 Thread yohann49
I'm not outjectiing as "conts", "conts" is here because DataModelSelection must be attach to a Datamode, and I have two Datamodel. Otherwise, I deleted the DataModelSelection annotation and I have the same problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&

[jboss-user] [JBoss Seam] - Re: Exception when i want to fill a form !!

2007-08-22 Thread yohann49
I thought @DataModelSelection doesn't need to have @Out. However I added : anonymous wrote : | @DataModelSelection("conts") | @In (required = false) @Out(required = false) | Contact contactel = new Contact(); | And I have the same Exception. View the original post : http://www

[jboss-user] [JBoss Seam] - Exception when i want to fill a form !!

2007-08-22 Thread yohann49
Hello !!! I have a little problem. I'am developping a web application (with Netbeans, glassfish and hibernate). In a page, the client must fill a form and when I click on the button, there is this exception : Exception during request processing: javax.servlet.ServletException: /abonnement_con

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: failure while trying to deploy-

2007-08-10 Thread yohann49
hi trouby, I apologize for not giving you some response to your post, but it seems that you managed to make Quartz Working on Glassfish. Did you use the QuartzResourceAdapter written by JBoss or did you get another one ? And how did you use it Thanks for reading me View the original post : htt

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - problem when I want to persist data

2007-07-30 Thread yohann49
Hi !! I want to persist data in my database. However I have an error : | Exception during request processing: javax.servlet.ServletException: /abonnement_contact.xhtml @17,68 value="#{contact.firstName}": Target Unreachable, identifier 'contact' resolved to null | Here is my ContactManag

[jboss-user] [JBoss Seam] - Re: @DataModelSelection and ClassCastException

2007-07-27 Thread yohann49
I begin to see that i've done all that stuff in a pretty wrong way. The factory on "lines" returns what it is used by JSF to display the lines. The DataModel were not used to outject lines, or used in a wrong way. I changed a bit my code and get rid of the factory. Now, the Datamodel is well outj

[jboss-user] [JBoss Seam] - Re: @DataModelSelection and ClassCastException

2007-07-27 Thread yohann49
thanks for your reply... After some check of my .ear, there's no duplicate import of hibernate... To make some stuff working, I had to add these jars to the glassfish lib directory: hibernate-all.jar thirdparty-all.jar jboss-archive-browsing.jar In my ear and my war, all the jars i have are : EAR

[jboss-user] [JBoss Seam] - @DataModelSelection and ClassCastException

2007-07-26 Thread yohann49
Hello everybody... I'm stuck for a couple of days with an error that makes me becoming crazy !!! I have an .xhtml page (i work with facelets) which code is : | | | #{messages['Line']} | | |

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - MultipleDataSelection and problem with merge

2007-07-19 Thread yohann49
Hi everybody ! I currently develop an enterprise application able to manage a client's account(he could see his orders, line orders and product in assocation with those lines). I use netbeans, glassfish, seam and hibernate. I want to post many datalist with link. I use Conversation and Session