RE: modal window problem

2010-03-10 Thread Martin Asenov
Please, anyone give some support on this one? Thank you, Martin -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Monday, March 08, 2010 6:23 PM To: users@wicket.apache.org Subject: RE: modal window problem Hi, Matthias! Well, I viewed the page source, and there

Re: Announcing: visural-wicket 0.5 released - open source wicket components

2010-03-10 Thread danisevsky
ye, you are right.. sorry, I am stupid and forgot change the datasource name. Thank you very much. 2010/3/10 Richard Nichols > Can you post a code snippet? > > You have to give the datasources unique name properties, as the name > is used in the client side javascript to link the component t

DropDownChoice + AjaxFallbackDefaultDataTable

2010-03-10 Thread Björn T .
Hi there, I am completely new to Wicket and therefore I have a simple question. It would be nice if someone could point me in the right direction. I have a form with a DropDownChoice and a AjaxFallbackDefaultDataTable on it. On first load all items on the table are displayed. Changing the Drop

Re: Mootools Clashes With wicket-event.js

2010-03-10 Thread Ayodeji Aladejebi
Hi, Although i have worked around the problem by switching to jQuery. I wanted to do a simple accordion. so i switched to my old legacy mootools accordion code. i added *mootools-release-1.12.js* to the javascript link on my page and later tried to execute moo tool accordion code: window.addEven

Re: Detecting end of request cycle

2010-03-10 Thread Apple Grew
Wow. Thanks. I looked up the hierarchy but somehow missed that. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Thu, Mar 11, 2010 at 8:35 AM, Igor Vaynberg wrote: > requestcycle.onendrequest() or requestcycle.detach() > > -igor > > On Wed, Mar 10, 2010 at 6:54 PM, Apple Grew wrote:

Re: Detecting end of request cycle

2010-03-10 Thread Igor Vaynberg
requestcycle.onendrequest() or requestcycle.detach() -igor On Wed, Mar 10, 2010 at 6:54 PM, Apple Grew wrote: > Hi Wicket users, > > I am using iBatis to handle my DB transactions. It recommends creating one > SqlSession object per http request, which can be reused multiple times for > that requ

Detecting end of request cycle

2010-03-10 Thread Apple Grew
Hi Wicket users, I am using iBatis to handle my DB transactions. It recommends creating one SqlSession object per http request, which can be reused multiple times for that request. So I am exposing its reference from my custom RequestCycle, where it is instantiated for the first time it is accesse

Re: Spring @Autowire not working

2010-03-10 Thread Alec Swan
Hi Martin, thank you for sharing your setup. I will try it it out in my application. Igor, you are probably right and maybe this post doesn't belong on the Wicket forum. The reason why I posted it is that @Autowired annotation works when I call it from my tests, but doesn't work when I call it fro

Re: Configure wicketpagetest to multi eclipse project layout

2010-03-10 Thread Kent Tong
Hi Per, Newgro wrote: > > I think this is because the web.xml file is located in the webapp project > and the selenium default configuration points to "src/main/webapp" in the > test project. > You can create a com.ttdev.wicketpagetest.Configuration to specify your webapp root. For an example

Re: AutoCompleteTextField bug

2010-03-10 Thread Ilja Pavkovic
Hi, > The component works fine in the Chrome browser. The behavior described > above was in IE8. I'm currently using wicket 1.3.6. You should upgrade to 1.4.7 and see if the problem still occurs. Best Regards, Ilja Pavkovic -- binaere bauten gmbh · tempelhofer ufer 1a · 10961 berlin

RE: AutoCompleteTextField bug

2010-03-10 Thread Josh Chappelle
I apologize. It looks like this is fixed in 1.3.7. Josh -Original Message- From: Josh Chappelle [mailto:jchappe...@4redi.com] Sent: Wednesday, March 10, 2010 4:17 PM To: users@wicket.apache.org Subject: AutoCompleteTextField bug Hi, It looks like there might be a bug with the AutoCo

AutoCompleteTextField bug

