Re: Component parent null after replace

2009-10-23 Thread wicketnewuser
Hi I have similiar situation but i'm using autonomous inner class final AjaxFallbackDefaultDataTable datatable = new AjaxFallbackDefaultDataTable(trafficreportlistdatatable, columns, new ReportListProvider(Traffic, include), 8); add(datatable); final

Re: Behind proxy

2009-10-23 Thread Anton Veretennikov
Yes, I see, Jeremy. You are lucky! :) Okey, I run my local Tomcat 6.0.18: I remove all localhost cookies from my browser, close it, open it again and enter: http://localhost:8084/FivePinSite-1.0-SNAPSHOT/ I see JSESSIONID cookie set to localhost and path is /FivePinSite-1.0-SNAPSHOT. Is it

Re: Behind proxy

2009-10-23 Thread Jeremy Thomerson
Looks like it's right. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Oct 23, 2009 at 1:38 AM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Yes, I see, Jeremy. You are lucky! :) Okey, I run my local Tomcat 6.0.18: I remove all localhost cookies from my browser,

Re: Behind proxy

2009-10-23 Thread Anton Veretennikov
Why in this localhost case I see jsessionid after I press any *bookmarkable* link? Why when I *first* press *non-bookmarable* link, jsessionid disappears? Why when I press *bookmarkable* link and then non-bookmarkable, I see jsessionid remains and never removes whatever link I press? Is it okey,

Re: Behind proxy

2009-10-23 Thread Jeremy Thomerson
my guess - stateless pages - like I believe was originally mentioned in the original thread. your bookmarkable pages must also be stateless, which means that the session is only temporary -- Jeremy Thomerson http://www.wickettraining.com On Fri, Oct 23, 2009 at 1:57 AM, Anton Veretennikov

Re: wicket:enclosure ( setting visible when hidden on render )

2009-10-23 Thread Swanthe Lindgren
Try setOutputMarkupPlaceholderTag(true) on the component withing the enclosure. //Swanthe Douglas Ferguson wrote: I have a component that is wrapped with a wicket enclosure. When the page is rendered I set the component visible(false) which make the entire wicket enclosure hidden. Then I

Re: Behind proxy

2009-10-23 Thread Anton Veretennikov
I added @Override protected void onBeforeRender() { super.onBeforeRender(); logger.info(stateless={},isStateless()); } to my IndexPage and it returns INFO - IndexPage - stateless=false -- Tony On Fri, Oct 23, 2009 at 3:01 PM, Jeremy Thomerson

Re: wicket:enclosure ( setting visible when hidden on render )

2009-10-23 Thread Michael Mosmann
Am Freitag, den 23.10.2009, 09:25 +0200 schrieb Swanthe Lindgren: Try setOutputMarkupPlaceholderTag(true) on the component withing the enclosure. i think, that's not enough.. maybe i am wrong, but yes, you should use a markup container for this kind of stuff.. //Swanthe Douglas Ferguson

Adding wicket components to a fixed container

2009-10-23 Thread ping ping
Is that possible for me to define a span container inside wicket html markup, such that i can add different component to that container based on different situation? Regards _

Re: Adding wicket components to a fixed container

2009-10-23 Thread Linda van der Pal
Well it should be possible (if I understand correctly what you want). For example I have a screen with a panel where I want to show several different kinds of information. I've named the panel viewdetails and fill it with either a panel where you can edit the details or with a panel where you

Re: Adding wicket components to a fixed container

2009-10-23 Thread Martijn Dashorst
see Panel or Fragment Martijn On Fri, Oct 23, 2009 at 10:13 AM, ping ping sping_p...@hotmail.com wrote: Is that possible for me to define a span container inside wicket html markup, such that i can add different component to that container based on different situation? Regards

Newbie questions regarding wicket and presentation

2009-10-23 Thread Lester Chua
Hi, I've read the preliminary materials on the site and I'm also reading Manning's Wicket in Action. I like Wicket's programming model a lot and is considering my next project using wicket. But before that I am doing an evaluation project to convert an part of an existing application using

Re: Wicket in JBoss cluster

