Re: Alternative to Wicket data binding

2007-08-25 Thread Timo Rantalaiho
want to conform better with the javabean way, maybe you could make falling back to direct field access a setting (default to true, please ;)). I (and surely many others) like field access anyway, and use it with Hibernate as well. - Timo -- Timo Rantalaiho Reaktor Innovations Oy

Re: Alternative to Wicket data binding

2007-08-27 Thread Timo Rantalaiho
it be data access or UI layer. One such issue is that often there is need to access the data of a domain object in ways that are not necessary in domain logic code. Maybe we should have friend visibility in Java too ;) Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http

Re: TreeTable...how to refect a label change on TreeNode

2007-08-27 Thread Timo Rantalaiho
handlers. See any AjaxEvent class. - Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: 1.3.0-SNAPSHOT maven error

2007-09-12 Thread Timo Rantalaiho
maven repository and trying to build a project that depends on 1.3.0-SNAPSHOT. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: 1.3.0-SNAPSHOT maven error

2007-09-12 Thread Timo Rantalaiho
On Wed, 12 Sep 2007, Timo Rantalaiho wrote: As far as I can tell, the parent in pom seems incorrect: parent groupIdorg.apache.wicket/groupId artifactIdwicket-jdk14/artifactId version1.3.0-SNAPSHOT/version relativePath../pom.xml

Re: Best practises and advice for integrating Wicket with Spring

2007-10-27 Thread Timo Rantalaiho
{ @SpringBean(id = myDao) private MyDao myDao; public MyModel() { InjectorHolder.getInjector().inject(this); } ... } Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: Dynamically changing CSS

2007-10-30 Thread Timo Rantalaiho
-- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Preserving user input after form error

2007-11-01 Thread Timo Rantalaiho
On Fri, 02 Nov 2007, Chris Colman wrote: private String captchaInput = new String(fred); private String captchaInput = fred; public final void onError() { super.onError(); // update model fields so the user doesn't have

Re: Wicket namespace?

2007-11-05 Thread Timo Rantalaiho
On Mon, 05 Nov 2007, Stefan Fußenegger wrote: I was asking myself the same a while ago. Today I found a file named wicket-xhtml1-strict.dtd in the SVN. You can find it at http://svn.apache.org/repos/asf/wicket/trunk/jdk-1.4/wicket/wicket-xhtml1-strict.dtd But I don't know whether this

Re: Help understaning AjaxCallDecorator problem

2007-11-06 Thread Timo Rantalaiho
for a javascript function to fail in such a way that the rest of the script would not be called? I put an alert() at the end of the saveAllForms() function I think so, yes, because I think that this is sometimes used for Javascript confirmation popups. Best wishes, Timo -- Timo Rantalaiho

Re: IOException from ModalWindow

2007-11-07 Thread Timo Rantalaiho
to reproduce with Winstone instead of Jetty - set some breakpoints to see what is being requested - make sure your HTML does not contain empty src attributes Lykkyä tykö, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: Enable and Disable using Ajax

2007-11-12 Thread Timo Rantalaiho
() { return selectedCountryHasRegions(); } or it it doesn't work regionWork = new DropDownChoice(...) { @Override public void onBeforeRender() { super.onBeforeRender(); setEnabled(selectedCountryHasRegions()); } Best wishes, Timo -- Timo Rantalaiho

Re: Change css-class of form on validation

2007-11-12 Thread Timo Rantalaiho
; } } Or something like that. It's a bit tricky if you want to make it work on ajax (e.g. with OnChangeAjaxBehavior, I think you have to explicitly call validate() or something), but very cool :) Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: Strange behavior with DropDownChoice and PropertyModel

2007-11-12 Thread Timo Rantalaiho
you don't call them themselves, just override them to react when the framework calls them. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: [EMAIL

Re: isVisible called before onBeforeRender

2007-11-12 Thread Timo Rantalaiho
in the code though. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Strange behavior with DropDownChoice and PropertyModel

2007-11-14 Thread Timo Rantalaiho
just bind the objects to be edited to model (or models) of the form and editing the form values in browser causes them to update the properties of the objects. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: AbstractAjaxTimerBehavior question

2007-11-14 Thread Timo Rantalaiho
On Tue, 13 Nov 2007, Clay Lehman wrote: every 5 seconds... Is there a way to keep the window from scrolling to the last focused component (or unfocus all components) when the onTimer is called? Or I think that at least there is a way to focus on a specific component,

