seam-gen with generate-entities keeps generating methods like setSomethingId() and getSomethingId() in
public class SomethingHome extends EntityHome<Something> { public void setSomethingId(String id) { setId(id); } public String getSomethingId() { return (String) getId(); } @Override protected Something createInstance() { Something result = new Something(); return result; } }
<page> <param name="somethingFrom"/> <param name="somethingId" value="#{somethingHome.somethingId}"/> </page>
<param name="personId" value="#{personHome.id}"/>
Its really just a matter of taste. The typesafe methods are good if you plan to call the component programmatically.