RE: Wicket Modals and Bootstrap Modals - sizing issues

2014-02-18 Thread Chris Colman
Would the l0rdn1kk0n / wicket-bootstrap community have dealt with this issue already or do they not support Wicket/Bootstrap modal windows in 'responsive' mode? Regards, Chris -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Tuesday, 18 February 2014 6:32 PM

display XML in a popup (or another window) wicket 6.9.1

2014-02-18 Thread BenHoit
hi, i want to display an xml string like with a ResourceLink but i want this xml string to be uploaded from the database when i click on the link. before wicket 6.9.1 i used the DocumentInlineFrame from Ernesto Reinaldo Barreiro and it works fine in a popup with a button ... but with 6.9.1, i cant

Re: display XML in a popup (or another window) wicket 6.9.1

2014-02-18 Thread Ernesto Reinaldo Barreiro
What's the problem you are facing? On Tue, Feb 18, 2014 at 12:30 PM, BenHoit benoit.lanoise...@orange.comwrote: hi, i want to display an xml string like with a ResourceLink but i want this xml string to be uploaded from the database when i click on the link. before wicket 6.9.1 i used the

Re: Wicket Modals and Bootstrap Modals - sizing issues

2014-02-18 Thread Martin Grigorov
No. l0rdn1kk0n/wicket-bootstrap provides Wicket component for TB's Modal widget. It doesn't try to fix/workaround any issues with Wicket's ModalWindow. There are tickets like https://github.com/l0rdn1kk0n/wicket-bootstrap/issues/228 but I doubt we will implement them. Martin Grigorov Wicket

Re: display XML in a popup (or another window) wicket 6.9.1

2014-02-18 Thread BenHoit
in wicket 1.4, i used an IndicatingAjaxLink and in onClick method, i asked my database, get a String, transform it in a byte[] and used DocumentInlineFrame with an XmlResource class extended DynamicWebResource import org.apache.wicket.markup.html.DynamicWebResource; public class MyXmlResource

Re: display XML in a popup (or another window) wicket 6.9.1

2014-02-18 Thread Ernesto Reinaldo Barreiro
Hi, Try this https://github.com/reiern70/antilia-bits/tree/master/content-iframe On Tue, Feb 18, 2014 at 1:04 PM, BenHoit benoit.lanoise...@orange.comwrote: in wicket 1.4, i used an IndicatingAjaxLink and in onClick method, i asked my database, get a String, transform it in a byte[]

Re: display XML in a popup (or another window) wicket 6.9.1

2014-02-18 Thread BenHoit
i have tried it but i don't know how to replace the new PackageResourceStream(HomePage.class, ScalaOverview.pdf) i haven't a resourceStream but a string (or a byte[]) -- View this message in context:

Re: display XML in a popup (or another window) wicket 6.9.1

