Not sure I understand it. Can a bit more specific. How markups (input
and expected output) look like?

Juergen

On 11/3/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
Sorry to hijack the thread, but I think this might be related:

I have an idea for a component that is added to an event handler in
the markup, without having a 'markup' position in the page.

For instance:

<a href="#" wicket:id="foo" oncontextmenu="">bla</a>

new Link("foo") {}.add(new ContextMenu());

the context menu component would be a mixin between a behavior (it
attaches itself to the "oncontextmenu" javascript attribute), and
would include the panel markup.

This is the same as for the modal window. We now have to add some
markup to the page where the popup div will render itself, and we also
have to add the popup to the page, and add an event handler to trigger
the modal window.

Martijn

On 11/3/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > the markup gets loaded. Two possible solutions: a) stay with adding
> > auto components at render time
>
>
> b) make the *Targets responsible to
> > re-create the autocomponents and only than render the page.
>
>
> i dont like this at all. it adds a requirement for targets that cannot be
> clearly expressed through the interface.
>
> Solution (a) questions a little bit our vision
>
>
> thats ok, maybe we can fix it all the way in v3
>
> and (b) will end up
> > with where does the render process start and where does it end.
>
>
> yes, this is bad
>
> Solution (a) has another drawback: if we really want to achieve a 1:1
> > relationship between markup and component hierarchy than there will be
> > scenarios where components are inside <wicket:head> and when we remove
> > the wicketHead container at the end of the render cycle, that it
> > removes the inner component(s) as well.
>
>
> can we somehow get around removing the entire head component?
>
> -igor
>
>
> > Juergen
> >
>
>


--
<a href="http://www.thebeststuffintheworld.com/vote_for/wicket";>Vote</a>
for <a href="http://www.thebeststuffintheworld.com/stuff/wicket";>Wicket</a>
at the <a href="http://www.thebeststuffintheworld.com/";>Best Stuff in
the World!</a>

Reply via email to