Re: Running a local process using Wicket

2015-03-23 Thread Richter, Marvin
I’m not sure if I understood it right but if you actually want to start a command on the machine the browser is running on the answer is no, and should never be possible for security reasons. But that has nothing to do with Wicket but with a webpage in the browser which is sandboxed and

RE: submenu in NavbarDropDownButton

2014-12-16 Thread Richter, Marvin
Hey, I have something like that implemented in the following way: @Override protected ListAbstractLink newSubMenuButtons(String buttonMarkupId) { ListAbstractLink languages = new ArrayListAbstractLink();

Bug in wicket-bootstrap's Navbar

2014-11-03 Thread Richter, Marvin
Hi Martin Michael, There is a bug in the Navbar Component which causes NavbarDropDownButtons to not work. DropDownButton's newInitializerScript function uses 'this' so in the header it renders: $('#component2 .dropdown-toggle').dropdown(); But the Navbar component does not call

RE: Bug in wicket-bootstrap's Navbar

2014-11-03 Thread Richter, Marvin
have a GitHub account ? Send us a Pull Request please ! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Nov 3, 2014 at 3:46 PM, Richter, Marvin marvin.rich...@freenetdigital.com wrote: Hi Martin Michael, There is a bug in the Navbar Component which causes

RE: Bug in wicket-bootstrap's Navbar

2014-11-03 Thread Richter, Marvin
Ah no. It's because of this: @Override protected void onInitialize() { super.onInitialize(); this.setRenderBodyOnly(true); } In the NavbarDropDownButton. -Original Message- From: Richter, Marvin Sent: Monday, November 03, 2014 3:21 PM To: users

RE: Bug in wicket-bootstrap's Navbar

2014-11-03 Thread Richter, Marvin
-bootstrap's Navbar Create an issue at https://github.com/l0rdn1kk0n/wicket-bootstrap please Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Nov 3, 2014 at 4:22 PM, Richter, Marvin marvin.rich...@freenetdigital.com wrote: Ah no. It's because of this: @Override

RE: Global Ajax Event Handler

2014-09-09 Thread Richter, Marvin
What you are looking for is the Wicket Event mechanism. This allows you to send a broadcast to a specified Component (e.g. the current page) and a payload (e.g. your custom event type which contains information). In the Components which should react on the event you override the method

RE: Global Ajax Event Handler

2014-09-09 Thread Richter, Marvin
, 2014 at 12:40 PM, Richter, Marvin marvin.rich...@freenetdigital.com wrote: What you are looking for is the Wicket Event mechanism. This allows you to send a broadcast to a specified Component (e.g. the current page) and a payload (e.g. your custom event type which contains information

RE: Wicket 1.6.7 TabbedPanel URL Access

2014-04-08 Thread Richter, Marvin
Like Sven mentioned, you could pass a parameter to a page e.g. tabIndex and in the constructor you get the parameter with name tabIndex and later on when you initialize the TabbedPanel you call setSelectedTab(tabIndex) Marvin Richter -Original Message- From: Sven Meier

RE: http://wicketinaction.com/ not reachable

2014-03-27 Thread Richter, Marvin
I get the same message from the Hoster (Germany) -Original Message- From: grsm...@atlanticbb.net [mailto:grsm...@atlanticbb.net] Sent: Thursday, March 27, 2014 2:49 PM To: users@wicket.apache.org Subject: Re: http://wicketinaction.com/ not reachable I can get to in. Am in the United

RE: One field enabled in a disabled container

2014-03-27 Thread Richter, Marvin
Maybe split this one form in two, one with these 2 fields and one with the rest. Depending on the state, you enable either all, just the one with the 2 fields or none. Best, Marvin Richter -Original Message- From: Entropy [mailto:blmulholl...@gmail.com] Sent: Thursday, March 27, 2014

RE: custom bootstrap stylesheet

2014-03-24 Thread Richter, Marvin
That does not override the CSS file used by wicket-bootstrap. It just renders an additional CSS reference in the head section. So it might happen that either my custom or the original Style Sheet will be used depending on which one will be rendered first. Marvin Richter -Original

custom bootstrap stylesheet

2014-03-20 Thread Richter, Marvin
Hi, How do I use a customized Bootstrap CCS file in wicket-bootstrap? I tried this: new BootstrapSettings().setCssResourceReference(new PackageResourceReference(CcaWebApplication.class, customized-bootstrap.css)); Unfortunately getCssResourceReference will never be called, instead the

RE: custom bootstrap stylesheet

2014-03-20 Thread Richter, Marvin
@wicket.apache.org Subject: Re: custom bootstrap stylesheet Hi, Set BootstrapTheme(IBootstrapSettings) as a default theme. Martin Grigorov Wicket Training and Consulting On Thu, Mar 20, 2014 at 4:11 PM, Richter, Marvin marvin.rich...@jestadigital.com wrote: Hi, How do I use a customized Bootstrap CCS

RE: custom bootstrap stylesheet

2014-03-20 Thread Richter, Marvin
, 2014 at 4:29 PM, Richter, Marvin marvin.rich...@jestadigital.com wrote: Where should I set this? The BootstrapSettings only provide the method : setThemeProvider(ThemeProvider t); but not: setTheme(Theme t); Marvin Richter -Original Message- From: Martin Grigorov [mailto:mgrigo

RE: custom bootstrap stylesheet

2014-03-20 Thread Richter, Marvin
Grigorov Wicket Training and Consulting On Thu, Mar 20, 2014 at 4:29 PM, Richter, Marvin marvin.rich...@jestadigital.com wrote: Where should I set this? The BootstrapSettings only provide the method : setThemeProvider(ThemeProvider t); but not: setTheme(Theme t); Marvin

RE: Radiobutton with one choice that has Textfield

2014-02-26 Thread Richter, Marvin
You have to add an input field in your HTML markup input type=text wicket:id=other / Marvin Richter -Original Message- From: zelelbien [mailto:karimbelkhi...@gmail.com] Sent: Wednesday, February 26, 2014 3:05 PM To: users@wicket.apache.org Subject: Re: Radiobutton with one choice that

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 Richter, Marvin
at 1:46 PM, Richter, Marvin marvin.rich...@jestadigital.com wrote: 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

RE: DP for GUI interaction

2014-02-17 Thread Richter, Marvin
It depends ... I'm a big fan of loose coupling so I do almost all interaction between components with AJAX events. For this you just override the onEvent method in your panels which should react on AJAX events. Check out:

Re: getting values from FormComponentPanel outside form.onSubmit()

2014-02-14 Thread Richter, Marvin
Why wouldn’t you just use the defaultFormProcessing an add the converted value of the FormComponentPanel to the list inside your onSubmit method? Best, Marvin Am 14.02.2014 um 18:14 schrieb lucast lucastol...@hotmail.com: Dear forum, I have implemented a FormComponentPanel as suggested

Re: understanding looking for wicket:id

2014-02-14 Thread Richter, Marvin
That is definitely not a good way to do inheritance. This way you force everyone who extends from MyBasePage to know that he has to have a tag in his markup file with a wicket:id he might not know. The right way would be to have a markup file for MyBasePage.java and include the wicket:extend

RE: AjaxFormSubmitBehavior and FilterForm problem

2014-02-13 Thread Richter, Marvin
I implemented a Search for a simple ListView but could be used also for any DataView. This solution also highlights the found String if you add the class 'highlighted' to you CSS. The table part: final WebMarkupContainer table = new WebMarkupContainer(table);

RE: Wicket Wizzard Question / Custom Overview Bars

2014-02-10 Thread Richter, Marvin
It's just a design decision ... the default design is that the steps are displayed on the left side (like in Jira's Wizard for example). But like Paul described you are free to change this like it fits for you. Best Regards, Marvin Richter -Original Message- From: Patrick Davids

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 Richter, Marvin
newLink 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

RE: Other Component than link in TabbedPanel's newLink

2014-02-07 Thread Richter, Marvin
onNewSubMenuButtons(String buttonMarkupId); } Thanks in advance, Marvin -Original Message- From: Richter, Marvin [mailto:marvin.rich...@jestadigital.com] Sent: Friday, February 07, 2014 9:07 AM To: users@wicket.apache.org Subject: RE: Other Component than link in TabbedPanel's newLink

RE: Other Component than link in TabbedPanel's newLink

2014-02-07 Thread Richter, Marvin
and Consulting On Fri, Feb 7, 2014 at 9:25 AM, Richter, Marvin marvin.rich...@jestadigital.com wrote: 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

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

RE: Memory leaks best practices

2014-02-06 Thread Richter, Marvin
If you have Models or Components as fields in you classes you should override the classes method onDetach. Example: Public class MyPanel extends Panel { private final IModelObject objectModel; public MyPanel(String id, IModelObject objectModel) {

Precondition Check

2014-02-06 Thread Richter, Marvin
Args ... I already had this problem some time ago but I can't remember what it was exactly. Wicket Ajax Debug: INFO: Ajax request stopped because of precondition check, url: ./admin?1-5.IBehaviorListener.1-configTypes-panel-dialog-footer-buttons-0-button I have two different Panels with almost

RE: Precondition Check

2014-02-06 Thread Richter, Marvin
/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js?source=c#L508 Put a breakpoint in Dev Tools/Firebug and see why the link is not in the document. Martin Grigorov Wicket Training and Consulting On Thu, Feb 6, 2014 at 2:50 PM, Richter, Marvin marvin.rich...@jestadigital.com wrote: Args

RE: Precondition Check

2014-02-06 Thread Richter, Marvin
the link from the DOM (or replaces it), then the second click event will be prevented because its event.target is no more in the DOM Martin Grigorov Wicket Training and Consulting On Thu, Feb 6, 2014 at 3:13 PM, Richter, Marvin marvin.rich...@jestadigital.com wrote: That is the point I don't get

RE: Precondition Check

2014-02-06 Thread Richter, Marvin
the form is not there ... Thanks for sharing! Martin Grigorov Wicket Training and Consulting On Thu, Feb 6, 2014 at 3:35 PM, Richter, Marvin marvin.rich...@jestadigital.com wrote: Ok, that would be a valid scenario where that makes sense but that's not the case. But I found the problem

RE: Wicket-bootstrap Bootstrap 3 support

2014-02-05 Thread Richter, Marvin
/IBootstrapSettings.java?source=c#L53 We will upgrade to 3.1.0 soon. We have to see whether there are breaking migration changes first. Martin Grigorov Wicket Training and Consulting On Wed, Feb 5, 2014 at 8:41 AM, Richter, Marvin marvin.rich...@jestadigital.com wrote: In Maven you can just exclude

Modularity in Wicket Application

2014-02-05 Thread Richter, Marvin
Hey guys, hope you can help me with this. I’m currently in the preparation phase of a new Project and evaluating possible technologies. What I already know: the Web part will be done with Wicket. The application will be some kind of management tool for others applications configuration. To

Re: Modularity in Wicket Application

2014-02-05 Thread Richter, Marvin
solution for this. Also Decebal Suiu have implemented https://github.com/decebals/wicket-plugin Martin Grigorov Wicket Training and Consulting On Wed, Feb 5, 2014 at 11:17 PM, Richter, Marvin marvin.rich...@jestadigital.com wrote: Hey guys, hope you can help me with this. I’m

RE: Wicket-bootstrap Bootstrap 3 support

2014-02-04 Thread Richter, Marvin
In Maven you can just exclude transitive dependecies from a dependency and add the version you prefer. But be aware of possible version conflicts. dependency groupIdde.agilecoders.wicket/groupId artifactIdwicket-bootstrap-core/artifactId version${wicket.bootstrap.version}/version

multiple path parameters in path segment

2014-01-31 Thread Richter, Marvin
Hey geeks, Hope you can help me. I'm actually trying to mount a page including 2 path parameters in path segment. What I try: mountPage(/customer/${IdentifierType}:${Identifier}/, ManageCustomerPage.class); è Should result into /customer/ID:10001/ or /customer/EMAIL:ilove%40wicket.org/ Note

RE: multiple path parameters in path segment

2014-01-31 Thread Richter, Marvin
, Jan 31, 2014 at 3:33 PM, Richter, Marvin marvin.rich...@jestadigital.com wrote: Hey geeks, Hope you can help me. I'm actually trying to mount a page including 2 path parameters in path segment. What I try: mountPage(/customer/${IdentifierType}:${Identifier}/, ManageCustomerPage.class

Re: timing for Wicket 7?

2014-01-28 Thread Richter, Marvin
I'm a bit confused, because of 'There are no other planned big changes for 7.x' I thought with 7.x Servlet API v3 will be used ... Am I wrong? Best, Marvin Richter On Fr, 2014-01-24 at 11:04 +0200, Martin Grigorov wrote: Hi Ernesto, There won't be 7.0.0 in the next month. We will make a

Re: timing for Wicket 7?

2014-01-28 Thread Richter, Marvin
Ah ok. Didn't know that. Thanks On Di, 2014-01-28 at 13:21 +0100, Martin Grigorov wrote: On Tue, Jan 28, 2014 at 1:14 PM, Richter, Marvin marvin.rich...@jestadigital.com wrote: I'm a bit confused, because of 'There are no other planned big changes for 7.x' At the moment we have

RE: Handling exceptions thrown by a model

2014-01-22 Thread Richter, Marvin
Just my few cents to this. I'm using something very similar to what Sebastien wrote but because I have several different ModelObject Types where I need this, I wrote it a bit more generic: /** * @param T Type of Object * * @author mrichter */ public abstract class ExceptionHandledModelT