Re: Using the WicketTester WITHOUT rendering a response on submit

2007-11-14 Thread Timo Rantalaiho
:) BTW, if you're interested in testing and use jMock you might want to check out JDave and its excellent Wicket support, http://www.jdave.org/ . Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: Using the WicketTester WITHOUT rendering a response on submit

2007-11-15 Thread Timo Rantalaiho
hopped through when testing Wicket apps :) To me it seems like a useful addition to the Wicket testing toolbox, maybe the core developers would know if it is in danger of breaking with updates. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: Matt Raible's ApacheCon presentation

2007-11-15 Thread Timo Rantalaiho
On Thu, 15 Nov 2007, mraible wrote: FWIW, I'd like to replace the pros and cons (my opinions) with some that are more accurate. As users of Wicket, I'd love to hear from you and get your opinions on the top 3 pros and cons of Wicket. Pros: - excellent markup previewability and separation of

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Timo Rantalaiho
, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: WicketTester: how to mock off EJB's

2007-11-17 Thread Timo Rantalaiho
; } } Though if you use EJB 3 I think that you could have some kind of dependency injection instead of a service locator. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: Session.bind() in newSession()

2007-11-19 Thread Timo Rantalaiho
On Mon, 19 Nov 2007, Niels Bo wrote: I was tracking a problem where the several Session was created with just my local browser, but it was caused by myself alternating between Jetty and Weblogic without closing the browser. There were then two session cookies (but different path), so

Re: Dynamic content on a panel

2007-11-19 Thread Timo Rantalaiho
about doing this? Each component should have its own markup. A suitable repeater might then be able to dynamically determine which components it contains. Another possibility is to make components output their own markup: there was an example on this list recently. Best wishes, Timo -- Timo

Re: How to add sortable header into ListView

2007-11-19 Thread Timo Rantalaiho
On Tue, 20 Nov 2007, Joshua Jackson wrote: SortableDataProvider. But I don't know how to get my spring bean into this class without using the @SpringBean annotation. Look at the Spring integration wiki page. Best wishes, Timo

Re: browser back button - shouldn't onBeforeRender() execute?

2008-11-18 Thread Timo Rantalaiho
On Mon, 17 Nov 2008, dukehoops wrote: Thanks for your reply. But shouldn't the headers I listed disable caching already? Re-pasting below: Yep, but in the end it's a question of what the browser does. You could experiment with different browser settings. Best wishes, Timo -- Timo Rantalaiho

Re: Panel as instance variable of parent ?

2008-11-25 Thread Timo Rantalaiho
in the hierarchy is more brittle but I'm not entirely sure what the memory impact (if any) is of storing it as an instance var. The problem is not the memory usage but coupling, which should be reduced by using Component.visitChildren() instead of get(path). Best wishes, Timo -- Timo

Re: Set format date inline

2008-11-27 Thread Timo Rantalaiho
())); Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Bug of Wicket when iterate the form using iterator()?

2008-11-28 Thread Timo Rantalaiho
= Arrays.asList((Component[])children); Is it a bug of Wicket? No, I think it's a limitation of Java. You cannnot cast arrays. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: DateTimeField and java.util.Calendar

2008-11-28 Thread Timo Rantalaiho
On Thu, 27 Nov 2008, Eduardo Simioni wrote: If you want Wicket to be competitive, you should think about better and centralized documentation. Or better yet write it :) The wiki is centralised and open, everybody is more than welcome to update and improve it. documentation, and definitely

Re: updating a page when external event occurs

2008-12-01 Thread Timo Rantalaiho
with Wicket components needs a couple of ThreadLocal variables initialised, the most important of them being the Application (with Application.set() ). But to know how to fix your issue exactly we need more data. WicketSessionFilter might help. Best wishes, Timo -- Timo Rantalaiho

Re: updating a page when external event occurs

2008-12-01 Thread Timo Rantalaiho
would only make the hierarchy change during the request cycle. To be able to do it like you're trying, you would have to emulate request cycle processing in the notify() method (at least set up the Application ThreadLocal), but it doesn't sound as good as the other way. Best wishes, Timo -- Timo

Re: backbutton with AjaxFallbackDefaultDataTable

2008-12-02 Thread Timo Rantalaiho
browser's backbutton then my table is empty until I refresh the browser. How to fix it? I think the reason of above is that after back onRender is not invoked Try disabling all caching with HTTP headers and proper browser settings. Best wishes, Timo -- Timo Rantalaiho Reaktor

