[jboss-user] [EJB 3.0] - Re: SFSB cycle dependency

2008-09-28 Thread ebu
Please disregard this stupid question... i've completely forgotten about setters... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179241#4179241 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179241 __

[jboss-user] [EJB 3.0] - SFSB cycle dependency

2008-09-28 Thread ebu
Hi Could you please explain me how can i make two sfsbs aware of each other? Like this: | @Stateful | class A { | |@EJB |private B b; | | } | | | @Stateful | class B { |@EJB |private A a; | | } | But afai understand the spec, in this case i'

[jboss-user] [JBoss Seam] - Re: error message & trinidad

2007-12-24 Thread ebu
eh, that was old facelets lib... http://jira.jboss.com/jira/browse/JBSEAM-1667 but your explanations about model validator are very helpful. Would be nice to have them in ref. doc. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115371#4115371 Repl

[jboss-user] [JBoss Seam] - Re: error message & trinidad

2007-12-21 Thread ebu
it is indeed, otherwise there would be no InvalidStateException. The problem appeared to be quite obvious - this exception just was not catched. After reading validation part of seam ref i somehow decided that seam cares about catching validation exception itself. But as it became clear after st

[jboss-user] [JBoss Seam] - error message & trinidad

2007-12-19 Thread ebu
hi, i can't get error messages displayed in seamdiscs-based app. when validator is being triggered i'm getting | Caused by: org.hibernate.validator.InvalidStateException: validation failed for: bu.test.shop.Property | at org.hibernate.validator.event.ValidateEventListener.validate

[jboss-user] [JBoss Seam] - Home object for class hierarchy

