Re: Have a feature, want to contribute

2009-03-16 Thread Marat Radchenko
Sorry, was busy at work last week. Please find attached sources and jar with compiled classes. Usage is extremely simple: add ru.pronto.wicketextras.StatelessChecker to postComponentOnBeforeRenderListener list and add @StatelessComponent to any components you want to guarantee be stateless. If

RE: Wicket Application bypassing- Internet Explorer file downloads over SSL do not work with the cache control h eaders‏

2009-03-16 Thread Anirban Basak
Use Apache HTTPD for handling external components. Alternatively you may use httpd as web server and delegate incoming requests (for wicket app!) to app server via AJP. HTPD provides great control over response (setting cache control in your case!). I always prefer HTTPD mounted external contents

IMarkupCacheKeyProvider - getCacheKey Problem

2009-03-16 Thread Karen Schaper
Hi All, I have a wicket class that extends from WebPage and implements IMarkupResourceStreamProvider, IMarkupCacheKeyProvider I am now using wicket 1.4rc2. I DO NOT want the markup cached. The page actually creates a variety of markup so it can be different each time. From

Re: IMarkupCacheKeyProvider - getCacheKey Problem

2009-03-16 Thread Eelco Hillenius
I don't remember the details from the top of my head, but there should be an example at Wicket examples that shows you how to effectively disable caching. Eelco On Sun, Mar 15, 2009 at 4:00 PM, Karen Schaper karen.scha...@gmail.com wrote: Hi All, I have a wicket class that extends from

Re: How NOT TO Cache Markup - Markup Dynamically created

2009-03-16 Thread Eelco Hillenius
it said that if I returned null from getCacheKey that the markup would not be cached. When I do this I get into a loop and it keeps trying to get the markup over and over again. Did you check the markup can be loaded at all? Eelco

Re: How to put wicket link in existing page

2009-03-16 Thread Martijn Dashorst
why one page? Use markup inheritance to define the different part of a and b. use wicket:link to link between the two pages. base.html html .. shared markup between a and b wicket:link ul lia href=A.htmlA/a/li lia href=B.htmlB/a/li /ul /wicket:link wicket:child / .. shared markup between

Re: How to put wicket link in existing page

2009-03-16 Thread Ista Pouss
2009/3/16 Martijn Dashorst martijn.dasho...@gmail.com: why one page? Use markup inheritance to define the different part of a and b. use wicket:link to link between the two pages. Thanks for your help. - I speek about A and B.html, but I don't know how many .html is there. I have only a

Re: Repeater View Examples are broken

2009-03-16 Thread Jason Rosenberg
There still appears to be an issue with this repeater example It runs ok when I download and build the wicket-examples project, but the one deployed on the public examples site is broken... Get Internal Error. Jason msc65jap wrote: I have noticed that there is an internal server

Re: setRowsPerPage with AjaxFallbackDefaultDataTable