Re: Inmethod DataGrid

2008-12-02 Thread Timo Rantalaiho
, but if it has Wicket Ajax behaviours bound to onclick javascript event, probably with wicketTester.executeAjaxEvent(wicketComponentOfRow, onclick); See the DataGrid source code to find out to which components the ajax behaviours are bound. Best wishes, Timo -- Timo Rantalaiho Reaktor

Re: Unable to instantiate Web session class Error:::Wicket1.3.5 Help

2008-12-02 Thread Timo Rantalaiho
that the real problem is wrapped inside the exception whose stack trace you sent. Could you send the whole stack trace please? See AuthenticatedWebApplication source code for more hints, you could put a breakpoint there in newSession and see what exactly is going on. Best wishes, Timo -- Timo

Re: WebMarkupContainer within WebMarkupContainer not updated when Ajax update

2008-12-02 Thread Timo Rantalaiho
. It's also a good exercise as you'll probably solve this issue while preparing the quickstart ;) Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: [EMAIL

Re: Why can't I initialize PasswordTextField?

2008-12-02 Thread Timo Rantalaiho
rendered by the user agent. http://www.w3.org/TR/html401/interact/forms.html#h-17.4.1 you'll have to bypass the password check for autologin. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: WebMarkupContainer within WebMarkupContainer not updated when Ajax update

2008-12-03 Thread Timo Rantalaiho
an indexed list of ints for your data. As you suggested, I used the WICKET AJAX DEBUG and I was wondering why wmc1 enclosed within component id while wmc2 not: That's because wmc1 was updated and wmc2 is inside it. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL

Re: CheckGroupSelector not working at all in a Wizard

2008-12-16 Thread Timo Rantalaiho
On Fri, 05 Dec 2008, jchappelle wrote: I have followed the example exactly(from what I can see) and when I click my Select All button nothing happens to the other buttons. Here is the code: I've never used CheckGroupSelector, but as you have your CheckBoxes inside a ListView, you should

Re: Creating dynamic forms and sumbit problem

2008-12-16 Thread Timo Rantalaiho
On Sat, 06 Dec 2008, mage wrote: questionsList = new ListView(survey, new PropertyModel(this, survey.questions)) Try questionsList.setReuseItemModels(true); For more help, you should put your code in an executable quickstart. From the email it's too difficult to investigate it

Re: Calling Javascript on AJAX load of panel.

2008-12-16 Thread Timo Rantalaiho
On Sun, 07 Dec 2008, Graeme Knight wrote: 1) Is the header contributor added to the html (this is ajax so there is no page refresh). I think so, just look at the page source e.g. with Firebug? 2) How to call the function in IFrameLoader.js (initializeIFrame()) AFTER the iframe has rendered?

Re: Component with id [[feedback]] a was not found while trying to perform markup update. Make sure you called component.setOutputMarkupId(true) on the component whose markup you are trying to update.

