This content has been marked as final.
Show 6 replies
-
1. Re: a4j:commandButton in rich:dataTable dont work
ilya_shaikovsky Feb 4, 2009 7:11 AM (in response to wessen)show editDemand method code.
-
2. Re: a4j:commandButton in rich:dataTable dont work
ilya_shaikovsky Feb 4, 2009 7:11 AM (in response to wessen) -
3. Re: a4j:commandButton in rich:dataTable dont work
wessen Feb 4, 2009 7:22 AM (in response to wessen)"ilya_shaikovsky" wrote:
show editDemand method code.public String editDemand() { DemandListView demandView = (DemandListView) getRequestObject( "demand" ); if ( "1".equalsIgnoreCase( demandView.getDemand().getRegistrationForm() ) ) { RegistrationBean registr = new RegistrationBean(); registr.setDemand( demandView.getDemand() ); putObjectToRequestScope( "registr", registr ); return "registr"; } else if ( "2".equalsIgnoreCase( demandView.getDemand().getRegistrationForm() ) ) { UnregistrationBean unregistr = new UnregistrationBean(); unregistr.setDemand( demandView.getDemand() ); putObjectToRequestScope( "unregistr", unregistr ); return "unregistr"; } else if ( "3".equalsIgnoreCase( demandView.getDemand().getRegistrationForm() ) ) { DataChangeBean datachange = new DataChangeBean(); datachange.setDemand( demandView.getDemand() ); putObjectToRequestScope( "datachange", datachange ); return "datachange"; } else if ( "4".equalsIgnoreCase( demandView.getDemand().getRegistrationForm() ) ) { PassChangeBean passchange = new PassChangeBean(); passchange.setDemand( demandView.getDemand() ); putObjectToRequestScope( "passchange", passchange ); return "passchange"; } else { putErrorMessage( "Unknown demand type" + demandView.getDemand().getRegistrationForm() ); } return null; }
ру� -
4. Re: a4j:commandButton in rich:dataTable dont work
ilya_shaikovsky Feb 4, 2009 7:25 AM (in response to wessen)navigation usage described in the thread under the link I've pasted above.
-
5. Re: a4j:commandButton in rich:dataTable dont work
wessen Feb 4, 2009 7:56 AM (in response to wessen)"ilya_shaikovsky" wrote:
navigation usage described in the thread under the link I've pasted above.
I agree.
With h:command... all work fine.
PS ilya, vsjo ravno tak ne chestno, pod IE6 rabotaet, a pod IE7 net :) -
6. Re: a4j:commandButton in rich:dataTable dont work
ilya_shaikovsky Feb 4, 2009 8:38 AM (in response to wessen)PS ilya, vsjo ravno tak ne chestno, pod IE6 rabotaet, a pod IE7 net :)
We tried to solve this some time ago and considered to move this to future because the case isn't good from the ajax components view. And partial work of this case is just side effect. :)