incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Commented: (ADFFACES-86) Add an parse/interpret attribute to outputDocument
Date Wed, 02 Aug 2006 18:08:15 GMT
    [ http://issues.apache.org/jira/browse/ADFFACES-86?page=comments#action_12425317 ] 
            
Adam Winer commented on ADFFACES-86:
------------------------------------

Stylistically, I'm not much in love with the "DocumentRenderingContext" class;
I'd rather see most of the the ordinary parameters passed around, and a simple
RenderState object, if necessary, for the document-specific stuff.
(The fact that DocumentRenderingContext is not a subclass of
RenderingContext is one specific issue).

I'm also unsure of the value of this in general.  I'm not aware of a format
that includes "\n" strings in its parsed content.  So, mostly -1 on this 
feature request (and, in general, please use the -dev list to discuss
feature requests before filing a JIRA issue).

> Add an parse/interpret attribute to outputDocument
> --------------------------------------------------
>
>                 Key: ADFFACES-86
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-86
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Simon Lessard
>            Priority: Minor
>         Attachments: OutputDocument-parseValue.patch
>
>
> Currently, outputDocument does not parse its value. The value string must contains '\n'
or '\r' to split the paragraphs. However, if the user would like to link the outputDocument
to a text found in a properties file, that will be impossible as you must put every entry
on a single line in those files. So the new attribute would slightly alter the code path in
order to interpret its value and replace textual "\n" and "\r" by line feeds.

-- 
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