commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Libbrecht (JIRA)" <>
Subject [jira] Commented: (JELLY-191) FileTag must allow to append to flat file
Date Wed, 12 Jan 2005 13:40:19 GMT
     [ ]
Paul Libbrecht commented on JELLY-191:

Although that doesn't append, I think the following scripts shows the wished output so that
blank-management is possible with the help of the trim attribute.
The only thing that'd be left would be to add an append flag to the Tag, seems quite easy.


<?xml version="1.0" encoding="utf-8" ?>
<jelly xmlns="jelly:core" >
<new var="sections" className="java.util.LinkedList"/>
<new var="sec1" className="java.util.LinkedList"/>
<new var="sec2" className="java.util.LinkedList"/>

<forEach var="section" items="${sections}" trim="false">[GOALS_section]
<forEach var="idea" items="${section}">${idea}

> FileTag must allow to append to flat file
> -----------------------------------------
>          Key: JELLY-191
>          URL:
>      Project: jelly
>         Type: Improvement
>   Components: core / taglib.core
>     Versions: 1.0-beta-4
>     Reporter: Marc DeXeT
>     Priority: Minor

> Core FileTag allows to write only XML or HTML content to file.
> But there's a need to write flat content unix-like or in pseudo-xml (element collection
without document root).
> So FileTag must allow to write flat content to file.
> Proposition to add a boolean "flat" property.
> There also a need to add "append" property to.. append to existing file :)

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message