Yes, we've definitely been moving away from having any widget files (form, 
screen, tree or menu) in the webapp directory, and most of them have been moved 
out of there. The content component is oft neglected so it's not too surprising 
that something remains there.

It's tempting to even start moving the data prep scripts into the 
component/scripts directory instead of the WEB-INF/actions directory, but we 
haven't gone that far yet. I imagine FTL files used for web pages will always 
go under the webapp directory.

-David


On Tue, 22 Jul 2008 10:03:24 -0700, Adrian Crum <[EMAIL PROTECTED]> wrote:
> I have been wondering that too.
> 
> Putting form widget XML files in the webapp folder is a practice started
> in the JPublish days. Then the widget folder was added to the
> components. Since then there has been no clear direction on where to put
> form widget XML files.
> 
> My preference would be to keep all widget XML files in the widget folder.
> 
> -Adrian
> 
> Bruno Busco wrote:
>> Hi devs,
>> sometime _WebAppName_Forms.xml are in widgets folder, some other they
> are
>> located in webapp/_webappname_ folder.
>> In the content application there are BOTH widgets/ContentForms.xml AND
>> webapp/content/ContentForms.xml.
>> This caused my modifications to webapp/content/ContentForms.xml to have
> no
>> effetct.
>>
>> Which one of the two instances should I remove?
>>
>> Many thanks,
>> -Bruno
>>

Reply via email to