click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From med...@apache.org
Subject svn commit: r894266 - in /incubator/click/trunk/click: ./ documentation/docs/ documentation/xdocs/src/docbook/click/ examples/src/org/apache/click/examples/page/ examples/src/org/apache/click/examples/page/ajax/ examples/src/org/apache/click/examples/p...
Date Mon, 28 Dec 2009 22:56:05 GMT
Author: medgar
Date: Mon Dec 28 22:56:01 2009
New Revision: 894266

URL: http://svn.apache.org/viewvc?rev=894266&view=rev
Log:
CLK-599

Modified:
    incubator/click/trunk/click/.classpath
    incubator/click/trunk/click/documentation/docs/why-click.html
    incubator/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-configuration.xml
    incubator/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-introduction.xml
    incubator/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/EditCustomer.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxCustomer.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxSelect.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AutoCompletePage.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/cayenne/FormTablePage.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/ActionDemo.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/CheckListDemo.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/EmailForm.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/FieldSetDemo.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/FileUpload.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/ImageDemo.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/LinkDemo.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/PickListDemo.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/PopulateOnSelect.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/RegexDemo.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/SelectDemo.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/SubmitLinkDemo.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/ExtraControlsForm.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/FormLayout.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/SearchForm.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/StandardControlsForm.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/general/ExceptionPage.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/general/FlashPage.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/general/NavigationA.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/AdvancedForm.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/AdvancedTable.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/ControlListenerType1Page.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/ControlListenerType2Page.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/SimpleForm.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/SimpleTablePage.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/CustomerTable.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/EditCustomerPage.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/HelloWorld.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/MultiPathDemo.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/NavigationA.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/pageflow/StartPage.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/FilterPanelDemo.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/ListPanelDemo.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/PanelColumnDemo.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/SimplePanelDemo.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/TabbedPanelDemo.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/quartz/QuartzJobSchedulerPage.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/security/Login.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/security/Logout.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/EditTable.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/FormTablePage.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/LargeDatasetDemo.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/SearchTablePage.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableDecorator.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableFooter.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TablePaginatorPage.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TablePaging.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableSorting.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableStyles.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/velocity/ActionTable.java
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/velocity/VelocityMacro.java
    incubator/click/trunk/click/framework/src/org/apache/click/util/Bindable.java

Modified: incubator/click/trunk/click/.classpath
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/.classpath?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/.classpath (original)
+++ incubator/click/trunk/click/.classpath Mon Dec 28 22:56:01 2009
@@ -7,20 +7,17 @@
 	<classpathentry kind="src" path="extras/test"/>
 	<classpathentry kind="src" path="framework/src"/>
 	<classpathentry kind="src" path="framework/test"/>
-	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jrockit-R27.5.0-jdk1.5.0_14"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre1.5.0_15"/>
 	<classpathentry kind="lib" path="lib/commons-codec-1.3.jar"/>
-	<classpathentry kind="lib" path="lib/commons-collections-3.1.jar"/>
 	<classpathentry kind="lib" path="lib/junit-3.8.1.jar"/>
 	<classpathentry kind="lib" path="lib/servlet-api-2.3.jar"/>
 	<classpathentry kind="lib" path="lib/ognl-2.6.9.jar"/>
 	<classpathentry kind="lib" path="lib/log4j-1.2.14.jar"/>
-	<classpathentry kind="var" path="EXAMPLES/ashwood-1.1.jar"/>
-	<classpathentry kind="var" path="EXAMPLES/commons-logging-1.0.4.jar"/>
+	<classpathentry kind="var" path="EXAMPLES/ashwood-2.0.jar"/>
+	<classpathentry kind="var" path="EXAMPLES/commons-logging-1.1.1.jar"/>
 	<classpathentry kind="var" path="EXAMPLES/hsqldb-1.8.0.1.jar"/>
 	<classpathentry kind="var" path="EXAMPLES/jstl-1.1.2.jar"/>
 	<classpathentry kind="var" path="EXAMPLES/log4j-1.2.14.jar"/>
-	<classpathentry kind="var" path="EXAMPLES/oro-2.0.8.jar"/>
-	<classpathentry kind="lib" path="examples/webapp/WEB-INF/lib/poi-3.0-FINAL.jar"/>
 	<classpathentry kind="lib" path="lib/commons-fileupload-1.2.1.jar"/>
 	<classpathentry kind="lib" path="lib/commons-lang-2.4.jar"/>
 	<classpathentry kind="lib" path="lib/freemarker-2.3.12.jar"/>
@@ -29,9 +26,12 @@
 	<classpathentry kind="lib" path="lib/spring-2.5.6.jar"/>
 	<classpathentry kind="lib" path="lib/velocity-1.6.2.jar"/>
 	<classpathentry kind="lib" path="examples/webapp/WEB-INF/lib/geronimo-annotation_1.0_spec-1.1.1.jar"/>
-	<classpathentry kind="lib" path="examples/webapp/WEB-INF/lib/acegi-security-1.0.7.jar"/>
 	<classpathentry kind="lib" path="examples/webapp/WEB-INF/lib/quartz-all-1.6.3.jar"/>
 	<classpathentry kind="lib" path="lib/slf4j-api-1.5.6.jar"/>
-	<classpathentry kind="lib" path="lib/cayenne-server-3.0M5.jar"/>
+	<classpathentry kind="lib" path="examples/webapp/WEB-INF/lib/poi-3.5-FINAL.jar"/>
+	<classpathentry kind="lib" path="lib/commons-collections-3.2.1.jar"/>
+	<classpathentry kind="lib" path="lib/cayenne-server-3.0M6.jar"/>
+	<classpathentry kind="lib" path="examples/webapp/WEB-INF/lib/spring-2.5.6.jar"/>
+	<classpathentry kind="lib" path="examples/webapp/WEB-INF/lib/spring-security-core-2.0.4.jar"/>
 	<classpathentry kind="output" path="bin"/>
 </classpath>

