AW: 2 DropDownChoices with a renderer. ajax update

2009-02-04 Thread Arthur Leigh Allen
i already saw that example igor but the difference is that they're using a property model and they override the getObject method while I'm using a renderer for the state choice and i'm updating my renderer data but nothing happen. i need a renderer because i need both, a (database) key and a

Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-04 Thread Timo Rantalaiho
On Wed, 04 Feb 2009, Anton Veretennikov wrote: Please, don't forget to remove it when mode is DEPLOYMENT. What do you mean? Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ -

Re: What is the best way to handle Undefined attribute name (wicket:id) warnings from Eclipse Ganymede?

2009-02-04 Thread Anton Veretennikov
I mean when wicket attributes and tags are stripped for production, please, remove this namespace too. On Wed, Feb 4, 2009 at 3:36 PM, Timo Rantalaiho timo.rantala...@ri.fi wrote: On Wed, 04 Feb 2009, Anton Veretennikov wrote: Please, don't forget to remove it when mode is DEPLOYMENT. What do

Re: Obtain Rendered HTML programmatically

2009-02-04 Thread ken.p
Thanks. Managed to get HTML for a web page. However, when I try to render a component, I run to problems as the component is manually rendered and attached to HTML body through ajax. As such, it will throw page not found. When I try to add the component to a dummy website and render, the

Re: Problem with Wicket Ajax with IE7 64bits

2009-02-04 Thread Thomas Mäder
I guess it's hard to find a workaround without having a stack trace from a windows debugger. If you knew where in the IE code the crash occurs, it might be possible to guess the offending code in Wicket (and work around that). That said, you might want to report the crash to the folks at MS. IE 8

AW: AW: 2 DropDownChoices with a renderer. ajax update

2009-02-04 Thread Arthur Leigh Allen
it seems to me like the drop down choice is not retrieving the new data from the renderer. whether the getIdValue nor the getDisplayValue are called to retrieve the new data when redrawing the drop down choice. does the drop down choice cache the first renderer results?

Re: Problem with Wicket Ajax with IE7 64bits

2009-02-04 Thread Antoine Angenieux
Thomas Mäder wrote: I guess it's hard to find a workaround without having a stack trace from a windows debugger. If you knew where in the IE code the crash occurs, it might be possible to guess the offending code in Wicket (and work around that). That said, you might want to report the crash to

AW: AW: AW: 2 DropDownChoices with a renderer. ajax update

2009-02-04 Thread Arthur Leigh Allen
sorry i meant: neither the getIdValue nor the getDisplayValue are called Von: Arthur Leigh Allen arthurleigh.al...@yahoo.de An: users@wicket.apache.org Gesendet: Mittwoch, den 4. Februar 2009, 10:57:28 Uhr Betreff: AW: AW: 2 DropDownChoices with a renderer.

Re: DataTable queries data provider for record count TWICE

2009-02-04 Thread Leszek Gawron
Igor Vaynberg wrote: please open a bug report in jira. your commit to NavigationToolbar.java (rev 739663) fixed the problem I had. Thank you! -- Leszek Gawron - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

How to stop submit of form on AjaxSubmitLink onSubmit

2009-02-04 Thread rag...@directi
Hi, I have a AjaxSubmitLink which i only want to use for some validation on some fields on the form. I do not want to submit the form if there are NO errors by clicking this link. I am using AjaxSubmitLink just to trigger validations, Incase there are any error they should be shown when i click

autosave

2009-02-04 Thread Juri Prokofjev
Hello, Is there any way to implement similar functionality like in gmail? When you have typed a big letter and computer was accidentally shutdowned then it's always possible to get that letter from the drafts. Has any one tried it with wicket? Thank you in advance, Juri Prokofiev --

Re: How to stop submit of form on AjaxSubmitLink onSubmit

2009-02-04 Thread Timo Rantalaiho
On Wed, 04 Feb 2009, rag...@directi wrote: I have a AjaxSubmitLink which i only want to use for some validation on some fields on the form. I do not want to submit the form if there are NO errors by clicking this link. I am using AjaxSubmitLink just to trigger validations, Incase there are any

Re: autosave

