Re: Why has a cell item a model (and why is it a model with the populator (with the property) of the column)?

2017-05-04 Thread Eric J. Van der Velden
Hi Sven, Thank you! No, I was just wondering. I have not seen this model used. On Wed, May 3, 2017 at 1:44 PM, Sven Meier wrote: > Hi, > > a cell item is an org.apache.wicket.markup.repeater.Item, and each item > has > a model - so AbstractDataGridView just uses a model

Why has a cell item a model (and why is it a model with the populator (with the property) of the column)?

2017-05-03 Thread Eric J. Van der Velden
Hello, I don't understand why a cell item gets a model, because I have not seen where it is used. Only the model in the row item is used, together with the property of the column. Also why is the populator of the column in that model? public abstract class AbstractDataGridView extends

Re: Cannot mock final SortableDataProvider.getSortState

2017-01-13 Thread Eric J. Van der Velden
base.getIndex(anyObject())).andReturn(…) > > SortableContactDataProvider.iterator(….) > > etc. > > > … run after test > > DatabaseLocator.clearDatabaseForCurrentThread() > > Met vriendelijke groet, > Kind regards, > > Bas Gooren > > Op 13 januari 2017 bij 12:10:03, Eri

Re: Cannot mock final SortableDataProvider.getSortState

2017-01-13 Thread Eric J. Van der Velden
t functionality in your (custom) data providers do you have that you > want to test? In general I would say that final methods in a known and > tested library (wicket) do not need to be tested anyway - that is the > responsibility of the library. > > Met vriendelijke groet, > Kind

Cannot mock final SortableDataProvider.getSortState

2017-01-12 Thread Eric J. Van der Velden
Hello, SortableDataProvider, in package org.apache.wicket.extensions.markup.html.repeater.util, has a final method getSortState(). I cannot mock this method. I have copied SortableDataProvider under a different name, and subclassed this one,but I do not like this. The same happens with final

Re: Question About ModalWindows and IEventSink

2016-02-12 Thread Aaron J . Garcia
Aaron J. Garcia rentec.com> writes: > > Hi Martin & Sven, > > Thanks for your replies! > > I ended up sending getPage().getPageId(). Is the better practice to use a > PageReference? If so, I'll change my code to use that instead. > > Secondly, I had

Re: Question About ModalWindows and IEventSink

2016-02-12 Thread Aaron J . Garcia
Hi Martin & Sven, Thanks for your replies! I ended up sending getPage().getPageId(). Is the better practice to use a PageReference? If so, I'll change my code to use that instead. Secondly, I had no idea that you could use a Panel for the contents of a ModalWindow. I always thought you

Question About ModalWindows and IEventSink

2016-02-11 Thread Aaron J . Garcia
d properly propagate to the ModalWindow when using a session or application level sink. Thanks for your feedback. Regards, Aaron J. Garcia - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional comma

Re: Performance Degredation for Adding Components in Wicket 7.0.0 vs. Wicket 6.20.0

2015-09-14 Thread Aaron J . Garcia
should be moved to Critical or Blocker status though... I'm sure I'm not the only one who adds that many components or attribute modifiers to a page at one time. Thanks for your help. You can reach me here or via e-mail if you need me. Regards, Aaron J. Garcia P.S. I looked at your performance te

Re: Performance Degredation for Adding Components in Wicket 7.0.0 vs. Wicket 6.20.0

2015-09-14 Thread Aaron J . Garcia
> I created an issue in JIRA, > attached a quick-start, and marked it as Major issue. In my opinion, this > should be moved to Critical or Blocker status though... I'm sure I'm not > the only one who adds that many components or attribute modifiers to a page > at one time. Forgot the link to

Performance Degredation for Adding Components in Wicket 7.0.0 vs. Wicket 6.20.0

2015-09-13 Thread Aaron J . Garcia
this issue right now). Thanks for anyone's input and help. I really appreciate it. -- Aaron J. Garcia - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: More Wicket JSESSION_ID Issues

2014-03-12 Thread Aaron J . Garcia
Martin Grigorov mgrigorov at apache.org writes: Hi, It sounds like an issue with the IDE. What is the produced url with the custom jsession id ? Does it work if you paste this url directly in the browser address bar without involving the IDE ? And what is the sign of my page ?

More Wicket JSESSION_ID Issues

