Re: [VOTE] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-25 Thread Swanthe Lindgren
[X] - YES - I would like to see at least the most used Wicket Stuff projects structured so that they mirror Wicket, and a release is produced for each Wicket release. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Panel's read more link

2008-11-25 Thread Anton Veretennikov
I found that every time link is clicked ReadMoreWicketPanel-s are created again because they are populated by ListView in WebPage. Does it mean that I must put my ReadMoreWicketPanel's instances in session? On Tue, Nov 25, 2008 at 2:48 PM, Anton Veretennikov [EMAIL PROTECTED] wrote: Hi, I

Howto customize logged message of formcomponent validation error?

2008-11-25 Thread Newgro
Hi, i checked my logs and found this message: 2008-11-25 09:10:09.331 WARN FormComponent: Could not locate error message for component: [EMAIL PROTECTED]:mcPassword:frmPassword:passwordRetype and error: [ValidationError message =[null], keys=[passwordRetypeMismatch,

Re: Panel's read more link

2008-11-25 Thread Newgro
Anton Veretennikov wrote: I found that every time link is clicked ReadMoreWicketPanel-s are created again because they are populated by ListView in WebPage. Did you try ListView.setReuseItems(true);? Maybe that can help Cheers Per -- View this message in context:

Re: Panel's read more link

2008-11-25 Thread Newgro
Anton Veretennikov wrote: Thank you! Very usefull thing! No problem. The explanation on that issue is in the list and i think there is a note in the wiki. Maybe this thread gives you a hint http://www.nabble.com/ListView-%2B-reusing-Items-td14918862.html#a14924868

Re: [VOTE] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-25 Thread Björn-Peter Tietjens
[X] - YES - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Panel's read more link

2008-11-25 Thread Anton Veretennikov
Anton Veretennikov wrote: Thank you! Very usefull thing! No problem. The explanation on that issue is in the list and i think there is a note in the wiki. Maybe this thread gives you a hint http://www.nabble.com/ListView-%2B-reusing-Items-td14918862.html#a14924868 I did not scroll doc to

Re: [VOTE] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-25 Thread Eyal Golan
[X] - YES Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary On Tue, Nov 25, 2008 at 10:51 AM, Björn-Peter Tietjens [EMAIL PROTECTED]wrote: [X] - YES

AjaxSelfUpdatingTimerBehavior not updating

2008-11-25 Thread Yazeed Isaacs
Hi The AjaxSelfUpdatingTimerBehavior does not update/refresh the content. I have a WebPage with an AjaxLink and a WebMarkupContainer that contains default ListView. WebPage |_AjaxLink |_WebMarkupContainer |_ListView When the AjaxLink is clicked, the ListView is replaced by an

Re: SOLUTION:Hibernate Lazy initialazation issues and multi page wizard!

2008-11-25 Thread Nino Saturnino Martinez Vazquez Wael
I guess not much if you do the initialize, but it has some issues with collections (like you need to add to collections instead of setting them I think). And you will end up doing initialize anyhow so using clone and a simple compound property model are just as fine plus more simple.. James

Re: SOLUTION:Hibernate Lazy initialazation issues and multi page wizard!

2008-11-25 Thread James Carman
I don't typically use CompoundPropertyModel (we've discussed this offline before) because it's too magicy. I find that explicitly creating my models helps me keep track of what's going on better. I do use PropertyModels, though. I just like to explicitly know the base that I'm dealing with when

Re: SOLUTION:Hibernate Lazy initialazation issues and multi page wizard!

2008-11-25 Thread James Carman
So, what's wrong with using shadow models and letting them eventually write into the real model (which is a LDM) at the very end? On Tue, Nov 25, 2008 at 2:25 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi Guys I've been having a little trouble with hibernate and a

Re: SOLUTION:Hibernate Lazy initialazation issues and multi page wizard!

2008-11-25 Thread Nino Saturnino Martinez Vazquez Wael
Yup, two angles on the same stuff. It does not change the clone / initialize technique. I guess I could put in a wiki tip on this? James Carman wrote: I don't typically use CompoundPropertyModel (we've discussed this offline before) because it's too magicy. I find that explicitly creating my

