You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2006/06/19 19:07:39 UTC
svn commit: r415374 -
/cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml
Author: reinhard
Date: Mon Jun 19 10:07:38 2006
New Revision: 415374
URL: http://svn.apache.org/viewvc?rev=415374&view=rev
Log:
jx:comment doesn't work
Modified:
cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml
Modified: cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml?rev=415374&r1=415373&r2=415374&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml (original)
+++ cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml Mon Jun 19 10:07:38 2006
@@ -28,13 +28,13 @@
|ie: This expresion don't break the Generator: #{$.[4.]$..cocoon/continuation/id}">
+-->
<content>
- <jx:comment>
+ <!--jx:comment>
The "comment" tag allows to insert comments in the result file.
JXTemplate Expresions are parsed. Samples:
This is the continuation id: #{$cocoon/continuation/id}
A backslash dir reference: d:\cocoon\
- </jx:comment>
+ </jx:comment-->
<form method="post" action="continue.#{$cocoon/continuation/id}">
<para>Enter value of <strong>a</strong>: <input type="text" name="a"/></para>
<input type="submit" name="submit" value="Enter"/>
Re: svn commit: r415374 - /cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml
Posted by Antonio Gallardo <ag...@agssa.net>.
Reinhard Poetz escribió:
> Antonio Gallardo wrote:
>
>> With all due respect: I don't think this is the best way to have a
>> better 2.2.
>
> I don't have the time to fix the bug myself. I filled a bug report.
> Sorry, I can't be more helpful ATM.
Thank you. I will take a look at this. I think there is also another
issue equal or close related to this one.
Best Regards,
Antonio Gallardo
Re: svn commit: r415374 - /cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml
Posted by Reinhard Poetz <re...@apache.org>.
Antonio Gallardo wrote:
> With all due respect: I don't think this is the best way to have a
> better 2.2.
I don't have the time to fix the bug myself. I filled a bug report. Sorry, I
can't be more helpful ATM.
--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}
web(log): http://www.poetz.cc
--------------------------------------------------------------------
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
Re: svn commit: r415374 - /cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml
Posted by Antonio Gallardo <ag...@agssa.net>.
reinhard@apache.org escribió:
> Author: reinhard
> Date: Mon Jun 19 10:07:38 2006
> New Revision: 415374
>
> URL: http://svn.apache.org/viewvc?rev=415374&view=rev
> Log:
> jx:comment doesn't work
>
> Modified:
> cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml
>
> Modified: cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml
> URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml?rev=415374&r1=415373&r2=415374&view=diff
> ==============================================================================
> --- cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml (original)
> +++ cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml Mon Jun 19 10:07:38 2006
> @@ -28,13 +28,13 @@
> |ie: This expresion don't break the Generator: #{$.[4.]$..cocoon/continuation/id}">
> +-->
> <content>
> - <jx:comment>
> + <!--jx:comment>
> The "comment" tag allows to insert comments in the result file.
> JXTemplate Expresions are parsed. Samples:
>
> This is the continuation id: #{$cocoon/continuation/id}
> A backslash dir reference: d:\cocoon\
> - </jx:comment>
> + </jx:comment-->
> <form method="post" action="continue.#{$cocoon/continuation/id}">
> <para>Enter value of <strong>a</strong>: <input type="text" name="a"/></para>
> <input type="submit" name="submit" value="Enter"/>
>
>
With all due respect: I don't think this is the best way to have a
better 2.2.
Best Regards,
Antonio Gallardo.
jx:comment doesn't work
Posted by Reinhard Poetz <re...@apache.org>.
reinhard@apache.org wrote:
> Author: reinhard
> Date: Mon Jun 19 10:07:38 2006
> New Revision: 415374
>
> URL: http://svn.apache.org/viewvc?rev=415374&view=rev
> Log:
> jx:comment doesn't work
>
> Modified:
> cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml
>
> Modified: cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml
> URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml?rev=415374&r1=415373&r2=415374&view=diff
> ==============================================================================
> --- cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml (original)
> +++ cocoon/trunk/blocks/cocoon-core-samples-main/cocoon-core-samples-main-sample/src/main/resources/COB-INF/flow/jxcalc/screens/getNumberA.xml Mon Jun 19 10:07:38 2006
> @@ -28,13 +28,13 @@
> |ie: This expresion don't break the Generator: #{$.[4.]$..cocoon/continuation/id}">
> +-->
> <content>
> - <jx:comment>
> + <!--jx:comment>
> The "comment" tag allows to insert comments in the result file.
> JXTemplate Expresions are parsed. Samples:
>
> This is the continuation id: #{$cocoon/continuation/id}
> A backslash dir reference: d:\cocoon\
> - </jx:comment>
> + </jx:comment-->
> <form method="post" action="continue.#{$cocoon/continuation/id}">
> <para>Enter value of <strong>a</strong>: <input type="text" name="a"/></para>
> <input type="submit" name="submit" value="Enter"/>
In the template block jx:comment doesn't work. I guess that it produces invalid
XML. I created a JIRA issue (COCOON-1866) that also shows the stacktrace.
I commented the usuage of this tag because the it isn't the main purpose of this
sample to demonstrate jx:comment.
--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}
web(log): http://www.poetz.cc
--------------------------------------------------------------------
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de