- Timestamp:
- 10/03/11 15:05:25 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ether_megapoli/trunk/web/src/com/ether/ControllerEther.java
r130 r213 5 5 import com.ether.annotation.ParamName; 6 6 import com.ether.annotation.UseJSON; 7 import com.medias.annuaire.Personne; 7 8 import net.sf.json.JSON; 8 9 import net.sf.json.JSONArray; … … 44 45 { 45 46 if( !_initialized ) 46 47 initialize(); 47 48 48 49 request.setCharacterEncoding( UTF8Charset.getEncoding() ); … … 82 83 final Object[] params = buildParams( methodDescription, request ); 83 84 85 if( methodDescription.isLoginMandatory() ) 86 { 87 final Personne pers = (Personne) request.getSession().getAttribute( "SES_USER" ); 88 params[params.length - 1] = pers; 89 } 84 90 // Invoke method (go to controller) 85 91 final Object result = methodDescription.getMethod().invoke( this, params );
Note: See TracChangeset
for help on using the changeset viewer.