[JBoss Seam] - IMPORTANT: Changes to entity-query from 1.1.GA to 1.1.1.GA
by fhh
Hello!
Maybe I have missed something in the last weeks (I'm not following the forum to closely) but there seems to be an important API change in 1.1.1.GA or maybe the documentation on 1.1.GA is wrong:
| <framework:entity-query name="people" eqbql="select p from Person p"/>
|
| <h1>List of people</h1>
| <h:dataTable value="#{people}" var="person">
| <h:column>
| <s:link view-id="/editPerson.jsp" value="#{person.firstName} #{person.lastName}">
| <f:param name="personId" value="#{person.id}"/>
| </s:link>
| </h:column>
| </h:dataTable>
|
does not work for me. I have to use
<h:dataTable value="#{people.resultList}" var="person">
I hope this safes some people some trouble.
Regards
Felix
PS: I hope this entity-query stuff will work together with the the selectItems component. This would be IMHO the biggest step forward to improve the average working day of the business application developer in years. Not only a step but a leap...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005088#4005088
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005088
19 years, 3 months
[Installation, Configuration & Deployment] - Re: Jboss shut itself down, when I close a Aplet.
by este1212
Hi,
That was all in lodfile what I have sending, I don't become the failure:
"Runtime shutdown hook called, forceHalt: true" .
I think my problem is in this code, here is a methode of PDFBox,
hier i can read my pdf file, it's fine, a applet show me the pdf file,then I click on exit, here come the methode: System.exit(0) von PDFBox Package; so I think here force this exit that my Jboss Server must shut down. So is there a Property to set in Jboss that prevent this problem.
--------------------------------------------------------------------------------------
String[] pdfargs = {filename};
try {
PDFReader.main(pdfargs);
} catch (Exception e3) {
e3.printStackTrace();
return result;
}
--------------------------------------------------------------------------------------
Thanks,
Radouane
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005082#4005082
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005082
19 years, 3 months