Re: setting the value of a radio input field

2009-02-11 Thread Thomas Mäder
Server side state as a performance problem is WAY overrated. If you're not working for Google, it's probably not a problem. That said: if your Web application has state it has state however much you may wish it were not so. The only way to remove that state is when you move it to the client. Then,

Re: Page composition question

2009-02-11 Thread Thomas Mäder
Hi Uwe, what is not clear is: are the detail info panels different for each of the 5 customer infos? Then you really would have 15 different html markups for the 5x3 panels? Or are the 3 panel kinds (special, detail, or additiional) always the same, but appear (or not) for the different customer

Tabbed Page

2009-02-11 Thread Daniel Ferreira Castro
Is it possible to have other tabbed pannels inside a tabbed panel? Imagine the example http://wicketstuff.org/wicket13/ajax/tabbed-panel.1 If I click on first tab, instead of showing This is tab-panel 1 it would show, or at least I would like to, show another tabbed panel with tabs and those

Re: Tabbed Page

2009-02-11 Thread Thomas Mäder
What's the problem? A TabbedPanel is a Panel, so you can return it from ITabl.getPanel(). Thomas On Wed, Feb 11, 2009 at 12:21 PM, Daniel Ferreira Castro dfcas...@gmail.com wrote: Is it possible to have other tabbed pannels inside a tabbed panel? Imagine the example

WicketServlet-filestore and FileNotFoundException

2009-02-11 Thread shetc
Hi All, I know this issue was discussed in some depth in: http://www.nabble.com/How-To-Change-Page-Store-Size-in-DiskPageStore--td13638411.html#a13644332 How To Change Page Store Size in DiskPageStore? but I'm still not clear as to the best practice. I have a Wicket-based application that was

How to place form in own public class for extending

2009-02-11 Thread pieter claassen
I am trying to move a form from an inner class that extends Form to a public class. This is so that I can override the onSubmit() method of my form. Below are my files. When I add the form to a wicket page with add(new TemplateEditForm(templateeditform, templatemodel)); and the corresponding

Re: How to handle this exception properly

2009-02-11 Thread Anton Veretennikov
Igor, Excuse me, but I really don't understand. I'm asking about how to show Wicket error page. I thought that throwing WicketRuntimeException will result in showing it. But I get SERVER error page. I attached an image to clarify matters. And error below is seen in Tomcat output, not in Wicket

Re: How to place form in own public class for extending

2009-02-11 Thread Ryan Gravener
I usually make a panel, add the form to the panel and write up the form in the panel's markup. http://wicketstuff.org/wicket13/signin/?wicket:bookmarkablePage=:org.apache.wicket.examples.signin.SignIn Ryan Gravener http://ryangravener.com/flex | http://twitter.com/ryangravener On Wed, Feb 11,

Wicket question

2009-02-11 Thread Malik786
I have made a tree and this is working fine but i am facing a problem when i want to click on the tree node so it doesnot work(expand).Can some one help me in this matter? Help me as soon as possible. Thanks in advance. import java.io.Serializable; import java.util.ArrayList; import

Intercepting Calls To Domain Setters For Dynamic Feedback

2009-02-11 Thread walnutmon
All, I am using a custom domain which handles errors by doing checks when setters are called. If there is a problem with the input it throws an exception. I would like to use this in our wicket page to display errors, I've been able to intercept errors as they come down from Form.process(),

inmethod grid and add/delete examples

2009-02-11 Thread Will Jaynes
I have just started to look at the inmethod datagrid in wicketstuff. The one thing that the examples don't show are how to add and delete items. Are there such examples somewhere? Will

Re: How to place form in own public class for extending

2009-02-11 Thread pieter claassen
But how do you then extend the form in the panel and more importantly, how do you override the onSubmit() method of that form? Cheers, Pieter On Wed, Feb 11, 2009 at 3:50 PM, Ryan Gravener r...@ryangravener.comwrote: I usually make a panel, add the form to the panel and write up the form in

Re: Problem with WebRequestCodingStrategy's and mobile phones

2009-02-11 Thread Igor Vaynberg
we would have to add it to almost all coding strategies because almost all of them use the colon. -igor On Tue, Feb 10, 2009 at 11:50 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Can one of the core devs add a note to the javadoc of UrlCompressingWebCodingStrategy to the effect of

Re: Page composition question

2009-02-11 Thread Igor Vaynberg
then simply change Panel to Fragment, and keep the entire html in one place. -igor On Wed, Feb 11, 2009 at 12:37 AM, uwe janner ujan...@googlemail.com wrote: thx igor! but i still cant see how i can define the subPanels. in facelets, in the parent i would have written: ui:include

