[JBoss-user] [JBoss Seam] - Re: DataModelSelection without Outjection?

2006-07-10 Thread japplicoon
Thank you, petemuir, I'll experiment with that! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3956495#3956495 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956495

[JBoss-user] [JBoss Seam] - DataModelSelection without Outjection?

2006-07-09 Thread japplicoon
My sfsb is annotated like that: @Stateful | @Name(messageManager) | @Conversational(ifNotBegunOutcome=messageBoxes) | public class MessageManagerBean extends ListManagerBean implements MessageManager { | ... | } I have the following scenario: (The conversation has already

[JBoss-user] [JBoss Seam] - Re: DataModelSelection without Outjection?

2006-07-09 Thread japplicoon
Hello, petemuir! There's Nothing special about the getter/setter: public FMessage getMessage() { | return message; | } | | | public void setMessage(FMessage message) { | this.message = message; | } Should there be ?? Thanks you! sonja

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Clear bidirectional @OneToMany collection

2006-06-26 Thread japplicoon
Beginner's question: I have in an entity FThread: @OneToMany(cascade=CascadeType.ALL, mappedBy=fthread) | public ListPost getPosts() { | if(posts == null) posts = new ArrayListPost(); | return posts; | } My sfsb ThreadManager has an extended persistence context and I

[JBoss-user] [Security JAAS/JBoss] - Re: Programmatic Login

2006-06-25 Thread japplicoon
Thank you for replying, cgriffith! Do you say that tomcat authentication (I know it quite well, just starting to switch to ejb) is the only way for jboss to remember Principal and Roles to do further security checks (as @RolesAllowed and things like myfaces visibleOnUserRole - ok, that's

[JBoss-user] [Security JAAS/JBoss] - Re: Programmatic Login

2006-06-25 Thread japplicoon
. and d) There is no FacesContext and no SeamContext in a Servlet Filter e) same problem in a custom LoginModule (that was my first idea...) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953335#3953335 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Re: Programmatic Login

2006-06-24 Thread japplicoon
I try doing similar things and I'm stuck, too ;-( In a way I'd like to replace j_security_check - Unfortunately I can't find the source code of that servlet ... This is my first trial: A backing bean creates a LoginContext and uses the security-domain I specified in login-config.xml (with

[JBoss-user] [JBoss Seam] - Re: Action not triggered

2006-06-23 Thread japplicoon
Is the action called if you remove the @CheckLoggedIn Interceptor? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3952902#3952902 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3952902 Using Tomcat but need to do more? Need

[JBoss-user] [JBoss Seam] - Re: Seam + Facelets: use of JSTL and if tests

2006-06-23 Thread japplicoon
If something is wrong with your declaration of the standard core library, you should see the unresolved c:if tags in the html source of your output. How does your namespace-declaration for the core library look like? View the original post :

[JBoss-user] [JBoss Seam] - @DataModel on getter?

2006-06-22 Thread japplicoon
Is it possible to tag a getter method of a list with @DataModel(xyzlist) | getXyzList() { ... } | ? I would like to have a base class with basic methods on the list (like sorting), but the subclasses should outject their list instances into multiple different context variables. Since

[JBoss-user] [JBoss Seam] - Re: @DataModel on getter?

2006-06-22 Thread japplicoon
Thank you, Gavin! Will the @Factory method be called if getList() returns null? I'm unsure whether to just write @DataModel(threadlist) | public List getList() { | return list; | } | or instead do something to return a filled List, such as @DataModel(threadlist) | public List

[JBoss-user] [JBoss Seam] - beginner question: Bijection problems

2006-06-21 Thread japplicoon
I don't manage to outject some entity from one sfsb into session context and inject it in the next sfsb. In the first sfsb I have a Datamodel and : @DataModelSelection @Out(scope = ScopeType.SESSION, required=false) @In(create=true) private Board board; In

[JBoss-user] [JBoss Seam] - Re: beginner question: Bijection problems

2006-06-21 Thread japplicoon
I was wrong: The programmatic call to the session variabel results in the correct current Board instance, it is just the injected variable that is null. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3952376#3952376 Reply to the post :

[JBoss-user] [JBoss Seam] - upgrade Seam 1.0.0.GA

2006-06-19 Thread japplicoon
Hi! I have installed Jboss-4.0.4.GA over the installer with the ejb option, now the seam 1.0.1.GA version includes changes in its jboss-all.jar, especially InvocationContext.getTarget() which are unknown in my jboss installation. Do I have to replace some single jars in Jboss or what kind of

[JBoss-user] [JBoss Seam] - Re: upgrade Seam 1.0.0.GA

2006-06-19 Thread japplicoon
I meant the jboss-ejb3-all.jar, of course;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3951637#3951637 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3951637 ___ JBoss-user

[JBoss-user] [JBoss Seam] - Re: upgrade Seam 1.0.0.GA

2006-06-19 Thread japplicoon
Thank you, Thomas ! I reinstalled jboss. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3951657#3951657 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3951657 ___ JBoss-user

[JBoss-user] [JBoss Seam] - myfaces / tomahawk javascript code

2006-06-08 Thread japplicoon
Hi! I'm bloody new to Jboss and Seam. My first steps do work with respect to the EJB3.0 and bijection, but I'm totally confused about the myfaces-tomcahawk-facelets in the classpath. I don't find any myfaces jar in the example's ear files confusing to me, how do things work? And in my

[JBoss-user] [JBoss Seam] - Re: myfaces / tomahawk javascript code

2006-06-08 Thread japplicoon
Hi! Thank you for the hint about the myfaces libs! The problem is that in my configuration of myfaces, facelets and tomahawk, the javascript code is not generated that is needed for the onclick events of h:commandLink, for example. There should be something like - copied from the booking

[JBoss-user] [JBoss Seam] - Re: myfaces / tomahawk javascript code

2006-06-08 Thread japplicoon
I found the problem - and have another one ;-( The tomahawk-1.1.2-SNAPSHOT.jar I used (that one worked best with facelets) was the reason why I didn't get the JavaScript code for commandLinks. I now took the jar from the issue example - BUT: In my version a filter was responsible for