Other Component than link in TabbedPanel's newLink

2014-02-07 Thread Richter, Marvin
Hey, I'm trying to use a Component which itself contains a Component in the TabbedPanel's newLink method. Unfortunately that's not allowed Cause ... only raw markup is allowed ... Any ideas how can still achieve this? Code: final BootstrapTabbedPanelConfigTypeTab configTypes = new

Re: Other Component than link in TabbedPanel's newLink

2014-02-07 Thread Martin Grigorov
You a component that has its own markup, i.e. a Panel with SplitButton inside. Martin Grigorov Wicket Training and Consulting On Fri, Feb 7, 2014 at 9:00 AM, Richter, Marvin marvin.rich...@jestadigital.com wrote: Hey, I'm trying to use a Component which itself contains a Component in the

RE: Other Component than link in TabbedPanel's newLink

2014-02-07 Thread Richter, Marvin
OMFG ... that was too easy ... I missed the forest for the trees Thanks Marvin Richter Software Developer T +49 (0) 30 69 538 1099 M  +49 (0) 174 744 4991 marvin.rich...@jestadigital.com   JESTA DIGITAL GmbH   Karl-Liebknecht-Str. 32   10178 Berlin, Germany Gesellschaft mit beschränkter

RE: Other Component than link in TabbedPanel's newLink

2014-02-07 Thread Richter, Marvin
Hmmm unfortunately that didn't do the job :( I'm quite sure that I just overlooked something ... Error: Close tag not found for tag: a href=# wicket:id=link. For Components only raw markup is allow in between the tags but not other Wicket Component. Component: [SplitButtonContainer

Re: Other Component than link in TabbedPanel's newLink

2014-02-07 Thread Martin Grigorov
Yes, it won't work so easy ... You use new component for the link, but then the title is not needed. The easiest is to add MyTabbedPanel extends BootstrapTabbedPanel and in MyTabbedPanel.html provide whatever markup fits best for your use case. Feel free to file an issue to wicket-bootstrap for

RE: Other Component than link in TabbedPanel's newLink

2014-02-07 Thread Richter, Marvin
This is not my only problem ... bootstrap itself doesn't even support what I was trying to do :-/ Cause this is just a small page to support some configs, this would be too much effort for now to write all this by myself. I'll create a pull request for the BootstrapTabbedPanel improvement

Re: Datepicker to pick just the month

2014-02-07 Thread María del Busto Griñón
Well that doesn't seem to be right, because it says that date formats are: - d, dd: Numeric date, no leading zero and leading zero, respectively. Eg, 5, 05. - D, DD: Abbreviated and full weekday names, respectively. Eg, Mon, Monday. - m, mm: Numeric month, no leading zero and

The AjaxSubmitLink does not respond after migrating to wicket 6

2014-02-07 Thread Heshani
I migrated the application from wicket 1.4 to 6.13.0. After the migration the AjaxSubmitLink gets rendered with, href=javascript:;. Anyone knows the reason for this issue? Thank you! -- View this message in context:

Re: The AjaxSubmitLink does not respond after migrating to wicket 6

2014-02-07 Thread Martin Grigorov
Hi, Check for JavaScript errors/logs. Martin Grigorov Wicket Training and Consulting On Fri, Feb 7, 2014 at 12:15 PM, Heshani heshni.per...@gmail.com wrote: I migrated the application from wicket 1.4 to 6.13.0. After the migration the AjaxSubmitLink gets rendered with, href=javascript:;.

Re: The AjaxSubmitLink does not respond after migrating to wicket 6

2014-02-07 Thread Heshani
It does have the below javascript error, Wicket.Ajax.registerPreCallHandler is not a function -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-AjaxSubmitLink-does-not-respond-after-migrating-to-wicket-6-tp4664294p4664296.html Sent from the Users forum mailing

Re: The AjaxSubmitLink does not respond after migrating to wicket 6

2014-02-07 Thread Martin Grigorov
This API has been reworked. See https://cwiki.apache.org/confluence/display/WICKET/Wicket+Ajax#WicketAjax-GlobalAjaxcalllisteners And http://wicketinaction.com/2012/07/wicket-6-javascript-improvements/ Martin Grigorov Wicket Training and Consulting On Fri, Feb 7, 2014 at 12:29 PM, Heshani

Re: Choice Renderers Display Issue After Submit

2014-02-07 Thread Sven Meier
I don't see a reason why this shouldn't work. Please create a quickstart showing the problem. Sven On 02/06/2014 10:47 AM, MissOvenMitts wrote: Hi guys! I'm using a ChoiceRenderer for the first time, and am having a slight problem with it. Any help would be *greatly* appreciated! I have a

Re: Choice Renderers Display Issue After Submit

2014-02-07 Thread Martin Grigorov
The user explains in his second mail that everything is fine once the #equals() method is properly implemented. Martin Grigorov Wicket Training and Consulting On Fri, Feb 7, 2014 at 12:50 PM, Sven Meier s...@meiers.net wrote: I don't see a reason why this shouldn't work. Please create a

