Pegar en Runtime eclipse/GeneradoTest3/GeneradoTest3/controlador/DietaManager.java
/**
				 * Action method named saveDieta
				 * @param dieta Parameter from type Dieta
				 *
				 * @return String value with some navigation outcome
				 */
Action method named saveDieta
@param dieta Parameter from type Dieta

@return String value with some navigation outcome
Action method named saveDieta @param dieta Parameter from type Dieta @return String value with some navigation outcome
public String saveDieta( Dieta dieta){
					try{
						if(1L == 1L){
							getPersistence().save(dieta);
						} else {
								getPersistence().create(dieta);
						}	
						return listAll();
					}catch (Exception e)	{
						JsfUtil.addSuccessMessage(ResourceBundle.getBundle("/Bundle").getString("DietaCreated"));
					} 
					return "";
				}
public String saveDieta ( Dieta dieta ) { try { if ( 1L == 1L ) { getPersistence ( ) . save ( dieta ) ; } else { getPersistence ( ) . create ( dieta ) ; } return listAll ( ) ; } catch ( Exception e ) { JsfUtil . addSuccessMessage ( ResourceBundle . getBundle ( "/Bundle" ) . getString ( "DietaCreated" ) ) ; } return "" ; }
Action method named saveDieta
 @param dieta Parameter from type Dieta
Action method named saveDieta @param dieta Parameter from type Dieta