Modified: incubator/click/trunk/click/documentation/docs/why-click.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/documentation/docs/why-click.html?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/documentation/docs/why-click.html (original)
+++ incubator/click/trunk/click/documentation/docs/why-click.html Mon Dec 28 22:56:01 2009
@@ -103,7 +103,7 @@
 <pre class="codeJava">
 <span class="kw">public class</span> ExamplePage <span class="kw">extends</span> Page {
 
-    @Bindable <span class="kw">public</span> ActionLink myLink = <span class="kw">new</span> ActionLink(<span class="kw">this</span>, "<span class="st">onClick</span>");
+    @Bindable <span class="kw">protected</span> ActionLink myLink = <span class="kw">new</span> ActionLink(<span class="kw">this</span>, "<span class="st">onClick</span>");
     
     <span class="kw">public boolean</span> onClick() {
         System.out.println("<span class="st">onClick invoked</span>");

Modified: incubator/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-configuration.xml
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-configuration.xml?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-configuration.xml (original)
+++ incubator/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-configuration.xml Mon Dec 28 22:56:01 2009
@@ -591,9 +591,9 @@
 
         <programlisting language="java">public class EmployeePage extends Page {
 
-    <symbol>@Bindable</symbol> public Form employeeForm = new Form();
+    <symbol>@Bindable</symbol> protected Form employeeForm = new Form();
 
-    <symbol>@Bindable</symbol> public Table myTable = new Table();
+    <symbol>@Bindable</symbol> protected Table myTable = new Table();
 
 }</programlisting>
 

Modified: incubator/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-introduction.xml
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-introduction.xml?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-introduction.xml (original)
+++ incubator/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-introduction.xml Mon Dec 28 22:56:01 2009
@@ -160,9 +160,9 @@
     <programlisting language="java">public class ControlListenerType1Page extends Page {
 
     /* Set the listener to this object's "onLinkClick" method. */
-    @Bindable public ActionLink myLink = new ActionLink(this, "onLinkClick"); <co id="co-bindable" linkends="ca-bindable"/>
+    @Bindable protected ActionLink myLink = new ActionLink(this, "onLinkClick"); <co id="co-bindable" linkends="ca-bindable"/>
 
-    @Bindable public String msg;
+    @Bindable protected String msg;
 
     // --------------------------------------------------------- Event Handlers
 
@@ -180,7 +180,7 @@
 
     <calloutlist>
       <callout arearefs="co-bindable" id="ca-bindable">
-        <para>Variables declared as <literal>@Bindable public</literal>
+        <para>Variables declared as <literal>@Bindable protected</literal>
         is a short-hand way of instructing Click to automatically bind request
         parameters to Page variables. Additionally these variables will be
         automatically added to the Page model. For more information please see the
@@ -255,9 +255,9 @@
     <programlisting language="java">public class ControlListenerType2Page extends Page {
 
     /* Public scope controls are automatically added to the page. */
-    @Bindable public ActionLink myLink = new ActionLink();
+    @Bindable protected ActionLink myLink = new ActionLink();
 
-    @Bindable public String msg;
+    @Bindable protected String msg;
 
     // ------------------------------------------------------------ Constructor
 
@@ -334,7 +334,7 @@
 
     <programlisting language="java">public class SimpleTablePage extends Page {
 
-    @Bindable public Table table = new Table();
+    @Bindable protected Table table = new Table();
 
     // -------------------------------------------------------- Constructor
      
@@ -439,9 +439,9 @@
 
     <programlisting language="java">public class CustomerPage extends Page {
 
-    @Bindable public Table table = new Table();
-    @Bindable public PageLink editLink = new PageLink("Edit", EditCustomer.class);
-    @Bindable public ActionLink deleteLink = new ActionLink("Delete", this, "onDeleteClick");
+    @Bindable protected Table table = new Table();
+    @Bindable protected PageLink editLink = new PageLink("Edit", EditCustomer.class);
+    @Bindable protected ActionLink deleteLink = new ActionLink("Delete", this, "onDeleteClick");
 
     // ------------------------------------- Constructor
 
@@ -588,8 +588,8 @@
 
     <programlisting language="java">public class SimpleForm extends Page {
 
-    @Bindable public Form form = new Form();
-    @Bindable public String msg;
+    @Bindable protected Form form = new Form();
+    @Bindable protected String msg;
 
     // -------------------------------------------------------- Constructor
 
@@ -712,8 +712,8 @@
 
     <programlisting language="java">public class AdvancedForm extends Page {
 
-    @Bindable public Form form = new Form();
-    @Bindable public String msg;
+    @Bindable protected Form form = new Form();
+    @Bindable protected String msg;
 
     private Select investmentSelect = new Select("investment");
 

Modified: incubator/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml (original)
+++ incubator/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml Mon Dec 28 22:56:01 2009
@@ -313,7 +313,7 @@
 
 public class CustomerDetails extends Page {
 
-    @Bindable public Integer <varname>customerId</varname>;
+    @Bindable protected Integer <varname>customerId</varname>;
 }</programlisting>
 
     <para>After the CustomerDetails page has been created the
@@ -400,7 +400,7 @@
 
 public class CustomerDetails extends Page {
 
-    @Bindable public Customer <varname>customer</varname>;
+    @Bindable protected Customer <varname>customer</varname>;
 
 }</programlisting>
 

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/EditCustomer.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/EditCustomer.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/EditCustomer.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/EditCustomer.java Mon Dec 28 22:56:01 2009
@@ -51,11 +51,11 @@
 public class EditCustomer extends BorderPage {
 
     // Public controls are automatically added to the page
-    @Bindable public Form form = new Form("form");
-    @Bindable public HiddenField referrerField = new HiddenField("referrer", String.class);
+    @Bindable protected Form form = new Form("form");
+    @Bindable protected HiddenField referrerField = new HiddenField("referrer", String.class);
 
     // Public variables can automatically have their value set by request parameters
-    @Bindable public Integer id;
+    @Bindable protected Integer id;
 
     private HiddenField idField = new HiddenField("id", Integer.class);
 

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxCustomer.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxCustomer.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxCustomer.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxCustomer.java Mon Dec 28 22:56:01 2009
@@ -44,7 +44,7 @@
 @Component
 public class AjaxCustomer extends Page {
 
-    @Bindable public Customer customer;
+    @Bindable protected Customer customer;
 
     @Resource(name="customerService")
     private CustomerService customerService;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxSelect.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxSelect.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxSelect.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AjaxSelect.java Mon Dec 28 22:56:01 2009
@@ -43,7 +43,7 @@
 @Component
 public class AjaxSelect extends BorderPage {
 
-    @Bindable public Select customerSelect = new Select("customerSelect");
+    @Bindable protected Select customerSelect = new Select("customerSelect");
 
     @Resource(name="customerService")
     private CustomerService customerService;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AutoCompletePage.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AutoCompletePage.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AutoCompletePage.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/ajax/AutoCompletePage.java Mon Dec 28 22:56:01 2009
@@ -38,7 +38,7 @@
 @Component
 public class AutoCompletePage extends BorderPage {
 
-    @Bindable public Form form = new Form();
+    @Bindable protected Form form = new Form();
 
     @Resource(name="postCodeService")
     private PostCodeService postCodeService;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/cayenne/FormTablePage.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/cayenne/FormTablePage.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/cayenne/FormTablePage.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/cayenne/FormTablePage.java Mon Dec 28 22:56:01 2009
@@ -47,10 +47,10 @@
  */
 public abstract class FormTablePage extends BorderPage {
 
-    @Bindable public CayenneForm form;
-    @Bindable public Table table = new Table();
-    @Bindable public ActionLink editLink = new ActionLink("edit", this, "onEditClick");
-    @Bindable public ActionLink removeLink = new ActionLink("remove", this, "onRemoveClick");
+    @Bindable protected CayenneForm form;
+    @Bindable protected Table table = new Table();
+    @Bindable protected ActionLink editLink = new ActionLink("edit", this, "onEditClick");
+    @Bindable protected ActionLink removeLink = new ActionLink("remove", this, "onRemoveClick");
 
     // ------------------------------------------------------------ Constructor
 

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/ActionDemo.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/ActionDemo.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/ActionDemo.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/ActionDemo.java Mon Dec 28 22:56:01 2009
@@ -38,9 +38,9 @@
  */
 public class ActionDemo extends BorderPage {
 
-    @Bindable public ActionLink link = new ActionLink();
-    @Bindable public ActionButton button = new ActionButton();
-    @Bindable public String clicked;
+    @Bindable protected ActionLink link = new ActionLink();
+    @Bindable protected ActionButton button = new ActionButton();
+    @Bindable protected String clicked;
 
     public ActionDemo() {
 

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/CheckListDemo.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/CheckListDemo.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/CheckListDemo.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/CheckListDemo.java Mon Dec 28 22:56:01 2009
@@ -50,7 +50,7 @@
         }
     }
 
-    @Bindable public  Form form = new Form();
+    @Bindable protected  Form form = new Form();
 
     private CheckList standardCheckList;
     private CheckList sortableCheckList;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/EmailForm.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/EmailForm.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/EmailForm.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/EmailForm.java Mon Dec 28 22:56:01 2009
@@ -37,7 +37,7 @@
  */
 public class EmailForm extends BorderPage {
 
-    @Bindable public Form form = new Form();
+    @Bindable protected Form form = new Form();
 
     public EmailForm() {
         form.setLabelsPosition(Form.POSITION_TOP);

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/FieldSetDemo.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/FieldSetDemo.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/FieldSetDemo.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/FieldSetDemo.java Mon Dec 28 22:56:01 2009
@@ -47,7 +47,7 @@
  */
 public class FieldSetDemo extends BorderPage {
 
-    @Bindable public Form form = new Form();
+    @Bindable protected Form form = new Form();
 
     // Payment options
     private RadioGroup paymentGroup;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/FileUpload.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/FileUpload.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/FileUpload.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/FileUpload.java Mon Dec 28 22:56:01 2009
@@ -35,7 +35,7 @@
  */
 public class FileUpload extends BorderPage {
 
-    @Bindable public Form form = new Form();
+    @Bindable protected Form form = new Form();
 
     private FileField fileField1;
     private TextField descField1;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/ImageDemo.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/ImageDemo.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/ImageDemo.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/ImageDemo.java Mon Dec 28 22:56:01 2009
@@ -33,8 +33,8 @@
 
     private ImageSubmit colorSubmit;
 
-    @Bindable public Form buttonsForm = new Form();
-    @Bindable public Form form = new Form();
+    @Bindable protected Form buttonsForm = new Form();
+    @Bindable protected Form form = new Form();
 
     public ImageDemo() {
         // Buttons Form

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/LinkDemo.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/LinkDemo.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/LinkDemo.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/LinkDemo.java Mon Dec 28 22:56:01 2009
@@ -35,19 +35,19 @@
  */
 public class LinkDemo extends BorderPage {
 
-    @Bindable public ActionLink actionLink = new ActionLink("ActionLink", this, "onLinkClick");
-    @Bindable public ActionLink disabledActionLink = new ActionLink("DisabledActionLink", this, "onLinkClick");
-    @Bindable public ActionLink iconActionLink = new ActionLink("IconActionLink", this, "onLinkClick");
-
-    @Bindable public PageLink pageLink = new PageLink("PageLink", HomePage.class);
-    @Bindable public PageLink disabledPageLink = new PageLink("DisabledPageLink", HomePage.class);
-    @Bindable public PageLink iconPageLink = new PageLink("IconPageLink",HomePage.class);
-
-    @Bindable public ExternalLink externalLink = new ExternalLink("ExternalLink", "http://www.google.com/search");
-    @Bindable public PageButton pageButton = new PageButton("PageButton", HomePage.class);
-    @Bindable public PageButton disabledPageButton = new PageButton("DisabledPageButton", HomePage.class);
+    @Bindable protected ActionLink actionLink = new ActionLink("ActionLink", this, "onLinkClick");
+    @Bindable protected ActionLink disabledActionLink = new ActionLink("DisabledActionLink", this, "onLinkClick");
+    @Bindable protected ActionLink iconActionLink = new ActionLink("IconActionLink", this, "onLinkClick");
+
+    @Bindable protected PageLink pageLink = new PageLink("PageLink", HomePage.class);
+    @Bindable protected PageLink disabledPageLink = new PageLink("DisabledPageLink", HomePage.class);
+    @Bindable protected PageLink iconPageLink = new PageLink("IconPageLink",HomePage.class);
+
+    @Bindable protected ExternalLink externalLink = new ExternalLink("ExternalLink", "http://www.google.com/search");
+    @Bindable protected PageButton pageButton = new PageButton("PageButton", HomePage.class);
+    @Bindable protected PageButton disabledPageButton = new PageButton("DisabledPageButton", HomePage.class);
 
-    @Bindable public String clicked;
+    @Bindable protected String clicked;
 
     public LinkDemo() {
         iconActionLink.setRenderLabelAndImage(true);

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/PickListDemo.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/PickListDemo.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/PickListDemo.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/PickListDemo.java Mon Dec 28 22:56:01 2009
@@ -34,8 +34,8 @@
  */
 public class PickListDemo extends BorderPage {
 
-    @Bindable public Form form = new Form();
-    @Bindable public List selectedValues;
+    @Bindable protected Form form = new Form();
+    @Bindable protected List selectedValues;
 
     private PickList pickList = new PickList("languages");
 

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/PopulateOnSelect.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/PopulateOnSelect.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/PopulateOnSelect.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/PopulateOnSelect.java Mon Dec 28 22:56:01 2009
@@ -35,7 +35,7 @@
     private static final String GAUTENG_PROVINCE = "GP";
     private static final String WESTERN_CAPE = "WC";
 
-    @Bindable public TabbedForm form = new TabbedForm("form");
+    @Bindable protected TabbedForm form = new TabbedForm("form");
 
     private Select state = new Select("state");
     private Select city = new Select("city");

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/RegexDemo.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/RegexDemo.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/RegexDemo.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/RegexDemo.java Mon Dec 28 22:56:01 2009
@@ -33,7 +33,7 @@
  */
 public class RegexDemo extends BorderPage {
 
-    @Bindable public Form form = new Form();
+    @Bindable protected Form form = new Form();
 
     public RegexDemo() {
         RegexField versionField = new RegexField("version", "Version", 10);

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/SelectDemo.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/SelectDemo.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/SelectDemo.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/SelectDemo.java Mon Dec 28 22:56:01 2009
@@ -39,7 +39,7 @@
  */
 public class SelectDemo extends BorderPage {
 
-    @Bindable public Form form = new Form();
+    @Bindable protected Form form = new Form();
 
     private Select genderSelect;
     private Select investmentSelect;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/SubmitLinkDemo.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/SubmitLinkDemo.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/SubmitLinkDemo.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/control/SubmitLinkDemo.java Mon Dec 28 22:56:01 2009
@@ -37,13 +37,13 @@
  */
 public class SubmitLinkDemo extends BorderPage {
 
-    @Bindable public String demo1Msg;
+    @Bindable protected String demo1Msg;
 
-    @Bindable public String demo2Msg;
+    @Bindable protected String demo2Msg;
 
-    @Bindable public String demo3Msg;
+    @Bindable protected String demo3Msg;
 
-    @Bindable public String demo4Msg;
+    @Bindable protected String demo4Msg;
 
     public SubmitLinkDemo() {
         demo1();

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/ExtraControlsForm.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/ExtraControlsForm.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/ExtraControlsForm.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/ExtraControlsForm.java Mon Dec 28 22:56:01 2009
@@ -66,8 +66,8 @@
         boolean javaScriptValidate = false;
     }
 
-    @Bindable public Form form = new Form();
-    @Bindable public Form optionsForm = new Form();
+    @Bindable protected Form form = new Form();
+    @Bindable protected Form optionsForm = new Form();
 
     private CheckList checkList = new CheckList("checkList");
     private Checkbox allFieldsRequired = new Checkbox("allFieldsRequired");

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/FormLayout.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/FormLayout.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/FormLayout.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/FormLayout.java Mon Dec 28 22:56:01 2009
@@ -39,8 +39,8 @@
  */
 public class FormLayout extends BorderPage {
 
-    @Bindable public Form form1 = new Form();
-    @Bindable public Form form2 = new Form();
+    @Bindable protected Form form1 = new Form();
+    @Bindable protected Form form2 = new Form();
 
     public FormLayout() {
         // ------

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/SearchForm.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/SearchForm.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/SearchForm.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/SearchForm.java Mon Dec 28 22:56:01 2009
@@ -43,7 +43,7 @@
 @Component
 public class SearchForm extends BorderPage {
 
-    @Bindable public Form form = new Form();
+    @Bindable protected Form form = new Form();
 
     private TextField textField;
     private Select typeSelect;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/StandardControlsForm.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/StandardControlsForm.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/StandardControlsForm.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/StandardControlsForm.java Mon Dec 28 22:56:01 2009
@@ -65,8 +65,8 @@
         boolean javaScriptValidate = false;
     }
 
-    @Bindable public Form form = new Form();
-    @Bindable public Form optionsForm = new Form();
+    @Bindable protected Form form = new Form();
+    @Bindable protected Form optionsForm = new Form();
 
     private Select select = new Select("select");
     private Checkbox allFieldsRequired = new Checkbox("allFieldsRequired");

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/general/ExceptionPage.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/general/ExceptionPage.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/general/ExceptionPage.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/general/ExceptionPage.java Mon Dec 28 22:56:01 2009
@@ -30,12 +30,12 @@
  */
 public class ExceptionPage extends BorderPage {
 
-    @Bindable public ActionLink nullPointerLink = new ActionLink(this, "onNullPointerClick");
-    @Bindable public ActionLink illegalArgumentLink = new ActionLink(this, "onIllegalArgumentExceptionClick");
-    @Bindable public ActionLink missingMethodLink = new ActionLink(this, "onMissingMethodClick");
-    @Bindable public ActionLink brokenRendererLink = new ActionLink(this, "onBrokenRendererClick");
-    @Bindable public ActionLink brokenBorderLink = new ActionLink(this, "onBrokenBorderClick");
-    @Bindable public ActionLink brokenContentLink = new ActionLink(this, "onBrokenContentClick");
+    @Bindable protected ActionLink nullPointerLink = new ActionLink(this, "onNullPointerClick");
+    @Bindable protected ActionLink illegalArgumentLink = new ActionLink(this, "onIllegalArgumentExceptionClick");
+    @Bindable protected ActionLink missingMethodLink = new ActionLink(this, "onMissingMethodClick");
+    @Bindable protected ActionLink brokenRendererLink = new ActionLink(this, "onBrokenRendererClick");
+    @Bindable protected ActionLink brokenBorderLink = new ActionLink(this, "onBrokenBorderClick");
+    @Bindable protected ActionLink brokenContentLink = new ActionLink(this, "onBrokenContentClick");
 
     private String template;
 

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/general/FlashPage.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/general/FlashPage.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/general/FlashPage.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/general/FlashPage.java Mon Dec 28 22:56:01 2009
@@ -32,7 +32,7 @@
  */
 public class FlashPage extends BorderPage {
 
-    @Bindable public Form form = new Form();
+    @Bindable protected Form form = new Form();
 
     private TextField valueField = new TextField("value", "Value:", true);
 

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/general/NavigationA.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/general/NavigationA.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/general/NavigationA.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/general/NavigationA.java Mon Dec 28 22:56:01 2009
@@ -30,10 +30,10 @@
  */
 public class NavigationA extends BorderPage {
 
-    @Bindable public ActionLink forwardLink = new ActionLink("forwardLink", this, "onForwardClick");
-    @Bindable public ActionLink forwardParamLink = new ActionLink("forwardParamLink", this, "onForwardParamClick");
-    @Bindable public ActionLink redirectLink = new ActionLink("redirectLink", this, "onRedirectClick");
-    @Bindable public ActionLink redirectParamLink = new ActionLink("redirectParamLink", this, "onRedirectParamClick");
+    @Bindable protected ActionLink forwardLink = new ActionLink("forwardLink", this, "onForwardClick");
+    @Bindable protected ActionLink forwardParamLink = new ActionLink("forwardParamLink", this, "onForwardParamClick");
+    @Bindable protected ActionLink redirectLink = new ActionLink("redirectLink", this, "onRedirectClick");
+    @Bindable protected ActionLink redirectParamLink = new ActionLink("redirectParamLink", this, "onRedirectParamClick");
 
     // --------------------------------------------------------- Event Handlers
 

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/AdvancedForm.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/AdvancedForm.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/AdvancedForm.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/AdvancedForm.java Mon Dec 28 22:56:01 2009
@@ -45,8 +45,8 @@
 @Component
 public class AdvancedForm extends BorderPage {
 
-    @Bindable public Form form = new Form();
-    @Bindable public String msg;
+    @Bindable protected Form form = new Form();
+    @Bindable protected String msg;
 
     private Select investmentSelect = new Select("investments");
 

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/AdvancedTable.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/AdvancedTable.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/AdvancedTable.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/AdvancedTable.java Mon Dec 28 22:56:01 2009
@@ -47,9 +47,9 @@
 
     private static final long serialVersionUID = 1L;
 
-    @Bindable public Table table = new Table();
-    @Bindable public PageLink editLink = new PageLink("Edit", EditCustomer.class);
-    @Bindable public ActionLink deleteLink = new ActionLink("Delete", this, "onDeleteClick");
+    @Bindable protected Table table = new Table();
+    @Bindable protected PageLink editLink = new PageLink("Edit", EditCustomer.class);
+    @Bindable protected ActionLink deleteLink = new ActionLink("Delete", this, "onDeleteClick");
 
     /**
      * Spring's application context from where a CustomerService instance can be

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/ControlListenerType1Page.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/ControlListenerType1Page.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/ControlListenerType1Page.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/ControlListenerType1Page.java Mon Dec 28 22:56:01 2009
@@ -35,9 +35,9 @@
 public class ControlListenerType1Page extends BorderPage {
 
     /* Set the listener to this object's "onLinkClick" method. */
-    @Bindable public ActionLink myLink = new ActionLink(this, "onLinkClick");
+    @Bindable protected ActionLink myLink = new ActionLink(this, "onLinkClick");
 
-    @Bindable public String msg;
+    @Bindable protected String msg;
 
     // --------------------------------------------------------- Event Handlers
 

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/ControlListenerType2Page.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/ControlListenerType2Page.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/ControlListenerType2Page.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/ControlListenerType2Page.java Mon Dec 28 22:56:01 2009
@@ -36,9 +36,9 @@
  */
 public class ControlListenerType2Page extends BorderPage {
 
-    @Bindable public ActionLink myLink = new ActionLink();
+    @Bindable protected ActionLink myLink = new ActionLink();
 
-    @Bindable public String msg;
+    @Bindable protected String msg;
 
     // ------------------------------------------------------------ Constructor
 

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/SimpleForm.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/SimpleForm.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/SimpleForm.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/SimpleForm.java Mon Dec 28 22:56:01 2009
@@ -38,8 +38,8 @@
  */
 public class SimpleForm extends BorderPage {
 
-    @Bindable public Form form = new Form();
-    @Bindable public String msg;
+    @Bindable protected Form form = new Form();
+    @Bindable protected String msg;
 
     // ------------------------------------------------------------ Constructor
 

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/SimpleTablePage.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/SimpleTablePage.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/SimpleTablePage.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/introduction/SimpleTablePage.java Mon Dec 28 22:56:01 2009
@@ -39,7 +39,7 @@
 @Component
 public class SimpleTablePage extends BorderPage {
 
-    @Bindable public Table table = new Table();
+    @Bindable protected Table table = new Table();
 
     @Resource(name="customerService")
     private CustomerService customerService;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/CustomerTable.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/CustomerTable.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/CustomerTable.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/CustomerTable.java Mon Dec 28 22:56:01 2009
@@ -36,7 +36,7 @@
 @Component
 public class CustomerTable extends BorderPage {
 
-    @Bindable public List customers = null;
+    @Bindable protected List customers = null;
 
     @Resource(name="customerService")
     private CustomerService customerService;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/EditCustomerPage.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/EditCustomerPage.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/EditCustomerPage.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/EditCustomerPage.java Mon Dec 28 22:56:01 2009
@@ -35,7 +35,7 @@
  */
 public class EditCustomerPage extends BorderPage {
 
-    @Bindable public Form form = new Form("form");
+    @Bindable protected Form form = new Form("form");
 
     public EditCustomerPage() {
         // Setup customers form

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/HelloWorld.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/HelloWorld.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/HelloWorld.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/HelloWorld.java Mon Dec 28 22:56:01 2009
@@ -34,6 +34,6 @@
  */
 public class HelloWorld extends Page {
 
-    @Bindable public Date time = new Date();
+    @Bindable protected Date time = new Date();
 
 }

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/MultiPathDemo.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/MultiPathDemo.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/MultiPathDemo.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/MultiPathDemo.java Mon Dec 28 22:56:01 2009
@@ -29,9 +29,9 @@
  */
 public class MultiPathDemo extends BorderPage {
 
-    @Bindable public ActionLink changePath = new ActionLink("changePath", this, "changePath");
+    @Bindable protected ActionLink changePath = new ActionLink("changePath", this, "changePath");
 
-    @Bindable public PageLink defaultPath = new PageLink("defaultPath", MultiPathDemo.class);
+    @Bindable protected PageLink defaultPath = new PageLink("defaultPath", MultiPathDemo.class);
 
     public boolean changePath() {
         setPath("/jsp/dummy.jsp");

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/NavigationA.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/NavigationA.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/NavigationA.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/jsp/NavigationA.java Mon Dec 28 22:56:01 2009
@@ -30,10 +30,10 @@
  */
 public class NavigationA extends BorderPage {
 
-    @Bindable public ActionLink forwardLink = new ActionLink("forwardLink", this, "onForwardClick");
-    @Bindable public ActionLink forwardParamLink = new ActionLink("forwardParamLink", this, "onForwardParamClick");
-    @Bindable public ActionLink redirectLink = new ActionLink("redirectLink", this, "onRedirectClick");
-    @Bindable public ActionLink redirectParamLink = new ActionLink("redirectParamLink", this, "onRedirectParamClick");
+    @Bindable protected ActionLink forwardLink = new ActionLink("forwardLink", this, "onForwardClick");
+    @Bindable protected ActionLink forwardParamLink = new ActionLink("forwardParamLink", this, "onForwardParamClick");
+    @Bindable protected ActionLink redirectLink = new ActionLink("redirectLink", this, "onRedirectClick");
+    @Bindable protected ActionLink redirectParamLink = new ActionLink("redirectParamLink", this, "onRedirectParamClick");
 
     // --------------------------------------------------------- Event Handlers
 

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/pageflow/StartPage.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/pageflow/StartPage.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/pageflow/StartPage.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/pageflow/StartPage.java Mon Dec 28 22:56:01 2009
@@ -51,7 +51,7 @@
 @Component
 public class StartPage extends BorderPage {
 
-    @Bindable public Form form = new Form();
+    @Bindable protected Form form = new Form();
 
     private Select customerSelect;
     private DateField dateField;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/FilterPanelDemo.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/FilterPanelDemo.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/FilterPanelDemo.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/FilterPanelDemo.java Mon Dec 28 22:56:01 2009
@@ -40,8 +40,8 @@
 @Component
 public class FilterPanelDemo extends BorderPage {
 
-    @Bindable public FilterPanel filterPanel = new FilterPanel();
-    @Bindable public Table table = new Table();
+    @Bindable protected FilterPanel filterPanel = new FilterPanel();
+    @Bindable protected Table table = new Table();
 
     @Resource(name="customerService")
     private CustomerService customerService;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/ListPanelDemo.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/ListPanelDemo.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/ListPanelDemo.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/ListPanelDemo.java Mon Dec 28 22:56:01 2009
@@ -40,8 +40,8 @@
 @Component
 public class ListPanelDemo extends BorderPage {
 
-    @Bindable public ListPanel listPanel = new ListPanel();
-    @Bindable public List customers;
+    @Bindable protected ListPanel listPanel = new ListPanel();
+    @Bindable protected List customers;
 
     @Resource(name="customerService")
     private CustomerService customerService;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/PanelColumnDemo.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/PanelColumnDemo.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/PanelColumnDemo.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/PanelColumnDemo.java Mon Dec 28 22:56:01 2009
@@ -42,10 +42,10 @@
 @Component
 public class PanelColumnDemo extends BorderPage {
 
-    @Bindable public Panel panel = new Panel("panel", "/panel/customerDetailsPanel.htm");
-    @Bindable public Form form = new Form();
-    @Bindable public String nameSearch;
-    @Bindable public Table table = new Table("table");
+    @Bindable protected Panel panel = new Panel("panel", "/panel/customerDetailsPanel.htm");
+    @Bindable protected Form form = new Form();
+    @Bindable protected String nameSearch;
+    @Bindable protected Table table = new Table("table");
 
     private TextField textName = new TextField("name", true);
 

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/SimplePanelDemo.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/SimplePanelDemo.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/SimplePanelDemo.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/SimplePanelDemo.java Mon Dec 28 22:56:01 2009
@@ -29,6 +29,6 @@
  */
 public class SimplePanelDemo extends BorderPage {
 
-    @Bindable public Panel panel = new Panel("panel", "/panel/simple-panel.htm");
+    @Bindable protected Panel panel = new Panel("panel", "/panel/simple-panel.htm");
 
 }

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/TabbedPanelDemo.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/TabbedPanelDemo.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/TabbedPanelDemo.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/panel/TabbedPanelDemo.java Mon Dec 28 22:56:01 2009
@@ -37,8 +37,8 @@
 @Component
 public class TabbedPanelDemo extends BorderPage {
 
-    @Bindable public TabbedPanel tabbedPanel = new TabbedPanel();
-    @Bindable public List customers;
+    @Bindable protected TabbedPanel tabbedPanel = new TabbedPanel();
+    @Bindable protected List customers;
 
     @Resource(name="customerService")
     private CustomerService customerService;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/quartz/QuartzJobSchedulerPage.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/quartz/QuartzJobSchedulerPage.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/quartz/QuartzJobSchedulerPage.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/quartz/QuartzJobSchedulerPage.java Mon Dec 28 22:56:01 2009
@@ -52,7 +52,7 @@
     private static final String DATE_FORMAT = "{0,date,hh:mm a d MMM yy }";
 
     /** The auto bound refresh button. */
-    @Bindable public ActionButton refresh = new ActionButton("refresh");
+    @Bindable protected ActionButton refresh = new ActionButton("refresh");
 
     // Private Variables ------------------------------------------------------
 

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/security/Login.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/security/Login.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/security/Login.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/security/Login.java Mon Dec 28 22:56:01 2009
@@ -42,8 +42,8 @@
 @Component
 public class Login extends BorderPage {
 
-    @Bindable public Form form = new Form();
-    @Bindable public HiddenField redirectField = new HiddenField("redirect", String.class);
+    @Bindable protected Form form = new Form();
+    @Bindable protected HiddenField redirectField = new HiddenField("redirect", String.class);
 
     private TextField usernameField = new TextField("username", true);
     private PasswordField passwordField = new PasswordField("password", true);

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/security/Logout.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/security/Logout.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/security/Logout.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/security/Logout.java Mon Dec 28 22:56:01 2009
@@ -30,7 +30,7 @@
  */
 public class Logout extends BorderPage {
 
-    @Bindable public User user;
+    @Bindable protected User user;
 
     /**
      * @see Page#onInit()

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/EditTable.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/EditTable.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/EditTable.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/EditTable.java Mon Dec 28 22:56:01 2009
@@ -50,10 +50,10 @@
 @Component
 public class EditTable extends BorderPage {
 
-    @Bindable public CayenneForm form = new CayenneForm("form", Customer.class);
-    @Bindable public Table table = new Table();
-    @Bindable public ActionLink editLink = new ActionLink("edit", "Edit", this, "onEditClick");
-    @Bindable public ActionLink deleteLink = new ActionLink("delete", "Delete", this, "onDeleteClick");
+    @Bindable protected CayenneForm form = new CayenneForm("form", Customer.class);
+    @Bindable protected Table table = new Table();
+    @Bindable protected ActionLink editLink = new ActionLink("edit", "Edit", this, "onEditClick");
+    @Bindable protected ActionLink deleteLink = new ActionLink("delete", "Delete", this, "onDeleteClick");
 
     @Resource(name="customerService")
     private CustomerService customerService;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/FormTablePage.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/FormTablePage.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/FormTablePage.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/FormTablePage.java Mon Dec 28 22:56:01 2009
@@ -50,7 +50,7 @@
 
     private static final int NUM_ROWS = 20;
 
-    @Bindable public FormTable table = new FormTable();
+    @Bindable protected FormTable table = new FormTable();
 
     @Resource(name="customerService")
     private CustomerService customerService;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/LargeDatasetDemo.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/LargeDatasetDemo.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/LargeDatasetDemo.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/LargeDatasetDemo.java Mon Dec 28 22:56:01 2009
@@ -40,7 +40,7 @@
 @Component
 public class LargeDatasetDemo extends BorderPage {
 
-    @Bindable public Table table;
+    @Bindable protected Table table;
 
     @Resource(name="customerService")
     private CustomerService customerService;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/SearchTablePage.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/SearchTablePage.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/SearchTablePage.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/SearchTablePage.java Mon Dec 28 22:56:01 2009
@@ -50,10 +50,10 @@
 
     private static final long serialVersionUID = 1L;
 
-    @Bindable public Form form = new Form();
-    @Bindable public Table table = new Table();
-    @Bindable public PageLink editLink = new PageLink("Edit", EditCustomer.class);
-    @Bindable public ActionLink deleteLink = new ActionLink("Delete", this, "onDeleteClick");
+    @Bindable protected Form form = new Form();
+    @Bindable protected Table table = new Table();
+    @Bindable protected PageLink editLink = new PageLink("Edit", EditCustomer.class);
+    @Bindable protected ActionLink deleteLink = new ActionLink("Delete", this, "onDeleteClick");
 
     private TextField nameField = new TextField(Customer.NAME_PROPERTY);
     private DateField dateField = new DateField(Customer.DATE_JOINED_PROPERTY, "Start Date");

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableDecorator.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableDecorator.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableDecorator.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableDecorator.java Mon Dec 28 22:56:01 2009
@@ -43,12 +43,12 @@
 @Component
 public class TableDecorator extends BorderPage {
 
-    @Bindable public Table table = new Table();
-    @Bindable public Customer customerDetail;
+    @Bindable protected Table table = new Table();
+    @Bindable protected Customer customerDetail;
 
-    @Bindable public ActionLink viewLink = new ActionLink("view", this, "onViewClick");
-    @Bindable public PageLink editLink = new PageLink("edit", EditCustomer.class);
-    @Bindable public ActionLink deleteLink = new ActionLink("delete", this, "onDeleteClick");
+    @Bindable protected ActionLink viewLink = new ActionLink("view", this, "onViewClick");
+    @Bindable protected PageLink editLink = new PageLink("edit", EditCustomer.class);
+    @Bindable protected ActionLink deleteLink = new ActionLink("delete", this, "onDeleteClick");
 
     @Resource(name="customerService")
     private CustomerService customerService;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableFooter.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableFooter.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableFooter.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableFooter.java Mon Dec 28 22:56:01 2009
@@ -40,7 +40,7 @@
 @Component
 public class TableFooter extends BorderPage {
 
-    @Bindable public Table table;
+    @Bindable protected Table table;
 
     @Resource(name="customerService")
     private CustomerService customerService;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TablePaginatorPage.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TablePaginatorPage.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TablePaginatorPage.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TablePaginatorPage.java Mon Dec 28 22:56:01 2009
@@ -40,9 +40,9 @@
 @Component
 public class TablePaginatorPage extends BorderPage {
 
-    @Bindable public Table table1 = new Table();
-    @Bindable public Table table2 = new Table();
-    @Bindable public Table table3 = new Table();
+    @Bindable protected Table table1 = new Table();
+    @Bindable protected Table table2 = new Table();
+    @Bindable protected Table table3 = new Table();
 
     @Resource(name="customerService")
     private CustomerService customerService;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TablePaging.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TablePaging.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TablePaging.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TablePaging.java Mon Dec 28 22:56:01 2009
@@ -38,7 +38,7 @@
 @Component
 public class TablePaging extends BorderPage {
 
-    @Bindable public Table table = new Table();
+    @Bindable protected Table table = new Table();
 
     @Resource(name="customerService")
     private CustomerService customerService;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableSorting.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableSorting.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableSorting.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableSorting.java Mon Dec 28 22:56:01 2009
@@ -36,7 +36,7 @@
 @Component
 public class TableSorting extends BorderPage {
 
-    @Bindable public Table table = new Table();
+    @Bindable protected Table table = new Table();
 
     @Resource(name="customerService")
     private CustomerService customerService;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableStyles.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableStyles.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableStyles.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/TableStyles.java Mon Dec 28 22:56:01 2009
@@ -44,8 +44,8 @@
 
     private static final long serialVersionUID = 1L;
 
-    @Bindable public Form form = new Form();
-    @Bindable public Table table = new Table();
+    @Bindable protected Form form = new Form();
+    @Bindable protected Table table = new Table();
 
     private Select styleSelect = new Select("style", "Table Style:");
     private Checkbox hoverCheckbox = new Checkbox("hover", "Hover Rows:");

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/velocity/ActionTable.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/velocity/ActionTable.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/velocity/ActionTable.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/velocity/ActionTable.java Mon Dec 28 22:56:01 2009
@@ -44,11 +44,11 @@
 @Component
 public class ActionTable extends BorderPage {
 
-    @Bindable public List customers;
-    @Bindable public Customer customerDetail;
-    @Bindable public ActionLink viewLink = new ActionLink(this, "onViewClick");
-    @Bindable public PageLink editLink = new PageLink(EditCustomer.class);
-    @Bindable public ActionLink deleteLink = new ActionLink(this, "onDeleteClick");
+    @Bindable protected List customers;
+    @Bindable protected Customer customerDetail;
+    @Bindable protected ActionLink viewLink = new ActionLink(this, "onViewClick");
+    @Bindable protected PageLink editLink = new PageLink(EditCustomer.class);
+    @Bindable protected ActionLink deleteLink = new ActionLink(this, "onDeleteClick");
 
     @Resource(name="customerService")
     private CustomerService customerService;

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/velocity/VelocityMacro.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/velocity/VelocityMacro.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/velocity/VelocityMacro.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/velocity/VelocityMacro.java Mon Dec 28 22:56:01 2009
@@ -38,7 +38,7 @@
  */
 public class VelocityMacro extends BorderPage {
 
-    @Bindable public Form form = new Form();
+    @Bindable protected Form form = new Form();
 
     public VelocityMacro() {
         TextField nameField = new TextField("name", true);

Modified: incubator/click/trunk/click/framework/src/org/apache/click/util/Bindable.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/util/Bindable.java?rev=894266&r1=894265&r2=894266&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/util/Bindable.java (original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/util/Bindable.java Mon Dec 28 22:56:01 2009
@@ -25,6 +25,13 @@
 
 /**
  * Provides a Page field auto binding annotation.
+ * <p/>
+ * Note if a &#64;Bindable field's visibility is not public then Click will set
+ * the field to be accessible using reflection. If the Java application server
+ * has restricted security policies in place then this may cause an
+ * SecurityException to be thrown. In these environments you can either modify
+ * your fields visibility to be public or modify your servers Java security
+ * policy.
  *
  * <h3>Bindable Example</h3>
  *
@@ -32,16 +39,15 @@
  * public class BindableDemo extends Page {
  *
  *     // ActionLink automatically added to Page control list
- *     &#64;Bindable public ActionLink link = new ActionLink();
+ *     &#64;Bindable protected ActionLink link = new ActionLink();
  *
  *     // Message string is automatically added to Page model
- *     &#64;Bindable public String message;
+ *     &#64;Bindable protected String message;
  *
  *     public BindableDemo() {
  *
  *         // Listener method invoked when link clicked
  *         link.setActionListener(new ActionListener() {
- *
  *             public boolean onAction(Control source) {
  *                 // message added to page mode and rendered in template
  *                 message = "I was clicked";



Mime
View raw message