Re: How can a component know if it's being rendered as part of Ajax response?

2020-04-07 Thread Vit Rozkovec
avaScript the script to prepend * @see AjaxRequestTarget#prependJavaScript(CharSequence) */ public static void prependJavaScript(CharSequence javaScript) { find().ifPresent(t -> t.prependJavaScript(javaScript)); } } Best regards, Thomas On Sun, Apr 5, 2020 at 6:58 PM Vit Rozkovec wrote: I

Re: How can a component know if it's being rendered as part of Ajax response?

2020-04-05 Thread Vit Rozkovec
API emerged, we decided against a specific method and chose a generic one with parameter instead. Have fun Sven On 05.04.20 08:47, Vit Rozkovec wrote: Hi, this seems to be a frequent use case, wouldn't there be a good fit for some shorthand method? Like /getRequestCycle().onAjax(t

Re: How can a component know if it's being rendered as part of Ajax response?

2020-04-05 Thread Vit Rozkovec
Hi, this seems to be a frequent use case, wouldn't there be a good fit for some shorthand method? Like /getRequestCycle().onAjax(t-> {});/ boolean getRequestCycle().isAjax(); ? Vit On 4/4/20 11:51 PM, Sven Meier wrote: Hi, you can test for the appropriate request handler:

Re: Display indicator on AjaxButton when it reloads target components

2019-09-12 Thread Vit Rozkovec
Hi, try to look into the wicket-bootstrap [1] and there are LaddaAjaxLink and LaddaAjaxButton that do exactly what you want. Vit [1] https://github.com/l0rdn1kk0n/wicket-bootstrap On 9/12/19 8:36 AM, Arunachalam Sibisakkaravarthi wrote: Hi Guys Good afternoon, I have created a panel with

Re: Wicket & Jdbi & Guice

2019-02-07 Thread Vit Rozkovec
ch makes sense to me, am I missing something? If you are fine with that, should I make a pull request? Adding Objenesis did not help. Thanks. Vit On 2/7/19 7:45 AM, Martin Grigorov wrote: Hi, On Wed, Feb 6, 2019 at 7:55 PM Vit Rozkovec wrote: Hi, have any of you tried to inject Jdbi

Re: Wicket & Jdbi & Guice

2019-02-07 Thread Vit Rozkovec
ch makes sense to me, am I missing something? If you are fine with that, should I make a pull request? Adding Objenesis did not help. Thanks. Vit On 2/7/19 7:45 AM, Martin Grigorov wrote: Hi, On Wed, Feb 6, 2019 at 7:55 PM Vit Rozkovec wrote: Hi, have any of you tried to inject Jdbi

Wicket & Jdbi & Guice

2019-02-06 Thread Vit Rozkovec
Hi, have any of you tried to inject Jdbi [1] via Guice to your component hierarchy? I cannot do so without using intermediate Jdbi supplier. Please see this issue: https://github.com/jdbi/jdbi/issues/1451 I've tried to turn off wrapping in proxies for Guice, but it gives me:

Re: Code Generator with Wicket...

2017-10-19 Thread Vit Rozkovec
Awesome, PR welcomed. Cheers. On 10/18/2017 11:29 AM, badgers wrote: Yes! I will check it. When I did my adaptions I will do a pull request. Thx in advance -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

Re: Code Generator with Wicket...

2017-10-18 Thread Vit Rozkovec
As a quickfix I've commited missing package with behaviors. Regarding Hibernate, instead of that, there could be this dependency http://search.maven.org/#artifactdetails%7Cjavax.persistence%7Cpersistence-api%7C1.0.2%7Cjar If you'd like to have it even without that, I guess that would mean

Re: Code Generator with Wicket...

2017-10-16 Thread Vit Rozkovec
Hi, happy you like it. Feel free to do whatever you want with it, at the moment I use it regularly to generate admin interfaces that I then customize according to usecase. There are some areas that could receive more attention, generator could get more clever in guessing correct

Re: Code Generator with Wicket...

2017-10-10 Thread Vit Rozkovec
Hi badgers, have a look here: https://github.com/vrozkovec/wicket-code-generator Please note that it is a quickly created project that was part of the set of my internal utilities and some imports in the generated classes will be missing. Generated files contain also unnecessary imports, I

Re: Code Generator with Wicket...

