0

Finding macro components

asked 2011-07-07 08:35:07 +0800

Rico gravatar image Rico
175 1 1 2

updated 2011-07-07 08:40:49 +0800

Hi,

I am using zk 3.6.4 and would like to find a component using getFellow. The component is "hidden" in a page built up by macros, and for some reason I can only locate the first macro component on the page:

<?component name="vv_grunduppgift" macro-uri="vv_grunduppgifter.zul" ?>
<?component name="vv_anv" macro-uri="vatten_anv.zul" ?>
<?component name="vv_lab" macro-uri="vverk_lab_2.zul" ?>
<zk>
	<vv_grunduppgift id="basic_vverk" />
	<vv_anv id="usage_vverk" />
	<vv_lab id="lab_vverk" />
</zk>


The only HtmlMacroComponent that I can locate using getFellow is the first one, "basic_vverk", the other two can not be found.

The surrounding component is a Div, and the page is built up dynamically using ExecutionsCreateComponents. The Div is easily found and I would expect getChildren on the div would give me a list of all the macro components on the page?

Anyone got any ideas why this is a problem?

Finest Regards,
Fredrik

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2011-07-14 22:08:14 +0800

SimonPai gravatar image SimonPai
1696 1

Hi Fredrik,

Can you post it to our bug tracker, with sample code to reproduce the issue? Thanks.

Regards,
Simon

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-07-07 08:35:07 +0800

Seen: 167 times

Last updated: Jul 14 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More