You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by an...@apache.org on 2008/02/08 19:48:34 UTC
svn commit: r619975 -
/tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/tree/components/TreeDataView.java
Author: andyhot
Date: Fri Feb 8 10:48:30 2008
New Revision: 619975
URL: http://svn.apache.org/viewvc?rev=619975&view=rev
Log:
TAPESTRY-1761
Modified:
tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/tree/components/TreeDataView.java
Modified: tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/tree/components/TreeDataView.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/tree/components/TreeDataView.java?rev=619975&r1=619974&r2=619975&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/tree/components/TreeDataView.java (original)
+++ tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/tree/components/TreeDataView.java Fri Feb 8 10:48:30 2008
@@ -17,21 +17,26 @@
import org.apache.tapestry.BaseComponent;
import org.apache.tapestry.IMarkupWriter;
import org.apache.tapestry.IRequestCycle;
+import org.apache.tapestry.event.PageDetachListener;
import org.apache.tapestry.contrib.tree.model.ITreeDataModel;
import org.apache.tapestry.contrib.tree.model.ITreeModel;
import org.apache.tapestry.contrib.tree.model.ITreeRowSource;
import org.apache.tapestry.contrib.tree.model.TreeRowObject;
import java.util.Iterator;
+import org.apache.tapestry.event.PageEvent;
+
/**
* @author tsveltin ?
*/
public abstract class TreeDataView extends BaseComponent implements
- ITreeRowSource {
+ ITreeRowSource, PageDetachListener {
private TreeRowObject m_objTreeRowObject = null;
private int m_nTreeDeep = -1;
+
+ public abstract TreeView getTreeView();
public TreeDataView()
{
@@ -45,7 +50,9 @@
m_nTreeDeep = -1;
}
- public abstract TreeView getTreeView();
+ public void pageDetached(PageEvent event) {
+ initialize();
+ }
public void renderComponent(IMarkupWriter writer, IRequestCycle cycle)
{
Re: svn commit: r619975 - /tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/con trib/tree/components/TreeDataView.java
Posted by Andreas Andreou <an...@gmail.com>.
will try to remember that, thx
On Feb 9, 2008 1:10 AM, Kevin Menard <km...@servprise.com> wrote:
> Hi Andy,
>
> Not to be a pain in the neck, but could you please include the issue title
> in the commit message, too? It makes it a lot easier for those that weren't
> actively working on the issue to follow along.
>
> Thanks,
> Kevin
>
>
> On 2/8/08 1:48 PM, in article 20080208184835.F13821A983A@eris.apache.org,
> "andyhot@apache.org" <an...@apache.org> wrote:
>
> > Author: andyhot
> > Date: Fri Feb 8 10:48:30 2008
> > New Revision: 619975
> >
> > URL: http://svn.apache.org/viewvc?rev=619975&view=rev
> > Log:
> > TAPESTRY-1761
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>
--
Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: svn commit: r619975 -
/tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/con
trib/tree/components/TreeDataView.java
Posted by Kevin Menard <km...@servprise.com>.
Hi Andy,
Not to be a pain in the neck, but could you please include the issue title
in the commit message, too? It makes it a lot easier for those that weren't
actively working on the issue to follow along.
Thanks,
Kevin
On 2/8/08 1:48 PM, in article 20080208184835.F13821A983A@eris.apache.org,
"andyhot@apache.org" <an...@apache.org> wrote:
> Author: andyhot
> Date: Fri Feb 8 10:48:30 2008
> New Revision: 619975
>
> URL: http://svn.apache.org/viewvc?rev=619975&view=rev
> Log:
> TAPESTRY-1761
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org