Re: How to handle this exception properly

2009-02-11 Thread Igor Vaynberg
your attachment got stripped, but i can imagine what it looks like. all runtime exceptions, wicket or not, are handled in the same way - redirect to the error page. do you have a custom error page? if you do - if your error page has an error then what you describe might happen. -igor On Wed,

Re: How to place form in own public class for extending

2009-02-11 Thread Igor Vaynberg
what is the problem of having the form as an inner class? public class mypage extends webpage { private class myform extends form { ... } public mypage() { add(new myform(..) { protected void onsubmit() {...}}); } } -igor On Wed, Feb 11, 2009 at 6:40 AM, pieter claassen

Re: How to handle this exception properly

2009-02-11 Thread Anton Veretennikov
I don't have custom error page. Link to image: http://img3.imageshack.us/img3/2244/bb476f8ece2116133419587ba3.gif On Wed, Feb 11, 2009 at 10:22 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: your attachment got stripped, but i can imagine what it looks like. all runtime exceptions, wicket

Re: Problem with multiple AjaxLazyLoadPanel and DynamicImageResource

2009-02-11 Thread Felix Cachaldora
I am also stuck in the same situation. I have a page with several AjaxLazyLoadPanels(ALLP) with one of them loading a DynamicImageResource. If the ALLP contaning the DynamicImageResource gets loaded before some of the other ALLP the remaining ones do not load. It's like if that ALLP (the one with

how to give static pages consistant look with wicket - partial repeat

2009-02-11 Thread Vika
I am looking at wicket trying to decide if i would want to use it for my project. Currently I am struggling trying to give static and dynamic pages consistent look with wicket without using sitemesh. I was able to get wicket application to direct all static page requests to my wicket StaticPage

Re: How to place form in own public class for extending

2009-02-11 Thread pieter claassen
What if you want to reuse the inner class form in another page (you have to make it public and non-inner for visibility) and then you want to override the onSubmit() method. If I just create a public class MyForm and stick the form contents (minus the form tags) in MyForm.html, then wicket cannot

Re: How to handle this exception properly

2009-02-11 Thread Cristiano Kliemann
The problem is that you are calling getResponse().getOutputStream(), which invokes getOutputSteam from the http servlet response. After handling your request, Wicket calls getWriter from the same response. From the ServletResponse.getOutputStream Javadoc: Either this method or

RE: Inconsistent Model Binding on Form Submit

2009-02-11 Thread Dane Laverty
That's a good consideration. However, the error logs show that the error does not appear to be browser dependent. It occurs with Firefox, Safari, and IE. I just checked it by hitting Enter rather than clicking the Submit button, but that doesn't appear to change anything. -Original

Intellij Idea Plugin Bounty

2009-02-11 Thread Matt Welch
I use Intellij Idea for my Java development. In fact, that IDE is one of the main reasons I so often come back to using Java for many of my projects. I also use Wicket and am starting to work with it a lot more than I have in the past. While Wicket and Idea get along reasonably well, there's a

Re: Problem with multiple AjaxLazyLoadPanel and DynamicImageResource

2009-02-11 Thread Igor Vaynberg
try calling image.setversioned(false) -igor On Wed, Feb 11, 2009 at 8:29 AM, Felix Cachaldora inffc...@gmail.com wrote: I am also stuck in the same situation. I have a page with several AjaxLazyLoadPanels(ALLP) with one of them loading a DynamicImageResource. If the ALLP contaning the

Re: how to give static pages consistant look with wicket - partial repeat