Re: Choice Renderers Display Issue After Submit

2014-02-07 Thread Sven Meier
Sorry, I've missing that post. AbstractSingleSelectChoice#getModelValue() still doesn't look right to me: @Override public String getModelValue() { final T object = getModelObject(); if (object != null) { int index = getChoices().indexOf(object);

Need to access message received on a page

2014-02-07 Thread ntomer
Hi, I have created a page on my facebook account, and need to access messages received on this page using restfb. I am able to retrieve the messages received on my account, but I am not able to retrieve from the page. I am able to retrieve the posts from the same facebook page. Here is the code

Best strategy for having login page without navigation

2014-02-07 Thread crestfallen
Hi, ich have a basepage with all styles defined in it. This basepage also holds the navigation of my application. Now I want to add a login page. Problem is, I want to extend it from basepage, but avoid to have a navigation there. How to you deal with such requirement? crestfallen -- View this

Re: Need to access message received on a page

2014-02-07 Thread Martin Grigorov
Hi, Wrong mailing list ? I see nothing related to Wicket here. Martin Grigorov Wicket Training and Consulting On Fri, Feb 7, 2014 at 9:43 AM, ntomer nto...@newgen.co.in wrote: Hi, I have created a page on my facebook account, and need to access messages received on this page using restfb.

Re: Best strategy for having login page without navigation

2014-02-07 Thread Martin Grigorov
Hi, The simplest way is to make the navigation invisible: navigation.setVisible(false) Another way is to extract BasePageWithHeader that extends BasePage. Martin Grigorov Wicket Training and Consulting On Fri, Feb 7, 2014 at 1:31 PM, crestfallen torsten.monkow...@gmail.comwrote: Hi, ich

RE: Best strategy for having login page without navigation

2014-02-07 Thread Richter, Marvin
Or just create a BasePage which implements onRenderHead where you add your CSS/JS resources Then, implement a NavigationPage which extends BasePage and has its Navigation and a SignInPage which extends BasePage. Marvin Richter -Original Message- From: Martin Grigorov

Wicket Wizzard Question / Custom Overview Bars

2014-02-07 Thread Patrick Davids
Hi all, did someone already noticed, a custom overriden overview-bar of wickets wizzard is displayed in a td left of the Step contents ? I thought it would be on the top... Or did I misunderstood the meaning of the overview bar? Is it meant as kind of menu?! kind regards Patrick

What is the default size of max per session in wicket

2014-02-07 Thread Sharad Raut
What is the default size of max per session in wicket -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/What-is-the-default-size-of-max-per-session-in-wicket-tp4664307.html Sent from the Users forum mailing list archive at Nabble.com.

Re: What is the default size of max per session in wicket

2014-02-07 Thread francois meillet
Have a look to setMaxSizePerSession() in the IStoreSettings interface application.getStoreSettings().setMaxSizePerSession(Bytes.megabytes(30)); François On Fri, Feb 7, 2014 at 3:06 PM, Sharad Raut raut.sha...@gmail.com wrote: What is the default size of max per session in wicket -- View

Re: The AjaxSubmitLink does not respond after migrating to wicket 6

2014-02-07 Thread Heshani
I fixed the registerPreCallHandler is not a function error. But im still facing the issue where the AjaxSubmitLink gets rendered with, href=javascript:; -- View this message in context:

Re: The AjaxSubmitLink does not respond after migrating to wicket 6

2014-02-07 Thread Timo Schmidt
On Fri 07.02.2014 08:05, Heshani wrote: I fixed the registerPreCallHandler is not a function error. But im still facing the issue where the AjaxSubmitLink gets rendered with, href=javascript:; That's OK. Since Wicket 6 this is done by event listeners. -Timo

Re: tinymce textarea in a modal window not letting to type

2014-02-07 Thread jchappelle
The original issue is pretty old but tinymce in a modal window worked in 1.5 and it is not working in 6.13.0. I guess I'm going to have to redesign my pages to not use the tinymce in a modal window. -- View this message in context:

Re: tinymce textarea in a modal window not letting to type

2014-02-07 Thread Girts Ziemelis
I had similar problem and at the end it was easier to switch to ckeditor, which work fine in a modal window (so far tested only in development). There is no integration package for wicket AFAIK, but simple custom integration for a specific use case is simple. On 02/07/2014 05:45 PM,

Re: Best strategy for having login page without navigation

2014-02-07 Thread crestfallen
I did an overwrite for isVisible() on Navbar component. Works for me. Thank you very much for the hint. crestfallen -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Best-strategy-for-having-login-page-without-navigation-tp4664298p4664310.html Sent from the Users forum

Re: tinymce textarea in a modal window not letting to type

2014-02-07 Thread Gabriel Landon
I remember having the same problem on a project I've done last year. Here's the code I'm using (I think that it's the TinyMceAjaxSubmitModifier that is important) : final TextAreaString textArea = new TextAreaString(property, getModel()); textArea.add(new