[jboss-user] [JBoss Seam] - Re: the best way to maintain search conditions?

2008-02-03 Thread luc_yuan
thank you for your replies,guys,i'll try that View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4125973#4125973 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125973 ___

[jboss-user] [JBoss Seam] - why commit twice?

2008-02-02 Thread luc_yuan
when i create a object using id whick is already in database when i press the create button i check if it exists,but i got my message age,why | try { | | Kokyaku k = (Kokyaku) getEntityManager().createQuery( |

[jboss-user] [JBoss Seam] - Re: why commit twice?

2008-02-02 Thread luc_yuan
what shows me in pages is anonymous wrote : kokyaku 11already exist kokyaku 11already exist and i retrieve my message like this | h:messages globalOnly=true styleClass=message id=globalMessages | showDetail=true layout=table / | also in console

[jboss-user] [JBoss Seam] - why list empty

2008-01-31 Thread luc_yuan
In order not to use auto search,i make some change to the resultList,in my action i print the resultList info,there are datas,but when it comes to the page,the list becomes empty,why? list |package org.domain.demo.session; | | import org.domain.demo.entity.*; | import

[jboss-user] [JBoss Seam] - Re: why list empty

2008-01-31 Thread luc_yuan
also navigation file | page xmlns=http://jboss.com/products/seam/pages; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd; | |

[jboss-user] [JBoss Seam] - Re: why list empty

2008-01-31 Thread luc_yuan
i change a little about my getList() | public List getList() { | if(list != null) | System.out.println(list.size() + ***); | else | System.out.println(sss); | return

[jboss-user] [JBoss Seam] - Re: why list empty

2008-01-31 Thread luc_yuan
i find the reason. | rule if-outcome=success | redirect view-id=/KokyakuList.xhtml / | /rule | because of redirect just like a new request,different instance. View the original post :

[jboss-user] [JBoss Seam] - the best way to maintain search conditions?

2008-01-29 Thread luc_yuan
hi,eveyone. i got 3 pages.list,edit and confirm.In the list page there are some search conditions,i generate my project using seam-gen and i find the search are all passed using page paramters.And i also try to put the list into conversation,but it seems to be not the best way to