Philipp Bracher napisaĆ(a):
I think you are mixing the concept of dialogs and templates: Hope this
helps
- the jsp (template) is independent of the dialog (no way to pass a
parameter)
- the dialog gets the information directly from the repository
- since the dialog has access to the repository and has a pointer to
the current node, you are able to read any property of a page
Plan A
======
here some pseudo:
drawHtml(out){
String value = getWebsiteNode().getParent().getNodeData("customParam");
out.println(value);
}
the method DialogSuper.getWebsiteNode() returns the node the dialog is
working with
OK, but how to _set_ this customParam from jsp code?
Beniamin
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------