2009-10-23 Thread Jan Grathwohl
Thanks guys, I think I understand now what's going on. Does anyone know which configuration settings are needed for JBoss 4.2 to make things work? 2009/10/23 Randy S. randypo...@gmail.com Oh I see. Thanks for the explanation. I can't comment on JBoss's session replication. I'm familiar

where download inmethod datagrid

2009-10-23 Thread Roman Ilin
Hi *, I saw some screen shots of inmethod datagrid components. I see some messages in this mailing list as well writing people are using them. But I can't find it following the link to http://www.inmethod.com/ on wicket site. Can someone tell me how can I start using it? Docs, maven repo?

Re: where download inmethod datagrid

2009-10-23 Thread Linda van der Pal
It's part of wicketstuff now: http://wicketstuff.org/confluence/display/STUFFWEB/Home Regards, Linda Roman Ilin wrote: Hi *, I saw some screen shots of inmethod datagrid components. I see some messages in this mailing list as well writing people are using them. But I can't find it following

Re: where download inmethod datagrid

2009-10-23 Thread Roman Ilin
thank you On Fri, Oct 23, 2009 at 1:36 PM, Linda van der Pal lvd...@heritageagenturen.nl wrote: It's part of wicketstuff now: http://wicketstuff.org/confluence/display/STUFFWEB/Home Regards, Linda Roman Ilin wrote: Hi *, I saw some screen shots  of inmethod datagrid components. I see

When NOT to use models ?

2009-10-23 Thread Joseph Pachod
Hi Recently, on the mailing list, I read quite some people saying basically than using models all over the place was a bad idea. Can someone explain it a bit more ? Indeed, I was kind of agreeing until recently, when I had an issue with a (self made) Behavior taking a string. I needed

Is it possible to setup a Wicket project without Maven?

2009-10-23 Thread Lester Chua
Hi, Is it possible to have just an ANT build.xml for a Wicket project? Lester - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Problem with wicket:extend / wicket:child and ListView on not visible component

2009-10-23 Thread Ann Baert
I have a problem with inheritance from panels with listview on a not visible component. I think it's a bug, so I've made a jira issue for it with more explanation and an example: https://issues.apache.org/jira/browse/WICKET-2537 Ann DISCLAIMER A

Re: When NOT to use models ?

2009-10-23 Thread Martin Makundi
Hi! I have said that you might need to cache your model values, in some performance situations. If you do not use models, you do not need same kind of caching (because the value is fixed). Nevetheless, using models results in cleaner code, but I am dreaming of a centralized caching mechanism such

Re: Is it possible to setup a Wicket project without Maven?

2009-10-23 Thread Martijn Dashorst
See the free chapter 15 from Wicket in Action: http://wicketinaction.com/downloads Martijn On Fri, Oct 23, 2009 at 12:57 PM, Lester Chua cicob...@gmail.com wrote: Hi, Is it possible to have just an ANT build.xml for a Wicket project? Lester

Re: Is it possible to setup a Wicket project without Maven?

2009-10-23 Thread Lester Chua
Thanks! That was exactly what I was looking for. On Fri, Oct 23, 2009 at 8:07 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: See the free chapter 15 from Wicket in Action: http://wicketinaction.com/downloads Martijn On Fri, Oct 23, 2009 at 12:57 PM, Lester Chua cicob...@gmail.com

Multiple AttributeModifier-s on a single tag

2009-10-23 Thread zabian
Hi there, I'm trying to add two AttributeModifiers on WebMarkupContainer and it doesn't work. Only one of them is working, the last added one. Could anybody show me how to do it properly? Regards, Wojtek - To unsubscribe,

Which assertions are possible for wicket:message?

2009-10-23 Thread Per Newgro
Hi, i would like to test availability of components added in markup by usage of wicket:message attribute. assertLabel is unusable. What else can i do? I didn't found a hint after searching list and google. Thanks Per -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt

Re: wicket:enclosure ( setting visible when hidden on render )

2009-10-23 Thread James McLaughlin
. Then I set visible(true) during runtime and at the component to the AjaxTarget. The component is not rendered. Is there a way to get this to work? Add the parent component that contains the wicket:enclosure markup to the AjaxRequestTarget.

Re: When NOT to use models ?