2010-03-10 Thread Josh Chappelle
Hi, It looks like there might be a bug with the AutoCompleteTextField component or it might be a browser bug in IE8. I'm using the AutoCompleteTextField with the constructor that takes just the id and I'm returning a list of strings in the getChoices(String input) method. However when I start t

RE: Suggestion list

2010-03-10 Thread Josh Chappelle
Now I see the AutoCompleteSettings class. It looks like it has a showListOnEmptyInput boolean in it. I'll give that a try. Thanks a bunch! Josh -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Wednesday, March 10, 2010 3:46 PM To: users@wicket.apache.org Sub

Re: Suggestion list

2010-03-10 Thread Igor Vaynberg
AutoCompleteSettings.setShowListOnEmptyInput(true) ? -igor On Wed, Mar 10, 2010 at 1:54 PM, Josh Chappelle wrote: > The AutoCompleteTextField is great but the problem is that the user has to > start typing before they can see the list of options which means they > already have to have an idea of

RE: Suggestion list

2010-03-10 Thread Josh Chappelle
The AutoCompleteTextField is great but the problem is that the user has to start typing before they can see the list of options which means they already have to have an idea of some of the choices. For my particular use case I need the user to be able to see the choices first. If there is a way to

Re: DateField problem

2010-03-10 Thread Cserep Janos
I've started to see this after upgrading from 1.4.3 to 1.4.6, it is causing me trouble right now... did you ever file a ticket in jira? In wicket-date.js I see this line which changes 2010 to 10: if(datePattern.match(/yy+/)) year = Wicket.DateTime.padDateFragment(year % 100); This is a bug intro

Re: Suggestion list

2010-03-10 Thread Igor Vaynberg
wicket ships with org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteTextField -igor On Wed, Mar 10, 2010 at 1:44 PM, Josh Chappelle wrote: > Hi, > > > > I am trying to find a suggestion list component that works like a > DropDownChoice but can also be edited like a TextField

Suggestion list

2010-03-10 Thread Josh Chappelle
Hi, I am trying to find a suggestion list component that works like a DropDownChoice but can also be edited like a TextField. I tried to use the wicketstuff-dojo component called DojoHtmlSuggestionList but it appears to have some bugs because the model value was not binding to my object. In fac

Re: Announcing: visural-wicket 0.5 released - open source wicket components

2010-03-10 Thread Richard Nichols
Can you post a code snippet? You have to give the datasources unique name properties, as the name is used in the client side javascript to link the component to the datasource. On 10 March 2010 01:52, danisevsky wrote: > hello, I have another problem, with DropDown this time. If I have only one

Re: Mootools Clashes With wicket-event.js

2010-03-10 Thread Martijn Dashorst
On Tue, Mar 9, 2010 at 2:14 AM, Ayodeji Aladejebi wrote: > My mootools.js scripts wont work because of > resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js > What do i do Give more information on what doesn't work, why it doesn't work, which version of Wicket, which vers

Re: Spring @Autowire not working

2010-03-10 Thread Igor Vaynberg
this is purely a spring question no? why dont you ask on their forums... -igor On Wed, Mar 10, 2010 at 11:38 AM, Alec Swan wrote: > I use @SpringBean to wire service classes in my Wicket pages and it works > great. > > My service classes have dependencies on DAO classes. I am currently > wiring

Re: Spring @Autowire not working

2010-03-10 Thread Martin Phee
I'm currently using jars from another application which using spring in a new Wicket application I'm writing without problems. I'm using the service classes within a Wizard using the SpringBean annotation and within the service it's using @Resource to annotate the dao classes it's using. N

Spring @Autowire not working

2010-03-10 Thread Alec Swan
I use @SpringBean to wire service classes in my Wicket pages and it works great. My service classes have dependencies on DAO classes. I am currently wiring DAO classes into service classes adding setters for them and adding them in the service classes and also specifying DAOs as elements in the S

Re: Mootools Clashes With wicket-event.js

