Hi,

I'm trying to use the updateWith statement in an UpdateTask but the
generated web flows does not allow to update my entity.
The generated list_include.html does not contain the update action column.
(It works properly with DeleteTask/deleteWith, I get the delete column)

Example with helloworld :
Business tier
Service MilkyService {
  findAllPlanet => @PlanetRepository.findAll;
  findPlanetById => @PlanetRepository.findById;
  savePlanet => @PlanetRepository.save;
}       
        
Entity Planet {
  //scaffold
  String name key;
  String message;
  Integer diameter nullable;
  Integer population nullable;
  - Set<@Moon> moons opposite planet;
  Repository PlanetRepository {
    findAll; 
    findById;
    save;
  }
}

Web tier
 ListTask for Planet {
   searchWith MilkyService.findAllPlanet
 }
CreateTask for Planet {
    createWith MilkyService.savePlanet
}
UpdateTask for Planet {
  updateWith MilkyService.savePlanet
  findWith MilkyService.findPlanetById
}

Is there something wrong in my way of using the update feature?

Thanks
Yannick

-- 
View this message in context: 
http://www.nabble.com/Sculptor---Cannot-get-update-feature-when-using-UpdateTask---updateWith-tp24869118s17564p24869118.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to