Hi,

What are pros and cons of using "wicket:border + wicket:body" VS
"wicket:extend + wicket:child"?

Is the first case just about avoiding wicket:xxx tags in "real" pages?

Consider "java/org/apache/wicket/examples/navomatic" example, I omit
the related java code for brevity:

NavomaticBorder.html:

  <wicket:border>
     ... <wicket:body/> ...
  </wicket:border>

Page1.html:

<span wicket:id = "navomaticBorder">
...
</span>


That can be rewritten as:

BasePage.html:

...
<wicket:child/>
...

Page1.html:
<wicket:extend>
...
</wicket:extend>

Do I miss anything?

Regards, Sergey.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to