2017-10-09 Thread Vit Rozkovec
I've developed one simple generator that consumes java POJOs, inspects them via reflection and produces CRUD wicket components from the template. If you are interested, I can publish it on the github as a separate project. Vit On 10/09/2017 09:57 AM, badgers wrote: Hi, in my project I have a

Re: Hidden to visible not working, even after having set up .setOutputMarkupId(true);

2017-08-03 Thread Vit Rozkovec
Hi, you have to use setOutputMarkupPlaceholderTag(true), see javadoc for this method. Vit On 08/03/2017 05:50 PM, lucast wrote: Dear Forum, I have a page component that initially is hidden. These are the steps taken: When I try to make the component visible, inside an AjaxLink.onClick(),

Re: using CssResourceReference for css file that lives in webapp

2017-07-31 Thread Vit Rozkovec
Hi, have a look at those classes: ContextRelativeResource ContextRelativeResourceReference Vit On 07/31/2017 01:01 PM, lucast wrote: Thank you, Maxim. Since I am managing all css files and js files form my java class, I was wondering if there is an equivalent to the HTML of

Re: Toastr popups and Form's onSubmit

2017-07-27 Thread Vit Rozkovec
Would it work to add a behavior to the component, passing behavior's url to Toastr and calling this url via Wicket.Ajax? In the behavior you would then redirect to the page you need. On 07/27/2017 04:43 PM, Martin Grigorov wrote: You will have to do some refactoring ... Instead of using

Re: Proper way of sharing reference to Application

2017-07-10 Thread Vit Rozkovec
Perfect, thank you. Vit On 07/10/2017 06:05 AM, Martin Grigorov wrote: Hi, On Sat, Jul 8, 2017 at 5:33 PM, Vit Rozkovec <vit.rozko...@gmail.com> wrote: Hi, I'm using Quartz Scheduler for scheduling regular jobs or for keeping time intensive work units out from the Application's init

Proper way of sharing reference to Application

2017-07-08 Thread Vit Rozkovec
Hi, I'm using Quartz Scheduler for scheduling regular jobs or for keeping time intensive work units out from the Application's init method. Please see Task execution. What is the right way to set application to the ThreadContext? Is it fine to do it like this without introducing leaks of

Re: WicketTester's possible bug?

