Hi, Did you have a look at http://jumpstart.doublenegative.com.au/jumpstart/ ?
Regards François 2011/8/17 ixcoatl <[email protected]>: > Hi, > > I'm having some trouble shifting from the conventional event-driven model to > the way Tapestry works. > > Is there a newbie forum where I can ask the most basic questions? > > Right now I'm stuck trying to jump from one page in charge to create users > to others in charge of editing and deleting them. > > This is the code of the list with the already created users is: > > <t:grid source="usuarios" add="editar,borrar" rowsPerPage="5" > include="nombre,controlarUsuarios,crearProyectos"> > <p:editarcell> > <t:actionlink t:id="editarUsuario" > page="seguridad/editarUsuario" context="nombre" >Editar</t:actionlink> > </p:editarcell> > <p:borrarcell> > <t:actionlink t:id="borrarUsuario" > page="seguridad/BorrarUsuario" context="nombre" >Borrar</t:actionlink> > </p:borrarcell> > <p:empty> > <p>No hay informacion en la lista.</p> > </p:empty> > </t:grid> > > Both seguridad/BorrarUsuario and seguridad/editarUsuario are pages intended > to handle the delete and edit tasks (sorry the code is in spanish). However > the jump never happens and the methods onActionFromBorrarUsuario and > onActionFromEditarUsuario are being called on the page where the grid > exists. > > Then I thought that returning a BorrarUsuario page from this methods should > be enough, for that I put: > > @InjectPage("seguridad/BorrarUsuario") > private EditarUsuario eu; > > or > > @Inject > private EditarUsuario eu; > > > And then perform a simple > > return eu; > > At the end of the onActionFromEditarUsuario method, but I keep getting tons > of exceptions: > > java.lang.ClassNotFoundException: caught an exception while obtaining a > class file for > compucentro.volumetria.pages.seguridad.ControlDeUsuarios > > With: > Error obtaining injected value for field > compucentro.volumetria.pages.seguridad.ControlDeUsuarios.eu: > No service implements the interface > compucentro.volumetria.pages.seguridad.EditarUsuario. > > > What am I doing wrong? I think that I'm missing come naming convention or > something but cant find what. > > It would be very nice to have a tutorial on how to implement a full > create/update/delete cycle using hibernate, that way a newbie can get the > feeling of how manage the set of objects (pages, entities, etc. ) involved > with DB access. > > By the way, I had been exploring tapestry for only 2 days now, so please > forgive my lack of knowledge on the topic. > > Thank you and best regards. > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Newbie-forum-and-jumping-to-another-page-tp4706181p4706181.html > Sent from the Tapestry - Dev mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
