cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Christophe Kermagoret (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COCOON-1727) CForms do not allow anymore dots '.' in widget id
Date Wed, 28 Dec 2005 09:22:01 GMT
    [ http://issues.apache.org/jira/browse/COCOON-1727?page=comments#action_12361316 ] 

Jean-Christophe Kermagoret commented on COCOON-1727:
----------------------------------------------------

I don't understand very well the rules that make things stable or unstable.

Ok, I'm using CForms for 2 years now (woody included) and I may understand what is saying
above. But, I suggest to provide a compatibility workaround that permits to avoid to change
code for people who consider CForms block stable enough.

For example, we could imagine a compatibility attribute in the widget definition that permit
to avoid the test I mentioned above.

<fd:field id="fake.dtstart" compatibility="old-naming-scheme">
...

If you agree, I will be happy to provide the corresponding patch.

> CForms do not allow anymore dots '.' in widget id
> -------------------------------------------------
>
>          Key: COCOON-1727
>          URL: http://issues.apache.org/jira/browse/COCOON-1727
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Forms
>     Reporter: Jean-Christophe Kermagoret
>     Priority: Blocker

>
> I just can't use my forms anymore in 2.2 version because I use dots in my widget id.
Unfortunately, I usually use the widget id to create the corresponding xml element name, and
xml element names may contain dots '.'
> The code in AbstractDefinitionBuilder says it does not permit '.' because of path conflicts.
Is it true, and in that case in which part of the code ? Or is it just a precaution ? This
may oblige developers to change a lot of things in their forms and code related, which is
not a very good news :-( if they want to use 2.2
> I should suggest to remove the dot test, or to add compatibility test, that should permit
to keep the old naming scheme.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message