Re: Weird jsp include output

2011-05-13 Thread Alexandru Artimon
I'm using version 1.4.17. How would you change it in to a Behaviour ? Are there some classes that you'll extend or implement? Thanks, Alex On 05/12/2011 10:08 PM, Martin Grigorov wrote: Not sure what exactly happens but looking at the code in wiki I'd re-make JspContainer to JspBehavior. I

Re: Weird jsp include output

2011-05-13 Thread Martin Grigorov
JspFileContainer extends AbstractBehavior From there on it should be easy to figure out. On Fri, May 13, 2011 at 9:48 AM, Alexandru Artimon aarti...@developmentgateway.org wrote: I'm using version 1.4.17. How would you change it in to a Behaviour ? Are there some classes that you'll extend

Re: Weird jsp include output

2011-05-13 Thread Alexandru Artimon
Tried this version, but I can't figure out how to add the behaviour to the page at this point. Because for wicket defined html tags I know I have to use container./autoAdd/(component). Now with this method I can only add components and not behaviours. Using container.add(JspBehaviour)

Re: Weird jsp include output

2011-05-13 Thread Martin Grigorov
Right. It is too late to add behaviors at this point. Not sure what exactly happens. I have to try/debug it... Another thing that you may try: use IMarkupFilter instead of resolver. There you can add the behavior. See org.apache.wicket.markup.parser.filter.WicketMessageTagHandler for example. On

Re: Weird jsp include output

2011-05-12 Thread Martin Grigorov
Not sure what exactly happens but looking at the code in wiki I'd re-make JspContainer to JspBehavior. I doubt this will help but you can try it anyway. Which version of Wicket do you use ? On Thu, May 12, 2011 at 8:56 PM, Alexandru Artimon aarti...@developmentgateway.org wrote: Hi guys,