2009-02-04 Thread Timo Rantalaiho
On Wed, 04 Feb 2009, Dipu wrote: have a look at AbstractAjaxTimerBehavior Rather than timers, we've found OnChangeAjaxBehavior or other save-on-every-input behaviors (possibly with throttle) the best for implementing autosave. YMMV :) Best wishes, Timo -- Timo Rantalaiho Reaktor

RE: AW: AW: 2 DropDownChoices with a renderer. ajax update

2009-02-04 Thread Jeremy Thomerson
That's because it's a **renderer** - not where you get data. Use the model to load your states (extend LoadableDetachableModel and override load to load states based on what was selected in the country dropdown). Then use the renderer to do just that - return a renderable display value based

Re: Server requirements for Web Apps

2009-02-04 Thread Cserep Janos
Hi, I'm running www.szeretgom.hu on a two year old Sun Fire X2100 (1.8 ghz dual core Opteron, 4 GB RAM) running OpenSolaris, Postgresql, Glassfish v3 Prelude. The application runs on Wicket 1.4rc1 using EclipseLink with default settings. The application is a custom developed, JPA based web CMS

wicket-phonebook has been removed from svn ?

2009-02-04 Thread cmoulliard
Hi, Can someone tell me where the project wicket-phonebook is located under svn because the following link mentioned on this page is not correct/accurate (http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook/) ?

AW: AW: AW: 2 DropDownChoices with a renderer. ajax update

2009-02-04 Thread Arthur Leigh Allen
thx for your hint i forgot to mention that my renderer is holding the model data, too. yes i know it's called renderer... but i give it a map with keys and values to render. so it encapsulates the model, too. after the country selection was done the renderer is updated. the problem is solved.

Re: wicket-phonebook has been removed from svn ?

2009-02-04 Thread Martin Funk
http://www.nabble.com/Phonebook-Missing-td21454727.html#a21455120 Am 04.02.2009 um 16:08 schrieb cmoulliard: Hi, Can someone tell me where the project wicket-phonebook is located under svn because the following link mentioned on this page is not correct/ accurate

Re: autosave

2009-02-04 Thread Dipu
have a look at AbstractAjaxTimerBehavior dipu On Wed, Feb 4, 2009 at 2:13 PM, Juri Prokofjev proj...@gmail.com wrote: Hello, Is there any way to implement similar functionality like in gmail? When you have typed a big letter and computer was accidentally shutdowned then it's always possible

How to test AjaxFormChoiceComponentUpdatingBehavior for Radio Button

2009-02-04 Thread techisbest
I have a RadioGroup with two Radio buttons inside a Form in a Panel. I have created an AjaxFormChoiceComponentUpdatingBehavior that has been added to the RadioGroup. This behavior is working fine and I am able to update my Session with the new values when the user switches between the Radio

StatelessForm and field parameters in url after post

2009-02-04 Thread Daniel Stoch
Hi, I have a stateless, bookmarkable page with a simple stateless login form. This form contains two required fields: username and password. Below there are steps to reproduce my problem: 1. Enter the login page url=http://localhost/app/login 2. Fill the password field with eg. ppp and leave the

Re: London Wicket Event - 4th February @ Google

2009-02-04 Thread jWeekend
I'll be announcing a new initiative tonight to get a few developers together one evening per week (or every two weeks), at jWeekend's office in London NW6, to go through Wicket Jira issues. Al Maw and Richard Wilkinson have already expressed an interest and we'd hope to get around 5-10 people

Re: Stability of Wicket 1.4RC1 methods/interfaces: new development on 1.3.5 or 1.4RC1?

2009-02-04 Thread fstof
Okay... so the end of year came and gone... any new ideas? Martijn Dashorst wrote: ideally when bug count is zero. But were aiming before years end IMO. Martijn On 11/24/08, Jeremy Thomerson jer...@wickettraining.com wrote: The API is pretty locked for now - only a significant bug

best way - back link

2009-02-04 Thread alexander.elsholz
Hi, i've implemented a workspace application with many context-informations, selected tabs and so on. the controller holds the state in different member vars. for some actions the user must link to another page. after submitting this page or cancelling i want to relay the user to his last state

Re: FeedBackPanel not rendering Messages

