Derek Hohls wrote:
Sorry... found it n:
http://svn.apache.org/repos/asf/cocoon/blocks/forms/trunk/samples/sql/pages/
Just a bit strange that it is not with:
http://svn.apache.org/repos/asf/cocoon/blocks/forms/trunk/samples/sql/forms/
I am used to the structure from all the previous samples
where form defintion and layout are in the same subdir;
and this is the approach I have followed in my apps ....
any reason why its changed now? (I know this makes no
difference to the app, and is purely a convention - but
conventions can help make it easier to find things, so
that is why I ask.)

I use this approach because IMO the form definition and the form template, although related, don't belong to the same application domain: the definition is related to the business domain model, and the template belongs to the view.

Also, applications are composed of a number of pages, some with forms, some without (such as the employee-list page), why should they be split across different directories ?

Hence this organization that seems more natural to me.

The forms samples were built incrementally as set of independent samples, and their organization is because of this a bit cluttered up: the sitemap has some redundancy, templates are a mix of "pure-jx" and "previously-xsp-conterved-to-jx", etc.

I plan to do some cleanup after 2.1.8 is out.

Sylvain

--
Sylvain Wallez                        Anyware Technologies
http://people.apache.org/~sylvain     http://www.anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]