[JBoss-user] [JBoss Seam] - Re: dataTable with method execution per row
trouby wrote : but since JSF/Seam limitations(or am I wrong?), I can't pass parameters to methods and execute them This is a limitation of JSTL-EL. In our experimental JSF fork, Stan has actually implemented method parameter support, but note that we have no current plans to productize this work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3956638#3956638 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956638 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: dataTable with method execution per row
Cool, but thanks, I'll stick with the @Transient pre-loaded data options for now... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3956687#3956687 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956687 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: dataTable with method execution per row
Hey, I am not quite sure why anonymous wrote : | note: the 'status' cannot be just a property of the 'user' entity since the method requires DB access(and more) and must reside in an EJB entity | and this is the way I would do it | public class User { |private Integer userid; |private String status; | |...getters and setters... | } | | @Stateful() | @Name(somename) | @Scope(ScopeType.SESSION) //or whatever | public class UserBean implements UserInterface { | |@DataModel | ListUser userList; | | @DataModelSelection | User selectedUser; | | @PersistenceContext | EntityManager em; | | public String doSearch() { | updateUserList(); | | return userlistpage; | } | | private void updateUserList() { | Query query = em.createNamedQuery() | result = ...connect to databases... | ...and more ;-) ... | userList = result | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3956085#3956085 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956085 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: dataTable with method execution per row
You could always preprocess the list. Mark the status field in the user Entity @Transient (so that it isn't persisted by the container). In updateUserList() iterate over the list created by the database query setting status as you go (here you could interogate other entites, SOAP, whatever). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3956106#3956106 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956106 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: dataTable with method execution per row
I do preprocessing of lists with @Transient. It works quite well. I also use maps that I add extra objects to to hande the case where some of then are not persisted and I add an empty one under a different key in the map if there is none found. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3956243#3956243 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956243 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: dataTable with method execution per row
You may also be able to write a JSF EL function. However I think I Pete's method of just getting status along with the original data better. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3956229#3956229 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956229 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user