2009-01-14 Thread Timo Rantalaiho
On Mon, 08 Dec 2008, James Carman wrote: I believe you also have to make sure you call setOutputMarkupId(true) so that you make sure wicket spits out the markup id (so that it can select it as part of the Ajax update). setOutputMarkupPlaceholderTag(true) already does that (see its

Re: [wicket-1.4] Why has ModelT parameter to extend Serializable?

2009-01-20 Thread Timo Rantalaiho
On Tue, 20 Jan 2009, Per Newgro wrote: super(pId, new ModelListMySerializableClass(new ArrayListMySerializableClass())); super(pId, new ListModelMySerializableClass(new ArrayListMySerializableClass())); https://issues.apache.org/jira/browse/WICKET-1745 Best wishes, Timo -- Timo

Re: How to update parent component from a panel?

2009-01-20 Thread Timo Rantalaiho
. Probably it will be in some form in Wicket 1.5. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: Submitting form via ajax using wicket tester

2009-01-20 Thread Timo Rantalaiho
to get more help. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: DropDownChoice onchange event with AjaxEventBehaviour

2009-02-01 Thread Timo Rantalaiho
On Wed, 07 Jan 2009, Yazeed Isaacs wrote: Yes, I want feedback text for a lengthy process and then update the table and remove the feedback text. See IAjaxIndicatorAware. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: brainstorming

2009-02-01 Thread Timo Rantalaiho
. That being said, of course more IDE support would be nice! Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: where to find javadoc for wikcet 1.4

2009-02-01 Thread Timo Rantalaiho
On Tue, 13 Jan 2009, Jeremy Thomerson wrote: Do you use Maven? If so, do mvn eclipse:eclipse -DdownloadJavadocs=true Better yet, -DdownloadSources=true or the equivalent in pom.xml. With open source, you shold always get the source (that also provides the javadocs in the IDE). It doesn't

Re: unit test for dropdownchoice with ajax

2009-02-01 Thread Timo Rantalaiho
the problem, it would be good. Otherwise it's difficult to say what's the problem. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: users-unsubscr

Re: How to test Ajax Submit Button on A form

2009-02-01 Thread Timo Rantalaiho
if it fires the submitting behavior. I've thought that FormTester.submit() is just for non-ajax forms. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail

Re: What are Behaviors in Wicket?

2009-02-01 Thread Timo Rantalaiho
On Sun, 18 Jan 2009, HHB wrote: In easy words, what are Wicket Behaviors? what is their role? See how IBehavior interface is being implemented wicket core and -examples. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: ModalWindow gotcha!

2009-02-01 Thread Timo Rantalaiho
a quickstart reproducing the problem if you're interested in finding out more. Adding a ModalWindow in a panel should be OK. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: Simulate processing of Page

2009-02-01 Thread Timo Rantalaiho
before (search in Nabble something like rendering the page to a string), and using or getting inspiration from WicketTester might be the path to pursue. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: best way to obtain component reference?

2009-02-01 Thread Timo Rantalaiho
() { public Object component(Component component) { component.setDefaultModelObject(Deleted); } }); Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: Performance question

2009-02-01 Thread Timo Rantalaiho
also thought of fail-fast by making an assertion in a DiskPageStore subclass or some such place that would crash if the size is too big. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: AjaxFallbackDefaultDataTable and AjaxLink

2009-02-01 Thread Timo Rantalaiho
?revision=672603view=markup http://www.wicketstuff.org/wicket13/ajax/modal-window.3 It sounds like a strange UI though :) Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: WicketTester - Problem submitting a form

2009-02-01 Thread Timo Rantalaiho
(LoginPage.class); with tester.starPage(new TestPageSource() { ... }); If you can add a failing quickstart or a patch containing a failing test, it would be great. 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-02 Thread Timo Rantalaiho
Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: AjaxFallbackDefaultDataTable and AjaxLink

2009-02-02 Thread Timo Rantalaiho
-- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

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

2009-02-03 Thread Timo Rantalaiho
this XML stuff :) Cheers, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: [jira] Resolved: (WICKET-1712) Inheritance inside a Container throws WicketRuntimeException

2009-02-03 Thread Timo Rantalaiho
() { ... }); (For visitChildern(), you can supply a type of the Components you want to visit directly) Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: users

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: How to stop submit of form on AjaxSubmitLink onSubmit

2009-02-04 Thread Timo Rantalaiho
with an AjaxFormSubmitBehavior, so the word submit figures there at least three times = it's definitely meant for submitting ;) But attaching AjaxFormValidatingBehavior (instead of _Submit_Behavior) to a link does probably what you want. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations

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: FormTester doesn't call the submit method

2009-02-05 Thread Timo Rantalaiho
, please post some code. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: Testing DataView

2009-02-05 Thread Timo Rantalaiho
? There shouldn't be anything special about it, you should abstract out how the dataview gets it data, for example by using dependency injection, and provide the data in the test. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: IoC: how to best handle non-serializable fields in wicket

2009-02-05 Thread Timo Rantalaiho
On Fri, 06 Feb 2009, Andreas Petersson wrote: so, im using wicket together with guice for DI. i really wondered that the correct approach is here. http://wicketstuff.org/wicket13/guice/ http://cwiki.apache.org/WICKET/wicket-guice-and-ibatis-example.html Best wishes, Timo -- Timo Rantalaiho

Re: IoC: how to best handle non-serializable fields in wicket

2009-02-05 Thread Timo Rantalaiho
). The access to the dao is proxied by a serialisable proxy. The proxy can be serialised and deserialised without problems, and it will access the real dao. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Wicket BDD with JDave training at ApacheCon EU 2009 on Tue 24 March in Amsterdam

2009-02-05 Thread Timo Rantalaiho
Hello all, My colleagues Markus Hjort and Marko Sibakov and I are holding a full-day training session on applying the JDave Behavior-Driven Development (BDD) framework for developing Apache Wicket applications. This will take place in the ApacheCon EU 2009 conference in Amsterdam on Tuesday 24

