cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Johnston (JIRA)" <>
Subject [jira] Updated: (COCOON-1879) Make fd:field whitespace trimming behavior configurable
Date Sun, 09 Jul 2006 17:14:30 GMT
     [ ]

Jason Johnston updated COCOON-1879:

    Attachment: COCOON-1879.diff

Attached patch implements a new optional 'whitespace' attribute for fd:field.  Possible values

whitespace="preserve" : leading and trailing whitespace is preserved
whitespace="trim-start" : only leading whitespace is trimmed
whitespace="trim-end" : only trailing whitespace is trimmed
whitespace="trim" : (default) both leading and trailing whitespace is trimmed, like old behavior.

Input welcome.

> Make fd:field whitespace trimming behavior configurable
> -------------------------------------------------------
>          Key: COCOON-1879
>          URL:
>      Project: Cocoon
>         Type: Improvement

>   Components: Blocks: Forms
>     Versions: 2.2-dev (Current SVN), 2.1.10-dev (current SVN)
>     Reporter: Jason Johnston
>  Attachments: COCOON-1879.diff
> Currently fd:field widgets always trim leading and trailing whitespace from the user's
input. Sometimes this behavior is not desired, so it should be configurable.
> See this thread for discussion:
> Patch forthcoming.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message