[jboss-user] [JBoss Seam] - Re: @DataModel vs. EL

2008-02-04 Thread mykey
Naa. That didn't solve it (T_T) Still the same - wrong - status message. Furtheremore, the @In is needed, because the new state has to be entered to the database. This is the JSF that is shown after inscription.startEdit(): | | !DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0

[jboss-user] [JBoss Seam] - Re: @DataModel vs. EL

2008-02-04 Thread mykey
Sorry, I forgot: I solved the problem by using the Conversation-Scope and @Begin for startEdit and @End for finishEdit - what I should probably have done in the first place. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126223#4126223 Reply to the post :

[jboss-user] [JBoss Seam] - Re: @DataModel vs. EL

2008-02-04 Thread mykey
Hooray (^_^) The problem is partially solved. The editing (from my last post) works now. Though, the status message is still not shown correctly. I thought the whole time that these problems belong to each other; has anybody an explanation for this? View the original post :

[jboss-user] [JBoss Seam] - @DataModel vs. EL

2008-02-02 Thread mykey
I am displaying a list of entities (Student) with a @DataModel on a JSF Page with two links: one for editing and one for delting. For some reason the injection by DataModelSelection does not work correctly. My my status-EL messages for these two functions aren't shown correctly. Deletin

[jboss-user] [JBoss Seam] - Re: @DataModel vs. EL

2008-02-02 Thread mykey
After all that I have read, it makes no difference whether the logger is static or not. I didn't try that yet, but I will. But I don't think that this is the problem here, because the status messge from finishEditing is shown correctly (which does not solve the problem that the object isn't

[jboss-user] [JBoss Seam] - Combine Listboxes

2008-01-31 Thread mykey
The plan is to construct a form where one can enter Values like 5a or 10c - it's always a number and a character. To make it comfortable I thought about two selectOneListbox. One showing the numbers, the other one shows the characters. I need the combination of these both as a String for a

[jboss-user] [JBoss Seam] - Type Checking in Expression Language

2008-01-27 Thread mykey
I have to handle a list with students who are either inscribben or matriculated. To model this I used @Inheritance. Now I want to show all of them in a Table, but with different attributes - depending on the subclass. My idea was mask the attributes with the rendered attribute in the JSF.

[jboss-user] [JBoss Seam] - Re: Type Checking in Expression Language

2008-01-27 Thread mykey
I'm not sure whether I found exactly what you meant but I solved the problem by implementing a method public boolean isInstance(String reference) into the EntityBeans. Depending on the reference it returns true or false. Thank you for your quick help. View the original post :

[jboss-user] [JBoss Seam] - Re: Type Checking in Expression Language

2008-01-27 Thread mykey
... which looks like the most beautiful way. I should try this as well. Thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123887#4123887 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123887