Re: T5 : Getting Error when invoke Form

2007-12-08 Thread Filip S. Adamsen

Howard is working on it.

https://issues.apache.org/jira/browse/TAPESTRY-1936

-Filip

Penyihir Kecil skrev:

i always getting this error message :

Processing of request failed with uncaught exception: An event handler for
component admin/FormFormation:formationform returned the value true (from
method org.apache.tapestry.corelib.components.Form.onAction(java.lang.Object[])
(at Form.java:283)).  Return type java.lang.Boolean can not be handled.
Configured return types are java.lang.Class, java.lang.String,
org.apache.tapestry.Link, org.apache.tapestry.StreamResponse,
org.apache.tapestry.runtime.Component.


my code :

  
   :
  
   
 



void onPrepare(){
if (formation == null){
formation = new Formation();

}
}

Object onSuccessFromFormationForm(){
return GridFormation.class;
}
public IFormationDao getFormationDao() {
return formationDao;
}

public Formation getFormation() {
return formation;
}
--


could anyone could explain me why?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



T5 : Getting Error when invoke Form

2007-12-08 Thread Penyihir Kecil
i always getting this error message :

Processing of request failed with uncaught exception: An event handler for
component admin/FormFormation:formationform returned the value true (from
method org.apache.tapestry.corelib.components.Form.onAction(java.lang.Object[])
(at Form.java:283)).  Return type java.lang.Boolean can not be handled.
Configured return types are java.lang.Class, java.lang.String,
org.apache.tapestry.Link, org.apache.tapestry.StreamResponse,
org.apache.tapestry.runtime.Component.


my code :

  
   :
  
   
 



void onPrepare(){
if (formation == null){
formation = new Formation();

}
}

Object onSuccessFromFormationForm(){
return GridFormation.class;
}
public IFormationDao getFormationDao() {
return formationDao;
}

public Formation getFormation() {
return formation;
}
--


could anyone could explain me why?