Re: Testing DataView

2009-02-08 Thread Timo Rantalaiho
and started by WicketTester, it should be rendered and the Items should be there. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: users-unsubscr

Re: Wicket BDD with JDave training at ApacheCon EU 2009 on Tue 24 March in Amsterdam

2009-02-08 Thread Timo Rantalaiho
Hello again, We have now put the current version of the training material online at http://www.jdave.org/bdd-wicket/ It can be interesting even if you cannot make it to the session. We'll be updating the material every now and then. Best wishes, Timo -- Timo Rantalaiho Reaktor

Re: Wicket BDD with JDave training at ApacheCon EU 2009 on Tue 24 March in Amsterdam

2009-02-08 Thread Timo Rantalaiho
On Sun, 08 Feb 2009, Johan Compagner wrote: Talking about apache con eu 2009 Shouldnt we organize a get to gether? I think we can now use the conference rooms of apache con them selfs. Yes! Being busy family men and consultants, we're planning to get there on Monday evening and leave on

Re: Why Wicket application contains maven-jetty-plugin?

2009-02-08 Thread Timo Rantalaiho
On Sun, 08 Feb 2009, HHB wrote: Why POM of a Wicket skeleton application contains maven-jetty-plugin? To be able to run your application from the command line with mvn jetty:run in the cases when that makes more sense than running a Jetty.java or something such from the IDE. Best wishes,

Re: Why Wicket application contains maven-jetty-plugin?

2009-02-08 Thread Timo Rantalaiho
unit tests http://www.artima.com/weblogs/viewpost.jsp?thread=126923 but the difference doesn't usually matter until you have hundreds or thousands of tests. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: Using converters properly in Wicket?

2009-02-08 Thread Timo Rantalaiho
On Sun, 08 Feb 2009, Martin Makundi wrote: Exactly. I had a component with its own converter and my memory profiler showed that it ended up hogging 200 MB. Wow, that's interesting. Did you file a Jira issue and/or would you be able to do a quickstart to produce that? Did your converter have

Re: Testing DataView

2009-02-08 Thread Timo Rantalaiho
On Sun, 08 Feb 2009, Erick Fleming wrote: private final org.apache.wicket.markup.repeater.data.IDataProvider org.apache.wicket.markup.repeater.data.DataViewBase.dataProvider [class=$Proxy5] protected java.lang.reflect.InvocationHandler java.lang.reflect.Proxy.h

Re: Proper hook for conversational state that also works with tests

2009-02-08 Thread Timo Rantalaiho
On Fri, Feb 6, 2009 at 9:06 AM, cpopetz cpop...@gmail.com wrote: This works great when running in-container, but isn't playing well with tests that use ajax. When an ajax link is clicked in-container, the full request cycle is step()ed through. But BaseWicketTester.clickLink(), which I

Re: Problem with WebRequestCodingStrategy's and mobile phones

2009-02-10 Thread Timo Rantalaiho
% until we figured this out. Hope this helps someone else. Thanks for sharing this! Care to put a note on the wiki (even just copy-paste your mail)? Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: Three tier layered application using Wicket + Spring + Hibernate. How would you handle transactions?

2009-02-10 Thread Timo Rantalaiho
will live longer before being able to commit by being uncommitted in the view as well. What do you mean with this exactly? Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: Inconsistent Model Binding on Form Submit

2009-02-10 Thread Timo Rantalaiho
On Tue, 10 Feb 2009, Dane Laverty wrote: form. The problem is user-dependent, i.e. it always breaks for certain users and it never breaks for the other users. If a user calls us with this problem, we haven't been able to find anyway to get around it. I haven't been able to replicate the

Re: Testing DataView

2009-02-11 Thread Timo Rantalaiho
classes. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Wicket meetup in Amsterdam news

2009-02-12 Thread Timo Rantalaiho
) I suppose that Tuesday would fit better. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e

Re: FormTester selectMultiple CheckBoxMultipleChoice help

2009-02-13 Thread Timo Rantalaiho
On Wed, 11 Feb 2009, ray bon wrote: I am trying to test the case where a user is changing the set of checked options for a CheckBoxMultipleChoice. When using FormTester.selectMultiple the new values are added rather than replacing the existing values. ... How do I get FormTester to unselect

Re: Checkbox OnChangeAjaxBehavior with defaultFormProcessing=false??

