Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/StateBase.java @ 636:22cc12b1622c
Take parent states only to describe static user interface part - not the current state itself.
gnv-artifacts/trunk@718 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 01 Mar 2010 14:15:33 +0000 |
parents | 58c32df1a44d |
children | 154d158238d3 |
comparison
equal
deleted
inserted
replaced
635:87f05cec1632 | 636:22cc12b1622c |
---|---|
627 XPATH_STATIC_UI, | 627 XPATH_STATIC_UI, |
628 XPathConstants.NODE, | 628 XPathConstants.NODE, |
629 ArtifactNamespaceContext.INSTANCE | 629 ArtifactNamespaceContext.INSTANCE |
630 ); | 630 ); |
631 | 631 |
632 describeStatic( | 632 State parent = getParent(); |
633 creator,xCreator, document, staticNode, context,uuid); | 633 if (parent != null && parent instanceof StateBase) { |
634 ((StateBase) parent).describeStatic( | |
635 creator,xCreator, document, staticNode, context,uuid); | |
636 } | |
634 } | 637 } |
635 | 638 |
636 | 639 |
637 protected void describeDynamic( | 640 protected void describeDynamic( |
638 XMLUtils.ElementCreator artCreator, | 641 XMLUtils.ElementCreator artCreator, |