NoSuchMethodError isEnabledInHierarchy() with DatePicker

2008-11-25 Thread Kaspar Fischer
The 1.4-SNAPSHOT version DatePicker seems to have problem with isEnabledInHierarchy(). Does anybody know how to fix this? Thanks, Kaspar -- javax.servlet.ServletException: Filter execution threw an exception org .icarbasel .knowledgecenter

Re: NoSuchMethodError isEnabledInHierarchy() with DatePicker

2008-11-25 Thread Ernesto Reinaldo Barreiro
Maybe this is related to this commit http://svn.apache.org/viewvc?view=revrevision=711923 see http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/Component.java?r1=711923r2=711922pathrev=711923 It looks like your core wicket jar is not in synchrony your date-picker

SpringOne America 2008 in Hollywood, FL

2008-11-25 Thread shetc
A colleague and I are attending the SpringOne America 2008 conference next week in Hollywood, FL. Will any fellow Wicketeers be attending? -- View this message in context: http://www.nabble.com/SpringOne-America-2008-in-Hollywood%2C-FL-tp20681679p20681679.html Sent from the Wicket - User

Re: ModalWindow and page serialization in 1.4RC1

2008-11-25 Thread Matej Knopp
Does your page inside modal window contain reference to outer page? -Matej On Tue, Nov 25, 2008 at 1:43 PM, Stefan Lindner [EMAIL PROTECTED] wrote: I have a ModalWindow with a page inside it (constructed via modalWindow.setPageCreator). The page contains a lot of AjaxButtons etc. If the

SpringOne America 2008 in Hollywood, FL

2008-11-25 Thread shetc
A colleague and I will be attending the SpringOne America 2008 next week in Hollywood, FL. Will any fellow Wicketeers be there as well? Steve -- View this message in context: http://www.nabble.com/SpringOne-America-2008-in-Hollywood%2C-FL-tp20681833p20681833.html Sent from the Wicket - User

onLoad javascript event with Markup inheritance

2008-11-25 Thread itayh
Hi, I use Markup inheritance in my site in order to keep common logic in the base page. I would like my child pages to do certain javascript actions when they are loaded. I try to define the the javascript on the childs body (between the wicket:extend and /wicket:extend) but I don't see them in

Problem Wizard + JMeter

2008-11-25 Thread Piller Sébastien
Hi, I have a little problem with JMeter and the wizard component. I'm following the documentation from here: http://cwiki.apache.org/WICKET/wicket-and-jmeter-with-regular-expressions.html I use exactly the same regexp as in this documentation. However, I get some trouble. Use case: I run

Re: onLoad javascript event with Markup inheritance

