Re: Apache Wicket is a Flawed Framework

2011-11-22 Thread Eelco Hillenius
@Alex Objelean Igor Vanyberg-2 Yea, my bad on just posting something up here without looking at any previous posts.  Look, it was my rant and how I felt about things at the time.  Nothing personal.  This was actually the clean version for public consumption.  It was probably still too rude

Re: Apache Wicket is a Flawed Framework

2011-11-22 Thread Gaetan Zoritchak
I didn't have a look one the wicket books for quite while. Good you told us. I orderered yours yesterday on Amazon. :) 2011/11/18 Igor Vaynberg igor.vaynb...@gmail.com * there are three books written about wicket: two for beginners and one for intermediate-advanced users. * there is a

Re: Apache Wicket is a Flawed Framework

2011-11-22 Thread Gaetan Zoritchak
Super cool list, thanks a lot. 2011/11/18 robert.mcguinness robert.mcguinness@gmail.com i'm baffled when people say the documentation is poor, the javadocs are excellent and like igor said there are some great books (blogs too!). books and blogs get outdated fast since technlogy is

Creating Folder within the webapps folder.

2011-11-22 Thread crackAT
Hy guys, I need help. I want to create a folder within the webapps folder so that user can upload pics in it. The default Pics of the wicket java application will be loaded via ResourceReference. Is there a way to create new resource folder with ResourceReference? Thanks for help. -- View

Re: Chained dropdowns

