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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
-
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,
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
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,
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
*/
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
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
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
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=#
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
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
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)
+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
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)
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
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:
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);
;
}
@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
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())
{
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
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:
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
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 -
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
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
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
.
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
, 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
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
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
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]
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
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
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
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
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
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
:
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
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
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
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
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
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,
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
, 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
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
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
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
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(),
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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:
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
But I'm not sure where to put the following parts
Session sess = sessionFactory.openSession();
ManagedSessionContext.bind(sess);
This is done in some utility method when you retrieve the session for
the first time in the request.
You should also check if the session is already bound by
Hi,
I'm currently using Hibernate without Spring and what you want to
achieve can be done in several steps:
- prepare your org.hibernate.cfg.Configuration
- set Configuration's property:
config.setProperty("hibernate.current_session_context_class", "managed");
- get SessionFactory by caling
rg/apache/wicket/Application.java#L569
Best Regards
James Pollard
james.poll...@iinet.net.au
On 27/12/22 8:23 am, Vit Rozkovec wrote:
But I'm not sure where to put the following parts
Session sess = sessionFactory.openSession();
ManagedSessionContext.bind(sess);
This is done in some utility method w
90 matches
Mail list logo