1.4 Release date

2009-01-19 Thread Jo Voordeckers
Hi Wicket team, We're very excited with the framework so far and when our project turns out to be a success the company standard will move from Spring MVC to Wicket. Now since we're using it in a JEE5 environment with Spring, JPA, etc we'd like to use 1.4, but as long as it's unreleased,

using cached data in DataTable

2009-01-19 Thread miata
Hi, I have a problem in using dataTable with paging navigation. DataTable Provider use cache mechanism provided by AbstractPageableView, the cache scope is the request (It's certainely for integrity data cause) But I like to extend this scope to the all paginate data view life, is there an

Updating label using ajax on event

2009-01-19 Thread Gohan
Hi, I'd like to change the text of a Label when a certain event (callback) is received using Ajax. How should I go about? The event is not triggered by a user interaction but from a server-side service indicating that an certain operation is complete. This is what I would like to show in the

Re: Updating label using ajax on event

2009-01-19 Thread Ernesto Reinaldo Barreiro
See class AjaxSelfUpdatingTimerBehavior... Ernesto On Mon, Jan 19, 2009 at 11:40 AM, Gohan hal...@gmail.com wrote: Hi, I'd like to change the text of a Label when a certain event (callback) is received using Ajax. How should I go about? The event is not triggered by a user interaction but

Re: Wicket presentation at Bulgarian JUG

2009-01-19 Thread Maarten Bosteels
Nice presentation ! I found one tiny copy/paste error on page 20: Last line: Every time this label is redrawn a new call to person.getName() will be made Should be: Every time this label is redrawn a new call to person.getAddress(0.getCity() will be made Maarten On Sun, Jan 18, 2009 at 7:16

Re: 1.4 Release date

2009-01-19 Thread francisco treacy
i'm also interested francisco On Mon, Jan 19, 2009 at 9:57 AM, Jo Voordeckers jo.voordeck...@gmail.com wrote: Hi Wicket team, We're very excited with the framework so far and when our project turns out to be a success the company standard will move from Spring MVC to Wicket. Now since

Re: Turn off form validation

2009-01-19 Thread Kaspar Fischer
On 19.12.2008, at 13:45, Martijn Dashorst wrote: Adding a new record to a list should not trigger model updates. It should just add the thing and repaint the container with the added item. If you use a (ajax)submit(link|button) you can setDefaultFormProcessing(false) on the button/link and

Re: Wicket Tester

2009-01-19 Thread PSkarthic
The links are very usefull. Thank you very much for your help. Regards karthic -- View this message in context: http://www.nabble.com/Wicket-Tester-tp21537981p21539882.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Contributing to Wicket - Client side form validation

2009-01-19 Thread cazoury
Hi Jeremy, No problem at all, and thanks a lot for reviewing that Please feel free, let me know if you need any action from me on that subject. Carl Jeremy Thomerson-5 wrote: Carl, Would you mind if I made a few minor changes to your pom files to make this project conform to the

RE: Turn off form validation

2009-01-19 Thread Hoover, William
http://cwiki.apache.org/WICKET/conditional-validation.html see alternative approach -Original Message- From: Kaspar Fischer [mailto:fisch...@inf.ethz.ch] Sent: Monday, January 19, 2009 5:19 AM To: users@wicket.apache.org Subject: Re: Turn off form validation On 19.12.2008, at 13:45,

WicketNotSerializableException

2009-01-19 Thread Thomas Singer
On our webserver I'm getting WicketNotSerializableException in the log, but I never got them locally. What should I do to trigger them in my local test server? Thanks in advance, Tom - To unsubscribe, e-mail:

WicketRuntimeException

2009-01-19 Thread Daniel Ferreira Castro
Morning all guys, I am looking for this error on Google, but till now without success, for the reason of why this error occurs.. Can anyone help me? Thanks in advance. == Stacktrace

Object in session is null after first ajax call - Deserialization problem?

2009-01-19 Thread Liz Huber

Object in session is null after first ajax call - Deserialization problem?

2009-01-19 Thread Liz Huber

Re: Turn off form validation

2009-01-19 Thread Kaspar Fischer
On 19.01.2009, at 14:25, Hoover, William wrote: http://cwiki.apache.org/WICKET/conditional-validation.html see alternative approach Thanks -- I was actually hoping for something simpler/more elegant?! - To unsubscribe,

Re: DropDownChoice missing in IE6 when has AJAX

2009-01-19 Thread Alex . Borba
Hello All, Anyone has a clue on how can I solve that? tks 01/15/2009 08:34 PM alex.bo...@souzacruz.com.br Please respond to users@wicket.apache.org To users@wicket.apache.org cc Subject Re: DropDownChoice missing in IE6 when has AJAX Hi everybody, I'm new on wicket

Re: DropDownChoice missing in IE6 when has AJAX

2009-01-19 Thread Dipu
attach a quickstart replicating the problem, this will help some one to take a look. regards Dipu On Mon, Jan 19, 2009 at 3:57 PM, alex.bo...@souzacruz.com.br wrote: Hello All, Anyone has a clue on how can I solve that? tks 01/15/2009 08:34 PM alex.bo...@souzacruz.com.br

Re: Wicket stuff core, archetypes?

2009-01-19 Thread francisco treacy
hi jon, it would be nice to enable other parties to build similar wicket component searching technologies that are not linked to wicket hub definitely my simplistic understanding was that nexus could search for jars with certain files in them. not unless you extend it it ought to be

Re: WicketRuntimeException

2009-01-19 Thread francisco treacy
you may want to focus on the actual errors. - you're having some trouble in your classpath / wicket jar versions: Caused by: java.lang.NoSuchMethodError: org.apache.wicket.markup.html.form.Form.add(Lorg/apache/wicket/ Component;)Lorg/apache/wicket/MarkupContainer; at

Plain IMG src urls

2009-01-19 Thread Prag
I have a DB table that contains plain URL's in text like http://someExternalServer/blabla/1.jpg. How can I put this plain text URL in a HTML IMG elements' SRC attribute without Wicket making modifications to the URL? -- View this message in context:

Re: Contributing to Wicket - Client side form validation

2009-01-19 Thread jWeekend
Jeremy, Since you're digging around in there and if what you wanted to change doesn't already fix this, the yav and yav-examples project have unnecessary dependencies on jmxtools and jms jars (probably from some parent/grand parent POM). Regards - Cemal http://jWeekende.co.uk jWeekend

Re: using cached data in DataTable

2009-01-19 Thread Igor Vaynberg
you should cache inside your idataprovider implementation. -igor On Mon, Jan 19, 2009 at 2:31 AM, miata matthieu@gmail.com wrote: Hi, I have a problem in using dataTable with paging navigation. DataTable Provider use cache mechanism provided by AbstractPageableView, the cache scope is

Re: Plain IMG src urls

2009-01-19 Thread Igor Vaynberg
class simpleimage extends webmarkupcontainer { protected void oncomponenttag(tag) { tag.put(src, getmodelobjectasstring()); } } -igor On Mon, Jan 19, 2009 at 9:15 AM, Prag pragprog...@gmail.com wrote: I have a DB table that contains plain URL's in text like

Re: Plain IMG src urls

2009-01-19 Thread Scott Swank
This is what we use. It's mostly code that Igor posted in a response to me 1 year ago or so... public class StaticImage extends WebComponent { public StaticImage(String id, IModel model) { super(id, model); } public StaticImage(String id, String

Re: Plain IMG src urls

2009-01-19 Thread Scott Swank
Yes, just like that. On Mon, Jan 19, 2009 at 9:21 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: class simpleimage extends webmarkupcontainer { protected void oncomponenttag(tag) { tag.put(src, getmodelobjectasstring()); } } -igor On Mon, Jan 19, 2009 at 9:15 AM, Prag

wicketstuff build question

2009-01-19 Thread rossputin
Hi guys. Hoping you can shed some light on this. I accidentally posted this to the wicketstuff group under nabble, and understand it is best put here in Wicket - User. Recent updates to the wicketstuff-core maven project I use, and wicket-1.4-SNAPSHOT are causing a conflict. If I build

Re: Plain IMG src urls

2009-01-19 Thread Vit Rozkovec
Try this: public class ExternalImage extends WebComponent { /** * Construct. * * @param id * @param url */ public ExternalImage(String id, String url) { this(id, new Model(url)); } /** * Construct. * * @param id * @param model */

Re: WicketNotSerializableException

2009-01-19 Thread Igor Vaynberg
what does the stacktrace look like? -igor On Mon, Jan 19, 2009 at 5:47 AM, Thomas Singer wic...@regnis.de wrote: On our webserver I'm getting WicketNotSerializableException in the log, but I never got them locally. What should I do to trigger them in my local test server? Thanks in advance,

Re: Plain IMG src urls

2009-01-19 Thread Vit Rozkovec
That was too easy :) Vit Rozkovec wrote: Try this: public class ExternalImage extends WebComponent { /** * Construct. * * @param id * @param url */ public ExternalImage(String id, String url) { this(id, new Model(url)); } /** * Construct.

Re: 1.4 Release date

2009-01-19 Thread Igor Vaynberg
we are voting on rc2 right now. after that it should be minor bug fixes here and there until the rc and the final. -igor On Mon, Jan 19, 2009 at 12:57 AM, Jo Voordeckers jo.voordeck...@gmail.com wrote: Hi Wicket team, We're very excited with the framework so far and when our project turns out

RE: DropDownChoice missing in IE6 when has AJAX

2009-01-19 Thread alex.borba
follow all significant code... -- Here goes the HTML: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html headREMOVED /head body div id=globalContainer class=globalBodyContainer input id=previousTRId type=hidden value=/ input

Re: Plain IMG src urls

2009-01-19 Thread Prag
Quick replies :) Thanks people The onComponentTag works perfect. (I only had to change getModelObjectAsString to getDefaultModelObjectAsString; the first one didn't exist.) Vit Rozkovec wrote: That was too easy :) Vit Rozkovec wrote: Try this: public class ExternalImage extends

Re: DropDownChoice missing in IE6 when has AJAX

2009-01-19 Thread Igor Vaynberg
i doubt wicket can cause anything like that, it looks like you have some css that ie6 cannot handle. -igor On Mon, Jan 19, 2009 at 10:03 AM, alex.bo...@accenture.com wrote: Also I'm attaching a video which shows the problem. I don't know if attachments are allowed so I splited in 2 messages,

Re: DropDownChoice missing in IE6 when has AJAX

2009-01-19 Thread Matej Knopp
Hi, looking at your video this is most probably a CSS issue and it's not directly wicket related. My guess would be position:relative somewhere, which IE6 handles often in very broken way. -Matej On Mon, Jan 19, 2009 at 7:04 PM, alex.bo...@accenture.com wrote: follow all significant code...

RE: DropDownChoice missing in IE6 when has AJAX

2009-01-19 Thread jWeekend
Alex, Your video is quite entertaining but I don't think Wicket is clever enough to make such a mess without a lot of help (javascript, css, dodgy browser etc...). If you send a http://wicket.apache.org/quickstart.html quickstart I am sure someone will help you solve this. Make sure you

Re: Wicket presentation at Bulgarian JUG

2009-01-19 Thread jWeekend
Martin, Interesting idea and implementation, thanks. Now if we could embed some video/audio of the presentation too, that stays in sync with the slides ie slides and video synchronized in both directions ... it would be one good way of publishing some of our http://jweekend.com/dev/LWUGReg/

Re: Turn off form validation

2009-01-19 Thread jWeekend
Kaspar, Will either of getInput() or getVaue() allow you to do what you want? Regards - Cemal http://www.jWeekend.co.uk jWeekend hbf wrote: On 19.12.2008, at 13:45, Martijn Dashorst wrote: Adding a new record to a list should not trigger model updates. It should just add the thing

Re: WicketNotSerializableException

2009-01-19 Thread Thomas Singer
The stacktrace is following (using Wicket 1.3.5): at org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:342) at org.apache.wicket.util.io.SerializableChecker.access$500(SerializableChecker.java:63) at

Re: Object in session is null after first ajax call - Deserialization problem?

2009-01-19 Thread jWeekend
Liz, When you say Object in session do you mean some attribute of your custom WebSession subclass is null or that some state of a page that you thought was not supposed to be null is null? Is there a reason (eg an exception) you think it's something to do with deserialization? Regards - Cemal

Re: WicketNotSerializableException

2009-01-19 Thread Igor Vaynberg
what are the higher stack frames? the checker is always used so it is interesting you do not get those exceptions. is version of jvm the same in prod and dev? -igor On Mon, Jan 19, 2009 at 11:29 AM, Thomas Singer wic...@regnis.de wrote: The stacktrace is following (using Wicket 1.3.5):

Re: WicketNotSerializableException

2009-01-19 Thread jWeekend
Thomas, Check that your page in questions cannot sometimes have some non-serialisable state. For instance, your page could hold a reference to a collection of objects and in some (possibly rare in your app) cases one or more of the elements in the collection (eg instances a superclass or sibling

Re: WicketNotSerializableException

2009-01-19 Thread Serkan Camurcuoglu
you can also miss logs if your logging setup is incorrect.. it may happen because of conflicting commons-logging or log4j jars, or if you have multiple log4j.properties files in your classloader hierarchy.. I don't know how these logging frameworks work exactly, but I had a similar problem and it

RE: DropDownChoice missing in IE6 when has AJAX

2009-01-19 Thread Alex . Borba
Thank you for the suggestion, most of you are saying that apparently this issueis related to something else but wicket, but is curious how the problem is easily fixed just deleting the Wicket Modal Window which is related to a button. I'm working on the quickstart now, while some friends are

Re: I also have the question

2009-01-19 Thread UPBrandon
From what I've read, the difference between the two browsers is that IE uses the file name's extension to determine what type of file it is and other browsers like FireFox use the MIME type provided by the remote server (your application in this case.) So, IE is seeing .csv and assuming it's a

Problem using @SpringBean with Wicket 1.3.5

2009-01-19 Thread Kent Larsson
Hi, I've tried to solve this for several hours now, without success, but then again I'm not that experienced. :-) I have an application with Spring beans which I want to use from Wicket, using @SpringBean. To see that Spring works fine I've tried using my bean without the @SpringBean annotation.

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

2009-01-19 Thread Per Newgro
Hi *, i would like to know how i should get this to work: class MyPanel extends BasePanelMySerializableClass { public MyPanel(String id) { super(id, new ModelListMySerializableClass(new ArrayListMySerializableClass())); } } Compiler says: The constructor

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

2009-01-19 Thread Igor Vaynberg
how is basepanel declared? -igor On Mon, Jan 19, 2009 at 12:35 PM, Per Newgro per.new...@gmx.ch wrote: Hi *, i would like to know how i should get this to work: class MyPanel extends BasePanelMySerializableClass { public MyPanel(String id) { super(id, new

Re: Problem using @SpringBean with Wicket 1.3.5

2009-01-19 Thread Igor Vaynberg
you have to disable the security manager that your servlet container is using because it is blocking wicket's reflection calls. -igor On Mon, Jan 19, 2009 at 12:30 PM, Kent Larsson kent.lars...@gmail.com wrote: Hi, I've tried to solve this for several hours now, without success, but then

wicket/databinder bug? No session currently bound...

2009-01-19 Thread rmorrisey
Short story: I think I found a wicket or databinder bug. I'm getting an error when rehydrating a databinder page from the DiskPageStore. I am posting it on both the wicket mailing list and the databinder forum, because I'm not sure which it belongs to. Long story: Let me give the error and the

Re: wicketstuff build question

2009-01-19 Thread Jeremy Thomerson
It is most likely that the 1.4-SNAPSHOT from wicketstuff repo is not being built regularly like it should. You could check TeamCity on wicketstuff.org . I can look into it, but it won't be today. -- Jeremy Thomerson http://www.wickettraining.com On Mon, Jan 19, 2009 at 11:25 AM, rossputin

Need help editing a Map plz.

2009-01-19 Thread Ned Collyer
Hi Guys, I have a data construct which is as follows: Template MapString, ListConstraint fieldConstraints; The map is fieldname against a list of constraints. Eg, I might have firstName as the field, and the following constraints length between 2 and 16 characters mandatory alphas

RE: Need help editing a Map plz.

2009-01-19 Thread Jeremy Thomerson
Maybe try a RepeatingView of some sort (ListView?) over new ArrayList(map.keySet())... Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: Ned Collyer ned.coll...@gmail.com Sent: Monday, January 19, 2009 6:14 PM To:

RE: Need help editing a Map plz.

2009-01-19 Thread Ned Collyer
Got it licked - stuffed up the editors. Specifically I neglected convertInput because I happen to be an idiot. Thanks JT - I have the keyset stuff down already ;) I was just wondering why my constraints were instantiated, but when they were submitted their inner detail was nulled out. Makes

Getting the Exception from Exception Page (for logging purposes)...

2009-01-19 Thread Graeme Knight
Hi, Is it possible that after setting UnexpectedExceptionDisplay page, you can get the exception that caused this page to be fired up? Cheers, Graeme. -- View this message in context:

Re: Getting the Exception from Exception Page (for logging purposes)...

2009-01-19 Thread Igor Vaynberg
you can override requestcycle#onruntimeexception(exception e) and log it there. -igor On Mon, Jan 19, 2009 at 6:40 PM, Graeme Knight graeme1...@gmail.com wrote: Hi, Is it possible that after setting UnexpectedExceptionDisplay page, you can get the exception that caused this page to be fired

RE: Need help editing a Map plz.

2009-01-19 Thread Ned Collyer
No - i officially don't know what's wrong :) This is my snippet - ListString list = new ArrayListString(model.getObject().getConstraints().keySet()); // display any existing constraints form.add(new ListViewString(fields, list) { protected void

RE: Need help editing a Map plz.

2009-01-19 Thread Ned Collyer
Bleh - its one of those days. Changed the base of the form fields from FormComponentPanel back to Panel - and bobs ur uncle. Sorry for the list noise (recovering from holidays still). Ned Collyer wrote: No - i officially don't know what's wrong :) This is my snippet -

Re: Problem using @SpringBean with Wicket 1.3.5

2009-01-19 Thread Phillip Rhodes
Kent, I am using 1.3.5 fine with springbean. some differences that I see between your/mine is that I have the protected modifier. Mine: @SpringBean(name = eventService) protected EventService eventService; another difference: Try adding a slash to the beginning of your