2011-11-22 Thread Tito
Let me use the real situation: Client 1--* Account 1--* Context 1--* Schedule Here is the code simplified as much I can. If you think I have to add something else just tell me: public class AssignationPanel extends Panel { @SpringBean private WSServicesIF services; private IModelListString

Re: Creating Folder within the webapps folder.

2011-11-22 Thread Martijn Dashorst
This is a bad idea: when you redeploy your application, boom: gone are the images. Store the images in a separate folder *OUTSIDE* your webapp/container. Martijn On Tue, Nov 22, 2011 at 10:22 AM, crackAT manfred.kram...@everyone.at wrote: Hy guys, I need help. I want to create a folder within

AJAX update and file download on Wicket 1.5

2011-11-22 Thread Jordi Deu-Pons
Hi, I want to do an AJAX update and then start a file download. I've found this solution for Wicket 1.4.x https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html This is not working on Wicket 1.5 because this deprecated code: public void onRequest() {

Re: Creating Folder within the webapps folder.

2011-11-22 Thread crackAT
I did it outside. but the problem is, that wicket is using for every pic the resourcereference and not only for the application pics. The application pics will be loaded and i can see them but the userpics which are saved outside the webbapps folder won't be loaded. Wicket is writing

Re: Radio button selection

2011-11-22 Thread Tito
I think I can give you another option based on Alexander's code. I added comments to explain how does it works. I didn't test it but If you have any problem just tell me: // model that indicates if I have to show the textfield final IModelBoolean yesNoState = new ModelBoolean(); // this is

Re: Creating Folder within the webapps folder.

2011-11-22 Thread Vytautas R.
Hi, 1. I guess you need to extend org.apache.wicket.request.resource. DynamicImageResource. (for example, http://code.google.com/p/xaloon/source/browse/trunk/xaloon-wicket/xaloon-wicket-components/src/main/java/org/xaloon/wicket/component/resource/FileResource.java ) Then you should be able to

Re: AJAX update and file download on Wicket 1.5

2011-11-22 Thread Martin Grigorov
On Tue, Nov 22, 2011 at 1:13 PM, Jordi Deu-Pons jo...@jordeu.net wrote: Hi,  I want to do an AJAX update and then start a file download.  I've found this solution for Wicket 1.4.x https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html  This is not working on Wicket

Re: AJAX update and file download on Wicket 1.5

2011-11-22 Thread Ernesto Reinaldo Barreiro
Jordi, Can you please update the wiki page with Martins suggestion for 1.5.x? Regards, Ernesto On Tue, Nov 22, 2011 at 1:11 PM, Martin Grigorov mgrigo...@apache.org wrote: On Tue, Nov 22, 2011 at 1:13 PM, Jordi Deu-Pons jo...@jordeu.net wrote: Hi,  I want to do an AJAX update and then

Re: AJAX update and file download on Wicket 1.5

2011-11-22 Thread Jordi Deu-Pons
Ok, I'll test this solution and update the wiki. Thanks. On Tue, Nov 22, 2011 at 1:17 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Jordi, Can you please update the wiki page with Martins suggestion for 1.5.x? Regards, Ernesto On Tue, Nov 22, 2011 at 1:11 PM, Martin

Re: Can't Reset Form After DropDownChoice OnChange Handled

2011-11-22 Thread Richard W. Adams
Not sure what you mean, exactly. The only alternative I can see it to keep an original copy of the form model (assuming there IS a single) model, then add an onclick handler() to the reset button, then go back to the server, overwrite the current model with the original model, then add the

Re: Can't Reset Form After DropDownChoice OnChange Handled

2011-11-22 Thread Richard W. Adams
Unless I misunderstand, this would erase the entire form, rather than reset the form fields to their original values. ??? From: Martin Grigorov mgrigo...@apache.org To: users@wicket.apache.org Date: 11/22/2011 01:15 AM Subject:Re: Can't Reset Form After DropDownChoice OnChange

Re: Can't Reset Form After DropDownChoice OnChange Handled

2011-11-22 Thread Martin Grigorov
On Tue, Nov 22, 2011 at 3:17 PM, Richard W. Adams rwada...@up.com wrote: Unless I misunderstand, this would erase the entire form, rather than reset the form fields to their original values. ??? Do whatever is the best for your logic. If this is a create form then use empty Entity. Whatever

London Apache Wicket Training, December 15-16

2011-11-22 Thread Cemal Bayramoglu
Our next scheduled/public London Apache Wicket Training [1] course is scheduled for December 15-16, 2011. Check availability and book online [2]. Regards - Cemal jWeekend Training, Consulting, Development http://jWeekend.com [1] http://jweekend.com/dev/JW703 [2]

Putting together two seperate wicket projects into a multi-module maven project

2011-11-22 Thread Sameer Patil
Hi, I have created 2 separate wicket web projects. Now i want put them together in multi-module maven project and put the dependency as required. Will it give problem when i have have 2 web-inf folders. Example Project A has web-inf and web.xml etc. Project B also has web-inf and web.xml etc.

Re: Radio button selection

2011-11-22 Thread Alexander Morozov
Check quickstart app http://apache-wicket.1842946.n4.nabble.com/file/n4096248/myproject.zip myproject.zip Hope it helps :) - -- http://www.linkedin.com/in/amorozov -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Radio-button-selection-tp4085827p4096248.html

Re: ValidationForm.addPropertyValidators sometimes looks for child properties in parent's model

2011-11-22 Thread Igor Vaynberg
its very hard to figure out problems like this without having running code. you can either create a quickstart with a failing testcase, or even better make a pull request on github that will add the failing testcase directly into the codebase. thanks, -igor On Mon, Nov 21, 2011 at 12:34 PM,

Re: Putting together two seperate wicket projects into a multi-module maven project

2011-11-22 Thread Sven Meier
You can use maven war overlays. But it would be much easier if your two projects would be packaged as jar only. With Wicket there's hardly a reason to require project specific web.xml files in A and B. Sven Am 22.11.2011 16:52, schrieb Sameer Patil: Hi, I have created 2 separate wicket web

Re: Radio button selection

2011-11-22 Thread ridaa
Hey Alex Your sample app was quite helpful...Thanx alot -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Radio-button-selection-tp4085827p4096389.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Radio button selection

2011-11-22 Thread ridaa
Tito, Thank you for the clarification.It was a great help. Regards. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Radio-button-selection-tp4085827p4096406.html Sent from the Users forum mailing list archive at Nabble.com.

Re: unable to open modal window

2011-11-22 Thread Igor Vaynberg
you have an error in some javascript you included... -igor On Tue, Nov 22, 2011 at 4:15 AM, sri357 s.srilat...@gmail.com wrote: When i click on a link ,it should open a modal window according to the code, but delegate cals are made and no modal window is getting opened. Following error is

Page serialization problem with wicket 1.5?

2011-11-22 Thread Gabriel Landon
Hi, There seems to have page data that are not correctly unserialized with wicket 1.5.x. I have done a quickstart application to show you the problem with a ModalWindow using a page (not a panel) : http://apache-wicket.1842946.n4.nabble.com/file/n4097909/myproject.zip myproject.zip How to

How to test just a panel using apache wicket?

2011-11-22 Thread sudeivas
Hello, In our project, we have some panels and we embed those panels dynamically to pages. public class DoublePanel extends Panel { public DoublePanel(String id, Panel leftPanel, Panel rightPanel) { . } } I am not sure how to write unit test just for this class without a webpage.

Re: How to test just a panel using apache wicket?

2011-11-22 Thread sudeivas
Additional Information: Using Apache-Wicket - 1.5.3 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-test-just-a-panel-using-apache-wicket-tp4097990p4097993.html Sent from the Users forum mailing list archive at Nabble.com.

Re: How to test just a panel using apache wicket?

2011-11-22 Thread Igor Vaynberg
create a simple page that acts as a wrapper for the panel (as an inner class of the test perhaps) and use that to test -igor On Tue, Nov 22, 2011 at 4:11 PM, sudeivas sureshkumar@gmail.com wrote: Additional Information: Using Apache-Wicket - 1.5.3 -- View this message in context:

Re: How to test just a panel using apache wicket?

2011-11-22 Thread sudeivas
I did try something like this, public class DoublePanelTest { private WicketTester tester; private class TestPage extends WebPage { private static final long serialVersionUID = 1L; public TestPage() { super(); add(new DoublePanel(double,

Re: How to test just a panel using apache wicket?

2011-11-22 Thread Igor Vaynberg
open a jira and attach the testcase.. -igor On Tue, Nov 22, 2011 at 4:40 PM, sudeivas sureshkumar@gmail.com wrote: I did try something like this, public class DoublePanelTest {    private WicketTester tester;    private class TestPage extends WebPage {        private static final long