Re: Parent page container required in child page?

2021-06-26 Thread Prag Progger
hild pages instead of > rootContainer.add(). > > // Bas > > Verstuurd vanaf mijn iPhone > > > Op 26 jun. 2021 om 18:09 heeft Prag Progger het > > volgende geschreven: > > > > Hi, > > > > I have a ParentPage and many sub class child pages that ext

Parent page container required in child page?

2021-06-26 Thread Prag Progger
Hi, I have a ParentPage and many sub class child pages that extend it. I decided to add a root container element to the parent page, but this breaks all ChildPage.add() method calls in the child pages. A solution is to pass the root container to every child, but that is a lot of work. Is there a

Re: Stateless ModalDialog

2021-01-11 Thread Prag Progger
ed sample code how to achieve it. > > On Sun, Jan 10, 2021 at 7:20 PM Prag Progger wrote: > > > Hi, > > > > Is it possible to create a stateless ModalDialog? > > > > I tried the following code, but it results in an error. The error > > doesn't occur when rem

Stateless ModalDialog

2021-01-10 Thread Prag Progger
Hi, Is it possible to create a stateless ModalDialog? I tried the following code, but it results in an error. The error doesn't occur when removing the getStatelessHint() overrides, but that would make it stateful. If it's not possible, would it be possible with the deprecated ModalWindow? HTML

Re: Delete version number in url

2014-05-16 Thread Prag
@Maxim, your solution works fine, thanks! @Pierre The link does work, but you have to remove the (NoVersionMapper class) suffix: https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java See also here:

ListMultipleChoice and non-serializable List. Which Model to use?

2009-03-14 Thread Prag
I have some problems using non-serializable model objects with a ListMultipleChoice (LMC). What I basically want is that a user selects multiple category items in a HTML Select tag, and that I can programmaticaly access those selected category objects after a form submit. I have something like

Forward to a different page, but same URL

2009-03-04 Thread Prag
Is it possible to render a different pageClassB when pageClassA is called, while maintaining the same URL? Using redirectToInterceptPage will send and redirect to a non-bookmarkable session url, and thus isn't an option. So is it possible to render/switch from different .html files fom the same

Re: Forward to a different page, but same URL

2009-03-04 Thread Prag
(). On Wed, Mar 4, 2009 at 7:32 PM, Prag pragprog...@gmail.com wrote: Is it possible to render a different pageClassB when pageClassA is called, while maintaining the same URL? Using redirectToInterceptPage will send and redirect to a non-bookmarkable session url, and thus isn't an option. So

Re: Add a surrounding component to itself

2009-02-19 Thread Prag
( ); } } }; add(test); Prag wrote: For a component (A) I would like to be able to add a surrounding component (B) (a link) in some cases. Component A itself should be able to add surrounding component B. Example: A product component in some

Add a surrounding component to itself

2009-02-17 Thread Prag
For a component (A) I would like to be able to add a surrounding component (B) (a link) in some cases. Component A itself should be able to add surrounding component B. Example: A product component in some cases has detailed info. If this is the case, the product component should be linkable to

Re: Building a dynamic comma separated link list

2009-01-30 Thread Prag
I have the same problem. Did you find an elegant solution for this? pixologe wrote: Hi everybody, This is probably quite easy, but I do not seem to be able to find an elegant solution for this, so if anyone could give me a hint, I would highly appreciate it... I'd like to have a

Re: Plain IMG src urls

2009-01-26 Thread Prag
Another solution is to add an IBehavior to the component, and let the behavior modify the src attribute. This can be can with the SimpleAttributeModifier: Image image = new Image(someWicketId); image.add(new SimpleAttributeModifier(src, http://.jpg;)); add(image); -- View this message in

Panel in List, remove extra div

2009-01-25 Thread Prag
I have a page on which I want to show products. Because I want to also want to show products on otherpages in the same way, I've made a ProductPanel. I'm also using ListView to show multiple ProductPanels on each page. I'm using a panel in a list, but this gives an extra div. I don't see how I

Re: Panel in List, remove extra div

2009-01-25 Thread Prag
Perfect, thanks! igor.vaynberg wrote: wicket:container wicket:id=products div wicket:id=product/div /wicket:container -igor -- View this message in context: http://www.nabble.com/Panel-in-List%2C-remove-extra-div-tp21656188p21656303.html Sent from the Wicket - User mailing

Plain IMG src urls

2009-01-19 Thread Prag
I have a DB table that contains plain URL's in text like http://someExternalServer/blabla/1.jpg. How can I put this plain text URL in a HTML IMG elements' SRC attribute without Wicket making modifications to the URL? -- View this message in context:

Re: Plain IMG src urls

2009-01-19 Thread Prag
, IModel model) { super(id, model); } @Override protected void onComponentTag(ComponentTag tag) { super.onComponentTag(tag); checkComponentTag(tag, img); tag.put(src, getModelObjectAsString()); } } Vitek Prag wrote: I have a DB table