Author: pete.muir(a)jboss.org
Date: 2010-06-18 09:26:25 -0400 (Fri, 18 Jun 2010)
New Revision: 6485
Modified:
examples/trunk/jsf/pastecode/src/main/java/org/jboss/weld/examples/pastecode/session/History.java
examples/trunk/jsf/pastecode/src/main/webapp/history.xhtml
Log:
rename method
Modified:
examples/trunk/jsf/pastecode/src/main/java/org/jboss/weld/examples/pastecode/session/History.java
===================================================================
---
examples/trunk/jsf/pastecode/src/main/java/org/jboss/weld/examples/pastecode/session/History.java 2010-06-18
13:24:29 UTC (rev 6484)
+++
examples/trunk/jsf/pastecode/src/main/java/org/jboss/weld/examples/pastecode/session/History.java 2010-06-18
13:26:25 UTC (rev 6485)
@@ -78,7 +78,7 @@
}
// Do the search, called as a "page action"
- public String search()
+ public String load()
{
this.paginator = new Paginator();
this.codes = null;
Modified: examples/trunk/jsf/pastecode/src/main/webapp/history.xhtml
===================================================================
--- examples/trunk/jsf/pastecode/src/main/webapp/history.xhtml 2010-06-18 13:24:29 UTC
(rev 6484)
+++ examples/trunk/jsf/pastecode/src/main/webapp/history.xhtml 2010-06-18 13:26:25 UTC
(rev 6485)
@@ -9,7 +9,7 @@
<ui:define name="viewMetadata">
<f:metadata>
<f:viewParam name="page" value="#{history.page}" />
- <f:event type="preRenderView" listener="#{history.search}"
/>
+ <f:event type="preRenderView" listener="#{history.load}" />
</f:metadata>
</ui:define>
Show replies by date