Changeset 3775
- Timestamp:
- Aug 18, 2010, 2:12:28 PM (13 years ago)
- Location:
- trunk/client/servlet/src/org/proteios/action
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/servlet/src/org/proteios/action/ProteiosAction.java
r3711 r3775 328 328 runMe(); 329 329 if (getForwardTo() == null && getLayout() == null) 330 setForwardTo(actionFactory.getLastAction(getEvent())); 330 { 331 log.debug("Action didn't set forwardTo nor a layout"); 332 if(!getResponse().isCommitted()) 333 { 334 log.debug("Action faild, let's try to reuse the last action"); 335 setForwardTo(actionFactory.getLastAction(getEvent())); 336 } 337 } 331 338 } 332 339 catch (ItemNotFoundException e) -
trunk/client/servlet/src/org/proteios/action/hit/ViewActiveHitExternalId.java
r2478 r3775 98 98 * Get hit id for error message. 99 99 */ 100 verifySessionAttributes(ViewActiveHit.VHITID);101 100 Integer hitId = getSessionAttribute(ViewActiveHit.VHITID); 101 if(hitId!=null) { hitId = getValidInteger(FormFactory.VID); } 102 102 103 log.debug("hitId = " + hitId); 103 104 /* -
trunk/client/servlet/src/org/proteios/action/hit/ViewHitExternalId.java
r2478 r3775 29 29 30 30 import org.proteios.action.ProteiosAction; 31 import org.proteios.action.ConfigureTableFactory2; 31 32 import org.proteios.core.DbControl; 32 33 import org.proteios.core.Hit; … … 84 85 */ 85 86 setError("Hit[" + hitId + "] - External id is null"); 87 setForwardTo(ConfigureTableFactory2.class); 86 88 } 87 89 }
Note: See TracChangeset
for help on using the changeset viewer.