2009-02-04 Thread wicketworker
Thanks Igor. Could you please elaborate a bit more, i am new here. igor.vaynberg wrote: create a quickstart -igor On Tue, Feb 3, 2009 at 1:34 PM, wicketworker siva.mad...@gmail.com wrote: I am using 1.3.4 Something Strang is going on. The messages are getting rendered for

How to resolve tree issue?

2009-02-04 Thread Penn
Hi all, I am working with wicket tree based on the inmethod tree example.I have just 2 level tree with taggroup and tags. I have issue in just displaying the name, rather I get a whole object, The code is below protected TreeModel createTreeModel() { TreeModel model = null;

RE: Wizard seems to cache pages even on model change

2009-02-04 Thread rtow
Do you find out what exactly is the problem and solution, I ran into the same problem. thanks in advance! rtow Dan Kaplan-3 wrote: The most important part of this is probably HOW I update the model. I am using AJAX. -Original Message- From: Dan Kaplan

Checkbox filtering a dataview

2009-02-04 Thread Matt Welch
I'm probably thinking about his all wrong, but for some reason I can't get my mind in the right frame here. I have a page with a dataview that is showing data in a table. That dataview needs to be filtered by a checkbox in a different place on same page. The model for that checkbox is an

Re: Checkbox filtering a dataview

2009-02-04 Thread Igor Vaynberg
public mypage extends webpage { private boolean filter; public mypage() { add(new dataview(dataview, new dataprovider()) {}); } private class dataprovider implements idataprovider() { public int size() { return new query(filter).size(); } public iterator

Iam getting Errors while starting the Tomcat 5.5 server

2009-02-04 Thread Swapna Rachamalla
Hi I Have developed HelloWorld example using Apache Wicket which is given http://wicket.apache.org/examples.html. I have compiled the java files Successfully. But while starting the tomcat 5.5 web server iam getting the following error. org.apache.catalina.core.StandardContext start SEVERE:

Re: Iam getting Errors while starting the Tomcat 5.5 server

2009-02-04 Thread Andreas Petersson
Swapna Rachamalla schrieb: Hi I Have developed HelloWorld example using Apache Wicket which is given http://wicket.apache.org/examples.html. I have compiled the java files Successfully. But while starting the tomcat 5.5 web server iam getting the following error.

Re: Iam getting Errors while starting the Tomcat 5.5 server

2009-02-04 Thread Marcelo Morales
Hi Check the other log. Usually there are two logs on vanilla tomcat, catalina-* and localhost-* On Wed, Feb 4, 2009 at 5:18 PM, Swapna Rachamalla swapna.rachama...@gmail.com wrote: Hi I Have developed HelloWorld example using Apache Wicket which is given

static pages dynamic pages. How to have the same layout

2009-02-04 Thread Vika
Hi, I am completely new to Wicket and trying to decide if this is something I would want to use for my project. My website has some static and some dynamic pages that have to share the same look. Currently I am using SiteMesh to achieve this. Can I accomplish this with Wicket without having

Re: static pages dynamic pages. How to have the same layout

2009-02-04 Thread Nino Martinez
Im actually using that exact approach..I think it's somewhat ok, because it brings continuity to the architecture... Vika wrote: Hi, I am completely new to Wicket and trying to decide if this is something I would want to use for my project. My website has some static and some dynamic pages

Re: Iam getting Errors while starting the Tomcat 5.5 server

2009-02-04 Thread Swapna Rachamalla
Hi I have looked into those log files. I have put the following jar files in my app and tmocat/commons/lib wicket-1.4-rc1.jar wicket-auth-roles-1.4-rc1.jar wicket-datetime-1.4-rc1.jar wicket-extensions-1.4-rc1.jar wicket-guice-1.4-rc1.jar wicket-ioc-1.4-rc1.jar wicket-jmx-1.4-rc1.jar

Re: Iam getting Errors while starting the Tomcat 5.5 server

2009-02-04 Thread noon
I had exactly the same kind of error and I solved it by adding following lines to my log4j.properties file: log4j.rootLogger=WARN, stdout and/or following one: org.apache.catalina=INFO, stdout In my case, there were some missing JARs in my webapp's classpath. Marcelo Morales-2 wrote: Hi

Re: Checkbox filtering a dataview

2009-02-04 Thread Matt Welch
Thank you for your reply. Unfortunately (for this situation, anyway), we frequently reuse our dataproviders in more than one place in the application, so they are are always in their own class files. In any case, what we have will work for now. I'll look around through the examples for other use

Re: Iam getting Errors while starting the Tomcat 5.5 server

2009-02-04 Thread Igor Vaynberg
you are missing the logging slf4j jars. please use maven to manage your dependencies if you do not know how to resolve problems like this. -igor On Wed, Feb 4, 2009 at 1:45 PM, Swapna Rachamalla swapna.rachama...@gmail.com wrote: Hi I have looked into those log files. I have put the

Re: Checkbox filtering a dataview

2009-02-04 Thread Igor Vaynberg
public mypage extends webpage { private boolean filter; public mypage() { add(new dataview(dataview, new dataprovider()) {}); } private class dataprovider extends mydataprovider { protected boolean getfilter() { return filter; } } } On Wed, Feb 4, 2009 at 1:51 PM, Matt Welch

Re: Iam getting Errors while starting the Tomcat 5.5 server

2009-02-04 Thread Swapna Rachamalla
Noon: i Have modified log4properties.file but still getting same error. Igor: i have added slf4j jars in lib but still getting same error Is there any other way to resolve this/ Thanks is advance Thanks Swapna On Wed, Feb 4, 2009 at 1:54 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: you

PageExpiredException - ajax request

2009-02-04 Thread sthomps
I'm running into an issue with PageExpiredExceptions and ajax responses. Here's what I would like to do. 1. Have sessions timeout at 20 minutes. 2. Once a session has timed out and the user clicks an ajax link on the expired page - the link should process as normal and do whatever was tied to

SessionPerRequestFilter

2009-02-04 Thread Edgar Merino
Hello, I'm implementing a j2ee filter to obtain a jcr session per http request (using a threadlocal), however it sometimes opens more than once session when I open a webpage, I'm thinking this is because many threads are involved in a single request, but this affects performance (a lot),

Re: Iam getting Errors while starting the Tomcat 5.5 server

2009-02-04 Thread Martijn Dashorst
1. Use Maven for your dependency management 2. Don't put random stuff in common/lib, use a war file 3. Use Maven for building your war file 4. Don't put stuff in common/lib, use a war file 5. Use Maven Martijn On Wed, Feb 4, 2009 at 11:03 PM, Swapna Rachamalla swapna.rachama...@gmail.com wrote:

Re: Iam getting Errors while starting the Tomcat 5.5 server

2009-02-04 Thread Stephen Swinsburg
Swapna, Start with a clean Tomcat and don't manually put jars anywhere in Tomcat (except maybe a db driver jar). In your pom.xml have something like this: !-- WICKET DEPENDENCIES -- dependency groupIdorg.apache.wicket/groupId

Border fails to render if its contents are not visible by default (WICKET-1789 ?)

2009-02-04 Thread smallufo
I don't know if the problem has any relation to WICKET-1789 https://issues.apache.org/jira/browse/WICKET-1789 But I have a very similar situation : My problem traces back to WICKET-1712 https://issues.apache.org/jira/browse/WICKET-1712 I want to create a component which can Expand and Collapse

Using urlFor

2009-02-04 Thread Flavius
We have functionality that needs to send an email of any changes that occur in a record. At first we were going to just send the email when the transaction completes...but that will have issues if the app is up and the mail server is down (or unreachable at the moment). So we're going to write

Re: Iam getting Errors while starting the Tomcat 5.5 server

2009-02-04 Thread Marcelo Morales
you will need 3 jars if want log4j slf4j-api.jar slf4j-log4j12 log4j.jar On Wed, Feb 4, 2009 at 5:45 PM, Swapna Rachamalla swapna.rachama...@gmail.com wrote: Hi I have looked into those log files. I have put the following jar files in my app and tmocat/commons/lib wicket-1.4-rc1.jar

Re: Iam getting Errors while starting the Tomcat 5.5 server

2009-02-04 Thread Swapna Rachamalla
Hi i have tried with these jars also. Thanks Swapna On Wed, Feb 4, 2009 at 4:01 PM, Marcelo Morales marcelomorales.name@ gmail.com wrote: you will need 3 jars if want log4j slf4j-api.jar slf4j-log4j12 log4j.jar On Wed, Feb 4, 2009 at 5:45 PM, Swapna Rachamalla

Re: Iam getting Errors while starting the Tomcat 5.5 server

2009-02-04 Thread Marcelo Morales
Is is definitely there: $ jar tf slf4j-api-1.5.5.jar |grep org/slf4j/LoggerFactory org/slf4j/LoggerFactory.class $ try shared/lib on tomcat instalation. Try finding something on http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html and ask tomcat forums On Wed, Feb 4, 2009 at 8:04 PM,

Re: FeedBackPanel not rendering Messages

2009-02-04 Thread Andrew Lombardi
Grab the quickstart project here: http://svn.apache.org/repos/asf/wicket/trunk/wicket-quickstart and put your code into it, then you can file a JIRA with the quickstart, or send to list On Feb 4, 2009, at 10:31 AM, wicketworker wrote: Thanks Igor. Could you please elaborate a bit more, i

Re: static pages dynamic pages. How to have the same layout

2009-02-04 Thread Andrew Lombardi
You would use page inheritance so that each page inherited its look and feel from all the others. There are many different ways to show different content without creating a ton of pages. Can you elaborate on your current architecture so we can let you know how Wicket can achieve this?

Re: PageExpiredException - ajax request

2009-02-04 Thread Igor Vaynberg
requestcycle rc=getrequestcycle(); response orig=rc.getresponse(); rc.setresponse(new noopresponse()); page.render(); rc.setresponse(orig); -igor On Wed, Feb 4, 2009 at 2:10 PM, sthomps stho...@gmail.com wrote: I'm running into an issue with PageExpiredExceptions and ajax responses. Here's

Re: SessionPerRequestFilter

2009-02-04 Thread Igor Vaynberg
a single request is processed by a single thread. what might happen is, if you hit a page that has images, the browser will open more requests to retrieve those images - which will create more threads. what you should do is handle the session creation lazily - only create it when it is requested.

Re: Using urlFor

2009-02-04 Thread Igor Vaynberg
you can mount the pages so you have well known urls to them and build them manually. -igor On Wed, Feb 4, 2009 at 4:01 PM, Flavius flav...@silverlion.com wrote: We have functionality that needs to send an email of any changes that occur in a record. At first we were going to just send the

Re: Graphs, Charts and Wicket

2009-02-04 Thread Jurek Piasek
Here is a simple example of the code that I used to get amchart to work in wicket. I used SWFObject. This is the simplest case where the data is read from a file (not really of much use in a live webpage). If one wants to make on demand plots, one can replace

Re: PageExpiredException - ajax request

2009-02-04 Thread sthomps
Thanks - that's the path I went down after i posted. Didn't know if there was a cleaner way or not. igor.vaynberg wrote: requestcycle rc=getrequestcycle(); response orig=rc.getresponse(); rc.setresponse(new noopresponse()); page.render(); rc.setresponse(orig); -igor On Wed, Feb

RE: FeedBackPanel not rendering Messages

2009-02-04 Thread Jeremy Thomerson
I wrote a whole blog post on how to do this. It was a couple months ago. Go to http://www.jeremythomerson.com and look for it. Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: wicketworker siva.mad...@gmail.com Sent: Wednesday,

RE: Checkbox filtering a dataview

2009-02-04 Thread Jeremy Thomerson
Pass your data provider an instance of IModelBoolean. That way it is agnostic as to where it's getting the switch from. Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: Matt Welch matt...@welchkin.net Sent: Wednesday, February 04,

Re: Border fails to render if its contents are not visible by default (WICKET-1789 ?)

2009-02-04 Thread Igor Vaynberg
remove border.settransparentresolver(true); instead of add(listViewContainer.add(listView)); do border.add(listViewContainer.add(listView)); now your component hierarchy is proper, things are actually inside the border - which is how the border is meant to be used. your main problem was this

Re: How to stop submit of form on AjaxSubmitLink onSubmit

2009-02-04 Thread rag...@directi
thx a lot Timo for ur reply yea i agree that it is meant for submittingbut what i meant was to trigger validation onclick of link I am still facing a problem. I am using AjaxLink which already has a an AjaxBehavior on click.now i tried adding AjaxFormValidatingBehavior on onclick