2009-10-23 Thread Michael Mosmann
Am Freitag, den 23.10.2009, 15:06 +0300 schrieb Martin Makundi: Hi! I have said that you might need to cache your model values, in some performance situations. If you do not use models, you do not need same kind of caching (because the value is fixed). Nevetheless, using models results in

Re: Multiple AttributeModifier-s on a single tag

2009-10-23 Thread Michael Mosmann
Hi, I'm trying to add two AttributeModifiers on WebMarkupContainer and it doesn't work. Only one of them is working, the last added one. Could anybody show me how to do it properly? maybe you should use AttributeAppender, not AttributeModifier mm:)

Re: Which assertions are possible for wicket:message?

2009-10-23 Thread richardwilko
Hi, You could use tester.getServletResponse().getDocument() (where tester is your wicket tester instance) which returns the html of the processed page as a string. Then you could test if this string contains the required text. Hope that helps, Regards - Richard Wilkinson Developer, jWeekend:

Re: Multiple AttributeModifier-s on a single tag

2009-10-23 Thread Michael O'Cleirigh
Hi Wojtek, Use the SimpleAttributeAppender from wicketstuff-misc: org.wicketstuff.misc.behaviors.SimpleAttributeAppender Here is the maven dependency detail: dependency groupIdorg.wicketstuff/groupId artifactIdmisc/artifactId version1.4-SNAPSHOT/version

Date Validation - message formatting

2009-10-23 Thread Jeffrey Schneller
I looked around and saw various discussions on how to format the date for the error message in the DateValidator. Was there a fix for this? I am using DateValidator.minimum and I would like the date that is the minimum to be formatted with just MMM-dd- or dd-MMM- based on the locale.

Re: AjaxFallbackLink problem on Internet Explorer 6

2009-10-23 Thread Dane Laverty
Yeah, now that I look at it again, that would throw an error. Instead of showAllLink.setOutputMarkupId(true), it needs showAllSpan.setOutputMarkupId(true) and showMineSpan.setOutputMarkupId(true). When you make display changes in an Ajax method, Wicket updates the Java objects' attributes, but

Re: Multiple AttributeModifier-s on a single tag

2009-10-23 Thread zabian
Sorry for the mess, my fault of course. It was working from the beginning, just my css was not in the scope and I couldn't see any results. Sorry once again and thanks for commitment. Regards, Wojtek Michael O'Cleirigh pisze: Hi Wojtek, Use the SimpleAttributeAppender from

Re: Date Validation - message formatting

2009-10-23 Thread Igor Vaynberg
no, there isnt. not that i can see anyways. you will have to roll your own validator and convert the date into a string however you see fit. also, please add an rfe to have this fixed. -igor On Fri, Oct 23, 2009 at 7:09 AM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: I looked around

Exceptions in MyApplication.init()

2009-10-23 Thread Tomás Rossi
Hey people, I've noted that if an exception occurs during the execution of init method of MyApplication (which extends WebApplication), a SERVICE UNAVAILABLE (error 503) page shows. We'd like to have our own error page for this case and figured out a workaround which includes catching and

Re: Exceptions in MyApplication.init()

2009-10-23 Thread Josh Glassman
There is a wiki page with information on creating custom error pages. http://cwiki.apache.org/WICKET/error-pages-and-feedback-messages.html Hopefully that is what you are looking for! Josh On Fri, Oct 23, 2009 at 12:34 PM, Tomás Rossi tro...@mecon.gov.ar wrote: Hey people, I've noted that

Re: Exceptions in MyApplication.init()

2009-10-23 Thread Pedro Santos
The init method is called by the wicket servlet filter. If it throw an exception the web container will not place the filter into service, than the request will not be handled by wicket. On Fri, Oct 23, 2009 at 3:26 PM, Josh Glassman josh...@gmail.com wrote: There is a wiki page with

Re: Exceptions in MyApplication.init()

2009-10-23 Thread Tomás Rossi
That's what we suspected. So we stick with our workaround. Thanks Pedro Santos escribió: The init method is called by the wicket servlet filter. If it throw an exception the web container will not place the filter into service, than the request will not be handled by wicket. On Fri, Oct 23,

Re: Component parent null after replace

