[jboss-user] [JBoss Seam] - Web application where user can add new static pages
Many applications i do have the common requirement that customer has to be able to add new pages (new entries in menu) and also to edit parts of application pages. Until now i used opencms and made a web filter that mixes the content of my application with a template stored in opencms. I'm unsatisfied with this solution because the filter is not very reliable with seam (especialy because you ahve to mix some javascripts form opencms with the ones from seam). Do you think jboss portal could be an option? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4122070#4122070 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122070 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Changing of soap:address location
The only solution I found is to: 1. Modify \jboss-4.2.1.GA\server\default\deploy\jbossws.sar\jbossws.beans\META-INF\jboss-beans.xml so that property name=alwaysModifySOAPAddressfalse/property 2. Use wsdlLocation in WebService anotation Take care, if abc is not existing, jboss will still replace abc with the ${jboss.bind.address}. soap:address location=http://abc/services/MyService; / View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118579#4118579 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4118579 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam WebService with custom soap:address location
Yes, already asked but no good answer yet : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118579#4118579 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118581#4118581 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4118581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - profile based component configuration
I have an application that is deployed on many servers (A, B, C). my compunents.xml has a section where i configure component X like this (on server A): 5 6 on another server (B) tis section has to look like: 2 3 Is there a posibility to include an xml into components.xml? Because the rest of the file is equal between servers. I can create a components-A.xml and components-B.xml and at build time to make the copy of the rigth file into components.xml but this makes modification of components.xml difficult (because you have to maintain the common area in many places). Is there a way to make a in components.xml ? Or is there another nicer mechanism to configure XComponent to be profile(server) specific? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118266#4118266 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4118266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - profile based component configuration
Sory for the post. Again: I have an application that is deployed on many servers (A, B, C). my compunents.xml has a section where i configure component X like this (on server A): component name=XComponent | property name=pr15/property | property name=pr26/property | /component on another server (B) tis section has to look like: component name=XComponent | property name=pr12/property | property name=pr23/property | /component Is there a posibility to include an xml into components.xml? Because the rest of the file is equal between servers. I can create a components-A.xml and components-B.xml and at build time to make the copy of the rigth file into components.xml but this makes modification of components.xml difficult (because you have to maintain the common area in many places). Is there a way to make a include file=components-A.xml / in components.xml ? Or is there another nicer mechanism to configure XComponent to be profile(server) specific? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118267#4118267 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4118267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Changing of soap:address location
Yes. I know this and works but on my jboss there are many application with different webServiceHost(s) /deployment/[EMAIL PROTECTED]'WSServerConfig']/[EMAIL PROTECTED]'webServiceHost'] That is why i need this setting to be done service specific not jboss install specific. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118257#4118257 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4118257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam WebService with custom soap:address location
Hello, I've tried to play around with @WebContext, @WebService and some other advices found at http://jbws.dyndns.org/mediawiki/index.php/JBossWS_FAQs#How_do_I_know_what_endpoint_address_is_being_used.3F but i fail to make the generated wsdl file containing a custom url like for example: soap:address location=http://www.here.com:8080/services/MyService; / Anythink I try, the generated wsdl is containing: soap:address location=http://127.0.0.1:8080/services/MyService; / or in general the IP of the server instead of name. This is unacceptable ona production environment. Any clue how to do that? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4117983#4117983 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4117983 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem about WSDL
You are still relying on dirty solution with wsdlLocation ? Or you found a better one? I found the following code: jboss-client jndi-namejbossws-client/jndi-name service-ref service-ref-nameservice/MyService/service-ref-name wsdl-overridehttp://@jboss.bind.address@:8080/jaxws-test/MyService?wsdl/wsdl-override /service-ref /jboss-client but i did not managed to make it working. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4117988#4117988 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4117988 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam WebService with custom soap:address location
I also tried to use a : jboss-client jndi-namejbossws-client/jndi-name service-ref service-ref-nameservice/MyService/service-ref-name wsdl-overridehttp://www.here.com:8080/jaxws-test/MyService?wsdl/wsdl-override /service-ref /jboss-client But does not work. Maybe I do not place the file in the right place ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4117984#4117984 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4117984 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Changing of soap:address location
I have a webservice that is a stateless session bean. The service is deployed in jboss 4.2.1GA. When a customer download the wsdl, the soap address loaction is something like: 192.168.1.9:8080 and i have to change this to www.here.com. I've tried to play around with @WebContext, @WebService and some other advices found at http://jbws.dyndns.org/mediawiki/index.php/JBossWS_FAQs#How_do_I_know_what_endpoint_address_is_being_used.3F but i fail to make the generated wsdl file containing a custom url like for example: soap:address location=http://www.here.com/services/MyService; / Anythink I try, the generated wsdl is containing: soap:address location=http://127.0.0.1:8080/services/MyService; / or in general the IP of the server where service is installed instead of name. This is unacceptable on a production environment (if you use apache and mod_jk...) I also tried to use a : jboss-client jndi-namejbossws-client/jndi-name service-ref service-ref-nameservice/MyService/service-ref-name wsdl-overridehttp://www.here.com:8080/jaxws-test/MyService?wsdl/wsdl-override /service-ref /jboss-client But does not work. Maybe I do not place the file in the right place ? Finally i accepted even to use wsdlLocation in WebService anotation. But this is also not work (specified wsdl is used but the address is still replaced with the wrong ip). Please help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118143#4118143 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4118143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Recommendation: Filter, Servlet or tag
I've choosed servlet approach for now. It works. For the ones interested, you can look in seam 2 in : jboss-seam-2.0.0.GA\examples\seamspace\src\org\jboss\seam\example\seamspace\ContentServlet.java View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4111894#4111894 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4111894 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selected tab is lost on sorting of embeded datatable
no ideea so far? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4111895#4111895 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4111895 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Recommendation: Filter, Servlet or tag
Hello, I have a field read from db that contains some HTML and I have to display this field. The HTML contans things like : . All images are in a db table with 3 fields: id - e.g. ./MyImages/img1.jpg mimetype data (blob) I see 3 ways to implement this: - create a Filter that find all such img tags in the page and recognize the images starting with ./MyImages. The filter stores the images in the GraphicImageStore and replace the URL with the seam url to retrive the image from store. - make a servlet mapped to MyImages. Servlet will access the dao to retrieve the data from db. - create a tag similar to seamtext that receive a text and make all the necesarry steps (parse, store imgs in ImageStore, replace the IMG tags with calls to the img store). Any other View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4111513#4111513 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4111513 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - selected tab is lost on sorting of embeded datatable
I have a page with many rich:tab components. Each component has it's own dataTable (sortable and paginable). If I select second tab and try to press on sort link, the system reselects the first tab (because page is reloaded). One way to prevent this is to do something like this: 1. add selectedTab attribute rich:tabPanel selectedTab=#{tab} switchType=ajax 2. add in pages.xml (for this view) 3. modify all (sort + next / prev) links to send tab parameter. 4. If you have forms add a hidden field for tab to not get lost Note: page is backed with entityHome and entityQuery like in seam-gen generated files. Is there any better (simpler) solution to do that? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4111091#4111091 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4111091 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss tools - Seam generate entities from existing entit
There is no plan to create a generate-ui task? For 1.2.1 there is http://jira.jboss.org/jira/browse/JBSEAM-1206; Removing hbm2java is not enough because the entities from db are still considered. No way to use my entitites? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4106753#4106753 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106753 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectOneMenu - NPE
Please post the whole NPE exception. Are you sure questionCategoryList is outjected? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105941#4105941 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105941 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Parameters not sent when using s:selectItems
Problem is 99% solved by doing the following: explicitelly added element convertor as Pete sugessted: h:selectManyListbox id=theList value=#{testAction.multiSelect} | s:selectItems value=#{testAction.allElements} var=element label=#{element.name} / | f:converter converterId=elementConvertor / | /h:selectManyListbox In param tag I called a convertor for the list parameter: ?xml version=1.0 encoding=UTF-8? | page xmlns=http://jboss.com/products/seam/pages; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd; | param name=theList converterId=elementListConvertor value=#{testAction.multiSelect} / | /page The convertor is implemented as below: | @org.jboss.seam.annotations.faces.Converter | @Name(elementListConvertor) | public class ElementListParameterConvertor implements Converter, Serializable { | @In | private EntityManager entityManager; | | @Transactional | public Object getAsObject(FacesContext context, UIComponent component, String value) { | if (value != null) { | String[] allIds = value.split( ); | ListElement theList = new ArrayListElement(); | for (int i = 0; i allIds.length; i++) { | String id = allIds; | if (id == null || id.trim().length() == 0) continue; | theList.add(findElement(id)); | } | return theList; | } | return null; | } | | private Element findElement(String id) { | ListElement allElements = TestAction.allElements; | for (int i = 0; i allElements.size(); i++) { | if (allElements.get(i).getId().equals(new Integer(id))) return allElements.get(i); | } | return null; | } | | public String getAsString(FacesContext context, UIComponent component, Object value) { | if (value instanceof List) { | ListElement theList = (ListElement) value; | String s = ; | | for (Iterator iterator = theList.iterator(); iterator.hasNext();) { | if (s.length() != 0) s += ; | Element element = (Element) iterator.next(); | s += element.id; | | } | return s; | } | return null; | } | | } | Having that done, all works (without need for any conversation propagation and so on). Also if you call in the browser localhost:8080/test/xList.seam?theList=1%202 the entries in select are selected as expected. The single point that does not work is the url when you submit the page: - point the browser to localhost:8080/test/xList.seam?theList=1%202 - system shows first two entries in list selected (AS EXPECTED) - select the third entry and press submit - system update the browser location to localhost:8080/test/xList.seam (WRONG, the correct is localhost:8080/test/xList.seam?theList=1%202%203) For input Fields and selectOne, the system behaves as expected - parameter is automatically added to the URL. The problem is specific to selectManyListbox component. Additionally, if you have a : s:link view=/xList.xhtml | value=Test List | propagation=none/ the select multi parameter is not automatically added (while an input filed and selectOne is). Thanx again to Pete Muir for give me the valuable hints. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105957#4105957 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105957 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Parameters not sent when using s:selectItems
In other words I do not want to use conversation propagation as in UI example but to transfor my selection into request parameters that makes the page bookmarkable. All controls works fine (including selectOne but selectMany brings me that error) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105841#4105841 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105841 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Parameters not sent when using s:selectItems
Yes, except ui example does not use a thing like that: | ?xml version=1.0 encoding=UTF-8? | page xmlns=http://jboss.com/products/seam/pages; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd; | |param name=firstResult value=#{markupRepresentationList.firstResult}/ |param name=order value=#{markupRepresentationList.order}/ |param name=from/ |param name=fulltext value=#{markupRepresentationList.criteria.fulltext}/ |param name=cmtid value=#{markupRepresentationList.criteria.committee}/ | /page | In UI example in selectItems.xhtml, conversation is propagated and parsonHome.update is called. In UI example i only find: page view-id=/selectItems.xhtml begin-conversation join=true/ So only personId is bind with personHome.id. What I want it to bind a request parameter with my selectMany (cmtid with #{markupRepresentationList.criteria.committee}) But because of an unknown reason, in Pages.java line 779 (valueExpression.setValue(object)) object is not a list, set or array but a simple string containing [Lmymodel.Committee;@1afbdd4 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105840#4105840 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Parameters not sent when using s:selectItems
simple code not working (the List is not set on submit): | | | import java.util.ArrayList; | import java.util.List; | | import org.jboss.seam.annotations.Name; | | @Name(testAction) | public class TestAction { | public ListElement multiSelect; | | public ListElement getMultiSelect() { | return multiSelect; | } | | public void setMultiSelect(ListElement multiSelect) { | this.multiSelect = multiSelect; | } | | static public ListElement allElements = new ArrayListElement(); | static { | allElements.add(new Element(1, One)); | allElements.add(new Element(2, Two)); | allElements.add(new Element(3, Three)); | } | public ListElement getAllElements() { | return allElements; | } | | public void setAllElements(ListElement allElements) { | TestAction.allElements = allElements; | } | | | } | | | | import java.io.Serializable; | import java.util.List; | | import javax.faces.component.UIComponent; | import javax.faces.context.FacesContext; | import javax.faces.convert.Converter; | import javax.persistence.EntityManager; | | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Transactional; | | | @Name(elementConvertor) | @org.jboss.seam.annotations.faces.Converter(forClass=Element.class) | public class ElementConvertor implements Converter, Serializable{ | |@In |private EntityManager entityManager; | |@Transactional |public Object getAsObject(FacesContext context, UIComponent component, String value) |{ | if (value != null) | { | try | { | Integer id = Integer.parseInt(value); | if (id != null) | { | ListElement allElements = TestAction.allElements; | for (int i = 0; i allElements.size(); i++) { | if (allElements.get(i).getId().equals(id)) return allElements.get(i); | } | } | } | catch (NumberFormatException e) { | } | } | return null; |} | |public String getAsString(FacesContext context, UIComponent component, Object value) |{ | if (value instanceof Element) | { | Element c = (Element) value; | return + c.getId(); | } | else | { | return null; | } |} | | } | | | | | | | | | | | | | import java.util.ArrayList; | import java.util.List; | | import org.jboss.seam.annotations.Name; | | @Name(testAction) | public class TestAction { | public ListElement multiSelect; | | public ListElement getMultiSelect() { | return multiSelect; | } | | public void setMultiSelect(ListElement multiSelect) { | this.multiSelect = multiSelect; | } | | static public ListElement allElements = new ArrayListElement(); | static { | allElements.add(new Element(1, One)); | allElements.add(new Element(2, Two)); | allElements.add(new Element(3, Three)); | } | public ListElement getAllElements() { | return allElements; | } | | public void setAllElements(ListElement allElements) { | TestAction.allElements = allElements; | } | | | } | | | | === xList.page.xml | ?xml version=1.0 encoding=UTF-8? | page xmlns=http://jboss.com/products/seam/pages; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd; | |param name=multiSelect value=#{testAction.multiSelect}/ | /page | | | | ===xList.xhtml= | !DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; | | ui:composition xmlns=http://www.w3.org/1999/xhtml; | xmlns:s=http://jboss.com/products/seam/taglib; | xmlns:ui=http://java.sun.com/jsf/facelets; | xmlns:f=http://java.sun.com/jsf/core; | xmlns:h=http://java.sun.com/jsf/html; | xmlns:rich=http://richfaces.org/rich; | template=layout/template.xhtml | | ui:define name=body | | h:messages globalOnly=true styleClass=message
[jboss-user] [JBoss Seam] - Re: Parameters not sent when using s:selectItems
I will isolate my problem in a very small example. In few words, what is not working is to have a: aListOfCommite is the variable behind selectManyListbox I want to use that to rely on event scoped components (as in xList.xhtml generated with seam-gen). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105790#4105790 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Parameters not sent when using s:selectItems
Problem solved. The solution was to modify the markupRepresentationList.criteria.committee to be a Commitee object not Integer. I think I tried this solution in the past but did not worked. I'm not sure why: either was a IE cache either the try was before I implemented the convertor. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=410#410 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=410 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Parameters not sent when using s:selectItems
In plain words what i have is: MRPList.xhtml (snap) s:decorate template=layout/display.xhtml | ui:define name=labelCommittee/ui:define | h:selectOneMenu id=cmtid value=#{markupRepresentationList.criteria.committee} | s:selectItems value=#{committeeList.resultList} |var=committee |label=#{committee.title} / | /h:selectOneMenu | | /s:decorate | MRPList.page.xml ?xml version=1.0 encoding=UTF-8? | page xmlns=http://jboss.com/products/seam/pages; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd; | |param name=firstResult value=#{markupRepresentationList.firstResult}/ |param name=order value=#{markupRepresentationList.order}/ |param name=from/ |param name=fulltext value=#{markupRepresentationList.criteria.fulltext}/ |param name=cmtid value=#{markupRepresentationList.criteria.committee}/ | /page | | | @Name(markupRepresentationList) | public class MarkupRepresentationList extends EntityQuery { | | private static final String[] RESTRICTIONS = { | term.name like concat(#{markupRepresentationList.criteria.fulltext},'%'), | concept.sourceReference.ownerComittee.id=#{markupRepresentationList.criteria.committee}, | }; | | private MarkupSearchCriteria criteria = new MarkupSearchCriteria(); | | @Override | public String getEjbql() { | return select term from Markup term, IN (term.concepts) concept; | } | | @Override | public Integer getMaxResults() { | return 5; | } | | | public MarkupSearchCriteria getCriteria() { | return criteria; | } | | @Override | public ListString getRestrictions() { | return Arrays.asList(RESTRICTIONS); | } | | } | | | | | public class MarkupSearchCriteria { | private String fulltext; | private Integer committee; | | public String getFulltext() { | return fulltext; | } | | public void setFulltext(String fulltext) { | this.fulltext = fulltext; | } | | public Integer getCommittee() { | return committee; | } | | public void setCommittee(Integer committee) { | this.committee = committee; | } | | } | I also tried to create a convertor for Committee: @Name(committeeConvertor) | @org.jboss.seam.annotations.faces.Converter(forClass=Committee.class) | public class CommitteeConvertor implements Converter, Serializable{ | |@In |private EntityManager entityManager; | |@Transactional |public Object getAsObject(FacesContext context, UIComponent component, String value) |{ | if (value != null) | { | try | { | Integer id = Integer.parseInt(value); | if (id != null) | { |return entityManager.find(Committee.class, id); | } | } | catch (NumberFormatException e) { | } | } | return null; |} | |public String getAsString(FacesContext context, UIComponent component, Object value) |{ | if (value instanceof Committee) | { | Committee c = (Committee) value; | return + c.getId(); | } | else | { | return null; | } |} | | } | What i want id to have cmtid synchronised with #{markupRepresentationList.criteria.committee}, so that query can use it. I've tried to explicitelly use the convertor but nothing works. Any clue ? Is there any limits by using the combination: event component, param in pages and s:selectItems? Any howto? I was able to make the application working when parameter is specified : MRPList.seam?cmtid=1 But combo was not updated. Please help :(( [/img] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105546#4105546 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105546 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Parameters not sent when using s:selectItems
Thanx pete for the hint but what I want to do is: populate the combo from committeeList.resultList (committeeList is a seam query) Have the selected commitee.id stored in #{mrpList.criteria.committee} back and forth so that i can use it in another framework query. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105462#4105462 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105462 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Parameters not sent when using s:selectItems
Another strange thing is that when i define the bind variable as List or Set the setter is never called: public void setCommittee(List committee) { this.committee = committee; } If i define as array, the setter is called but the exeption above is always thrown. Any idea how to solve? Any known workaround? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105688#4105688 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105688 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Parameters not sent when using s:selectItems
Now, I'm trying to allow multiselection. So I switched to h:selectManyListbox In MarkupSearchCriteria: private Committee committee; becomes private Committee committee[]; It seems now this fails: Failure is: | 23:27:18,453 ERROR [SeamPhaseListener] uncaught exception | javax.el.ELException: java.lang.IllegalArgumentException: argument type mismatch | at javax.el.BeanELResolver.setValue(BeanELResolver.java:116) | at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:68) | at com.sun.faces.el.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:93) | at org.jboss.el.parser.AstPropertySuffix.setValue(AstPropertySuffix.java:73) | at org.jboss.el.parser.AstValue.setValue(AstValue.java:84) | at org.jboss.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:249) | at org.jboss.seam.core.Expressions$1.setValue(Expressions.java:117) | at org.jboss.seam.navigation.Pages.applyConvertedValidatedValuesToModel(Pages.java:779) | at org.jboss.seam.navigation.Pages.postRestore(Pages.java:402) | at org.jboss.seam.jsf.SeamPhaseListener.postRestorePage(SeamPhaseListener.java:528) | at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:374) | at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:211) | at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:184) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) | at
[jboss-user] [JBoss Seam] - Re: beginning with seam (deployment)
Yes, your application can be done with seam. You require jboss 4.2 jdk 5 and and on the development environment. Of cource you can use an integrated any in the IDE so that you don't need to call ant from cmd. On server you only need a running jboss (to run jboss you need jdk 1.5) ant not needed. Yoy can easy copy the ear and datasource in the jboss deploy directory. You could also use tomcat if you don;t want to use a real jee environment. A war file is not enough if you want to create a normal jee5 application. You will neeed a ear (having a war inside). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105690#4105690 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105690 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Parameters not sent when using s:selectItems
The following code works perfectly: h:selectOneMenu id=committee value=#{mrpList.criteria.committee} f:selectItem itemLabel=TEST1 itemValue=1 / f:selectItem itemLabel=TEST2 itemValue=2 / /h:selectOneMenu committee is an int and is set correctly when the form is submited. If I user the following code: h:selectOneMenu id=committee value=#{mrpList.criteria.committee} s:selectItems value=#{committeeList.resultList} var=committee label=#{committee.title} / s:convertEntity / /h:selectOneMenu 0 is submitted all the time. Please note that resultlist retrieve from DB the right entiries. Any clue? Thanx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105119#4105119 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - creating Edit forms for transaltable entities - and keep ma
If you edit simple objects like Users, you can have thinks like: h:inputText value=#{user.username} required=true/ This is very simple because user.username is a simple string and binding to the input fields is evident. How one would approach the following problem: I have a entity named Word. Word has a name that is different in every language. So I have the following structure: Word Translation == name : Translation -- language: String text: String Binding input fields like below, is not possible: h:inputText value=#{word.name(selectedLanguage)} required=true/ What is the most elegant way to solve that? Note: selectedLanguage is a statefull component. One posibility is to create a WordWrapper component in wich I inject selectedLanguage, and a word object. Then I provide methods for binding (set/get for name in selected language). This will work I think but I have very many Classes like Word and will be much work. Any better approach to write less code ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095162#4095162 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095162 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: creating Edit forms for transaltable entities - and kee
Ad schematics: | Word Translation | == | name : Translation -- language: String | text: String | I replace the ascii art with some code. I think is better: | @Entity | @Name(word) | public class Word { |SetTranslation name = new HashSetTranslation(); // maybe better use a Map because for each language we have one name. | |// setters and getters | | } | | @Entity | public class Translation { | String languageStr; | String text; | | // setters and getters | } | Please ignore the missing identifiers but are not relevant. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095164#4095164 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095164 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen problem when same table is referenced two times
I see ... http://jira.jboss.com/jira/browse/JBSEAM-994 does not point you to a solution. It only said is quite complicate to solve. The patch is only solving the compilation problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095332#4095332 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: left tree - explorer like application
I used rich:tree with lazy loading and so on. Finally i decided to not store the tree of objects in the session but only the nodes (rich TreeNodes). The application behaves very well until now. Thanx again Christian, good example here together with wiki example. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095336#4095336 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095336 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Unwrap question
As I know, @Unwrap annotate methoid is called everytime you access customerList variable. @Factory annotated method gets called only one time (if variable is not yet initialised) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095349#4095349 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam @In EntityManager vs. Extended Persistence context.
Just for clarification some of my requirements: - Session scoped leftTreeBean (because conversation is too short) - leftTreebean provides a getRoot method that creates a new TreeNodeimpl and makes db query to populate first level of the tree. Tree nodes are a custom class ClazzTreeNode. ClazzTreeNode is not a seam component. Just a java object. Its getChildren makes a database call to a dao to find out the children of a specific node. I would like to push the code to findChildrens, findFirstLevel and so on into another classes (DAO) to be able to reuse them. Note: During working with the application tree can be modified. | Tree is huge (about 2.5 million nodes) so it cannot be loaded in memory. | I expect DAO-s to be stateless session beans | | I use richfaces with ajax switch type. | | Any critics to this design ? | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092447#4092447 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092447 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: session-scoped Seam-managed persistence context
I think is not recommanded because of lifetime of the component. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092458#4092458 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092458 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam @In EntityManager vs. Extended Persistence context.
I;ve build a tree using richfaces and seam. The tree model is saved into a session stateful component. @Stateful @Scope(SESSION) @Name(leftTreeBean) I used Extended Persisence Context and all works but it seems that that exteded persistence context does not propagate into DAO objects (Stateless session beans). If I switch to seam managed persistence tree does not work (i supose because seam managed persistend only work inside conversation - and this cannot be the case because the tree is displayed all the time). How can I make the dao called from leftTreeBean use the same EntityManager? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092279#4092279 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092279 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam generate-entities and reveng
Is there any way to tell seam to use seam-gen.reveng.xml when executing seam generate-entities? I can write anything in it, seam does not care about. Any idea what to do to be considered? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091613#4091613 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091613 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam generate-entities and reveng
solution: name of schema is case sensitive. That was the problem in my case. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091710#4091710 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091710 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Some EJB3 entities to be migrated to LDAP
no idea? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091712#4091712 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091712 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen
Yes. I already disabled validation and works this way but i'm wondering about the consequences. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090499#4090499 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - ant seam-gen created project.
I just created a new project with seam-gen cmd line utility (seam 2.0 beta). All is ok except the following: When I use @Stateless or @Statefull on a component i got: 18:35:09,281 INFO [Component] Component: mainWindow, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN, class: test.MainWindowBean, JNDI: eptosiv/MainWindowBean/local | 18:35:09,281 ERROR [[/eptosiv]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener | java.lang.RuntimeException: Could not create Component: mainWindow | at org.jboss.seam.init.Initialization.addComponent(Initialization.java:9 | 55) | at org.jboss.seam.init.Initialization.installComponents(Initialization.j | ava:882) | at org.jboss.seam.init.Initialization.init(Initialization.java:538) | at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.j | | Any ideea how to get rif of that? I deploy on jboss 4.2 using ant deploy. I tried seam restart and does not work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090500#4090500 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090500 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ant seam-gen created project.
I think i found it. In the reference docu i found: anonymous wrote : | You need to be aware of the following limitations: | ? the components must be JavaBean components, they cannot be EJB3 beans (we are working on fixing this | limitation) | ? entities can never be hot-deloyed | ? components deployed via components.xml may not be hot-deployed | ? the hot-deployable components will not be visible to any classes deployed outside of WEB-INF/dev | ? Seam debug mode must be enabled | This is about core:init debug=true/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090502#4090502 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090502 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ant seam-gen created project.
I've set debug=false. The result is : 10:38:02,453 INFO [Initialization] Installing components... 10:38:02,484 INFO [Component] Component: mainWindow, scope: SESSION, type: STAT EFUL_SESSION_BEAN, class: test.MainWindowBean, JNDI: java:com p/env/jboss-seam-jee5/MainWindowBean/local 10:38:02,484 ERROR [[/eptosiv]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener java.lang.RuntimeException: Could not create Component: mainWindow at org.jboss.seam.init.Initialization.addComponent(Initialization.java:9 55) at org.jboss.seam.init.Initialization.installComponents(Initialization.j ava:882) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090510#4090510 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090510 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam-gen
Hello, I have a column ABSPROP_PROP_UNIQUE_GUID CHAR(32). Seam-gen generates the following code in the Entity: @Column(name = ABSPROP_PROP_UNIQUE_GUID, nullable = false, length = 32) | @NotNull | @Length(max = 32) | public String getAbspropPropUniqueGuid() { | return this.abspropPropUniqueGuid; | } | When I deploy the aplicaiton in JBoss, i got: --- MBeans waiting for other MBeans --- | ObjectName: persistence.units:ear=eptosiv.ear,unitName=eptosiv | State: FAILED | | Reason: javax.persistence.PersistenceException: org.hibernate.HibernateException: Wrong column type: ABSPROP_PROP_UNIQUE_GUID, expected: varchar(32) | I Depend On: | jboss.jca:service=DataSourceBinding,name=ivDatasource | I found some things in http://forum.hibernate.org/viewtopic.php?p=2336432#2336432, http://jira.jboss.com/jira/browse/JBSEAM-637 but nothing helped me to solve this problem. Any clue what I can try? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090212#4090212 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090212 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: left tree - explorer like application
dustismo, where do you save the tree state in your application? If i save in session i'm wondering about scalability issues. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4089174#4089174 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4089174 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: left tree - explorer like application
Anyone tried ICEFaces tree? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4088873#4088873 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4088873 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam-gen problem when same table is referenced two times
Hello, I have a table USER and a table ADDRESS. USER has two (important) attributes : - localAddress - remoteAddress both are foreign keys to ADDRESS table. So in ADDRESS table we will have two records for each user. seam generate-entities perfectly generate the beans but home entities are wrong. Name of address home entities injected in user home have the same name. | create table xx.user ( | userid varchar(10)NOT NULL PRIMARY KEY, | local_address integer, | remote_address integer | ) in userspace1; | | create table xx.ADDRESS ( | adrid integer NOT NULL PRIMARY KEY, | street varchar(200), | streetNo integer | ) in userspace1; | | alter table xx.user add CONSTRAINT ADR1 foreign key (local_address) references xx.ADDRESS(adrid); | alter table xx.user add CONSTRAINT ADR2 foreign key (remote_address) references xx.ADDRESS(adrid); | | Entity user is good: | @Entity | @Table(name = USER, schema = xx) | public class User implements java.io.Serializable { | | private String userid; | private Address addressByLocalAddress; // correct, different names | private Address addressByRemoteAddress; // correct, different names | but in UserHome we have: | @Name(userHome) | public class UserHome extends EntityHomeUser { | | @In(create = true) | AddressHome addressHome; //- WRONG, SAME NAME | @In(create = true) | AddressHome addressHome; //- WRONG, SAME NAME | I'm using SEAM 2.0 BETA (Hibernate Tools 3.2.0.b9) with ant. Any clue? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=403#403 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: left tree - explorer like application
Thanx, The example looks very similar with tree/tree2 from myfaces. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4088893#4088893 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4088893 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Some EJB3 entities to be migrated to LDAP
Hi, I have a Entity named Clazz. There is a OneToMany relation between Clazz and ClazzChild. ClazzChild has a member of type User. Clazz * ClazzChild --User The relations are lazy loaded. All works but now I have to job to move the users into LDAP. User will not be anymore a @Entity. Right ? How does this fit into EJB3 scenario? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4088371#4088371 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4088371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - left tree - explorer like application
I have to create a application that manages about 1 milion entries. The entries are organised hierarchical in a tree. Tree is made in such a way that not very many entries are displayed at a time. The tree is displayed in the left side of all application pages (with some exception). I have a dilemma here: should I store the tree state in conversation context ? or in session context? I know the advice is to not store much info in session context but on the other side, my tree has to be displayed nearly all the time. Is there a seam example with a tree in the left side somewhere? If the entities are stored in the session how do I solve LazyInitializationException ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4088375#4088375 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4088375 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Combine Seam application with OpenCms
I have a Seam Application and the customer asked me to combine it with opencms. Actually, as I understand he wants to add a left menu a banner, a new in right part using opencms. My question is if anybody here has such an experience. Should I try to embed Seam App into an OpenCms page or the oposite direction (add parts of layout in the app from opencms). OpenCms 7 i think will be able to embed portlets but until now any idea how to serve the customer? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3972759#3972759 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972759 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Combine Seam application with OpenCms
s/but until now/but until then/ ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3972760#3972760 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972760 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user