[Wicket-user] ModalWindow, Forms, and Updating underlying Panels

2007-04-15 Thread Julian Klappenbach
Here's the situation: I have a panel that displays a list of users using AjaxFallbackDefaultDataTable. This is working just fine. I have a button on the page, "Create" which launches a page based modal dialog with a form for gathering input on the new user. I couldn't get SubmitButton to work

Re: [Wicket-user] ModalWindow, Forms, and Updating underlying Panels

2007-04-15 Thread Matej Knopp
Hi, To refresh the dataview, you need to register a windowsclosedcallback on your modal window. final WebMarkupContainer dataTableHolder = new WebMarkupContainer("dataTableHolder); dataTableHolder.setOutputMarkupId(true); add(dataTableHolder); dataTableHolder.add(dataTable); window.setWindowCl

Re: [Wicket-user] Nullify objectModel when component is not visible

2007-04-15 Thread Johan Compagner
when is it set to null? public final Component setVisible(final boolean visible) { // Is new visibility state a change? if (visible != getFlag(FLAG_VISIBLE)) { // record component's visibility change addStateChange(new VisibilityChange(this));

Re: [Wicket-user] ModalWindow, Forms, and Updating underlying Panels

2007-04-15 Thread Julian Klappenbach
Worked like a charm. I had been trying a similar approach, but was attempting to use the following: target.addComponent(dataTable) Which complained that there was no page assignment. This does the trick. Also, for anyone else interested, I had to structure my markup as: Wicket rocks.

Re: [Wicket-user] switching back to WicketFilter from ReloadingWicketFilter in production

2007-04-15 Thread Johan Compagner
you could use a system property for that? so the filter only works if a system property is set. johan On 4/14/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote: * Peter Thomas: > Thanks. Do you want me to open a JIRA? Well, I don't think this will really work, because when the

Re: [Wicket-user] Creating Entire Forms in Java Code Only?

2007-04-15 Thread Johan Compagner
Also, it seems like a lot of swing developers wish they had something like wicket, where they can do the form layout/design in xml and then do the complicated bits in java. I think that although that isn't exactly what F3 is, that's why people are excited by it. i wouldn't like tha

[Wicket-user] Unable to add images to Wicket wiki

2007-04-15 Thread Peter Thomas
Hi, I'm in the middle of adding a Wiki page on using JMeter and Wicket here: http://cwiki.apache.org/confluence/display/WICKET/Wicket+and+JMeter+with+Regular+Expressions I wanted to add a couple of screenshots but looks like this is restricted. I can send across the 3 PNG files to someone if re

[Wicket-user] Capture Selection of a AutoCompleteTextBox

2007-04-15 Thread djsnowsill
Hi All, I was wondering if it is possible to capture the user selection of a AutoComplete Text Box? I have tried capturing lostFocus and other events but nothing seems to work. Thanks for your help David -- View this message in context: http://www.nabble.com/Capture-Selection-of-a-AutoComplet

Re: [Wicket-user] Wicket 1.2.5 and/or 1.3 on WOJ (World of Java) ?

2007-04-15 Thread Xavier Hanin
On 4/14/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: i emailed them back in the day they started out and asked for a free oss license. they turned me down, and that led me to discover Yes, we (Jayasoft, editor of WOJ) were still searching a good compromise between cost and pricing. Now you ca

Re: [Wicket-user] Capture Selection of a AutoCompleteTextBox

2007-04-15 Thread djsnowsill
Answering my own question: use new AjaxFormComponentUpdatingBehavior("onchange") for example: suggestField.add(new AjaxFormComponentUpdatingBehavior("onchange") { protected void onUpdate(AjaxRequestTarget target) { target.

Re: [Wicket-user] Wicket-user Digest, Vol 11, Issue 98

2007-04-15 Thread tooy li(Gmail)
actually, i don't know how to use jira .:P. could you send me a url for it? Need apply a account for it? > Message: 1 > Date: Sat, 14 Apr 2007 10:22:01 -0700 > From: "Eelco Hillenius" <[EMAIL PROTECTED]> > Subject: Re: [Wicket-user] crtypted url cannot work for current 2.0 > snap shot > To: [EMAIL

Re: [Wicket-user] Wicket-user Digest, Vol 11, Issue 98

2007-04-15 Thread Eelco Hillenius
Wicket's JIRA installation can be found here https://issues.apache.org/jira/browse/WICKET You can create an account for free, which you can use for all Apache projects that use JIRA. When you're done registering and logging in, click 'create new issue' and go. Eelco On 4/15/07, tooy li(Gmail) <

Re: [Wicket-user] Unable to add images to Wicket wiki

2007-04-15 Thread Eelco Hillenius
I see 3 screenshots now, so I guess you worked it out right? Thanks for the contribution btw. Eelco On 4/15/07, Peter Thomas <[EMAIL PROTECTED]> wrote: > Hi, > > I'm in the middle of adding a Wiki page on using JMeter and Wicket here: > > http://cwiki.apache.org/confluence/display/WICKET/Wicket+

Re: [Wicket-user] Testing an External SubmitLink

2007-04-15 Thread Jean-Baptiste Quenot
* Joe Brunner: > I'm attempting to test a panel that contains a SubmitLink. > However, the WicketTester.clickLink() method does not recognize > the SubmitLink. > > When I run the test, I get a stack trace stating: > > wicket.WicketRuntimeException: Link testpanel:graph is not a > Link,

[Wicket-user] set "dir" attribute of body tag of page

2007-04-15 Thread ali
my page has transparent two border . how change direction of page based say locale of page (fa_IRan is dir="rlt") -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ - This SF.net email is sponsored by

[Wicket-user] Integrating Guice into wicket-phonebook

2007-04-15 Thread Wesley Hales
I was able to get Guice's DI working and the wicket-phonebook app displays fine (btw, I am on 1.3.0-incubating-snapshot), but when I call a service from the HibernateContactDao class I get the following (i.e - I get this message after trying to edit a contact in the list displayed. When I click "s

Re: [Wicket-user] Integrating Guice into wicket-phonebook

2007-04-15 Thread Igor Vaynberg
you get that error because a hibernatre session has not been created yet guice is just DI, wicket-phonebook uses spring for a lot more. it uses open-session-in-view filter, as well as spring's ability to create sessions for transactional contexts used by phonebook. so to the short of it is, you

[Wicket-user] Property model with getter/setter parameters

2007-04-15 Thread Dreamage
Hi, I would like to know if there is a way in wicket to have a model use getter/setter with parameters. Have a look at my example below; I have a bean called Product with a "name" property, but it's stored in a map using a java.util.Locale as a key. I would like to bind this property to a textfie

Re: [Wicket-user] Property model with getter/setter parameters

2007-04-15 Thread Igor Vaynberg
class localemodel exnteds imodel { private Locale locale; private IModel productModel; public localemodel(Locale locale, IModel pm) { this.locale=locale; this.productModel=pm; } public Object getObject() { return ((Product)pm.getObject()).getName(locale); } public void setObject(

[Wicket-user] Export to CSV encoding problem

2007-04-15 Thread LongkerDandy
Hi I'm try to export a table to CSV format; Following the example from "wicket.examples.displaytag.export", most things goes well, except the encoding. It seems that when I export it to the CSV or XLS format, the Excel don't know what encoding my file used. All the Chinese characters in CSV and

Re: [Wicket-user] Export to CSV encoding problem

2007-04-15 Thread Juergen Donnerstag
Unlike XML, CSV files don't have a tag or any other option to tell which encoding the characters are. Hence Word, Excel etc are assuing the encoding is equal to you computers default encoding (CP1259 in Germany). Some programms are more intelligent than others and recognize if certain byte codes ar