You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by madaan18 <ma...@gmail.com> on 2011/05/03 11:40:12 UTC
override writeoutput
hey,
I want to override the function writeoutput in ComponentTag.class but it is
final.. is there some way that i can override it..
~~
thanks in advance
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/override-writeoutput-tp3492086p3492086.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: override writeoutput
Posted by Martin Grigorov <mg...@apache.org>.
On Tue, May 3, 2011 at 12:17 PM, madaan18 <ma...@gmail.com> wrote:
> this function actually strips the wicket tag.. and i want to add div also
> after stripping wicket tag..
getResourceSettings().setStripWicketTags(false)
+ use Behavior#afterRender() to write anything after a component
> so i need to override this function.. so how can i do this???
> Please help..
>
> --
> Thanks in advance
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/override-writeoutput-tp3492086p3492127.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: override writeoutput
Posted by madaan18 <ma...@gmail.com>.
this function actually strips the wicket tag.. and i want to add div also
after stripping wicket tag..
so i need to override this function.. so how can i do this???
Please help..
--
Thanks in advance
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/override-writeoutput-tp3492086p3492127.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: override writeoutput
Posted by Martin Grigorov <mg...@apache.org>.
Even if you override it then someone will have to instantiate your class ...
What's the problem ?
On Tue, May 3, 2011 at 11:40 AM, madaan18 <ma...@gmail.com> wrote:
> hey,
>
> I want to override the function writeoutput in ComponentTag.class but it is
> final.. is there some way that i can override it..
>
> ~~
> thanks in advance
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/override-writeoutput-tp3492086p3492086.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org