2008-11-25 Thread Ernesto Reinaldo Barreiro
Something like: HTML wicket:extend script wicket:id=script type=text/javascriptalert('Hi');/script . /wicket:extend Java code: Label script = new Label(script, new ModelString()) { private static final long serialVersionUID = 1L; @Override protected void

RE: AjaxSelfUpdatingTimerBehavior not updating

2008-11-25 Thread Yazeed Isaacs
Thank you James, onBeforeRender() worked for me, in which all I did was replaced components. Really simple solution. Regards, Yazeed Isaacs - Java Developer [EMAIL PROTECTED] -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: 25 November 2008 03:19 PM To:

Re: onLoad javascript event with Markup inheritance

2008-11-25 Thread Serkan Camurcuoglu
you should implement the IHeaderContributor interface in your page and use IHeaderResponse.renderOnLoadJavascript() method in the implementation of the renderHead method.. Ernesto Reinaldo Barreiro wrote: Something like: HTML wicket:extend script wicket:id=script

Re: onLoad javascript event with Markup inheritance

2008-11-25 Thread jWeekend
You can use wicket:head or HeaderContributors. See http://cwiki.apache.org/WICKET/javascript-and-css-support.html this . Regards - Cemal http://www.jWeekend.co.uk http://jWeekend.co.uk itayh wrote: Hi, I use Markup inheritance in my site in order to keep common logic in the base page.

Re: AjaxSelfUpdatingTimerBehavior not updating

2008-11-25 Thread James Carman
No problem. Glad to help. On Tue, Nov 25, 2008 at 9:21 AM, Yazeed Isaacs [EMAIL PROTECTED] wrote: Thank you James, onBeforeRender() worked for me, in which all I did was replaced components. Really simple solution. Regards, Yazeed Isaacs - Java Developer [EMAIL PROTECTED]

Re: onLoad javascript event with Markup inheritance

2008-11-25 Thread Ernesto Reinaldo Barreiro
that would be a cleaner solution, indeed... but normally I use at most a couple of pages and lot of panel replacements so each component just contributes what it needs... On Tue, Nov 25, 2008 at 3:32 PM, Serkan Camurcuoglu [EMAIL PROTECTED] wrote: you should implement the IHeaderContributor

Re: onLoad javascript event with Markup inheritance

2008-11-25 Thread itayh
Thank you, it works great. jWeekend wrote: You can use wicket:head or HeaderContributors. See http://cwiki.apache.org/WICKET/javascript-and-css-support.html this . Regards - Cemal http://www.jWeekend.co.uk http://jWeekend.co.uk itayh wrote: Hi, I use Markup inheritance in

ajax indicator

2008-11-25 Thread noppy-flex
Hi, I'm trying to make an indicator visible when an ajax request is processed. For a checkbox this is working well: final AjaxCheckBox ac = new AjaxCheckBox(an, new Model()) { private static final long serialVersionUID = 0L; @Override protected void

Re: ajax indicator

2008-11-25 Thread jWeekend
You are listening to onchange. BTW, I expect you already know there is an IndicatingAjaxButton. Regards - Cemal http://www.jWeekend.co.uk http://jWeekend.co.uk Regards - Cemal http://www.jWeekend.co.uk http://jWeekend.co.uk noppy-flex wrote: Hi, I'm trying to make an indicator

Integrating dijit.form.FilteringSelect

2008-11-25 Thread David R Robison
Has anyone integrated the dojo widget dijit.form.FilteringSelect into a Wicket application? I want to use AJAX to dynamiclly populate the drop down list. TNX David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: [EMAIL

RE: ModalWindow and page serialization in 1.4RC1

2008-11-25 Thread Stefan Lindner
No, it does not contain any references to the outer page. I had a similar case last week, so that this was the first ascpect to investigate. The page looks like MyPage extends WebPage { String property; public void setProperty(final String value) {

TinyMCE settings problems

2008-11-25 Thread kengimel
i am trying to integrate TinyMCE an wicket my code is as follows: for HTML : textarea wicket:id=richTextInput rows=10 cols=60 rich text /textarea For Java Class: TextArea textArea = new TextArea(richTextInput, new Model()); textArea.add(new TinyMceBehavior());

RE: ModalWindow and page serialization in 1.4RC1

2008-11-25 Thread Stefan Lindner
Arghhh! Ok, so the Page object itself holds a reference to the parent class. But is there any way to suppress the serialization of this parent object? Stefan -Ursprüngliche Nachricht- Von: Matej Knopp [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 25. November 2008 18:43 An:

Re: ModalWindow and page serialization in 1.4RC1

2008-11-25 Thread Matej Knopp
On Tue, Nov 25, 2008 at 6:37 PM, Stefan Lindner [EMAIL PROTECTED] wrote: No, it does not contain any references to the outer page. I had a similar case last week, so that this was the first ascpect to investigate. The page looks like MyPage extends WebPage { String

Re: Integrating dijit.form.FilteringSelect

2008-11-25 Thread Igor Vaynberg
like this http://wicketstuff.org/wicket13/ajax/choice.1 ? -igor On Tue, Nov 25, 2008 at 9:35 AM, David R Robison [EMAIL PROTECTED] wrote: Has anyone integrated the dojo widget dijit.form.FilteringSelect into a Wicket application? I want to use AJAX to dynamiclly populate the drop down list.

Re: ModalWindow and page serialization in 1.4RC1

2008-11-25 Thread Igor Vaynberg
instead of anonymous make it a private static inner class -igor On Tue, Nov 25, 2008 at 9:48 AM, Stefan Lindner [EMAIL PROTECTED] wrote: Arghhh! Ok, so the Page object itself holds a reference to the parent class. But is there any way to suppress the serialization of this parent object?

Re: [VOTE] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-25 Thread Advanced Technology®
X ] - YES - I would like to see at least the most used Wicket Stuff projects AT(R)

Re: ListView vs DropDownChoice with Generics

2008-11-25 Thread Jeremy Thomerson
I have come across the same issue - is there any valid reason for the ? extends T - it would be much simpler if it were just ListT. On Tue, Nov 25, 2008 at 10:36 AM, slowery23 [EMAIL PROTECTED]wrote: I have created a subclass to LoadableDetachableModel to retrieve a list of objects out of our

Re: RES: FileUploadField usage changed in 1.4 rc-1?

2008-11-25 Thread Martin Makundi
This seems to result in org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: Unable to serialize class: org.apache.wicket.util.io.DeferredFileOutputStream I must implement the detach() method for the dummy fileUpload model: form.add(fileUploadField = new

AW: ModalWindow and page serialization in 1.4RC1

2008-11-25 Thread Stefan Lindner
Ok, thank you! So I need to rethink the design of our ModalWindows use. Stefan -Ursprüngliche Nachricht- Von: Igor Vaynberg [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 25. November 2008 18:52 An: users@wicket.apache.org Betreff: Re: ModalWindow and page serialization in 1.4RC1

Where has InMethod.com gone?

2008-11-25 Thread Warren Bell
I am looking for an advance datagrid component. I see that inMethod is mentioned as having one. When I go to their sight, it talks about WiFi Video for iPhone. Where do I go to find info on their datagrid? And if they are gone, Does anyone else have some sort of advance datagrid? -- Thanks,

Re: [discuss] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-25 Thread Jeremy Thomerson
Great idea! Yes. I have not nested any projects three deep in the past, but it should work. Has anybody else tried this? It would be: wicket-stuff-parent -- wicket-foo -- wicket-foo-core -- wicket-foo-examples On Tue, Nov 25, 2008 at 4:32 PM, Ryan McKinley [EMAIL PROTECTED]

Re: Where has InMethod.com gone?

2008-11-25 Thread Jeremy Thomerson
Hope this helps: http://www.nabble.com/inmethod---grid-website--td20086965.html -- Jeremy Thomerson http://www.wickettraining.com On Tue, Nov 25, 2008 at 4:46 PM, Warren Bell [EMAIL PROTECTED]wrote: I am looking for an advance datagrid component. I see that inMethod is mentioned as having

Re: [discuss] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-25 Thread James Carman
Yes, our entire project at work is like this. The top-level project holds multiple modules. Each has a common, server, and client submodule. Works like a charm. On Tue, Nov 25, 2008 at 5:45 PM, Jeremy Thomerson [EMAIL PROTECTED] wrote: Great idea! Yes. I have not nested any projects three

Re: Panel as instance variable of parent ?

2008-11-25 Thread Timo Rantalaiho
On Mon, 24 Nov 2008, Thies Edeling wrote: I was wondering what the best aproach is, memory-wise, to reference a panel from it's parent (or other compent). Either keep a reference to a panel as an instance variable in it's parent or look it up in the hierarchy using get(path). The look up

Javascript must be called once at the end

2008-11-25 Thread Anton Veretennikov
Hi, JavaScript source files itself are inserted using wicket:head in CodeHighlightPanel's html. It's great that they are included only once though multiple CodeHighlightPanel's instances have it. How to make alone call script language=javascript dp.SyntaxHighlighter.HighlightAll('code');

Re: Javascript must be called once at the end

2008-11-25 Thread Jeremy Thomerson
The easiest thing would be to just add an AbstractBehavior, override renderHeader and call renderOnDomReadyJavascript(dp.SyntaxHighlighter.HighlightAll('code');); If it's the exact same string, it can be added as many times as you want and Wicket will automatically only render it once. Try this: