JSR-170
by Bischofs, Ingo
Hi List!
Does JBoss in it's current version support JSR-168 as well as jsr-170 ?
Freundliche Grüße / Best Regards / Avec mes meilleures salutations
Ingo Bischofs
Senior Consultant / Team Manager
Unilog Avinci GmbH - a LogicaCMG company
Hamborner Straße 53
D-40472 Düsseldorf
Tel: +49 173 8895-561
Fax: +49 211 22070-111
mailto:Ingo.Bischofs@logicacmg.com <mailto:Ingo.Bischofs@logicacmg.com>
http://www.unilog.logicacmg.com/ <http://www.unilog.logicacmg.com/>
Unilog Avinci GmbH
Zettachring 4, 70567 Stuttgart
Amtsgericht Stuttgart HRB 721369
Geschäftsführer: Torsten Straß / Eric Guyot / Rudolf Kuhn / Olaf Scholz
www.logicacmg.com/de <http://www.logicacmg.com/de>
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
18Â years, 9Â months
[JBoss Seam] - What JSF implementation to use with SEAM
by vashistvishal
I'm in a protoyping exercise for a company where we are looking for RICH UI application with AJAX support, easy to manage and develop aplication using J2EE.
After reading lots of docs i'm bit confused so thought lets ask the community
My questions are these :
1. What JSF implementation come by default with SEAM
Is it :
Myfaces
Facelets
Facelets JSF
Or You can plug and play any.
1.1 If it you can plug and play which is the recommended JSF implementation for SEAM ?
2. What is the difference between Facelets and JSF Facelets.
3. What versions of Jboss it (SEAM) works with
Is it :
4.2 >= Onwards
Because of EJB 3.0 support
Or You can use 4.0 and patch it for EJB 3.0 and it can work.
4. With new release of RichFaces (Ajax Library) which says it works
out of the Box with Seam, which version of SEAM it works with?
4.1 And it (RichFaces) says it works with Jboss 4.0.4 onwards I'm assuming it will work with SEAM on Jboss - 4.2
Any clarifications on these questions will be a great help in finalizing my decisions and recommendations to the buisness.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095110#4095110
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095110
18Â years, 9Â months
[JBoss Portal] - Re: custom portal file name
by vinguye2
Thanks Chris,
Yep, I will take a careful look at the licensing agreements to make sure I don't do anything illegal:)
Now that you mention licensing, I should ask: what's the intended audience for the binary and source downloads?
Both downloads will require a developer to modify the contents (i.e descriptor files, jboss-web.xml to change the context name, etc) if they want configuration to be done during development instead of at production/runtime via the admin portlet. I would think the original jboss-portal.sar download is rarely used without modifications to it.
Also, there are some features that come with JBoss Portal that are active by default (i.e. News and Weather pages). Even the minimal deploy target adds in these non-core pages. I need to remove/deactivate features which customers don't need. I also need to make sure these features won't be available in customer deployments if they have the CMS portlet enabled, since customers shouldn't need to see content that aren't used in the final product.
I think it would be good to have two different binary downloads: a core version with just the minimal components, and a bundled version with all the extra features like the current download.
I'm sure there must be developers out there who are interested in what it takes to get JBoss Portal down to just the core so that we can actually make a commercial product with it, not just use it.
As for the jboss-portal.sar file name, I think its important that developers be able to customize the name. Otherwise, a customer won't be able to deploy two JBoss Portal based products on the same server, if the file names are the same.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095108#4095108
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095108
18Â years, 9Â months
[JBoss Seam] - DataInputSelection has problem with injection
by w17chm4n
This is my second topic about the same problem, but due to the amount of new topics on the forum, it`s kinda necessary.
I`ve written a simple controller using code snippet from the 1 chapter of Seam tutorial.
| @Stateful
| @Name("TestController")
| public class TestControllerBean implements Serializable, TestController {
|
| @Logger
| private Log log;
|
| @In
| private EntityManager entityManager;
|
| @DataModel
| private List<QuestionCategory> questionCategoryList;
|
| @DataModelSelection
| @Out(required=false)
| private QuestionCategory questionCategory;
|
| /** Creates a new instance of TestControllerBean */
| public TestControllerBean() {
| }
|
| public void remove() {
| questionCategoryList.remove(questionCategory);
| entityManager.remove(questionCategory);
| questionCategory = null;
| }
|
| @Factory(value="questionCategoryList")
| public void showAll() {
| questionCategoryList = entityManager.createQuery("from QuestionCategory qc").getResultList();
| }
|
| @Remove @Destroy
| public void destroy() {}
|
| }
|
And the test.xhtml
| <html xmlns="http://www.w3.org/1999/xhtml"
| xmlns:ui="http://java.sun.com/jsf/facelets"
| xmlns:h="http://java.sun.com/jsf/html"
| xmlns:f="http://java.sun.com/jsf/core"
| xmlns:s="http://jboss.com/products/seam/taglib">
| <body>
|
| <h:form>
| <h:outputText value="categoryList rowCount is null" rendered="#{questionCategoryList.rowCount == null}"/><br/>
| <h:outputText value="categoryList rowCount = 0" rendered="#{questionCategoryList.rowCount == 0}"/><br/>
| <h:outputText value="Available categoryList: " rendered="#{questionCategoryList.rowCount > 0}"/><br/>
| <h:dataTable var="cat" value="#{questionCategoryList}">
| <h:column>
| <h:outputText value="[ #{cat.categoryName} ]"/>
| </h:column>
| <h:column>
| <h:outputText value=" - [ #{cat.created} ]"><f:convertDateTime pattern="dd-MMM-yyyy H:mm"/></h:outputText>
| </h:column>
| <h:column>
| <s:link value="remove" action="#{TestController.remove}"/>
| </h:column>
| </h:dataTable>
| </h:form>
|
| <ui:debug hotkey="d"/>
|
| </body>
| </html>
|
It works fine when I want to render list of questionCategories but when i hit "remove" link i get NullPointerException indicating, as far as i think, that questionCategory isn`t injected to the stateful bean.
The only difference between this code and the tutorial is that in my code i didn`t use @Scope(SESSION) but I don`t think that this could be a problem.
Any ideas about solving my problem ????
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095107#4095107
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095107
18Â years, 9Â months
[JBoss Seam] - Re: How to write a validator that compares two fields
by chawax
"pete.muir(a)jboss.org" wrote : It would be interesting to see if you can generalize this approach a bit to produce a validator that can work with two fields....
Well, that's what my validator does : it compares the value of the field with the value of an other field. The name of this other field is given by the attribute "compareTo". Maybe the name of this attribute is not well choosed ?
I made similar validators for greaterThan, lessThan, greaterThanOrEquals, lessThanOrEquals, but I have not completely finished them.
I also think about supporting EL expressions in compareTo attribute, so that you can compare the value of the field with an attribute of a Seam component. But I don't really know how to do this ... Is there an example for this somewhere ?
When all will be finished, no problem for me to give the source code to the community ;)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095106#4095106
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095106
18Â years, 9Â months