Re: SV: master-detail redirection with annoteded request bean and tomahawk updateActionListener
ok I got that already thanks Hermod Opstvedt [EMAIL PROTECTED] wrote: Hi Please redirect questions regarding Tomahawk to the MyFaces list. Hermod -Opprinnelig melding- Fra: Érico Teixeira [mailto:[EMAIL PROTECTED] Sendt: 30. juli 2007 20:26 Til: user@shale.apache.org Emne: master-detail redirection with annoteded request bean and tomahawk updateActionListener I have an use case where I need to load a dataTable with all monthly fees from a student and put a link in id column to redirect to an annotaded Fee Request Bean where I can visualize all details ... I've tried to use : value=#{studentBean.fees} preserveDataModel=true rows=8 ... immediate=true In my faces_config.xml I have : * #{studentBean.choose} success /view/fee.xhtml Using Eclipse / Tomcat Debug when I enter in feeBean I can see that my property #{feeBean.fee} is set to null Are those steps correct ? Is that the way to have a master-detail redirection using these frameworks ? - Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. - Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.
RE: master-detail redirection with annoteded request bean and tomahawk updateActionListener
From: [EMAIL PROTECTED] Hi Wrong list - Try the MyFaces list for questions regarding Tomahawk Unless you are using Shale Clay, as Hermod stated, myfaces would be the best community to ask tomahawk questions. However, it looks like you are using Facelets, not that here is anything wrong with that :-(. See my comments below: Hermod -Original Message- From: Érico Teixeira [mailto:[EMAIL PROTECTED] Sent: Monday, July 30, 2007 8:26 PM To: user@shale.apache.org Subject: master-detail redirection with annoteded request bean and tomahawk updateActionListener I have an use case where I need to load a dataTable with all monthly fees from a student and put a link in id column to redirect to an annotaded Fee Request Bean where I can visualize all details ... I've tried to use : t:dataTable id=cob var=fee value=#{studentBean.fees} preserveDataModel=true rows=8 ... You have a typo in your action. I think you need #{studentBean.choose}. t:commandLink id=command_link action=#{sutendBean.choose} immediate=true h:outputText value=#{fee.fee} / t:updateActionListener property=#{feeBean.fee} value=#{fee} / /t:commandLink In my faces_config.xml I have : navigation-rule from-view-id*/from-view-id navigation-case from-action#{studentBean.choose}/from-action from-outcomesuccess/from-outcome to-view-id/view/fee.xhtml/to-view-id redirect / /navigation-case /navigation-rule Using Eclipse / Tomcat Debug when I enter in feeBean I can see that my property #{feeBean.fee} is set to null The object feeBean must exist before you can assign the fee object from the data table. There also needs to be a getFee() and setFee(FeeBean) on the feeBean. Are those steps correct ? Is that the way to have a master-detail redirection using these frameworks ? Using the t:updateActionListener is a very good way to handle master-detail. Trinidad has a similar action listener too. It's such a good idea that it was added to JSF 1.2. Gary
RE: master-detail redirection with annoteded request bean and tomahawk updateActionListener
I already fixed the problem I didn't use tomahawk updateActionListener because I was trying to set properties between a pojo and annoted managed bean ... I posted in Shale list because I was using tiger annoted beans and had hope that someone had lived through this same problem ... Anyway I appreciate all the help that I had from the list []s Érico Gary VanMatre [EMAIL PROTECTED] wrote: From: Hi Wrong list - Try the MyFaces list for questions regarding Tomahawk Unless you are using Shale Clay, as Hermod stated, myfaces would be the best community to ask tomahawk questions. However, it looks like you are using Facelets, not that here is anything wrong with that :-(. See my comments below: Hermod -Original Message- From: Érico Teixeira [mailto:[EMAIL PROTECTED] Sent: Monday, July 30, 2007 8:26 PM To: user@shale.apache.org Subject: master-detail redirection with annoteded request bean and tomahawk updateActionListener I have an use case where I need to load a dataTable with all monthly fees from a student and put a link in id column to redirect to an annotaded Fee Request Bean where I can visualize all details ... I've tried to use : value=#{studentBean.fees} preserveDataModel=true rows=8 ... You have a typo in your action. I think you need #{studentBean.choose}. In my faces_config.xml I have : * #{studentBean.choose} success /view/fee.xhtml Using Eclipse / Tomcat Debug when I enter in feeBean I can see that my property #{feeBean.fee} is set to null The object feeBean must exist before you can assign the fee object from the data table. There also needs to be a getFee() and setFee(FeeBean) on the feeBean. Are those steps correct ? Is that the way to have a master-detail redirection using these frameworks ? Using the t:updateActionListener is a very good way to handle master-detail. Trinidad has a similar action listener too. It's such a good idea that it was added to JSF 1.2. Gary - Shape Yahoo! in your own image. Join our Network Research Panel today!
mask validator
Does the shale validator work in forcing user only can keyin the allowable charater to the inputText? Which means when user press those not allowable characters the inputText will not exist those particular character even pressed? -- View this message in context: http://www.nabble.com/mask-validator-tf4218639.html#a12001931 Sent from the Shale - User mailing list archive at Nabble.com.