2009-03-16 Thread Linda van der Pal
When you hide the top bar, do you also set setOutputMarkupPlaceholderTag to true? (If not, the Ajax-code can't find the component anymore.) Linda Anton Veretennikov wrote: Good day! My impression about AjaxFallbackDefaultDataTable is - fantastic! Thank you, Igor! I'm implementing small Ajax

Re: setRowsPerPage with AjaxFallbackDefaultDataTable

2009-03-16 Thread Anton Veretennikov
Thank you, Linda. I don't hide it. It hides itself. I suppose it must show itself again if rowsCount rowsPerPage. -- Tony. On Mon, Mar 16, 2009 at 3:51 PM, Linda van der Pal lvd...@heritageagenturen.nl wrote: When you hide the top bar, do you also set setOutputMarkupPlaceholderTag to true?

Override ResourceModel

2009-03-16 Thread alexander.elsholz
Hi, i want to append some static code, after calling ressourcemodel.getobject to the localized String. so i override this method, but i think this method was never called - why? is there an other opprtunity to append some static code after localization? thanks alex -- View this message in

Re: Have a feature, want to contribute

2009-03-16 Thread Gwyn Evans
Created https://issues.apache.org/jira/browse/WICKET-2170 to track /Gwyn On Mon, Mar 16, 2009 at 7:11 AM, Marat Radchenko slonopotamusor...@gmail.com wrote: Sorry, was busy at work last week. Please find attached sources and jar with compiled classes. Usage is extremely simple: add

Re: setRowsPerPage with AjaxFallbackDefaultDataTable

2009-03-16 Thread Linda van der Pal
Hmm, is the topbar a separate component? If so you'll simply have to add it to the target as well. Anton Veretennikov wrote: Thank you, Linda. I don't hide it. It hides itself. I suppose it must show itself again if rowsCount rowsPerPage. -- Tony. On Mon, Mar 16, 2009 at 3:51 PM, Linda van

Re: Base64UrlSafe violating RFC 3548?

2009-03-16 Thread Jonas
https://issues.apache.org/jira/browse/WICKET-2171 On Fri, Mar 13, 2009 at 3:45 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: feel free to file a bug report. -igor On Fri, Mar 13, 2009 at 1:28 AM, Jonas barney...@gmail.com wrote: Hi, I recently stumbled across Base64UrlSafe, which

Re: setRowsPerPage with AjaxFallbackDefaultDataTable

2009-03-16 Thread Anton Veretennikov
It is AjaxFallbackDefaultDataTable from wicket-extensions 1.4-SNAPSHOT. Table refreshes fully with toolbar inside it, table has id of course. NavigationToolbar (base for AjaxNavigationToolbar) seems to have @Override protected void onBeforeRender() {

Global resources

2009-03-16 Thread jensiator
Hi Im suspecting that there is a very easy solution for my problem this time. I got to define som global string resources. I allready have a MyApplication.xml where I store them. Our application is going to be big so I need a way to splitt the properties in differents xml files in the future.

AutoCompleteTextField with panels

2009-03-16 Thread Tim Squires
Hi, Does anyone know if AutoCompleteTextField can be used with Panels in the generated list instead of just the String[]? Thanks, Tim - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

Re: How NOT TO Cache Markup - Markup Dynamically created

2009-03-16 Thread James Carman
You must not be doing something correctly. I implemented a ClientSideImageMap recently (https://issues.apache.org/jira/browse/WICKET-1936) and I generate my own markup with that. You can see my code in the attached patch for inspiration. Hope that helps. On Sun, Mar 15, 2009 at 7:47 PM,

NullPointerException when starting Wicket Bench

2009-03-16 Thread Jonas Vingis
Hallo, I am still new in working with eclipse, I have no idea what cause this Problem. I am trying write Wicket application and would like to use „wicket bench“ plugin. The current version of my eclipse is 3.4.0, „wicket bench“ 0.5.1, JDK 1.6.0. In „Editors“-“File Associations“ I have set

Re: encoding issue on ajax form post (portlet)

2009-03-16 Thread Francisco Diaz Trepat - gmail
Aha. Thanks eike. I'll try it right away. On Sat, Mar 14, 2009 at 4:10 PM, Eike Kettner n...@eknet.org wrote: Hi Francisco, i ran into a similiar problem with ajax and umlauts. in my case i had a tomcat running the webapp. and for the ajax requests, i had to configure the tomcat connector

Re: NullPointerException when starting Wicket Bench

2009-03-16 Thread Brill Pappin
I think Wicket Bench is a 3rd party plugin and not specifically associated with the Wicket development effort. I think you issue is related to the version of eclipse you are using (I have trouble with it too). I've been thinking of porting the code since its open and fixing it up, but I

GoAndClearFiler not clearing correctly

2009-03-16 Thread Stephan Koch
Hi all, I use a GoAndClearFilter with a FilterToolbar and DataTable. The table contains several ChoiceFilteredPropertyColumns and TextFilteredPropertyColumns. When the user filters using the dropdowns and then clicks the clear button, the page refreshes but the filter state remains the same.

Updating the model of PasswordTextField

2009-03-16 Thread vela
Hello, I have a PasswordTextField , AjaxFallbackLink, and some text field. On click of the AjaxFallback, i am able to reset the content of the other text files using setModelObject(values). But when i try to setModelObject for the PasswordTextField, it is not reflecting in the PasswordTextField.

Re: IMarkupCacheKeyProvider - getCacheKey Problem

2009-03-16 Thread Karen Schaper
Eelco Hillenius wrote: I don't remember the details from the top of my head, but there should be an example at Wicket examples that shows you how to effectively disable caching. Yes I found the customresourceloading example and I am doing what it saysbut it gets into a loop and keeps

modal window behaving different

2009-03-16 Thread miro
I am trying to use modalwindow and it behaves different this is how my modal window comes up please help me what is wrong http://www.nabble.com/file/p22539829/wicket-modal-window.gif -- View this message in context:

PageParameters with String array question

2009-03-16 Thread Brad Fritz
While using the keyValuePairs constructor of PageParameters, I ran into some unexpected behavior. Is the following a bug or feature? // specify three comma delimited values for the a parameters PageParameters parameters = new PageParameters(a=1,a=2,a=3); String[] a =

Newbie asking for pointers

2009-03-16 Thread Istvan Farkas
Hello all, I am in a process of learning Wicket - great framework, I am super happy so far. We will develop a small website soon, and there is a feature which I don't know how to implement properly yet - maybe it is because the lack of experience on my behalf. So I would like to ask for some

Re: NullPointerException when starting Wicket Bench

2009-03-16 Thread Jonas Vingis
I have just testet with eclipse 3.3 there comes exactly the same Exception, maybe  it  is  just Wicket Bench 0.5.0 issue ? --- On Mon, 3/16/09, Brill Pappin br...@pappin.ca wrote: From: Brill Pappin br...@pappin.ca Subject: Re: NullPointerException when starting Wicket Bench To:

Wicket Meetup Amsterdam 24th March 2009

2009-03-16 Thread Martijn Dashorst
The date has been set: on Tuesday 24 March 2009 the Wicket Community will convene in Amsterdam at the Mövenpick hotel starting at 19:00 until 22:00. This is a FREE event thanks to the following sponsors: - Hippo (http://onehippo.com) - Lucid Imagination (http://lucidimagination.com) - Topicus

Panel data interchange - concept validation

2009-03-16 Thread triswork
I have written some code that *seems* to work fine, but I am a little concerned over whether my approach is (a) valid and (b) optimal. I am hoping that some of the experienced Wicket programmers can provide me with some feedback. Basically, I have a page with four panels on it that is very

Re: Modal Window performance problem

2009-03-16 Thread dtoffe
Just in case it's useful to you, I've tried what you suggested and the recursive calls doesn't show in the profiler anymore, but the performance in that box is just as bad. Even if there might be some room for improvement, in this case I blame the crappy hardware, since the performance is

Re: IMarkupCacheKeyProvider - getCacheKey Problem

2009-03-16 Thread Igor Vaynberg
open a jira and provide a quickstart -igor On Mon, Mar 16, 2009 at 7:14 AM, Karen Schaper karen.scha...@gmail.com wrote: Eelco Hillenius wrote: I don't remember the details from the top of my head, but there should be an example at Wicket examples that shows you how to effectively disable

Re: PageParameters with String array question

2009-03-16 Thread Jeremy Thomerson
Please file a JIRA and add your attachments there. Reply back to this post with a link to the JIRA. This prevents things from being lost in a very active mailing list. -- Jeremy Thomerson http://www.wickettraining.com On Mon, Mar 16, 2009 at 10:11 AM, Brad Fritz

Re: Override ResourceModel

2009-03-16 Thread Jeremy Thomerson
Please show us the code. -- Jeremy Thomerson http://www.wickettraining.com On Mon, Mar 16, 2009 at 4:17 AM, alexander.elsholz alexander.elsh...@widas.de wrote: Hi, i want to append some static code, after calling ressourcemodel.getobject to the localized String. so i override this

Re: Ajax Back Button

2009-03-16 Thread Jeremy Thomerson
A simple Google search turns up several threads that almost all point back to here: https://issues.apache.org/jira/browse/WICKET-271 Looks like it is planned for 1.5-m1 - and until then, you could look at how to implement it on your own (and provide patch ??) Not sure I understand your second

Re: extensions not in the snapshot?

2009-03-16 Thread Jeremy Thomerson
It sure looks like it is there to me [1]. Please provide more info about where it is not. http://wicketstuff.org/maven/repository/org/apache/wicket/wicket-extensions/1.4-SNAPSHOT/ -- Jeremy Thomerson http://www.wickettraining.com On Sun, Mar 15, 2009 at 4:28 PM, Brill Pappin br...@pappin.ca

Re: Illegal State Exception on DefaultTeeModel.removeNodeFromParent

2009-03-16 Thread skatz
I have the same problem using 1.3.5, but not when using 1.3.3. I spent some time tracing the source code and it seems related to the addition of this line: getTreeState().selectNode((TreeNode)item.getModelObject(), false); at the very end of the function (line 835):

Re: PageParameters with String array question

2009-03-16 Thread Brad Fritz
Jeremy and others, On Mon, Mar 16, 2009 at 03:51:18PM -0500, Jeremy Thomerson wrote: Please file a JIRA and add your attachments there. Reply back to this post with a link to the JIRA. This prevents things from being lost in a very active mailing list. Done:

Re: Override ResourceModel

2009-03-16 Thread alexander.elsholz
public class MyResourceModel extends ResourceModel { @Override public Object getObject() { String lLblValue = (String) super.getObject() + lblTag; return lLblValue; } } with this model i create my label. public BLabel(String pId, String pTag) { super(pId);

Re: Global resources

2009-03-16 Thread Igor Vaynberg
see iresourcesettings#addstringresourceloader() -igor On Mon, Mar 16, 2009 at 4:33 AM, jensiator jens.alen...@megasol.se wrote: Hi Im suspecting that there is a very easy solution for my problem this time. I got to define som global string resources. I allready have a MyApplication.xml

Re: How can I share text resources with multiple web applications?

2009-03-16 Thread Igor Vaynberg
see iresourcesettings#addstringresourceloader() make one that loads your properties from some file you keep on the classpath -igor On Mon, Mar 16, 2009 at 4:00 PM, Trent Larson larsontr...@gmail.com wrote: I have 2 web applications, and I would like to allow them to share the same text files.

Re: modal window behaving different

2009-03-16 Thread miro
It happening because of my css , its not the problem with wicket. Jeremy Thomerson-5 wrote: Miro, Please create a quickstart with none of your custom CSS that demonstrates this behavior. If you can reproduce it, please file a JIRA issue and include pertinent information such as what

Re: modal window behaving different

2009-03-16 Thread miro
It happening because of my css , its not the problem with wicket. Jeremy Thomerson-5 wrote: Miro, Please create a quickstart with none of your custom CSS that demonstrates this behavior. If you can reproduce it, please file a JIRA issue and include pertinent information such as what

Re: extensions not in the snapshot?

2009-03-16 Thread Brill Pappin
Ahh, that explains it. I'm using the YUI one from wicet-datetime but I liked the setup etc from the old one (and was trying to use it). - Brill Pappin On 16-Mar-09, at 5:07 PM, Martijn Dashorst wrote: This is the very old, obsolete datepicker. It has been removed since the old days of

Re: extensions not in the snapshot?

2009-03-16 Thread Brill Pappin
That would be the very latest bleeding edge snapshot :) - Brill On 16-Mar-09, at 5:01 PM, Jeremy Thomerson wrote: It sure looks like it is there to me [1]. Please provide more info about where it is not.

Re: Wicket Application bypassing- Internet Explorer file do wnloads over SSL do not work w ith the cache control headers‏

2009-03-16 Thread Alexita
Thanks Igor, I already tried that, but for some estrange reason the response continues showing cache-control=no-cache and pragma=no-cache(using FiddlerTool http analizer) even when the filter is setting those headers with a different information (The filter is writting the log file - Log4j so it

Re: Wicket Application bypassing- Internet Explorer file do wnloads over SSL do not work w ith the cache control headers‏

2009-03-16 Thread AndresGMF
after a couple of weeks reading a myriad of posts, mailing lists and posible solutions, I came up with a solution that worked for me I developed a web application using wicket, this application have some links to a static resources, specifically pdf and excel files, (License Agreements, Privacy

Re: Ajax Back Button

2009-03-16 Thread taha siddiqi
Thanks Jeremy, My second question was As we have a BASIC HTML version and Ajax Version of Gmail, How should I implement the same in my application with least effort ? ( Where I live, people do use the BASIC HTML version a lot :) ) taha On Tue, Mar 17, 2009 at 2:26 AM, Jeremy Thomerson

Re: Ajax Back Button

2009-03-16 Thread Jeremy Thomerson
You could create a second set of pages without all the complex components that take advantage of the same models, etc... Code reuse, but separate the distinctly different parts. -- Jeremy Thomerson http://www.wickettraining.com On Mon, Mar 16, 2009 at 11:37 PM, taha siddiqi

Correct use of RangeValidator

2009-03-16 Thread Warren Bell
I am getting a ClassCastException when using RangeValidator like this: RequiredTextFieldInteger intField = new RequiredTextFieldInteger(intField); intField.add(new RangeValidator(0, 100)); or like this: RequiredTextFieldInteger intField = new RequiredTextFieldInteger(intField);

Re: Ajax Back Button

2009-03-16 Thread taha siddiqi
Thanks On Tue, Mar 17, 2009 at 10:37 AM, Jeremy Thomerson jer...@wickettraining.com wrote: You could create a second set of pages without all the complex components that take advantage of the same models, etc...  Code reuse, but separate the distinctly different parts. -- Jeremy Thomerson