2009-10-23 Thread Pedro Santos
referenceToDatabaseParentComponent.replace(replacement) you has an reference to referenceToDatabaseParentComponent, right? On Fri, Oct 23, 2009 at 4:05 AM, wicketnewuser swarn...@hotmail.com wrote: Hi I have similiar situation but i'm using autonomous inner class final

refreshing AjaxFallbackDefaultDataTable

2009-10-23 Thread Swarnim Ranjitkar
If I attach AjaxSelfUpdatingTimerBehavior to AjaxFallbackDefaultDataTable should it refresh AjaxFallbackDefaultDataTable at the set interval. Is it possible to refresh datatable every 10 sec using this. Looks like it refreshes the datatable but it doesn't call ReportListProvider to refresh

Re: refreshing AjaxFallbackDefaultDataTable

2009-10-23 Thread Pedro Santos
protected void onPostProcessTarget(AjaxRequestTarget target) { referenceToReportListProvider.updateIt(conditions); } On Fri, Oct 23, 2009 at 4:53 PM, Swarnim Ranjitkar swarn...@hotmail.comwrote: If I attach AjaxSelfUpdatingTimerBehavior to AjaxFallbackDefaultDataTable should it refresh

Nested panel and Exception Attempted to set property value on a null object

2009-10-23 Thread Tomás Rossi
Hi again, I get the following error message: Attempted to set property value on a null object. Property expression: aspectoRapidez Value: 4 I have a page with a nested stateless form, which has some fields and a couple of instances of a panel (with radio groups inside, each). I submit the

Wicket at Devoxx!

2009-10-23 Thread Martijn Dashorst
If you wish to learn more about Wicket, and happen to be living near Antwerp, Belgium, or wanting to attend a kick ass conference, you'll be happy to know that I've been invited to do a university talk (3 hours of Wicket in action) [1] and a general session [2] at Devoxx 2009. The university talk

Wicket 1.4.3 Released!

2009-10-23 Thread Igor Vaynberg
release tag: https://svn.apache.org/repos/asf/wicket/releases/wicket-1.4.3 download: http://www.apache.org/dyn/closer.cgi/wicket/1.4.3 changelog: https://issues.apache.org/jira/browse/WICKET/fixforversion/12314250 ( full release notes below ) maven: dependency

using wicket ajax to add components containing javascript

2009-10-23 Thread Jason Novotny
Hi, I'm using AjaxLinks all over the place to refresh a container that contains custom components that themselves also use javascript. So what happens is when I do target.add(myCustomComponent) that the javascript is not really in the page, its in the rendered markup so it often just

Re: Newbie questions regarding wicket and presentation

2009-10-23 Thread Lester Chua
Thanks! Regards, Lester Jeremy Thomerson wrote: Answers inline. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Oct 23, 2009 at 3:48 AM, Lester Chua cicowic...@gmail.com wrote: Hi, I've read the preliminary materials on the site and I'm also reading Manning's Wicket

Re: using wicket ajax to add components containing javascript

2009-10-23 Thread Pedro Santos
I think it is related: http://markmail.org/search/?q=list%3Aorg.apache.wicket.users+from%3A%22Pedro+Santos%22+ajaxrequesttarget+date%3A200909+#query:list%3Aorg.apache.wicket.users%20from%3A%22Pedro%20Santos%22%20ajaxrequesttarget%20date%3A200909%20+page:1+mid:vuen2437dyh6a5tw+state:results On

Wicket Wizard Functionality (Extensions)

2009-10-23 Thread Corbin, James
I am writing a two step wizard using wicket's wizard implementation and having some issues. I am using Wicket 1.4.1. My first wizard step contains a RadioChoice with 3 options. I would like the Finish Button to be enabled on Wizard Step 1 if either the first or second radio choice is

Re: When NOT to use models ?

2009-10-23 Thread Martin Makundi
evaluated only one time per render can be done with LoadableDetachedModel .. I do not mean LOADED once per render. I mean EVALUATED once per render. In my understanding LoadableDetachableModel does not guarantee reset in any particular stage. can you explain it a littly bit (a link to your

Proposal: Fake implementation of AjaxRequestTarget instead of null

2009-10-23 Thread Vladimir Kovalyuk
I believe all those null-checks of request target can be omited in user code if fallback components would provide fake implementation of AjaxRequestTarget instead of passing null. Does it make sense?