Re: (Customizable) Fragment as String

2016-11-01 Thread Maxim Solodovnik
I was able to find workaround :) In case of following modification: https://github.com/solomax/fragment-as-string/commit/c6d5e8a692242fa2754a39b9cbe964d24c84a97e Everything works as expected The only issue is: fragment is wrapped with DEFAULT_MARKUP: "" Is there any option to remove it? On Mon,

Re: (Customizable) Fragment as String

2016-10-16 Thread Martin Grigorov
- org.apache.wicket.markup.IMarkupResourceStreamProvider - Component#setMarkup() Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Oct 17, 2016 at 8:33 AM, Maxim Solodovnik wrote: > Is there other option to have additional markup in the same file? > > WBR, Ma

Re: (Customizable) Fragment as String

2016-10-16 Thread Maxim Solodovnik
Is there other option to have additional markup in the same file? WBR, Maxim (from mobile, sorry for the typos) On Oct 17, 2016 12:44, "Maxim Solodovnik" wrote: That's a pitty :( Thanks for your time It would be nice to have this functionality available WBR, Maxim (from mobile, sorry for the t

Re: (Customizable) Fragment as String

2016-10-16 Thread Maxim Solodovnik
That's a pitty :( Thanks for your time It would be nice to have this functionality available WBR, Maxim (from mobile, sorry for the typos) On Oct 16, 2016 04:44, "Martin Grigorov" wrote: > Sorry, but I don't find a way to make it work. > It will need more thinking and debugging and I have no th

Re: (Customizable) Fragment as String

2016-10-15 Thread Martin Grigorov
Sorry, but I don't find a way to make it work. It will need more thinking and debugging and I have no that much time right now. Just use Panel instead of Fragment. I'll add a comment to ComponentRenderer's javadoc that Fragments are not supported. Martin Grigorov Wicket Training and Consulting htt

Re: (Customizable) Fragment as String

2016-10-14 Thread Maxim Solodovnik
Many thanks :) On Fri, Oct 14, 2016 at 2:12 PM, Martin Grigorov wrote: > I'll take a look at the weekend. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Oct 14, 2016 at 5:26 AM, Maxim Solodovnik > wrote: > > > Yes, the changes were local :( > >

Re: (Customizable) Fragment as String

2016-10-14 Thread Martin Grigorov
I'll take a look at the weekend. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Oct 14, 2016 at 5:26 AM, Maxim Solodovnik wrote: > Yes, the changes were local :( > Here is the quickstart: https://github.com/solomax/fragment-as-string > > In case following

Re: (Customizable) Fragment as String

2016-10-13 Thread Maxim Solodovnik
Yes, the changes were local :( Here is the quickstart: https://github.com/solomax/fragment-as-string In case following line is uncommented https://github.com/solomax/fragment-as-string/blob/master/src/main/java/org/apache/solomax/HomePage.java#L16 (next one should be commented) Tests are fails wit

Re: (Customizable) Fragment as String

2016-10-13 Thread Martin Grigorov
On Thu, Oct 13, 2016 at 6:49 PM, Maxim Solodovnik wrote: > Hello Martin, > > Thanks for the quick response! > > On Thu, Oct 13, 2016 at 11:39 PM, Martin Grigorov > wrote: > > > Hi Maxim, > > > > On Thu, Oct 13, 2016 at 6:10 PM, Maxim Solodovnik > > wrote: > > > > > Hello All, > > > > > > I'm su

Re: (Customizable) Fragment as String

2016-10-13 Thread Maxim Solodovnik
Hello Martin, Thanks for the quick response! On Thu, Oct 13, 2016 at 11:39 PM, Martin Grigorov wrote: > Hi Maxim, > > On Thu, Oct 13, 2016 at 6:10 PM, Maxim Solodovnik > wrote: > > > Hello All, > > > > I'm successfully using following code [1] to get Panel as String > > Unfortunately It is not

Re: (Customizable) Fragment as String

2016-10-13 Thread Martin Grigorov
Hi Maxim, On Thu, Oct 13, 2016 at 6:10 PM, Maxim Solodovnik wrote: > Hello All, > > I'm successfully using following code [1] to get Panel as String > Unfortunately It is not possible to get Fragment as String this way :( > You can replace your util with ComponentRenderer#renderComponent() http