2009-02-13 Thread Timo Rantalaiho
-- toggle the input DOM element properties with javascript attached on the correct event handler (onclick I think?) of the checkboxes. Your favourite Javascript library (e.g. http://acko.net/files/jQuery%20-%2023%20March%202007.pdf ) can come handy there. Best wishes, Timo -- Timo Rantalaiho

Re: create custom feedback panel list

2009-02-13 Thread Timo Rantalaiho
wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Intellij Idea Plugin Bounty

2009-02-13 Thread Timo Rantalaiho
=http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd; xml:lang=en lang=enbody If you have better ideas, they are most welcome. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: Checkbox OnChangeAjaxBehavior with defaultFormProcessing=false??

2009-02-13 Thread Timo Rantalaiho
On Fri, 13 Feb 2009, Martin Makundi wrote: Yes, this is what I am trying to do, but disabling and enabling a textfield ends up clearing its value too if I use AjaxFormSumitBehavior. Don't know why. Maybe a conversion error that prohibits updating the model? Though in the case of validation or

Re: How to get a reference to the holding page from a panel

2009-02-15 Thread Timo Rantalaiho
On Fri, 13 Feb 2009, Warren Bell wrote: I have a simmilar situation where I want to put a panel nested in a panel nested in a page. The panel that is nested in the page stays the same for many different pages, but the panel nested into the panel changes. Would you do an anonymous panel

Re: inmethod datagrid, validation, and feedback

2009-02-15 Thread Timo Rantalaiho
FeedbackPanel(feedback) .setOutputMarkupPlaceHolder(true); add(feedback); ... @Override protected void onSubmit(AjaxRequestTarget target) { target.addComponent(feedback); ... } Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: FormTester.setValue accepting invalid component id's

2009-02-18 Thread Timo Rantalaiho
for backwards compatibility, but from 1.5 onwards not. Could you please file a Jira issue? Even better if it's with a patch ;) Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: Problems with ListMultipleChoice component

2009-02-18 Thread Timo Rantalaiho
On Wed, 18 Feb 2009, David R Robison wrote: I'm having trouble with the ListMultipleChoice component. It displays correctly, but when I submit the form, the server side code does not see any items selected. Any thoughts? Can anyone point me to a good example? Have you checked out

Re: Drop Down Box - Ajax Behaviour

2009-02-18 Thread Timo Rantalaiho
of the different Ajax*Form*Behavior to see better what they do. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: .html-templates compiler

2009-02-20 Thread Timo Rantalaiho
On Tue, 17 Feb 2009, kan wrote: I mean if you have a wicket:id=abc, it will generate class with... emm... not sure, say method getAbc() which will return an object which represents an element, so it can be bound to a Component. So, in java-code you can use only elements which are actually

Re: Drop Down Box - Ajax Behaviour

2009-02-22 Thread Timo Rantalaiho
); If the dropdown values should change when needed, you shouldn't just fetch the data on component creation and populate the dropdown with it, but have the model get fresh data on every render. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http

Re: Feedback message isn't displayed

2009-02-22 Thread Timo Rantalaiho
is NOT displayed, reporter = 0, level = ERROR] That sounds strange. Could you wrap your code in a quickstart, make a Jira issue and attach it? Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: LDM with Generics for DropDownChoice

2009-02-22 Thread Timo Rantalaiho
until you need it :) E.g. you have user dropdown that shows Users and then you want to use it to list objcets of Admin extends User. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi

Re: LDM with Generics for DropDownChoice

2009-02-24 Thread Timo Rantalaiho
, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: external image inside link

2009-02-24 Thread Timo Rantalaiho
On Tue, 24 Feb 2009, novotny wrote: I tried to do something like ExternalLink(link, http://www.gohere.com;, \images/logos/ ); but it escaped the img I tried to pass in as a label. setEscapeModelStrings(false) ? Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL

Re: How to Show Error Of Page In Deployment MOde

2009-02-24 Thread Timo Rantalaiho
On Tue, 24 Feb 2009, carlo c wrote: I know that this might sound a little strange. but i need to be able to show the error of the system even during deployment mode. I have to show them the stacktrace. You should see the setting that does this and enable it while staying in deployment mode as

Re: NPE thrown from CheckBoxMultipleChoice when submitting a form.

2009-02-25 Thread Timo Rantalaiho
could browse the Jira issues with fix version 1.4-rc2, and / or try to reproduce the problem in a quickstart. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e

  1   2   3   4   >