On Nov 2, 2009, at 11:50 AM, tom wrote:
> hi, > > i just want to create my first own "NEW" file: > > so i move the "new-age def from pages to application.dryml and > created the new.dryml file in the model-directory. is that correct?: > > > application: > <def tag="new-page" for="CountSheetHeader"> > <page merge title="New Count Sheet Header"> > <body: class="new-page count-sheet-header" param/> > <content: param> > <section param="content-header"> > <h2 param="heading">New Count Sheet Headersss</h2> > </section> > > <section param="content-body"> > <form param> > <submit: label="Create Count Sheet Header"/> > </form> > </section> > </content:> > </page> > </def> > > > new: > <new-page/> > > > > so, how do i know what can go from application to new? > Pretty much everything between the <def> tags can go into new.dryml; the big exception is the 'merge' and 'param' attributes, which go away. DRYML will let you know if you leave one in by mistake. --Matt Jones --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
