Analyzing HTML markup.

2010-03-18 Thread Sergey Olefir
Hi,

is it possible to (easily) analyze HTML markup at runtime? More
specifically I'm thinking about implementing a component that will
examine its (or more realistically the markup of extending class)
markup to determine whether or not particular wicket:id is present.

Or, in other words, is it possible to implement base component that
will or will not add(..) some 'other component' inside itself
depending on whether child (extending class) has provided place for
'other component' in its markup?

Thanks in advance!

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



Re: Analyzing HTML markup.

2010-03-18 Thread Igor Vaynberg
you can use IComponentResolver to achieve this.

-igor

On Thu, Mar 18, 2010 at 9:45 AM, Sergey Olefir solf.li...@gmail.com wrote:
 Hi,

 is it possible to (easily) analyze HTML markup at runtime? More
 specifically I'm thinking about implementing a component that will
 examine its (or more realistically the markup of extending class)
 markup to determine whether or not particular wicket:id is present.

 Or, in other words, is it possible to implement base component that
 will or will not add(..) some 'other component' inside itself
 depending on whether child (extending class) has provided place for
 'other component' in its markup?

 Thanks in advance!

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



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