cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Cleanup forms/samples/resources
Date Sat, 27 Nov 2004 15:58:58 GMT

After working a lot with cForms the last week I was fed up by looking at the 
resources directory and always having a sense of staring at a big mess. I moved 
all images, css and js into their own directories. Unfortunatly this broke 
templates that reference images directly. As cForms are not stable I wouldn't 
care about this (it won't be the last thing that changes until we mark cForms as 
stable) and simply add a release note but if others think different, I could add 
an additional pipeline for gifs.

--
Reinhard

reinhard@apache.org wrote:
> Author: reinhard
> Date: Sat Nov 27 07:49:51 2004
> New Revision: 106730
> 
> URL: http://svn.apache.org/viewcvs?view=rev&rev=106730
> Log:
> update directory paths
> Modified:
>    cocoon/trunk/src/blocks/forms/samples/forms/dynamicrepeater_template.xml
>    cocoon/trunk/src/blocks/forms/samples/forms/tasktree_template.xml
> 
> Modified: cocoon/trunk/src/blocks/forms/samples/forms/dynamicrepeater_template.xml
> Url: http://svn.apache.org/viewcvs/cocoon/trunk/src/blocks/forms/samples/forms/dynamicrepeater_template.xml?view=diff&rev=106730&p1=cocoon/trunk/src/blocks/forms/samples/forms/dynamicrepeater_template.xml&r1=106729&p2=cocoon/trunk/src/blocks/forms/samples/forms/dynamicrepeater_template.xml&r2=106730
> ==============================================================================
> --- cocoon/trunk/src/blocks/forms/samples/forms/dynamicrepeater_template.xml	(original)
> +++ cocoon/trunk/src/blocks/forms/samples/forms/dynamicrepeater_template.xml	Sat Nov
27 07:49:51 2004
> @@ -71,22 +71,22 @@
>                          <!-- Don't display the "move up" button on the first row
-->
>                          <jx:choose>
>                            <jx:when test="${repeaterLoop.first}">
> -                            <img src="resources/blank_btn.gif"/>
> +                            <img src="resources/img/blank_btn.gif"/>
>                            </jx:when>
>                            <jx:otherwise>
>                              <ft:widget id="up">
> -                              <fi:styling type="image" src="resources/move_up.gif"/>
> +                              <fi:styling type="image" src="resources/img/move_up.gif"/>
>                              </ft:widget>
>                            </jx:otherwise>
>                          </jx:choose>
>                          <!-- Don't display the "move down" button on the first row
-->
>                          <jx:choose>
>                            <jx:when test="${repeaterLoop.last}">
> -                            <img src="resources/blank_btn.gif"/>
> +                            <img src="resources/img/blank_btn.gif"/>
>                            </jx:when>
>                            <jx:otherwise>
>                              <ft:widget id="down">
> -                              <fi:styling type="image" src="resources/move_down.gif"/>
> +                              <fi:styling type="image" src="resources/img/move_down.gif"/>
>                              </ft:widget>
>                            </jx:otherwise>
>                          </jx:choose>
> 
> Modified: cocoon/trunk/src/blocks/forms/samples/forms/tasktree_template.xml
> Url: http://svn.apache.org/viewcvs/cocoon/trunk/src/blocks/forms/samples/forms/tasktree_template.xml?view=diff&rev=106730&p1=cocoon/trunk/src/blocks/forms/samples/forms/tasktree_template.xml&r1=106729&p2=cocoon/trunk/src/blocks/forms/samples/forms/tasktree_template.xml&r2=106730
> ==============================================================================
> --- cocoon/trunk/src/blocks/forms/samples/forms/tasktree_template.xml	(original)
> +++ cocoon/trunk/src/blocks/forms/samples/forms/tasktree_template.xml	Sat Nov 27 07:49:51
2004
> @@ -71,10 +71,10 @@
>          <div class="section">
>            <ft:struct id="task">
>              <span class="actions">
> -              <ft:widget id="down"><fi:styling type="image" src="resources/move_down.gif"/></ft:widget>
> -              <ft:widget id="up"><fi:styling type="image" src="resources/move_up.gif"/></ft:widget>
> -              <ft:widget id="delete"><fi:styling type="image" src="resources/delete.gif"/></ft:widget>
> -              <ft:widget id="add"><fi:styling type="image" src="resources/new.gif"/></ft:widget>
> +              <ft:widget id="down"><fi:styling type="image" src="resources/img/move_down.gif"/></ft:widget>
> +              <ft:widget id="up"><fi:styling type="image" src="resources/img/move_up.gif"/></ft:widget>
> +              <ft:widget id="delete"><fi:styling type="image" src="resources/img/delete.gif"/></ft:widget>
> +              <ft:widget id="add"><fi:styling type="image" src="resources/img/new.gif"/></ft:widget>
>              </span>
>              Title: <ft:widget id="title"/>
>              From <ft:widget id="start"><fi:styling size="10"/></ft:widget>
> @@ -99,7 +99,9 @@
>              </ft:repeater-widget>
>            </jx:when>
>            <jx:otherwise>
> -            <ft:widget id="addsub"/>
> +            <ft:widget id="addsub">
> +	      <fi:styling type="link"/>
> +	    </ft:widget>
>            </jx:otherwise>
>          </jx:choose>
>        </ft:class>
> 

Mime
View raw message