2014-03-11 Thread Aaron J . Garcia
I finally got around to upgrading to Wicket 6.14.0 yesterday. With the new changes in Wicket, I no longer get the exception spit out to the log when I change the JSESSION_ID to JSESSION_ID_MYAPP. Thanks for that! I have another issue now: When I run my app in my IDE (I use Intellij 13.0.2 and

Changed JSESSIONID Results in Wicket Exception

2014-02-05 Thread Aaron J. Garcia
Hi Everyone, I maintain a Wicket application running on Tomcat 7.0.39, and I recently altered $TOMCAT_HOME/conf/context.xml to include a sessionCookieName parameter. I made a change like this: Context sessionCookieName=JSESSIONID_MYAPP This properly changes the session cookie that is used

Re: Changed JSESSIONID Results in Wicket Exception

2014-02-05 Thread Aaron J . Garcia
Timo Schmidt wicket at xomit.de writes: On Wed 05.02.2014 13:12, Aaron J. Garcia wrote: Hi Everyone, I maintain a Wicket application running on Tomcat 7.0.39, and I recently altered $TOMCAT_HOME/conf/context.xml to include a sessionCookieName parameter. I made a change like

Re: Changed JSESSIONID Results in Wicket Exception

2014-02-05 Thread Aaron J . Garcia
Martin Grigorov mgrigorov at apache.org writes: Hi, I will test this tomorrow. Martin Grigorov Wicket Training and Consulting Thanks Martin, FWIW, I was setting this when running Tomcat: -Dwicket.jsessionid.name=JSESSIONID_MYAPP It didn't work with the -D option, so I added it to my

Wicket 6.0.0 Issue: RadioChoice with AjaxFormChoiceComponentUpdatingBehavior

2012-09-21 Thread Aaron J . Garcia
Hello, I just wanted to report an issue I encountered with Wicket 6.0.0 (there already is a JIRA issue about it). https://issues.apache.org/jira/browse/WICKET-4769 When you attach an AjaxFormChoiceComponentUpdatingBehavior to a RadioChoice inside of a form, clicking on the label of an item

AjaxEditableLabel Missing setConvertEmptyInputStringToNull(...)?

2012-04-12 Thread Aaron J . Garcia
to AjaxEditableLabel? If so, how would I go about requesting it? Thanks a lot for your help. Regards, Aaron J. Garcia - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: wicket-rest and Wicket 1.5-RC4.2: MarkupNotFoundException: Can not determine Markup

2011-06-16 Thread Gerard J. Piek
Bruno, Thanks. Once I have the details right, I'll dive into this. Cheers, Gerard 2011/6/16 Bruno Borges bruno.bor...@gmail.com I forked the project wicket-rest from googlecode to wicketstuff-sandbox. Gerard, you can now ask for commit access at wicketstuff, or just fork it from there and

Skip session creation when AjaxLink is disabled

2011-01-15 Thread J
I have a page that has two states: -user logged in (session creation allowed) -no user logged in (no session creation allowed, otherwise bots will crash the server by exploding session creation) When a logged-in user requests the page, the page should be render with AjaxLinks visible (which

Re: wicket 1.5, css resourcereference from string?

2010-10-10 Thread m j
I actually just made a youtube video how to add css/js to a page. See it here: http://www.youtube.com/watch?v=9toRTCFJf3Y Though I did not cover textemplateresourcereference. It is just as Igor described but now you can see the complete code if necessary. On Fri, Oct 8, 2010 at 12:50 PM, nino

Re: Demystifying page serialization

2010-09-10 Thread J.-F. Rompre
Mike, in reference to your various questions, here is my take: You are not seeing your constructor tracing print statements because it is not invoked more than once (the page object is already in the page store, with its component attached as per the constructor invocation) - all components are

Re: setRenderBodyOnly with ListView and attributes

2010-08-22 Thread J
: J bluecar...@gmx.com To: users@wicket.apache.org Sent: Saturday, August 21, 2010 4:44 PM Subject: Re: setRenderBodyOnly with ListView and attributes Here is the complete (test) code SOLUTION 1 : wicket:container = TestPage.html html body

Re: setRenderBodyOnly with ListView and attributes

2010-08-22 Thread J
@wicket.apache.org Subject: Re: setRenderBodyOnly with ListView and attributes first you have to prove that either of those cases is a violation, i do not see either one of them as being one. -igor On Sun, Aug 22, 2010 at 2:40 PM, J bluecar...@gmx.com wrote: That will work, but I already knew

setRenderBodyOnly with ListView and attributes

2010-08-21 Thread J
hi, I want to have Wicket to generate the following HTML precisely: div class=products div class=product./div div class=product./div div class=product./div div class=product./div /div But with my code, I don't get further than: div div class=product./div div

Re: setRenderBodyOnly with ListView and attributes

2010-08-21 Thread J
: Fatih Mehmet UCAR Sent: 08/21/10 05:02 PM To: users@wicket.apache.org Subject: Re: setRenderBodyOnly with ListView and attributes send your html and java code, there may be other ways of doing this. - Original Message - From: J bluecar...@gmx.com To: users@wicket.apache.org Sent

WicketFilter doesn't chain?

2010-05-14 Thread J
I'm having some problems with org.springframework.orm.hibernate3.support.OpenSessionInViewFilter in some cases. I did some debugging and found that org.apache.wicket.protocol.http.WicketFilter isn't doing ServletFilter chaining: when it is called when a Wicket page is requested, it is breaking

RE: Wicket Wiki

2010-04-30 Thread Metzger, Natalie J.
I've been seeing this for about 2 weeks, usually I just looked at the html page source to find the code. But if someone had a fix for this problem, it would be greatly appreciated! Natalie -Original Message- From: Martin Schayna [mailto:martin.scha...@abra.eu] Sent: Thursday, April

TabbedPanel: tab visibility

2010-04-27 Thread Metzger, Natalie J.
Hi all, Maybe I'm blind, but is there a way to set the visibility of certain tabs in the TabbedPanel? I only found the method isVisible(), but no setVisible(). My goal is to have certain tabs only visible to users with corresponding permissions. So far I have to add/remove tabs depending on

RE: TabbedPanel: tab visibility

2010-04-27 Thread Metzger, Natalie J.
, 2010 at 9:41 AM, Metzger, Natalie J. nmetz...@odu.edu wrote: Hi all, Maybe I'm blind, but is there a way to set the visibility of certain tabs in the TabbedPanel? I only found the method isVisible(), but no setVisible(). My goal is to have certain tabs only visible to users with corresponding

Re: how to make a wicket web editor

2010-04-12 Thread m j
Well, if you know how to use JQuery you can hard code the javascript and html into the page, which is pretty easy and obvious as it just goes into the HTML. The other option if your familiar at all with Wicket is to put it into a panel to allow more control and usability. On Mon, Apr 12, 2010 at

Wicket button label

2010-03-02 Thread Metzger, Natalie J.
Hi all, I'm comparatively new to Wicket and have a question about the wizard button labels. I'm using a Wizard with an AjaxButtonBar and AjaxButtons for previous and next. I would like to change the labels on the last step of the wizard of the cancel and finish buttons. I know how to change

Re: images not under the context root directory

2010-01-29 Thread Matthew J
Question, as I am dealing with a similar issue, except I save my file to my glassfish directory (ie: glassfish/domains/domain1/uploads/ Videos/...). I can't seem to find the url though I have tried many different types of urls... For the record ((WebApplication )WebApplication

Re: images not under the context root directory

2010-01-29 Thread Matthew J
Correct, Glassfish would allow this; however, if I can do it programmatically with ease I would rather do this (as installations may change and I would rather not have the static uri). I assumed Wicket had access to all files in the context root (or what I assume is one, which maybe

Re: images not under the context root directory

2010-01-29 Thread m j
this is what I was trying to do from the beginning. Thanks for the help. On Fri, Jan 29, 2010 at 2:51 PM, Matthew J msj...@gmail.com wrote: Correct, Glassfish would allow this; however, if I can do it programmatically with ease I would rather do this (as installations may change and I would

Serialization on objects inherited from a container

2009-09-10 Thread J.-F. Rompre
Hello, I would like to know where I could find documentation on the issue of serializing objects inherited from a component's container as in the example below. I tried looking at the wicket source code to see when this occurs but still don't understand when/how it is done. //... final Product

Re: Stateful vs stateless requests and navigation

2009-06-09 Thread J.-F. Rompre
. Sorry for any inconvenience.. JF On Mon, Jun 8, 2009 at 12:26 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: On Sun, Jun 7, 2009 at 10:16 AM, J.-F. Romprejrom...@gmail.com wrote: SETUP A So I tried setting the response headers to 'no-cache','no-store' as prescribed

Re: How do I reuse a rendered string, i.e. render once and past in multiple locations, e.g. paging nav at top and bottom?

2009-05-29 Thread J.-F. Rompre
via models so the state is reused and does not present overhead. makes sense? -igor On Wed, May 27, 2009 at 5:03 PM, J.-F. Rompre jrom...@gmail.com wrote: OK, thanks Martjin and Jeremy - I think mentioning performance was a mistake on my part..let me try again. I am not trying

How do I reuse a rendered string, i.e. render once and past in multiple locations, e.g. paging nav at top and bottom?

2009-05-27 Thread J.-F. Rompre
I am trying to do something that should be easy to do, and may already be available from the API (I am still usin 1.3.5). How can one duplicate rendered strings? In other words, I am trying to render once but copy a number of times for better performance - e.g., putting a page navigator

Re: How do I reuse a rendered string, i.e. render once and past in multiple locations, e.g. paging nav at top and bottom?

2009-05-27 Thread J.-F. Rompre
analysis that you have done that says that this will reduce your page load time by any significant factor. -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 27, 2009 at 2:53 PM, J.-F. Rompre jrom...@gmail.com wrote: I am trying to do something that should be easy to do

Form Submit with non-serializable Model

2009-05-09 Thread J
I have a non-serializable User object that must be created when someone registers for an user account. The problem that I have with my current code (below) is that the ModelObject in onSubmit() doesn't have the username property bounded/pushed to it, so it's null. This problem doesn't occur

Re: Form Submit with non-serializable Model

2009-05-09 Thread J
); form.add(new TextField(username)); } } J wrote: I have a non-serializable User object that must be created when someone registers for an user account. The problem that I have with my current code (below) is that the ModelObject in onSubmit() doesn't have the username property bounded/pushed

Re: Form Submit with non-serializable Model

2009-05-09 Thread J
ah, thanks! I totally looked over it :) Clint Popetz wrote: On Sat, May 9, 2009 at 5:43 PM, J bluecar...@gmx.com wrote: private transient User user; @Override public User getObject() { if (user == null) return new User

Validation on Beans

2009-05-02 Thread J
Spring-Modules. Both use validation by annotating the beans. I like this approach, but how can I use it with Wicket? Cheers, J - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users

RE: WebApp Freezes

2009-04-15 Thread J
(Sorry for the empty message. First I tried Gmail, but that doesn't work with this mailing list. Then I tried GMX webclient, but that client always sends as HTML, which probably caused the message to be stripped to empty.) I'm experiencing freezes on a production website. Server specs: -OS:

RE: WebApp Freezes

2009-04-15 Thread J
:41 PM, J bluecar...@gmx.com wrote: (Sorry for the empty message. First I tried Gmail, but that doesn't work with this mailing list. Then I tried GMX webclient, but that client always sends as HTML, which probably caused the message to be stripped to empty.) I'm experiencing freezes

RE: WebApp Freezes

2009-04-15 Thread J
in app code after making a database update but before the transaction is committed. jk On Wed, Apr 15, 2009 at 03:41:07PM +0200, J wrote: (Sorry for the empty message. First I tried Gmail, but that doesn't work with this mailing list. Then I tried GMX webclient, but that client always sends

RadioChoice : default choice ?

2008-01-16 Thread j . bokobza
Hello, I'm using a RadioChoice component like this : RadioChoice Radios = new RadioChoice(ca_reel, new PropertyModel(this.getModelObject(), ca_reel), Choices); I would like to know if I can have a default choice selected (the first in my variable List Choices) and if yes how ? (I didn't find on

Re: Centering ModalWindow during scroll?

2007-09-14 Thread Anthony J Webster
of all the exotic use cases people want so the library is rather monolithic. There is a rewrite on my to-do list that would split the modal window into pieces (mask, basic window, style, etc.), but it's not really a high priority. -Matej On 9/14/07, Anthony J Webster [EMAIL PROTECTED] wrote

Centering ModalWindow during scroll?

2007-09-14 Thread Anthony J Webster
Hi, Is there a way to center a ModalWindow so that when a user scrolls the site with the navigator scrollbar, the ModalWindow stays centered while the site behind scrolls? Thanks Anthony

Re: Centering ModalWindow during scroll?

2007-09-14 Thread Anthony J Webster
- From: Matej Knopp [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Friday, September 14, 2007 11:04 AM Subject: Re: Centering ModalWindow during scroll? No, currently there is not. -Matej On 9/14/07, Anthony J Webster [EMAIL PROTECTED] wrote: Hi, Is there a way to center a ModalWindow

Modal dialogs with Ajax

2007-09-13 Thread Anthony J Webster
Hello again, I have a form with ajax validation on its component's 'onblur' and a sumit link. The submission process takes a while as it results in numerous database lookups and so on. Initially I used an IndicatingAjaxSubmitButton to show the user that their request was being processed, with

ModalWindow customisation ?

2007-09-11 Thread Anthony J Webster
Hi, Is there any way to customise the actual frame of a ModalWindow? Preferably I'd like to get rid of the frame entirely or just replace it with a simple box of the same colour as the enclosed page/panel without the top-right close button. Any ideas? Many Thanks Anthony

Re: ModalWindow customisation ?

2007-09-11 Thread Anthony J Webster
? It's in the stylesheet. Some time ago I did a custom skin for it. The project died, so I don't have it anymore, but it's not that hard (read: if I can do it, you can do it) Frank On 9/11/07, Anthony J Webster [EMAIL PROTECTED] wrote: Hi, Is there any way to customise the actual frame

Re: Image from DB example

2007-09-10 Thread Anthony J Webster
example google pngfix for explorer -igor On 9/10/07, Anthony J Webster [EMAIL PROTECTED] wrote: Along these lines I haven't managed to get images with transparency to display properly. My PNGs all display black instead of transparent pixels :(. Anthony - Original Message - From

AjaxSubmitLink does nothing in IE

2007-09-07 Thread Anthony J Webster
: decorateScript: this.onclick_=this.onclick; this.onclick=function() { return false; }; + script; onSuccess,onFailureScript: this.onclick=this.onclick_; + script; -Matej On 9/6/07, Anthony J Webster [EMAIL PROTECTED] wrote: Hi, I'm trying to create a disableable AjaxSubmitLink. When a user clicks

Re: Upcoming jWeekend Wicket training courses

2007-09-07 Thread Anthony J Webster
Hmm nice. I'd hop on a Eurostar if I weren't submerged with work and totally exhausted! A - Original Message - From: Al Maw [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Friday, September 07, 2007 11:02 AM Subject: Upcoming jWeekend Wicket training courses Hi folks, Cemal

Re: Upcoming jWeekend Wicket training courses

2007-09-07 Thread Anthony J Webster
an example http://talks.londonwicket.org/BeanEditor.mov here ; a presentation he gave at one of our London Wicket User Groups and at the last Java Web users Group. Of course, our course material is even more thoughtfully put together and pedagogically delivered. Anthony J Webster wrote: Hmm

Re: Upcoming jWeekend Wicket training courses

2007-09-07 Thread Anthony J Webster
, because we are too busy my 2 dry cents. regards Nino Anthony J Webster wrote: Hmm nice. I'd hop on a Eurostar if I weren't submerged with work and totally exhausted! A - Original Message - From: Al Maw [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Friday, September 07, 2007 11

Creating a disableable AjaxSubmitLink

2007-09-06 Thread Anthony J Webster
Hi, I'm trying to create a disableable AjaxSubmitLink. When a user clicks on the link further clicks must not result in anything until the 'submission' is complete. This call be achieved by adding return false; in a call decorator. However I'm stuggling with the re-enabling. I need to strip

Houdini FeedBackPanel Problem

2007-09-03 Thread Anthony J Webster
Hello, I'm having some trouble with FeedbackPanel. I have an ajax validated form and submit button. Whenever a component looses focus it and the others are validated and if there are errors these are displayed in the single feedbackpanel abover the form. This works fine however I have a

Re: Houdini FeedBackPanel Problem

2007-09-03 Thread Anthony J Webster
during onSubmit(), but not during regular validaiton. In wicket, all validation message sare supposed to be displayed only once. So when you submit your form, the message is registered, and if after that for any reason onblur is triggered, it clears your message. -Matej On 9/3/07, Anthony J