2009-02-11 Thread Igor Vaynberg
all you have to do is this: mount(new indexedparamcodingstrategy(/static, StaticPage.class)); class staticpage extends MyBasePageWithDecoratingMarkup { private final String resource; public staticpage(PageParameters params) { resource=params.get(0); add(new Label(content, new

Re: WicketServlet-filestore and FileNotFoundException

2009-02-11 Thread Matej Knopp
Hi, do you actually have leaking files in the store? Because this looks like wicket tries to create file in folder that has already been removed. How often do you get these? Is it reproduceable? -Matej On Wed, Feb 11, 2009 at 3:05 PM, shetc sh...@bellsouth.net wrote: Hi All, I know this

Re: How to place form in own public class for extending

2009-02-11 Thread Igor Vaynberg
On Wed, Feb 11, 2009 at 8:52 AM, pieter claassen pieter.claas...@gmail.com wrote: What if you want to reuse the inner class form in another page (you have to make it public and non-inner for visibility) and then you want to override the onSubmit() method. If I just create a public class MyForm

Feedback Next To Component

2009-02-11 Thread walnutmon
In order to add feedback next to the component I used a behavior. I had some code from Igor which got me on the right track, although I was unable to actually get it to work the same way, I simplified it down to the following code: AbstractBehavior printMessagesNextToComponent = new

LinkTree with BookmarkablePageLinks

2009-02-11 Thread Seven Corners
I have a LinkTree with BookmarkablePageLinks, wherein the nodes correspond to different types of objects. The models within the nodes tell me what kind of page I need to instantiate, with what parameters. I had some troubles implementing it, but I got it working. Since this kind of pattern is

Re: WicketServlet-filestore and FileNotFoundException

2009-02-11 Thread shetc
Hi Matej, Thanks for responding! I spent more time looking into this issue. I have checked into 2 environments so far including: 1) WebSphere 6.1 running as my local host on my laptop and 2) as a single node within our development environment. In both cases, Wicket works correctly creating and

Re: Feedback Next To Component

2009-02-11 Thread Jonathan Locke
behaviors aren't really designed to work like components and render markup like that, so it's a bit weird... what if you want to go extend or change the markup for the feedback error? it's now embedded in a bunch of code. walnutmon wrote: In order to add feedback next to the component I

Re: Intellij Idea Plugin Bounty

2009-02-11 Thread Nick Heudecker
Hi Matt, I'm sorry the IDEA plugin doesn't meet your needs. I've wanted to implement several of the features you mention, but like everyone else my time is severely limited. That said, WicketForge is open source. I'm happy to accept patches or even turn the project over to someone else. On

Re: Very Simple Security

2009-02-11 Thread Maarten Bosteels
I just had a quick look at wicket-auth-roles. And I like its simplicity. On Wed, Jan 14, 2009 at 5:28 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: You could use wicket-auth-roles. Can't think of anything more simpler: it provides two roles: user and admin. Based on my brief look

Re: Intellij Idea Plugin Bounty

2009-02-11 Thread Matt Welch
I hope I didn't give the wrong impression. I really appreciate the work you've done and looking at the code, it's a heck of a lot of work. If I hadn't tried wicketforge and saw the potential there I never would have been so motivated to start this process. I just didn't want to be that guy who

Re: Intellij Idea Plugin Bounty

2009-02-11 Thread Maarten Bosteels
Hi, I think WicketForge is already VERY nice. About your wishlist: 1) is already implemented in WicketForge 2) and 3) : I have no idea 4) and 5) can be solved by changing the DTD that IDEA uses for validating (x)html. A few months ago I experimented a bit with that DTD and I could make the

Re: Intellij Idea Plugin Bounty

2009-02-11 Thread Nick Heudecker
No, not at all and I completely understand your frustration from the user perspective. I imagine it's very similar to mine when I try to deal with the IDEA plugin API. :) Let me see what I can put together over the next few days. On Wed, Feb 11, 2009 at 1:52 PM, Matt Welch matt...@welchkin.net

ApacheCon EU 2009 early bird registration still available!

2009-02-11 Thread Martijn Dashorst
ApacheCon EU 2009 registration is now open! 23-27 March -- Mövenpick Hotel, Amsterdam, Netherlands http://www.eu.apachecon.com/ Registration for ApacheCon Europe 2009 is now open - act before early bird prices expire 13 February. Remember to book a room at the

Re: Graphs, Charts and Wicket

2009-02-11 Thread PY
The javascript is done in the SWFObject. To make it work in a Ajax request you need to add : if (AjaxRequestTarget.get() != null){ AjaxRequestTarget.get().appendJavascript(js); } where js is the javascript generated . This will make evaluate the javascript

Wicket at ApacheCon EU'09 in Amsterdam

2009-02-11 Thread Martijn Dashorst
We're happy to announce a lot of Wicket involvement at the upcoming ApacheCon in Amsterdam (23-27 March 2009) First of all we have 2 training sessions available: - Introduction to Wicket by Martijn Dashorst on Mon 23 March (http://tinyurl.com/aceu09wicket1) - Behavior-Driving Your Apache Wicket

Re: Servlet container authentication in Wicket

2009-02-11 Thread Philipp Daumke
Hi, I had a look at that specification but it doesn't give any more hints how to use it. Does somebody have any more working examples? Or is there a tutorial how to connect wicket to the local LDAP? Thanks for your help. Philipp j_security_check is part of the Servlet Specification section

Wicket meetup in Amsterdam news

2009-02-11 Thread Martijn Dashorst
During ApacheCon EU 2009 we can fill a 3 hour slot in the evening with a real Wicket community meetup. The meetup will be hosted in the conference hotel, from 19:00 until 22:00, in one of the conference rooms available on either 23 or 24 March. The conference is held in Amsterdam, the Netherlands,

