Re: wicketstuff build question

2009-01-20 Thread Martin Funk
Wicket core corrected a typo in IHeaderResponse which changed the method signature. So gmap implementing that interface broke. I just corrected that, so in the svn repo it should be fine now. don't know how fast the build systems catch up on that. mf 2009/1/19 rossputin rossaj...@yahoo.co.uk

Re: wicketstuff build question

2009-01-20 Thread rossputin
Thanks for your help guys, all sorted, Ross Martin Funk-3 wrote: Wicket core corrected a typo in IHeaderResponse which changed the method signature. So gmap implementing that interface broke. I just corrected that, so in the svn repo it should be fine now. don't know how fast the

Using AbstractDefaultAjaxBehavior on a Bookmarkable page?

2009-01-20 Thread Wayne Pope
Hi, when I use an AbstractDefaultAjaxBehavior on a Bookmarkable page I get a : org.apache.wicket.protocol.http.PageExpiredException: Cannot find the rendered page in session [pagemap=null,componentPath=37,versionNumber=0] However if the AbstractDefaultAjaxBehavior is on a none nookmarkable

Re: Problem using @SpringBean with Wicket 1.3.5

2009-01-20 Thread Kent Larsson
Hi Phillip, The help I got from Igor Vaynberg solved my problem. It was the security manager which was restricting my application from using the Reflection API. I wrote this in our internal documentation: A change which is normally done in the conf file catalina.policy is needed. Ubuntu prefers

Re: Problem using @SpringBean with Wicket 1.3.5

2009-01-20 Thread Kent Larsson
Thanks Igor! That helped me. I wrote this in our internal documentation and I'm including it in case someone searches for this problem: A change which is normally done in the conf file catalina.policy is needed. Ubuntu prefers to split that file into different parts and merge it before starting

problem with dropdownchoice

