Update of 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-tapestry/src/test/java/org/xdoclet/plugin/tapestry/sample
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18449/src/test/java/org/xdoclet/plugin/tapestry/sample

Modified Files:
        SamplePage.java SamplePage.xml WrongComponent1.java 
        WrongPage1.java WrongPage2.java 
Log Message:
Formatted code with Jalopy
Added PageLink Component
Added DirectLink Component (@todo: test)


Index: WrongPage2.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-tapestry/src/test/java/org/xdoclet/plugin/tapestry/sample/WrongPage2.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** WrongPage2.java     28 Sep 2005 17:27:51 -0000      1.1
--- WrongPage2.java     11 Oct 2005 23:15:58 -0000      1.2
***************
*** 3,11 ****
   * XDoclet Team
   * All rights reserved.
-  *
-  * WrongPage2.java
-  * This page shouldn't generate a .page file because it doesn't have the 
tapestry.page-specification tag
-  *
-  * @author Paolo Dona
   */
  package org.xdoclet.plugin.tapestry.sample;
--- 3,6 ----
***************
*** 13,18 ****
  import org.apache.tapestry.html.BasePage;
  
! public abstract class WrongPage2 extends BasePage{
! 
      public WrongPage2() {
      }
--- 8,12 ----
  import org.apache.tapestry.html.BasePage;
  
! public abstract class WrongPage2 extends BasePage {
      public WrongPage2() {
      }

Index: SamplePage.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-tapestry/src/test/java/org/xdoclet/plugin/tapestry/sample/SamplePage.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SamplePage.java     11 Oct 2005 17:28:30 -0000      1.3
--- SamplePage.java     11 Oct 2005 23:15:58 -0000      1.4
***************
*** 48,54 ****
   * Framework components test
   *
!  * @tapestry.if id="myIf" condition="myCondition" 
!  * @tapestry.if id="my2ndIf" 
!  *              condition="my2ndCondition" 
   *              condition-value="myConditionValue"
   *              listener="listener:myListener"
--- 48,55 ----
   * Framework components test
   *
!  * @tapestry.page-link id="myLink" page="MyPage"
!  * @tapestry.if id="myIf" condition="myCondition"
!  * @tapestry.if id="my2ndIf"
!  *              condition="my2ndCondition"
   *              condition-value="myConditionValue"
   *              listener="listener:myListener"
***************
*** 56,59 ****
--- 57,61 ----
   *              volatile="literal:false"
   *
+  *
   * @author p.dona
   */

Index: WrongPage1.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-tapestry/src/test/java/org/xdoclet/plugin/tapestry/sample/WrongPage1.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** WrongPage1.java     28 Sep 2005 17:27:51 -0000      1.1
--- WrongPage1.java     11 Oct 2005 23:15:58 -0000      1.2
***************
*** 3,18 ****
   * XDoclet Team
   * All rights reserved.
-  *
-  * WrongPage1.java
-  * This page shouldn't generate a .page file because it doesn't implements 
tapestry's IPage
-  *
-  * @author Paolo Dona
   */
  package org.xdoclet.plugin.tapestry.sample;
  /**
!  * @tapestry.page-specification 
   */
  public abstract class WrongPage1 {
- 
      public WrongPage1() {
      }
--- 3,13 ----
   * XDoclet Team
   * All rights reserved.
   */
  package org.xdoclet.plugin.tapestry.sample;
+ 
  /**
!  * @tapestry.page-specification
   */
  public abstract class WrongPage1 {
      public WrongPage1() {
      }

Index: WrongComponent1.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-tapestry/src/test/java/org/xdoclet/plugin/tapestry/sample/WrongComponent1.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** WrongComponent1.java        28 Sep 2005 17:27:51 -0000      1.1
--- WrongComponent1.java        11 Oct 2005 23:15:58 -0000      1.2
***************
*** 6,10 ****
  /*
   * WrongComponent.java
!  * 
   */
  package org.xdoclet.plugin.tapestry.sample;
--- 6,10 ----
  /*
   * WrongComponent.java
!  *
   */
  package org.xdoclet.plugin.tapestry.sample;
***************
*** 15,18 ****
   */
  public abstract class WrongComponent1 {
- 
  }
\ No newline at end of file
--- 15,17 ----

Index: SamplePage.xml
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-tapestry/src/test/java/org/xdoclet/plugin/tapestry/sample/SamplePage.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SamplePage.xml      11 Oct 2005 17:28:30 -0000      1.3
--- SamplePage.xml      11 Oct 2005 23:15:58 -0000      1.4
***************
*** 21,24 ****
--- 21,27 ----
      <binding name="renderer" value="beans.bean2"/>
    </component>
+   <component type="PageLink" id="myLink">
+     <binding name="page" value="MyPage"/>
+   </component>
    <component type="If" id="myIf">
      <binding name="condition" value="myCondition"/>



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits

Reply via email to