2010-03-10 Thread nino martinez wael
hmm Mootips from wickstuff minies works fine... What version do you have of mootools? Would you do a quickstart? 2010/3/9 Ayodeji Aladejebi > My mootools.js scripts wont work because of > > resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js > What do i do > > -

Re: Nested Forms and Multipart Fileupload Issue

2010-03-10 Thread Ilja Pavkovic
Hi, > > Hmmm...I thought the Wicket Team already implemented something similar to > > this into the framework some time ago. Perhaps you should provide a quickstart and perhaps put it in a jira ticket? Best Regards, Ilja Pavkovic -- binaere bauten gmbh · tempelhofer ufer 1a · 10961 berl

Re: Nested Forms and Multipart Fileupload Issue

2010-03-10 Thread Jeremy Thomerson
No - there is support for submitting forms via ajax that contain file upload fields - in the core of Wicket. It was added near the beginning of 1.4 IIRC. However, I'm not sure about this particular use case. It sounds like a bug. Could you please create a quickstart, attach to a JIRA, and post

Re: Nested Forms and Multipart Fileupload Issue

2010-03-10 Thread James Carman
Perhaps it's in Wicket-stuff? I don't know. On Wed, Mar 10, 2010 at 1:19 PM, Corbin, James wrote: > Hmmm...I thought the Wicket Team already implemented something similar to > this into the framework some time ago. > > -Original Message- > From: James Carman [mailto:jcar...@carmanconsul

RE: Nested Forms and Multipart Fileupload Issue

2010-03-10 Thread Corbin, James
Hmmm...I thought the Wicket Team already implemented something similar to this into the framework some time ago. -Original Message- From: James Carman [mailto:jcar...@carmanconsulting.com] Sent: Wednesday, March 10, 2010 11:15 AM To: users@wicket.apache.org Subject: Re: Nested Forms and

Re: Nested Forms and Multipart Fileupload Issue

2010-03-10 Thread James Carman
Someone at work had some luck with this approach from what I understand... http://www.dooriented.com/blog/2008/04/23/wicket-ajax-like-file-upload-on-a-modal-window/ 2010/3/10 Michał Letyński : > Is there a wicket version where it works ? I tried  with 1.4.6 and 1.4.7 but > i get the same error w

RE: Nested Forms and Multipart Fileupload Issue

2010-03-10 Thread Corbin, James
Yeah, some feedback from the Wicket Contributors on this issue would be greatly appreciated. -Original Message- From: Michał Letyński [mailto:mletyn...@consol.pl] Sent: Wednesday, March 10, 2010 7:52 AM To: users@wicket.apache.org Subject: Re: Nested Forms and Multipart Fileupload Issue

RE: WicketStuff Dojo

2010-03-10 Thread Josh Chappelle
Thanks a lot Jeremy. Josh -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Wednesday, March 10, 2010 12:10 PM To: users@wicket.apache.org Subject: Re: WicketStuff Dojo You're added -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 10, 20

Re: WicketStuff Dojo

2010-03-10 Thread Jeremy Thomerson
You're added -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 10, 2010 at 12:00 PM, Josh Chappelle wrote: > jchappelle

Re: Wicket feedback

2010-03-10 Thread Martin Makundi
Hi! > Could you help me with some examples? In what way? Normally you have a panel like this: class Panel { add(new Button("button")); } You cannot change the panel content flexibly at runtime. Now if you have a MashupContainer you can do: mashupContainer.add(new Button()); mashupContai

RE: WicketStuff Dojo

2010-03-10 Thread Josh Chappelle
My sf.net user id is jchappelle. Josh -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Wednesday, March 10, 2010 11:55 AM To: users@wicket.apache.org Subject: Re: WicketStuff Dojo Register on their site. -- Jeremy Thomerson http://www.wickettraining.co

Re: WicketStuff Dojo

2010-03-10 Thread Jeremy Thomerson
Register on their site. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 10, 2010 at 11:54 AM, Josh Chappelle wrote: > I am not. In fact I don't have a sf.net user id. How should I go about > getting one? > > Josh > > -Original Message- > From: Jeremy Thomerson [mailto:jer

RE: WicketStuff Dojo

2010-03-10 Thread Josh Chappelle
I am not. In fact I don't have a sf.net user id. How should I go about getting one? Josh -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Wednesday, March 10, 2010 11:48 AM To: users@wicket.apache.org Subject: Re: WicketStuff Dojo Are you a committer in

Re: WicketStuff Dojo

2010-03-10 Thread Jeremy Thomerson
Are you a committer in wicket-stuff? If not, provide your sf.net user ID and we can add you. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 10, 2010 at 11:43 AM, Josh Chappelle wrote: > Hi, > > > > Is anyone maintaining the wicketstuff-dojo project anymore? If not then I > can

Re: Generic solution for tabindex?

2010-03-10 Thread Scott Swank
We have created a bad solution. The core problem is ajax. Say you have five fields: A, B, C, D & E. Now you want to insert X & Y between A & B. No static numbering system will allow an unknown number of fields to be inserted in between the existing fields. On top of that you need to have the b

WicketStuff Dojo

2010-03-10 Thread Josh Chappelle
Hi, Is anyone maintaining the wicketstuff-dojo project anymore? If not then I can get the source code and try to get it working in 1.4 and commit the changes. If this is not the forum for wicket-stuff questions I apologize and please let me know where one is. Thanks, Josh

Re: possible bug in ComponentFeedBackPanel

2010-03-10 Thread Fernando Wermus
Martijn, I am recreating the components as you mentioned. But there is a line which I dont understand in Objects.equals, if ((a != null) && (b != null) && a.equals(b)) I look for the implementation of equals in class Component and other classes and I havent found any. Then this is equivale

Re: jquery/qtip integration troubles - ajax post stopped

2010-03-10 Thread Antoine van Wel
Turns out "Wicket.$$(this)" returned false after all. Thanks Richard! I ended up adapting the AjaxButton by simply kicking out the Wicket.$$(this) of the pre-condition check. So can anybody tell me what this "Wicket.$$(this)" is good for ... I got a gut-feeling what I've done is not such a good i

Re: Get hiddenfield value on onError method

2010-03-10 Thread Jeremy Thomerson
You can either call yourField.getValue() or get("yourField").getValue() - or the other get*Input methods. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 10, 2010 at 8:31 AM, Gustavo Henrique wrote: > How I get the hiddenfield value on Form's onError method? > > thanks! >

Re: Don't increment the Session.pageIdCounter for stateless pages?

2010-03-10 Thread Igor Vaynberg
i think we can do this in 1.5 i would rather not mess with 1.4 because i think there is a lot of code there that depends on the fact that the id is available right away. please create a jira issue for this -igor On Mon, Mar 8, 2010 at 4:30 PM, Martin Grotzke wrote: > Hi, > > the Page.init(Page

AW: jWicket release 0.5.0

2010-03-10 Thread Stefan Lindner
Hi Ernesto, thank you for doing it. I was to busy during the last few days. Best, Stefan -Ursprüngliche Nachricht- Von: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] Gesendet: Mittwoch, 10. März 2010 15:53 An: users@wicket.apache.org Betreff: Re: jWicket release 0.5.0 Hi Stefa

Re: possible bug in ComponentFeedBackPanel

2010-03-10 Thread Martijn Dashorst
Probably you are not refreshing the component but rather recreating it. Hence the different eclipse debugger id's. If this is inside a listview, setReuseItems(true) This behavior is most certainly not a bug in the Objects.equals(). Martijn On Wed, Mar 10, 2010 at 5:03 PM, Fernando Wermus wrote:

possible bug in ComponentFeedBackPanel

2010-03-10 Thread Fernando Wermus
ComponentFeedBackPanel called to org.apache.wicket.util.lang.Objects.equals to decide if there is a error message to show. The implementation of this method is the following, if (a == b) { return true; } if ((a != null) && (b != null) && a.equals(b)) { return true; } return false; F

Re: Support for serialization debugging.

2010-03-10 Thread Sergey Olefir
Thanks for the reply, Igor. Indeed it was my own error -- there was a misconfiguration in our log4j config which led to me simply not seeing error messages generated by Wicket when serialization failed. It's only when I was shutting down the server, the error message had enough severity to be see

Generic solution for tabindex?

2010-03-10 Thread espen . pedersen
Hi! Is use a lot of panels on my pages and need to be able to dynamically set the tabindex attribute on the FormComponents contained in the panels, so that when I reuse them in differenet page compositions the tabindex will be correct (top-to-bottom). Any good ideas out there on how this could

Re: Announcing: visural-wicket 0.5 released - open source wicket components

2010-03-10 Thread Wilhelmsen Tor Iver
> hello, I have another problem, with DropDown this time. If I have only > one > DropDown on my page, everything works great. But when I add another > DropDown > to the page, with diferent datasource, the first DropDown shows data > from > the second datasource. All DropDowns share the same datasou

Re: jWicket release 0.5.0

2010-03-10 Thread Ernesto Reinaldo Barreiro
Hi Stefan, I just posted [1]. Let's see if someone answers... and is willing to fix the issue. Best, Ernesto References, 1- http://forum.jquery.com/topic/drag-and-drop-problems-after-ajax-refresh-on-ie On Mon, Mar 8, 2010 at 7:17 PM, Stefan Lindner wrote: > Hi Ernesto, > > yes, I added a

Re: Nested Forms and Multipart Fileupload Issue

2010-03-10 Thread Michał Letyński
Is there a wicket version where it works ? I tried with 1.4.6 and 1.4.7 but i get the same error which James got. My use case : I'm trying to submit a form via ajax to upload a file inside modal window. After debug: FileUploadBase.isMultipartContent get false because if (contentType.toLowerCa

Get hiddenfield value on onError method

2010-03-10 Thread Gustavo Henrique
How I get the hiddenfield value on Form's onError method? thanks!

Configure wicketpagetest to multi eclipse project layout

2010-03-10 Thread Per Newgro
Hi *, i would like to know if someone is using wicketpagetest library in the following environment: - IDE: Eclipse - A project contains the webapp (wicket-quickstart). - Another project contains the tests (integration-tests by usage of wicketpagetest). - Both are concluded in a parent project w

Re: Avoiding wickety URLs in login form

2010-03-10 Thread vineet semwal
Hi, sorry,those strategies show magic only if you have stateful page,else you will see the default behavior ie. wicket:interface information will be added to page url. if the page is stateful(just changing statelessform to form in your case) you will see that wicket:interface information is remo

Re: DatePicker "onblur"

2010-03-10 Thread Vit Rozkovec
Hi, this may help you: I am using DateTextField from the package org.apache.wicket.datetime.markup.html.form; In the panel where I add this field, you can do: @Override protected void onBeforeRender() { super.onBeforeRender(); if (!hasBeenRendered()) {

Re: DatePicker "onblur"

2010-03-10 Thread Martin Makundi
ONCHANGE! 2010/3/10 Arnaud Garcia : > Hi list ! > > I add an AjaxFormComponentUpdatingBehavior on my DateTextField to update my > model "on the fly"... > > The updating behavior is based on the "onblur" event... > it works well, but since I added a DatePicker to the dateTextField I can't > "react"

DatePicker "onblur"

2010-03-10 Thread Arnaud Garcia
Hi list ! I add an AjaxFormComponentUpdatingBehavior on my DateTextField to update my model "on the fly"... The updating behavior is based on the "onblur" event... it works well, but since I added a DatePicker to the dateTextField I can't "react" on the "onblur" javascript event. How can I inter

Re: FormComponentPanel's components onblur can't call validate?

2010-03-10 Thread Cemal Bayramoglu
Tony, If you don't mind submitting the whole form add "AjaxFormSubmitBehavior"s to the appropriate child components . Regards - Cemal jWeekend OO & Java Technologies, Wicket Consulting, Development, Training http://jWeekend.com On 9 March 2010 23:52, Tony Wu wrote: > I have a FormComponentPane