2007-11-30 Thread ebu
Hi, Is there any best practice/sample to use single Home object to serve few classes of same hierarchy with top abstract class. Something close to how artists/bands are being created in seamdisct but with abstract parent (which causes instantiation exception if used as parameter for home templa

[jboss-user] [JBoss Seam] - Re: java.lang.ArrayStoreException: org.apache.commons.collec

2007-10-27 Thread ebu
hi. Got same exception after upgrading trinidad to 1.2.2 (for popup panel), cured by upgrading ajax4jsf to 1.1.2-SNAPSHOT. no richfaces at all. wbr, eugene. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099623#4099623 Reply to the post : http://www.jboss.c

[jboss-user] [JBoss Seam] - Re: Could not initialize class org.hibernate.intercept.LazyP

2007-10-21 Thread ebu
here is it: | | @Entity | @NamedQueries({ | @NamedQuery(name = Property.ALL_PROPERTIES_COUNT, query="select count(p.id) from Property as p"), | @NamedQuery(name = Property.ALL_PROPERTIES, query="select p from Property as p order by p.name") | }) | public class Property {

[jboss-user] [JBoss Seam] - Could not initialize class org.hibernate.intercept.LazyPrope

2007-10-21 Thread ebu
Hi, Can'f find anything helpful on google... have somebody seen this before: Caused by: javax.faces.el.EvaluationException: java.lang.reflect.InvocationTargetException at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: 4.0.5 to 4.2.1 hostname problem with port 4446?

2007-09-13 Thread ebu
of course i didn't! it is far too long for me. Thank you for pointing for exact place to read :) wbr, eugen. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083816#4083816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: 4.0.5 to 4.2.1 hostname problem with port 4446?

2007-09-12 Thread ebu
Hi, any progress? Seems that i have similar problem - when connected to jboss box via vpn i can only access deployed apps specifying localhost in url. If external ip of the jboss box is used in url even from the box itself i'm getting connection refused. But i can still connect with remote debu

[jboss-user] [JBoss Seam] - Re: @DataModelSelection defaults to first value in model??

2007-03-21 Thread ebu
Hi I met the same problem, but in slightly different context - i have a CRUD SFSL and it's instance member after creation was overwritten with new value: | public class ItemEditor implements ItemEditorLocal{ |@DataModelSelection |private Item item = new Item(); | ... | |

[jboss-user] [JBoss Seam] - Re: Expression language enhancements do not work

2007-03-19 Thread ebu
looks like that ajax4jsf's view handler specified in web xml takes precedence: | | org.ajax4jsf.VIEW_HANDLERS | org.jboss.seam.ui.facelet.SeamFaceletViewHandler | | but even when seam handler is specified in faces-config only it's constructor is being called, so the object is

[jboss-user] [JBoss Seam] - Expression language enhancements do not work

2007-03-15 Thread ebu
Hi, Having | | | | | | |

[jboss-user] [JBoss Seam] - Best solution for a CRUD page

2007-03-12 Thread ebu
Hi. What would be the best seam based solution for a page which comprises both edit/create form and list of items? I.e. same page should be used to create, search, update and delete things. If editing of an item has been started that item should be highlited (or displayed in a separate list on t

[jboss-user] [JBoss Seam] - Re: nested conversation with explicit id

2007-03-06 Thread ebu
So, is there any way to annotate a method with @Begin so that it will nest conversation if no conv. with given id exists and pick up existing one if it's available? Something like this: | @Begin(nested="true", id="update#{item.id}" | public void editItem(){ | } | Actually, i don't nee

[jboss-user] [JBoss Seam] - Re: nested conversation with explicit id

2007-03-06 Thread ebu
Hi, Thank you for help. Yes it works, but as pointed by Gavin (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=102935, last post on the page) usage of Manager is discouraged, and besides all that api calls from the app code makes it cluttered and thus spoils most of seam's beauty. wbr

[jboss-user] [JBoss Seam] - Re: nested conversation with explicit id

2007-03-06 Thread ebu
I would really appreciate any help! wbr, eugen. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025335#4025335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025335 ___ jboss-

[jboss-user] [JBoss Seam] - Re: Combining list and all CRUD functionality on a single pa

2007-03-05 Thread ebu
Hi, And if both create and update conversations are using same page seam's conversation list shows them under the same label which is a bit misleading. Is there any way to fix it? wbr, eugen. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025239#4025239 R

[jboss-user] [JBoss Seam] - Re: nested conversation with explicit id

2007-03-05 Thread ebu
Hi, If i understand correctly it's impossible to swith to the old conversation if there is long running one: | class ConversationInterceptor | ... |public boolean redirectToExistingConversation(Method method) |{ | if ( !Manager.instance().isLongRunningConversati

[jboss-user] [Installation, Configuration & Deployment] - Re: jboss-5.0.0.Beta1 BUILD FAILED

2007-03-01 Thread ebu
6.0 of course. And for what great reason should i use 5.0? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024121#4024121 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024121

[jboss-user] [Installation, Configuration & Deployment] - jboss-5.0.0.Beta1 BUILD FAILED

2007-02-28 Thread ebu
Hi, Can't build freshly downloaded jboss-5.0.0.Beta1 _default:compile-classes: [mkdir] Created dir: /home/bu/tmp/jboss-5.0.0.Beta1-src/mbeans/output/classes [mkdir] Created dir: /home/bu/tmp/jboss-5.0.0.Beta1-src/mbeans/output/gen-src [javac] Compiling 84 source files to /home/bu/

[jboss-user] [JBoss Seam] - Re: end/begin conversation

2007-02-28 Thread ebu
well, but this means that "create" conversation becomes endless. It's just a bit unusual :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023776#4023776 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023776 _

[jboss-user] [JBoss Seam] - end/begin conversation

2007-02-28 Thread ebu
Hi. What if i need to end existing conversation and create new one with the single button push? For example when user fills a form with data used to create an object and after submitting form should be cleaned and ready for next input? wbr, eugen. View the original post : http://www.jboss.com/

[jboss-user] [JBoss Seam] - Re: nested conversation with explicit id

2007-02-15 Thread ebu
added, http://jira.jboss.org/jira/browse/JBSEAM-854 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017239#4017239 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017239 ___ jbo

[jboss-user] [JBoss Seam] - nested conversation with explicit id

2007-02-14 Thread ebu
Hi, Looks like that explicitely specified id is ignored when nested conv is used. In Manager.beginNestedConversation it is assigned Id.nextId(). Is it by design? Am i missing something? wbr, eugen. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016741#40167

[jboss-user] [JBoss Seam] - End conversation context

2007-01-06 Thread ebu
Hi, I can't understand why conversation context is not deleted when method annotated as @End is being called. Here is the code: | @Stateful | @Name("editSomething") | public class EditSomething implements EditSomethingLocal { | @PersistenceContext | EntityManager em; | |