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
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
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://
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
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
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
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
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
I'm so desperate. It works if I use selectManyCheckbox :
|
|
|
|
|
|
|
|
|
|
|
|
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
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
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
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
|
|
|
|
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
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=
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
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
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#
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
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
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
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&
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
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
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
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
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
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
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']}
|
|
|
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
30 matches
Mail list logo