2009-01-20 Thread itayke
Hi, I have this problem with my dropdownchoice with results in WicketMessage: No get method defined for class: class screens.CustomerFilters$FormInput expression: devices were the java class has: public CustomerFilters(){ super(); FormInput formInput =

Re: problem with dropdownchoice

2009-01-20 Thread Alex Objelean
Wicket expects that FormInput would have a getter for devices. This happens because you are using CompoundPropertyModel with your formthus the wicket id is automatically used as a propertyModel on the form model object. Alex Objelean itayke wrote: Hi, I have this problem with my

Re: problem with dropdownchoice

2009-01-20 Thread Dipu
take a look at Wicket Examples - FormInput Dipu On Tue, Jan 20, 2009 at 1:53 PM, itayke exalink...@yahoo.com wrote: Hi, I have this problem with my dropdownchoice with results in WicketMessage: No get method defined for class: class screens.CustomerFilters$FormInput expression: devices

Re: problem with dropdownchoice

2009-01-20 Thread itayke
Hi, Seem like the problem is solved by adding a Device class member and these getter and setter to the FormInput class: public Device getDevices(){ return new Device(); } public void

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

2009-01-20 Thread Graeme Knight
AWESOME! Thanks! igor.vaynberg wrote: 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

Logging from Wicket alone and together with Spring and Hibernate + my own code

2009-01-20 Thread Kent Larsson
Hi, I have some questions about logging, more specifically about setting it up and making sure it works. The project I'm doing will use Wicket, Spring and Hibernate. I know that Wicket and Hibernate uses Simple Logging Facade for Java (SL4J) and that Spring is using the logging component from

Re: Logging from Wicket alone and together with Spring and Hibernate + my own code

2009-01-20 Thread Erik van Oosten
Hi Kent, I am using the SLF4j implementation of commons-logging. If you use maven2 take a look at this blog article for an pom example that will set this up with log4j as logging backend: http://day-to-day-stuff.blogspot.com/2007/07/no-more-commons-logging.html. Below is a more up to date

Re: problem with dropdownchoice

2009-01-20 Thread jWeekend
Be careful - that code is becoming very messy. It's better to http://cwiki.apache.org/WICKET/working-with-wicket-models.html read about how to use models rather than invent adhoc and unorthodox methods like getDevices() that returns one device (rather than a collection containing 0, 1 or more

Re: Using AbstractDefaultAjaxBehavior on a Bookmarkable page?

2009-01-20 Thread Igor Vaynberg
no, it is not normal. please provide a quickstart. -igor On Tue, Jan 20, 2009 at 4:20 AM, Wayne Pope waynemailingli...@googlemail.com wrote: Hi, when I use an AbstractDefaultAjaxBehavior on a Bookmarkable page I get a : org.apache.wicket.protocol.http.PageExpiredException: Cannot find the

Re: Using AbstractDefaultAjaxBehavior on a Bookmarkable page?

2009-01-20 Thread Wayne Pope
Ok I figured out the issue (I have a quick start if you want) The problem occures if you add a AbstractDefaultAjaxBehavior to a Page. If its a component it works fine. Wayne www.glasscubes.com On Tue, Jan 20, 2009 at 4:17 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: no, it is not normal.

Re: Using AbstractDefaultAjaxBehavior on a Bookmarkable page?

2009-01-20 Thread jWeekend
Wayne, The concept behind your site looks interesting - good luck with it. I'd like to the see the quickstart as your post wasn't totally clear whether the page was given the ADAB or the page was given a component which had the ADAB - either way I didn't replicate the problem. Regard - Cemal

Wicket cannot setValue for the RequiredTextField

2009-01-20 Thread Mo Wu
Dear experts, I am writing auto-test code for wicket application I developed. In one webpage, there is one form, and the form contains several RequiredTextField (e.g. id and alias). In my test, I try to set the value for the RequiredTextField by doing: FormTester form =

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

2009-01-20 Thread Per Newgro
BasePanel is public abstract class BasePanelT extends Panel implements IChangeHandler { /** * Constructor of BasePanel * @param pId wicket id of component */ public BasePanel(String pId) { super(pId); } /** * Constructor of BasePanel * @param pId wicket

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

2009-01-20 Thread Matej Knopp
You declare the class with MySerializableClass as generic parameter to BasePanel, but try to put ListMySerializableClass in constructor. That can't work. Why can't you use ListMySerializableClass as generic parameter when extending BasePanel? -Matej On Tue, Jan 20, 2009 at 7:22 PM, Per Newgro

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

2009-01-20 Thread Per Newgro
Do you mean that way? public class MyPanel extends BasePanelListMySerializableClass { public MyPanel(String pId) { super(pId, new ModelListMySerializableClass(new ArrayListMySerializableClass())); } } That way i get Bound mismatch: The type ListMySerializableClass is not a valid

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

2009-01-20 Thread James Carman
A Model is serialized, therefore the object contained within it must be serializable. Perhaps you need a LoadableDetachableModel of some sort? On Tue, Jan 20, 2009 at 2:03 PM, Per Newgro per.new...@gmx.ch wrote: Do you mean that way? public class MyPanel extends

Re: Using AbstractDefaultAjaxBehavior on a Bookmarkable page?

2009-01-20 Thread jWeekend
Igor, I've had a look at Wayne's quickstart. The problem he hit is that if a page, P, with a no-args constructor (ie P is bookmarkable) has an AJAX behaviour added to it and P is arrived at via a BookmarkablePageLink on some other page, then Wicket can't find that P instance in the session to

Re: WicketNotSerializableException

2009-01-20 Thread Thomas Singer
the checker is always used When exactly? is version of jvm the same in prod and dev? Yes, even the tomcat version is the same. Tom Igor Vaynberg wrote: 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

Re: Using AbstractDefaultAjaxBehavior on a Bookmarkable page?

2009-01-20 Thread Igor Vaynberg
sounds about right. attach the quickstart to a jira issue and we will take a look. -igor On Tue, Jan 20, 2009 at 11:35 AM, jWeekend jweekend_for...@cabouge.com wrote: Igor, I've had a look at Wayne's quickstart. The problem he hit is that if a page, P, with a no-args constructor (ie P is

Re: WicketNotSerializableException

2009-01-20 Thread Igor Vaynberg
On Tue, Jan 20, 2009 at 11:39 AM, Thomas Singer wic...@regnis.de wrote: the checker is always used When exactly? as you can see from the stack - when wicket tries to save the page to the diskstore. the checker should tell you exactly what field of what class held nonserializable data... what

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

2009-01-20 Thread Per Newgro
Sure thats what i've red in the docs to. But i don't see it for my special case. I will get a NoSerializableException if it's not. So where is the problem? But as i wrote - i can deal with that implementation, if i get out of my problem. Thanks Per

Re: WicketNotSerializableException

2009-01-20 Thread Thomas Singer
as you can see from the stack - when wicket tries to save the page to the diskstore. And when it will do that? the checker should tell you exactly what field of what class held nonserializable data I know that, but before fixing anything I'd like to be able to reproduce the problem locally.

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: WicketNotSerializableException

2009-01-20 Thread Igor Vaynberg
On Tue, Jan 20, 2009 at 12:17 PM, Thomas Singer wic...@regnis.de wrote: as you can see from the stack - when wicket tries to save the page to the diskstore. And when it will do that? at the end of request if the page is not stateless. -igor the checker should tell you exactly what field

RatingPanel which can be extended

2009-01-20 Thread Murat YĆ¼cel
Hi All I am using RatingPanel and out of the box it is very nice, but not enough for me. I want the rating panel to be more modifiable. For example could the default stylesheet appending be done in a better way. Well now to my actual problem. I want the RatingPanel to be similar to youtube

UploadProgressBar does not work in Safari browser?

2009-01-20 Thread techisbest
The UploadProgressBar does not seem to update in Safari Ver. 3.1.1 (525.17). The bar shows up, but it never updates. It is working in IE and Firefox. Has anyone else experienced this? -- View this message in context:

Reloading HeadersToolbar

2009-01-20 Thread Ryan O'Hara
I've created a customized CnvHeaderToolbar which like HeadersToolbar extends AbstractToolbar. In addition to the header title, I also have inserted a triangle image that helps to display sort order and sort order direction. The problem I am having is that I have been unable to figure out

Wicket / Spring bean annotations

2009-01-20 Thread Andrew Humphries (MEL)
Hi - Probably a simple question : We are using Spring with Wicket in our project. I have opted for the use of the Spring bean annotations as described in 'Wicket in Action'. In the chapter on integrating the two technologies the book explains that you should use proxies instead of direct

Re: Reloading HeadersToolbar

2009-01-20 Thread Jeremy Thomerson
This is your problem (I think): In DataTable, when a toolbar is added, it is calling: toolbar.setRenderBodyOnly(true); Hence, the error message. Try seeing if you can add the entire table to the AJAX target (or any outer container of it) so that the entire thing is repainted. -- Jeremy

Re: Wicket / Spring bean annotations

2009-01-20 Thread Jeremy Thomerson
Although I do not know for sure, I would think not, because my understanding is that a proxy is created that is safe to be serialized. However, I would ask *why* do this? If you're passing it to another component, why not just have that component also use an annotation? I wouldn't think that

RE: Wicket / Spring bean annotations

2009-01-20 Thread Andrew Humphries (MEL)
Thanks for your quick answer Jeremy. However, I would ask *why* do this? If you're passing it to another component, why not just have that component also use an annotation? I wouldn't think that passing services around is typically a great use-case. Yes, you're right, theres no point in

Re: Wicket / Spring bean annotations

2009-01-20 Thread James Carman
However, if you're not writing those other components, you have no choice. So, this case does show up. On Tue, Jan 20, 2009 at 7:15 PM, Andrew Humphries (MEL) andrew.humphr...@foxtel.com.au wrote: Thanks for your quick answer Jeremy. However, I would ask *why* do this? If you're passing it

Re: How to update parent component from a panel?

2009-01-20 Thread Timo Rantalaiho
On Tue, 16 Dec 2008, freak182 wrote: I want to ask if this events stuff is already available in wicket 1.3.5 release? if so, what classes should i look into? No it's not, but you can just copy its code (or one of the competing implementations :)) from the patches attached to the Jira issue.

Re: Submitting form via ajax using wicket tester

2009-01-20 Thread Timo Rantalaiho
On Thu, 25 Dec 2008, John Lasher wrote: I'm new to wicket and have been struggling with this problem for a few hours now and any help is greatly appreciated. I created a form with ajaxbuttons for submit and cancel. When I try to submit the form via the FormTester, it does a regular submit

Re: Wicket / Spring bean annotations

2009-01-20 Thread Igor Vaynberg
there is a point, however, to passing references to injected dependencies into models and dataproviders - something you cannot do with wicket's proxy. -igor On Tue, Jan 20, 2009 at 4:15 PM, Andrew Humphries (MEL) andrew.humphr...@foxtel.com.au wrote: Thanks for your quick answer Jeremy.

Re: Wicket / Spring bean annotations

2009-01-20 Thread Igor Vaynberg
erm. s/with/without/ :) -igor On Tue, Jan 20, 2009 at 5:47 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: there is a point, however, to passing references to injected dependencies into models and dataproviders - something you cannot do with wicket's proxy. -igor On Tue, Jan 20, 2009 at

AutocompleteTextField and tab key

2009-01-20 Thread Toscano
Hello, I'm trying to develop the suggestions gmail uses when inputting one email address. So I used one AutocompleteTextField that populates the possible values from the database nicely, but I can not make the model changing correctly if the users doesn't press the Enter key or click in the

AutocompleteTextField and tab key

2009-01-20 Thread Toscano
Hello, I'm trying to develop the suggestions gmail uses when inputting one email address. So I used one AutocompleteTextField that populates the possible values from the database nicely, but I can not make the model changing correctly if the users doesn't press the Enter key or click in the

Re: AutocompleteTextField and tab key

2009-01-20 Thread Igor Vaynberg
you will probably have to tweak some javascript to get it to do what you want. you can also create an RFE in jira to make these keys configurable. -igor On Tue, Jan 20, 2009 at 6:48 PM, Toscano koki...@gmail.com wrote: Hello, I'm trying to develop the suggestions gmail uses when inputting

Re: Set width of auto complete text field?

2009-01-20 Thread Jeremy Thomerson
Any one? Thank you, -- Jeremy Thomerson http://www.wickettraining.com On Tue, Jan 13, 2009 at 4:01 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Is there a way to set the width of the popup list of choices for the auto compete behavior (auto complete text field)? I have tried

Re: AutoCompleteTextfield - how to populate two input fields

2009-01-20 Thread Toscano
Hello, I know this message is from long time ago... but actually I'm stuck in a similar situation... is too much to ask if I can get that code too? Actually I know is too much to ask, but... Thanks, Oskar Francisco Diaz Trepat - gmail wrote: I'm on in. I'll send you the samples latter

Re: Wicket stuff core, archetypes?

2009-01-20 Thread Jonathan Locke
that's too bad. i was hoping nexus was a centralized index of all known public repos. your plan makes sense to me. it seems like moving ahead with a wicket component metadata standard would be a good thing to do in parallel though. jon francisco treacy-2 wrote: hi jon, it would

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

2009-01-20 Thread Marat Radchenko
2009/1/20 James Carman jcar...@carmanconsulting.com: A Model is serialized, therefore the object contained within it must be serializable. Uh? What about stateless pages? - To unsubscribe, e-mail: