[JBoss-user] [JBoss Seam] - Re: SFSB are evil? (The eternal Update problem)

2006-06-22 Thread dahm
Hi, thanks for the reply... anonymous wrote : | How can I enforce that the list is reread? | anonymous wrote : | Easy answer. You have to set vertraege to null. | But to implement it is sometimes not so easy. Look at the hotelbooking example for a hint. | It's not that easy

[JBoss-user] [JBoss Seam] - SFSB are evil? (The eternal Update problem)

2006-06-21 Thread dahm
Hi, I seem to have a general problem with refreshing views from the database when using SFSB like in the examples. Remember the messages list example, I've got except pretty much the same code, except there is a link on the page where you can edit the specified row entry. | @Stateful |

[JBoss-user] [JBoss Seam] - Seam/JSF thinks action method to be property...

2006-06-21 Thread dahm
Hi, I've got a list of data which I want to be able to apply filters to. That is, I put a combobox on top with a submit button. This shall render the list using a new query: | ?xml version=1.0 encoding=ISO-8859-1 ? | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

[JBoss-user] [JBoss Seam] - Strange behavior using JSTL (MyFaces)

2006-05-03 Thread dahm
Hi, the following problem may not be directly linked with Seam. However, I'm quite confused, so maybe you can help... I want to to use the forEach-Tag like in the following code (dummy.jsp) | %@ taglib uri=http://java.sun.com/jsf/html; prefix=h% | %@ taglib

[JBoss-user] [JBoss Seam] - Re: @Name and abstract classes

2006-04-08 Thread dahm
Hi, the intention was to have a component to which I can bind any subclass of the abstract class. Which didn't work for the listed reasons. The concrete use case is: The sub classes all have the same fields, thus the form/JSP is also the same, just the instance used is different. I have a drop

[JBoss-user] [JBoss Seam] - @Name and abstract classes

2006-04-06 Thread dahm
Hi, I have an abstract Entity class named Vertragspartner which has several descendants and annotate it with @Name(vertragspartner) Somewhere else I have a session bean which references that name. I want to bind a concrete class to this field. | @In(value = vp) | @Out(value =

[JBoss-user] [JBoss Seam] - Validating dates

2006-04-04 Thread dahm
Hi, I'm having an Entity class which contains Date objects, say (excuse me, I'm too lazy to translate all the names ;-) | @Entity | @Name(vertrag) | @Scope(SESSION) | public class Vertrag implements Serializable { | ... | private Date _vertragsBeginn; | | @Basic |

[JBoss-user] [JBoss Seam] - Re: Modifying Hibernate validator msgs

2006-03-24 Thread dahm
Hi, I had the same problems using my ValidatorMessages.properties I put it in anywhere in my JAR and EJB3 archives, but it didn't work. It seems to be a classloader problem. If you modify the DefaultValidatorMessages.properties file in the hibernate-annotations.jar in the ejb3.deployer folder it

[JBoss-user] [JBoss Seam] - Re: ValidatorMessages

2006-03-24 Thread dahm
As a quick workaround you can also put a JAR with your ValidatorMessages.properties in the ejb3.deployer folder View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3932404#3932404 Reply to the post :

[JBoss-user] [JBoss Seam] - Dynamic Messages

2006-03-24 Thread dahm
Hi, this may sound exotic, but I remember I could do this with Struts Actions ... :-) Image I've got a validator tag set an attribute, say @Length How would I output the concrete value just being validated, i.e. I'd like to have some output in the browser like length must be between 5 and 10.