cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Kossakowski (aka g[R]eK) (JIRA)" <>
Subject [jira] Updated: (COCOON-1993) Make Forms resources loaded directly
Date Fri, 02 Feb 2007 14:40:06 GMT


Grzegorz Kossakowski (aka g[R]eK) updated COCOON-1993:

    Attachment: cocoon-forms-impl-patch-2.txt


This patch fixes issues related to paths problems mentioned before. Actually, I've split paths
in js and xslt files so resources form different blocks can be mounted on completely different
Also I've moved manifest.js to the right location and added it required by calling dojo.required
so Dojo doesn't have to guess location of this file. Adding cocoon.forms.manifest to required
assures that it's loaded on right phase and our namescape handler is registered before it's
being used.

Splitting paths demanded changes in various places, but I think that led to cleaner contracts.
There is no resourecesUri variable that would be used to load resources from different blocks,
and thus making any further refactorings much harder.

This patch includes all changes from previous one.

WARNING: Some paths (see manifest.js) are hardcoded until I write link rewriting reader discussed

> Make Forms resources loaded directly
> ------------------------------------
>                 Key: COCOON-1993
>                 URL:
>             Project: Cocoon
>          Issue Type: Sub-task
>          Components: Blocks: Forms
>    Affects Versions: 2.2-dev (Current SVN)
>            Reporter: Grzegorz Kossakowski (aka g[R]eK)
>             Fix For: 2.2-dev (Current SVN)
>         Attachments: cocoon-forms-impl-patch-1.txt, cocoon-forms-impl-patch-2.txt, cocoon-forms-sample-patch-1.txt
> Steps required to achieve this goal are the same as in

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message