2017-05-07 Thread Vit Rozkovec
ich setting to en/disable. (I don't know it by name) Martijn On Sat, May 6, 2017 at 2:37 PM, Vit Rozkovec <vit.rozko...@gmail.com> wrote: Hi, when testing the application which is in deployment mode, test passes even when the child is missing: Code: TextField input = new TextFie

WicketTester's possible bug?

2017-05-06 Thread Vit Rozkovec
Hi, when testing the application which is in deployment mode, test passes even when the child is missing: Code: TextField input = new TextField("input"); add(new WebMarkupContainer("border").add(input)); HTML: Test: //start and render the test

Re: Wicket Appl - Cleanup & Scale

2016-10-19 Thread Vit Rozkovec
There exists also java wrapper: https://github.com/jhonnymertz/java-wkhtmltopdf-wrapper On 10/18/2016 05:13 PM, Ernesto Reinaldo Barreiro wrote: Thanks for the pointer: did not know about this project :-) On Tue, Oct 18, 2016 at 4:19 PM, Vit Rozkovec <rozkovec...@email.cz> wrote: I

Re: Wicket Appl - Cleanup & Scale

2016-10-18 Thread Vit Rozkovec
I would recommend wkhtmltopdf as flying saucer does not play well with Bootstrap and CSS3 features in general. https://github.com/wkhtmltopdf/wkhtmltopdf For generating PDF I prefer flying-saucer and wicket https://github.com/reiern70/wicket-flyingsaucer

Re: Large forms

2015-02-23 Thread Vit Rozkovec
, but this way you can fully customize generated files, they are the same files you woud prepare by hand, only automatically generated. Would you be interested in using such a tool? So far I have used it just for me, but can make it available at Github if you would like. Regards Vit Rozkovec Dne

Unable to open resource stream (status=500)

2014-03-05 Thread Vit Rozkovec
Hi, I came across interesting problem: I have one project which is packaged as .jar file along with all required assets. The behavior inside this project is defined like this: public class NprogressBehavior extends Behavior { @Override public void renderHead(Component component,

Re: Unable to open resource stream (status=500)

2014-03-05 Thread Vit Rozkovec
not be found. On 5.3.2014 16:48, Martin Grigorov wrote: Hi, This should work fine. Check that the .js file is properly packed in the .jar file next to NprogressBehavior.class. On Wed, Mar 5, 2014 at 5:41 PM, Vit Rozkovec rozkovec...@email.cz wrote: Hi, I came across interesting problem: I have

Re: 42lines wicket full calendar

2014-01-09 Thread Vit Rozkovec
Looking at github, there is already one pull request pending that seems to have the feature you need: https://github.com/42Lines/wicket-fullcalendar/pulls On 13.9.2012 10:04, Gytis wrote: Hello, Recently I started to use wicket-fullcalendar of 42lines. I`d like to ask is there any possibility

Re: How to localize options in drop down.

2013-10-09 Thread Vit Rozkovec
If you would be using Eclipse IDE you can use this: http://propedit.sourceforge.jp/index_en.html On 9.10.2013 10:45, cosmindumy wrote: Yes, Now they are unicode. Something like property.date=F\u00E4llig ab. But I want to use native characters in propery file as is easier to handle. -- View

Re: WicketTester with Atmosphere

2013-10-08 Thread Vit Rozkovec
Any hints, please? Vit On 6.10.2013 17:43, Vit Rozkovec wrote: How is it possible to unit test Wicket application that uses Atmosphere? When I run the application everything is ok, when testing, see excerpt of the stacktrace - org.apache.wicket.WicketRuntimeException

Re: WicketTester with Atmosphere

2013-10-08 Thread Vit Rozkovec
wrote: Did you include the atmosphere.xml configuration file and configured the AtmosphereServlet ? He asks about WicketTester+Atmosphere. François On Tue, Oct 8, 2013 at 11:26 AM, Vit Rozkovec rozkovec...@email.cz wrote: Any hints, please? Vit On 6.10.2013 17:43, Vit Rozkovec wrote

Re: WicketTester with Atmosphere

2013-10-08 Thread Vit Rozkovec
. François On Tue, Oct 8, 2013 at 11:26 AM, Vit Rozkovec rozkovec...@email.cz wrote: Any hints, please? Vit On 6.10.2013 17:43, Vit Rozkovec wrote: How is it possible to unit test Wicket application that uses Atmosphere? When I run the application everything is ok, when testing, see excerpt

Re: WicketTester with Atmosphere

2013-10-08 Thread Vit Rozkovec
, Oct 8, 2013 at 11:26 AM, Vit Rozkovec rozkovec...@email.cz wrote: Any hints, please? Vit On 6.10.2013 17:43, Vit Rozkovec wrote: How is it possible to unit test Wicket application that uses Atmosphere? When I run the application everything is ok, when testing, see excerpt

WicketTester with Atmosphere

2013-10-06 Thread Vit Rozkovec
How is it possible to unit test Wicket application that uses Atmosphere? When I run the application everything is ok, when testing, see excerpt of the stacktrace - org.apache.wicket.WicketRuntimeException: There is no Atmosphere BroadcasterFactory configured. Did you include the

Re: What is your setup for Rapid Application Development?

2013-04-26 Thread Vit Rozkovec
Hi, in past there was project Wicket Web Beans that we have used, but it is dead now. You could just pass an annotated bean object and form would be created for you. There were also components to list records along with basic CRUD operations. There is also one project - Wicketopia -

Wicketopia

2012-07-03 Thread Vit Rozkovec
Hi, is it still possible to use Wicketopia with wicket 1.4.x? What is the status of the project? It has not been updated for six months, does it need still some work? Thanks. - To unsubscribe, e-mail:

Migration from wicket 1.4.x

2012-07-03 Thread Vit Rozkovec
Hi, what is the best approach when migrating from wicket 1.4.x? Wait for stable 6.0 version and then start migration or migrate to 1.5.x version? All my projects now use 1.4.x with Hibernate via Databinder. I want to save myself the effort to do a double migration and would rather wait and

Re: UploadProgressBar alternative that supports Chrome and Safari?

2010-12-08 Thread Vit Rozkovec
Hi Žilvinas, would you mind to share some code how to wire this uploader to wicket? Thanks for the link. Vit On 12/08/2010 04:08 PM, Zilvinas Vilutis wrote: I use this AJAX uploader: http://valums.com/ajax-upload/ Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com

Re: DatePicker onblur

2010-03-10 Thread Vit Rozkovec
Hi, this may help you: I am using DateTextField from the package org.apache.wicket.datetime.markup.html.form; In the panel where I add this field, you can do: @Override protected void onBeforeRender() { super.onBeforeRender(); if (!hasBeenRendered()) {

Re: Setting selected value for DropDownChoice

2010-03-07 Thread Vit Rozkovec
Hallo, try something like this: ListCountry countryList = generalDAO.findAllCountries(); Country country = getSelectedCountryByISO3(141, countryList); inal DropDownChoiceCointry countryId = new DropDownChoiceCountry(countryId, new ModelCountry(country), countryList); add(countryId);

Re: Setting selected value for DropDownChoice

2010-03-07 Thread Vit Rozkovec
; } @Override public boolean equals(Object o) { if (o != null) { if (o instanceof Country) { return id == ((Country) o).getId(); } } return false; } } Weird. On Sun, Mar 7, 2010 at 7:05 PM, Vit Rozkovec rozkovec

Custom url generation

2010-02-16 Thread Vit Rozkovec
Dear friends in code, how would it be possible to make wicket work in a scenario like this: Standard generation of urls: http://www.mysite.com/site/user1/home http://www.mysite.com/site/user1/gallery http://www.mysite.com/site/user1/shop Virtual host aware generation of url:

Re: Wicket Release Plans for 1.5

2009-11-01 Thread Vit Rozkovec
+100 for that, I am looking forward to new url stuff. vitek Igor Vaynberg wrote: possibly. i think i would like this release to be as small as possible, centered around the new url stuff. once that is in release 1.5 and put the new ajax support from ng into 1.6. trying to release more and

Re: Proposal: Fake implementation of AjaxRequestTarget instead of null

2009-10-24 Thread Vit Rozkovec
In case of AjaxFallback components you would construct them anyway. Martin Grigorov wrote: I think he meant wasting CPU cycles for constructing your components which will be added to no-op ajaxrequesttarget then you'll have to make check like if (target instanceOf NullAjaxRequestTarget)

Mount different page for second parameter

2009-09-07 Thread Vit Rozkovec
Hallo, which encoding strategy should one use if one would like to achieve this: http://somesite/somepath/user1/products -- mounted on ProductsPage.class http://somesite/somepath/user1/profile -- mounted on ProfilePage.class http://somesite/somepath/user2/products -- mounted on

Re: UTF-8

2009-09-01 Thread Vit Rozkovec
In case you use Eclipse, there is an utility called Properties Editor http://propedit.sourceforge.jp/index_en.html Vit Olivier Bourgeois wrote: That's exactly what I said : I had to use XML properties files to have UTF-8 localized properties. You can't use simple properties format because

Re: Error filterStart -- how to know what caused tomcat start failure?

2009-05-30 Thread Vit Rozkovec
There are also other tomcat logs, have you looked into them? I found an cause of this error in other log, but I do not remember which one was that. Vitek David Chang wrote: I googled a lot but failed to find satisfactory answers. I just find a way to make tomcat to produce more error info

Re: DefaultDataTable: How to add a DDChoice to change rows per page

2009-04-26 Thread Vit Rozkovec
Hi, check this out: http://www.nabble.com/nice-small-component-to-share-Toolbar-for-DataTable-to16743136.html Vladimir Kovalyuk wrote: I would like to add some component, say DropDownChoice, to allow user to change default rows per page setting for data table. I've investigated two ways: 1)

Just a little thank you

2009-03-20 Thread Vit Rozkovec
Hallo, I just wanted to say a little thank you. I have a lot of gratitude towards people who made this framework and to the whole community. It is really pleasure to work with such nice and well thought framework, I really enjoy it. After spending some years with PHP, now, after a year and a

Re: What IDE best fits with Wicket?

2009-02-23 Thread Vit Rozkovec
But in the eclipse version 3.4 when renaming java file, WicketBench stopped renaming for me html and css files with the same name as the java file, which is a bit pity. Vitek Pierre Goupil wrote: +1, I like Wicket Bench. And with M2Eclipse, you have the full sources JavaDoc just by adding

Re: Plain IMG src urls

2009-01-19 Thread Vit Rozkovec
Try this: public class ExternalImage extends WebComponent { /** * Construct. * * @param id * @param url */ public ExternalImage(String id, String url) { this(id, new Model(url)); } /** * Construct. * * @param id * @param model */

Re: Plain IMG src urls

2009-01-19 Thread Vit Rozkovec
That was too easy :) Vit Rozkovec wrote: Try this: public class ExternalImage extends WebComponent { /** * Construct. * * @param id * @param url */ public ExternalImage(String id, String url) { this(id, new Model(url)); } /** * Construct

Re: Help,How to download all files in one folder ?

2009-01-12 Thread Vit Rozkovec
I would try to pack all the files to one archive and then download the archive. Vitek wch2001 wrote: Deal all, I need to download all files in one folder(for example: c:/dw/adsmart), How can I do ? Thanks a lot, Wu -

Re: Help,How to download all files in one folder ?

2009-01-12 Thread Vit Rozkovec
Sorry, but: http://letmegooglethatforyou.com/?q=java+zip+files Vitek wch2001 wrote: thanks , Pills. How can I zip it ? thanks Pills wrote: Zip them on the fly, then download the zip. wch2001 a écrit : in the folder: c:/cw/adsmart, there are 3 files: aa.txt, bb.txt, cc.txt,

Re: Help,How to download all files in one folder ?

2009-01-12 Thread Vit Rozkovec
You're welcome. Michael Sparer wrote: didn't know that one - thanks Vitek. now I know the answer to 90% of the questions I get asked everyday :-D Vit Rozkovec wrote: Sorry, but: http://letmegooglethatforyou.com/?q=java+zip+files Vitek wch2001 wrote: thanks , Pills. How can I zip

Re: PrototipBehaviour problems

2009-01-12 Thread Vit Rozkovec
You must include its javascript libraries: add(ScriptaculousAjaxBehavior.newJavascriptBindingBehavior()); you need to have a scriptaculous dependency in your project's pom.xml Vitek Ryan O'Hara wrote: I'm trying to use PrototipBehaviour. Below is my code: Link detailsLink = new Link(Sample,

Re: How to add cookies to WicketTester?

2008-11-28 Thread Vit Rozkovec
Hallo, I think it should work with one of those methods: public final Page startPage(final ITestPageSource testPageSource) public final Page startPage(final Page page) instead of wicketTester.startPage(FooPage.class); and also you should use wicket tester's request for adding cookies:

Re: controlling td colspan=? number with wicket?

2008-08-27 Thread Vit Rozkovec
Hallo, you can do with AttributeModifier or AttributeAppender. Vitek Sami wrote: Hello, I have been trying to control the colspan in a table but no luck :( any one has an example of how to do it? code: - tr td colspan=2a href=#

Send file from external page to wicket

2008-06-19 Thread Vit Rozkovec
Hallo, I have an applet, which is run on users computer. In this applet I scan some photo and describe it. I would like to send this foto along with the data to a wicket application. How should I do that? I thought of setting the form action parameter in the external non-wicket page to point

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-01 Thread Vit Rozkovec
1) Generifying* Wicket [X] Can best be done in a limited fashion, where we only generify IModel but not components. I care more about what generifying can do for API clarity (declaring a component to only accept certain models for instance) than static type checking. 2) How strongly do you

Re: Display a String when null

2008-05-05 Thread Vit Rozkovec
Hi! Maybe there is a better way, but I would do: add(new Label(country, new PropertyModel(this, ipLocationInfo.country) { @Override public Object getObject() { String country = (String) super.getObject(); country = country

Re: Problem with german error messages in feedback panel

2008-04-28 Thread Vit Rozkovec
: Hello, thank you. I converted the properties file with native2ascii and it works. Vit Rozkovec wrote: Hi, try to convert the property file with native2ascii tool. greeklinux wrote: Hello, I am using IDEA as IDE. I configured it to use UTF-8. Did I forget something

Re: make source jars part of wicket distribution

2008-04-22 Thread Vit Rozkovec
Please have a look at the maven repository, it is already there. http://repo1.maven.org/maven2/org/apache/wicket/wicket/ Regards Vitek Peter Ertl wrote: Dear wicket developers, could you make the wicket source jars part of the distribution (even when this means more megabytes)? Or maybe

Re: Wicket div component?

2008-04-16 Thread Vit Rozkovec
You can attach WebMarkupContainer to it. Vitek Michael Mehrle wrote: I need to create a div in my template that is being set to a different css class before it gets drawn. So, a regular non-wicket div HTML tag is out. How can I create a simple div tag without using a wicket panel? (I'm inside

how to get the war name wicket application is running from?

2008-04-07 Thread Vit Rozkovec
Hallo, is there a way how could you get a name of the WAR file the application is running from? I would like to do create the WAR once and then copy it multiple times under the different names to the container. By the name I would then decide what client is running the application and set the

Re: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Vit Rozkovec
Hallo, apparently you want to have a look at setEscapeModelStrings() and setRenderBodyOnly() methods of the Label. Vitek Alonso Sanchez, Daniel wrote: Hi again folks! Thanks for replying me to my first question, it wordked! If you don't remember, I asked about how to show feedback messages

Re: Binding application to another thred

2007-12-13 Thread Vit Rozkovec
Thank you, I will have a look at it. Vitek Eelco Hillenius wrote: Thanks. I just thought that there would be some correct way how to do it because as I read Application.set() is not part of public api. The correct way is not to do it *typically*. If you have a good reason, you can always

Re: Binding application to another thred

2007-12-02 Thread Vit Rozkovec
the transfer and update one shared field, which component with AjaxSelfUpdatingTimerBehavior uses. If any of you would know of better way how to solve this problem, I would be grateful to hear. Kind regards Vitek Eelco Hillenius wrote: On Nov 30, 2007 2:40 AM, Vit Rozkovec [EMAIL PROTECTED] wrote

Binding application to another thred

2007-11-30 Thread Vit Rozkovec
Good day, when I create new thread, what is the proper way of binding application to this new thread? Vitek - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Issue with Internationalization of Non ascii characters

2007-11-27 Thread Vit Rozkovec
If you're on Linux, I have made a little script for conversion, which finds all .properties files in current directory and subdirectories and encode them proper way: #!/bin/sh for file in $(find . -name *.properties); do native2ascii $file $file echo $file done You can find native2ascii

Re: dummy question, how to set wicket in Deloyment mode?

2007-10-23 Thread Vit Rozkovec
Or you can override it in your application to return the mode you want. @Override public String getConfigurationType() { return Application.DEVELOPMENT; // return Application.DEPLOYMENT; } Vitek raybristol wrote: dummy question, how to set wicket in Deloyment mode? There is a

Re: dummy question, how to set wicket in Deloyment mode?

2007-10-23 Thread Vit Rozkovec
You're all so fast :) Suad AlShamsi wrote: You can either override getConfigurationType() in the Application class @Override public String getConfigurationType() { return Application.DEPLOYMENT; } or you can set in in the web.xml init-param

Re: TabbedPanel with image tabs - how to contribute ?

2007-10-16 Thread Vit Rozkovec
That's great! I added to the article a different approach - custom image in every tab :) Regards Vitek Stefan Simik wrote: Thank you, I added new article: http://cwiki.apache.org/confluence/display/WICKET/Tabs+with+image but the last problem is, that I copied the article from one place to

Re: Wicket extension 1.3

2007-10-09 Thread Vit Rozkovec
Hi, the best way is to set up Maven and let it download all the required references. With maven, you can create quickstart project then and in its pom.xml add a dependency dependency groupIdorg.apache.wicket/groupId artifactIdwicket-extensions/artifactId

Re: TabbedPanel with image tabs

2007-10-07 Thread Vit Rozkovec
Thank you, I will have a look at it. Vitek Fabio Fioretti wrote: On 10/7/07, Erik van Oosten [EMAIL PROTECTED] wrote: You can override a method on TabbedPanel to create the component that is put in the tab. I can not look it up now, but can do so later if you want. The method you

TabbedPanel with image tabs

2007-10-06 Thread Vit Rozkovec
Good day, I would like to have a possibility to have a small image next to the text in tab in the TabbedPanel. How can I contribute this feature to Wicket? To have a constructor like public AbstractTab(IModel title, ResourceReference image)? Vitek

Re: Threading wicket

2007-10-04 Thread Vit Rozkovec
swaroop belur wrote: But mind u- that thread may not have references to stuff like ur session,application objects- they might be null. So you will have to first get the reqd stuff (any dependecies- say something from ur service layer for example) and then start the thread. -swaroop Would

Disabling of Wizard Cancel button

2007-10-02 Thread Vit Rozkovec
Hi, I am using wizard, its dynamic variant with DynamicWizardModel, DynamicWizardStep and IDynamicWizardStep. Would it be possible to add to wizard the possibility to also disable the cancel button? Or if I can do it somehow myself and get it to trunk, I will do, just tell me. I use wizard for

Re: Disabling of Wizard Cancel button

2007-10-02 Thread Vit Rozkovec
Ups, thanks, I forgot to delete it. Vit Ballist1c wrote: Hey Vit, umm you may want to create a new thread for this topic Ví­t Rozkovec wrote: Hi, I am using wizard, its dynamic variant with DynamicWizardModel, DynamicWizardStep and IDynamicWizardStep. Would it be possible to add to

Disabling of Wizard Cancel button

2007-10-02 Thread Vit Rozkovec
Hi, I am using wizard, its dynamic variant with DynamicWizardModel, DynamicWizardStep and IDynamicWizardStep. Would it be possible to add to wizard the possibility to also disable the cancel button? Or if I can do it somehow myself and get it to trunk, I will do, just tell me. I use wizard for

Re: Disabling of Wizard Cancel button

2007-10-02 Thread Vit Rozkovec
Thank you, I missed that. Vit Andrew Klochkov wrote: Hi! What about overriding IWizardModel.isCancelVisible() ? Vit Rozkovec wrote: Hi, I am using wizard, its dynamic variant with DynamicWizardModel, DynamicWizardStep and IDynamicWizardStep. Would it be possible to add to wizard

Disabling of Wizard Cancel button

2007-10-01 Thread Vit Rozkovec
Hi, I am using wizard, its dynamic variant with DynamicWizardModel, DynamicWizardStep and IDynamicWizardStep. Would it be possible to add to wizard the possibility to also disable the cancel button? Or if I can do it somehow myself and get it to trunk, I will do, just tell me. I use wizard for

Wicket Listeners

2007-09-27 Thread Vit Rozkovec
Hallo, I would like to achieve following functionality, how is it possible? I have an abstract panel with upload field in it. The panel is to be used as a form component. In the panel there is an abstract method processFile(FileUpload fileUpload) which I would like to get called everytime a

Re: ModalWindow bug - unable to close when added AjaxButton in content of the window

2007-09-20 Thread Vit Rozkovec
Knopp wrote: Are you sure your Form validates, when you click AjaxLink? Because otherwise the onSubmit is not invoked. Can you put a breakpoint in onSubmit? Also there is onError handler that is invoked when form validation fails. -Matej On 9/14/07, Vit Rozkovec [EMAIL PROTECTED] wrote: I am

ModalWindow bug - unable to close when added AjaxButton in content of the window

2007-09-13 Thread Vit Rozkovec
Good day, I am using last snapshot of wicket and there is a problem with modal window - I create instance of the window and add it to the page. As a content I use a panel which has these components: public class ModalConfirmationPanel extends Panel { public ModalConfirmationPanel(String

Re: ModalWindow bug - unable to close when added AjaxButton in content of the window

2007-09-13 Thread Vit Rozkovec
I am sorry, I could not replicate it in quickstart. The button works fine there. For now I solved the problem by replacing AjaxButtons with AjaxLinks. Vitek Matej Knopp wrote: Plase create a jira issue and attach a quickstart to it. Thanks. -Matej On 9/13/07, Vit Rozkovec [EMAIL PROTECTED

Re: Finishing wizard by pressing Enter

2007-09-12 Thread Vit Rozkovec
I checked the code out with svn, and run my project with last revision, however the behavior is still the same. In the Wizard.java method onBeforeRender() there is a condition if (buttonBar instanceof IDefaultButtonProvider){} which in my case never evaluates to true and so the form never gets

Re: Finishing wizard by pressing Enter

2007-09-12 Thread Vit Rozkovec
Eelco Hillenius wrote: On 9/12/07, Vit Rozkovec [EMAIL PROTECTED] wrote: I checked the code out with svn, and run my project with last revision, however the behavior is still the same. In the Wizard.java method onBeforeRender() there is a condition if (buttonBar instanceof

Re: Finishing wizard by pressing Enter

2007-09-12 Thread Vit Rozkovec
Eelco Hillenius wrote: On 9/12/07, Vit Rozkovec [EMAIL PROTECTED] wrote: Eelco Hillenius wrote: On 9/12/07, Vit Rozkovec [EMAIL PROTECTED] wrote: I checked the code out with svn, and run my project with last revision, however the behavior is still the same. In the Wizard.java

Re: Finishing wizard by pressing Enter

2007-09-12 Thread Vit Rozkovec
Eelco Hillenius wrote: As I said earlier, in Wizard.java's method protected void onBeforeRender() { super.onBeforeRender(); Component buttonBar = get(BUTTONS_ID); if (buttonBar instanceof IDefaultButtonProvider) { IFormSubmittingComponent