2014-02-18 Thread Timo Schmidt
On Tue 18.02.2014 04:15, BenHoit wrote: i have tried it but i don't know how to replace the new PackageResourceStream(HomePage.class, ScalaOverview.pdf) i haven't a resourceStream but a string (or a byte[]) Try this: private final IResource resource; /** * Constructor. * * @param id ID

new wicket-bootstrap version in mvn central

2014-02-18 Thread Richter, Marvin
Hi Martin, Michael, Did you already scheduled when will be the next version of wicket-bootstrap in mvn central including Twitter Bootstrap 3.1.1? I would love to have the new feature for resize the Modal. Best, Marvin Richter

Re: new wicket-bootstrap version in mvn central

2014-02-18 Thread Martin Grigorov
Hi Marvin, Have you tested your app with the -SNAPSHOT version ? I didn't have much time to read carefully the release notes of TB 3.1.0 and 3.1.1 and I am not sure that everything is stable. Martin Grigorov Wicket Training and Consulting On Tue, Feb 18, 2014 at 1:46 PM, Richter, Marvin

Re: display XML in a popup (or another window) wicket 6.9.1

2014-02-18 Thread BenHoit
so strange ... i put log in getString method (and in onResourceRequested of the DocumentInlineFrame). they are never called and my panel is filled with random xml. i also log the database request and the response (before calling new OdyReqTargetPanel) : they are correct public class

RE: new wicket-bootstrap version in mvn central

2014-02-18 Thread Richter, Marvin
I didn't have the time either but will do so in the next days. Will let you know if I face some problems. Marvin Richter -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Tuesday, February 18, 2014 1:57 PM To: users@wicket.apache.org Subject: Re: new

Re: display XML in a popup (or another window) wicket 6.9.1

2014-02-18 Thread Ernesto Reinaldo Barreiro
Do you want me to create an example and upload it to the repository? What shout be the content? Any XML file/content? On Tue, Feb 18, 2014 at 1:58 PM, BenHoit benoit.lanoise...@orange.comwrote: so strange ... i put log in getString method (and in onResourceRequested of the

Re: display XML in a popup (or another window) wicket 6.9.1

2014-02-18 Thread BenHoit
in fact not never called but sometimes called !! my button is in a DataView (there is one button per line). i also have a PagingNavigator if i change the page in the paging navigator, getString and onResourceRequested are sometimes called on the first click. but never after. -- View this message

Re: display XML in a popup (or another window) wicket 6.9.1

2014-02-18 Thread Ernesto Reinaldo Barreiro
That smell to client caching the resourse: try to add some random noise to the URL On Tue, Feb 18, 2014 at 2:06 PM, BenHoit benoit.lanoise...@orange.comwrote: in fact not never called but sometimes called !! my button is in a DataView (there is one button per line). i also have a

Re: display XML in a popup (or another window) wicket 6.9.1

2014-02-18 Thread Timo Schmidt
On Tue 18.02.2014 05:06, BenHoit wrote: in fact not never called but sometimes called !! my button is in a DataView (there is one button per line). i also have a PagingNavigator if i change the page in the paging navigator, getString and onResourceRequested are sometimes called on the first

Re: display XML in a popup (or another window) wicket 6.9.1

2014-02-18 Thread BenHoit
i think you are right because when i clean my browser cache between each click, it works every time ! but, sorry, i don't know how to Append some random noise to the URL (src attribute) in onComponentTag(ComponentTag tag) -- View this message in context:

Thanks !

2014-02-18 Thread BenHoit
Thanks a lot for your help ! I was circling for a long time ... De : Timo Schmidt [via Apache Wicket] [mailto:ml-node+s1842946n4664542...@n4.nabble.com] Envoyé : mardi 18 février 2014 14:12 À : LANOISELÉE Benoît OF/DSIF Objet : Re: display XML in a popup (or another window) wicket 6.9.1 On Tue

Re: display XML in a popup (or another window) wicket 6.9.1

2014-02-18 Thread Timo Schmidt
On Tue 18.02.2014 05:33, BenHoit wrote: i think you are right because when i clean my browser cache between each click, it works every time ! but, sorry, i don't know how to Append some random noise to the URL (src attribute) in onComponentTag(ComponentTag tag) See

Re: Possible issue in Localizer - Wicket Version 6.13.0

2014-02-18 Thread Martin Grigorov
Hi, any application can add custom IStringResourceLoaders with IResourceSettings#getStringResourceLoaders().add(mine) Now the question is: is there a bug in Wicket or in your app ? Please investigate :-) I think there were no changes in Wicket related to this functionality for a fairly long

Re: How to start Wizard with an active step? / Best practise?

2014-02-18 Thread Patrick Davids
Hi Paul, thanx for your answer. I will have a look at extending it. :-) kind regards Patrick Am 17.02.2014 22:44, schrieb Paul Bors: We need to build the WizardModel in a dynamic way. Although I think there is a better more dynamic step too that can be used here. So one cheap solution is to

Issue on multi-threaded page when opening another tab in browser

2014-02-18 Thread eaglei22
Okay, so I have an issue that I have finally narrowed down to multi-threading issues. I have a loader page that has a worker thread to process a csv file and store the results into a list declared as: List batchLines = Collections.synchronizedList(new CopyOnWriteArrayListBatchLine()); Each

3rd party JS+Wicket 6.6.0=MyWidget ?

2014-02-18 Thread Farrukh SATTOROV
Hi all, is there any recipes how integrate 3rd party javascript component to wicket component. For example i have Timeline js class and i need to bind it to WebComponent as container, what steps i need to do. -- Regards, Farrukh

Re: 3rd party JS+Wicket 6.6.0=MyWidget ?

2014-02-18 Thread Ernesto Reinaldo Barreiro
Is this JS library the one what you mean? http://timeline.knightlab.com/ if so, iframe wicket:id=timeline width='100%' height='650' frameborder='0'/iframe Java /** * @author reiern70 * */ public class TimeLineContainer extends WebMarkupContainer { public TimeLineContainer(String id,

Re: 3rd party JS+Wicket 6.6.0=MyWidget ?

2014-02-18 Thread Farrukh SATTOROV
i mean this js library visjs.org and timeline is http://visjs.org/examples/timeline/01_basic.html On Wed, Feb 19, 2014 at 11:13 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Is this JS library the one what you mean? http://timeline.knightlab.com/ if so, iframe

Re: Issue on multi-threaded page when opening another tab in browser

2014-02-18 Thread Martin Grigorov
Hi, On Wed, Feb 19, 2014 at 3:23 AM, eaglei22 jchojnack...@gmail.com wrote: Okay, so I have an issue that I have finally narrowed down to multi-threading issues. I have a loader page that has a worker thread to process a csv file and store the results into a list declared as: List

Re: 3rd party JS+Wicket 6.6.0=MyWidget ?

2014-02-18 Thread Martin Grigorov
Hi, Usually the steps to integrate any JS widget with Wicket are: 1) create a custom Component or Behavior that will contribute the .js (and any .css, images, ... if needed) in #renderHead() 2) if the JS widget needs configuration (e.g. some JSON object passed to the widget's constructor) then

Re: 3rd party JS+Wicket 6.6.0=MyWidget ?

2014-02-18 Thread Farrukh SATTOROV
Thank you, Martin On Wed, Feb 19, 2014 at 11:42 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, Usually the steps to integrate any JS widget with Wicket are: 1) create a custom Component or Behavior that will contribute the .js (and any .css, images, ... if needed) in #renderHead() 2)

Re: 3rd party JS+Wicket 6.6.0=MyWidget ?

2014-02-18 Thread Farrukh SATTOROV
I just delving in these libraries On Wed, Feb 19, 2014 at 11:51 AM, Farrukh SATTOROV fireda...@gmail.comwrote: Thank you, Martin On Wed, Feb 19, 2014 at 11:42 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, Usually the steps to integrate any JS widget with Wicket are: 1) create a