Interacting with Client Side java application

2009-02-11 Thread jsinger66
Hi I am developing a Wicket application that needs to interface with a client side java application. The client app is a biometric application that captures fingerprint images. It is non-graphical. What I need to do now, is show this fingerprint image within a wicket form and capture other user

Re: Servlet container authentication in Wicket

2009-02-11 Thread Cserep Janos
I had a look at that specification but it doesn't give any more hints how to use it. Does somebody have any more working examples? Or is there a tutorial how to connect wicket to the local LDAP? I often skip the container and initiate a direct connection to LDAP (usually AD) via JNDI (this

Re: WicketForge 0.5.0 Available for IDEA 8

2009-02-11 Thread Nick Heudecker
I've published WicketForge 0.5.1 to the IDEA plugins site. - Toggling between HTML and Java is fixed. Let me know if you're still having problems with the cursor ending up at the correct location. It's work correctly here but your results may vary. - The intentions are also fixed.

Re: WicketForge 0.5.0 Available for IDEA 8

2009-02-11 Thread Andreas Petersson
Nick Heudecker schrieb: I've published WicketForge 0.5.1 to the IDEA plugins site. - Toggling between HTML and Java is fixed. Let me know if you're still having problems with the cursor ending up at the correct location. It's work correctly here but your results may vary. - The

Re: WicketForge 0.5.0 Available for IDEA 8

2009-02-11 Thread Nick Heudecker
great news! i have been looking forward to this :) thanks a lot for your hard work. small suggestion though: there should be a short descriptions of the funtionality in the plugin description, i did not know about half of the features until now. If nobody knows about the features, they

Re: Using converters properly in Wicket?

2009-02-11 Thread Martin Makundi
as long as there are no sets you can run concurrent reads on the hashmap. and since the setters are only called when the application is initialized we are ok. Ok. So if one was to add converters 'on the fly', one must be careful. Like I do with the ParametrizedConverterLocator (because I do

Re: Testing DataView

2009-02-11 Thread Timo Rantalaiho
On Sun, 08 Feb 2009, Erick Fleming wrote: I know Wicket likes everything to be serializable so does this mean that mocking frameworks are not compatible by default? By the way, I've heard from my Scala-using colleagues that some Scala versions have had trouble in serialising some inner

Re: WicketForge 0.5.0 Available for IDEA 8

2009-02-11 Thread Matt Welch
Perhaps I'm missing it, but I can't seem to get the intentions to work. So if I have: public class MyPage extends WebPage { } and the cursor is somewhere on MyPage I should be able to activate these intentions? The only intentions I'm seeing now are the built in Idea ones. Everything else,

Re: Testing DataView

2009-02-11 Thread Jan Kriesten
Hi, By the way, I've heard from my Scala-using colleagues that some Scala versions have had trouble in serialising some inner classes. that should work with Scala 2.7.2 - in the current version it's broken if inheriting serializable from Java classes. It's already fixed and should be ok

Re: WicketForge 0.5.0 Available for IDEA 8

2009-02-11 Thread Nick Heudecker
Make sure the intentions are enabled on the Settings dialog. Other than that it should be working. What's your IDEA version? On Wed, Feb 11, 2009 at 9:35 PM, Matt Welch matt...@welchkin.net wrote: Perhaps I'm missing it, but I can't seem to get the intentions to work. So if I have:

question about adding synchronized on mountsOnPath at WebRequestCodingStrategy

2009-02-11 Thread ywtsang
at 1.3.5 class: org.apache.wicket.protocol.http.request.WebRequestCodingStrategy method: urlCodingStrategyForPath the variable mountsOnPath is synchronized is this necessary? because the WebRequestCodingStrategy is initialized once by request cycle processor, which in turns is shared by all

Re: How to handle this exception properly

2009-02-11 Thread Anton Veretennikov
Thank you all for usefull tips! -- Tony On Thu, Feb 12, 2009 at 1:51 AM, walnutmon justin.m.boy...@gmail.com wrote: getApplicationSettings().setInternalErrorPage(UniversalErrorPage.class); getExceptionSettings().setUnexpectedExceptionDisplay(IExceptionSettings.SHOW_INTERNAL_ERROR_PAGE);

FormTester selectMultiple CheckBoxMultipleChoice help

2009-02-11 Thread ray bon
I am trying to test the case where a user is changing the set of checked options for a CheckBoxMultipleChoice. When using FormTester.selectMultiple the new values are added rather than replacing the existing values. e.g. first pass: formTester.selectMultiple(checkboxMultipleChoice, new int {0,