Re: [Wicket-user] FormComponentFeedbackBorder and Ajax.

2006-05-01 Thread karthik Guru
yep works!  thanks!On 5/2/06, karthik Guru <[EMAIL PROTECTED]> wrote: i think think the fix s'd work :) will let you know.On 5/2/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: just checked in a fix let me know if that did the trick -IgorOn 5/1/06, karthik Guru < [EMAIL PROTECTED] > wrote:yep I che

Re: [Wicket-user] FormComponentFeedbackBorder and Ajax.

2006-05-01 Thread karthik Guru
i think think the fix s'd work :) will let you know.On 5/2/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: just checked in a fix let me know if that did the trick -IgorOn 5/1/06, karthik Guru < [EMAIL PROTECTED] > wrote:yep I checked. it doesn't call FeedbackPanel.updateFeedback either on ajax rende

Re: [Wicket-user] FormComponentFeedbackBorder and Ajax.

2006-05-01 Thread Igor Vaynberg
just checked in a fix let me know if that did the trick-IgorOn 5/1/06, karthik Guru <[EMAIL PROTECTED] > wrote:yep I checked. it doesn't call FeedbackPanel.updateFeedback either on ajax render. On 5/1/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: i think it should. Feedback panel's updateFeedback

Re: [Wicket-user] FormComponentFeedbackBorder and Ajax.

2006-05-01 Thread karthik Guru
yep I checked. it doesn't call FeedbackPanel.updateFeedback either on ajax render. On 5/1/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: i think it should. Feedback panel's updateFeedback() is being called right?-Igor On 5/1/06, karthik Guru < [EMAIL PROTECTED]> wrote:Great! works now! thanks as alw

[Wicket-user] Re: multi-window support and deadlocks

2006-05-01 Thread Christian Essl
Ofcourse this is all doable but what is the real gain? If you do ajax on the clientside and the chance is pretty great that it gets hit then don't do clientside for that page. Or we could use the SecondLevelCacheSessionStore we now have in our branch then we also have unlimited backbutton s

Re: [Wicket-user] TinyMCE

2006-05-01 Thread Alexander Lohse
I found a problem that is related to loading shared resources. The following code taken from the examples does not work: PackageResource.bind(getApplication(), MyPage.class, Pattern.compile ("^images.*(.jpg|.gif|.png)$"), true); Is there a bug in 1.2 RC3/RC1? Or is there something wrong with

[Wicket-user] Deployment Help

2006-05-01 Thread Steve Moitozo
Firstly, please excuse my lack of background. I'm coming from years of PHP development and I'm attempting to use the Wicket framework to write a simple web application. This is my first entrance into Servlets and Wicket and is further complicated because I've never used any of the Java IDEs. I'm h

[Wicket-user] Wicket 1.2-rc3 released

2006-05-01 Thread Martijn Dashorst
All,After some struggles with maven (the changes plugin gave up on me), I have been able to release a new release candidate of Wicket 1.2.You can download the release from the sourceforge servers.     http://sourceforge.net/project/showfiles.php?group_id=119783This release contains all major packa

Re: [Wicket-user] cannot get DropDownList to select item

2006-05-01 Thread Vincent Jenks
OK, I thought I had it working correctly...but I can't seem to figure out why I'm getting a ClassCastException in the model now. It displays the correct quantity when the page is first pulled up (after selecting an item & quantity on previous page) - but if I change the quantity and re-submit on

Re: [Wicket-user] Deployment Help

2006-05-01 Thread Vincent Jenks
Coming from the PHP world might make Java, Wicket, etc. seem more challenging until you get your development environment setup. Once you have a good IDE (in my opinion) you'll find that it's a breeze to start building apps...especially w/ Wicket. The quickstarts are good. Also take a look at th

[Wicket-user] HibernateDatabaseObject null patch

2006-05-01 Thread cowwoc
Just curious: Long already supports null, why add this -1 hack? Gili [EMAIL PROTECTED] wrote: > Revision: 698 > Author: jonathanlocke > Date: 2006-05-01 13:49:22 -0700 (Mon, 01 May 2006) > ViewCVS: http://svn.sourceforge.net/wicket-stuff/?rev=698&view=rev > > Log Message: > -

Re: [Wicket-user] cannot get DropDownList to select item

2006-05-01 Thread Vincent Jenks
nevermind, it came to me in a trance, I fixed it by doing the following: selection.put(config, (Integer)o); On 5/1/06, Vincent Jenks <[EMAIL PROTECTED]> wrote: OK, I thought I had it working correctly...but I can't seem to figure out why I'm getting a ClassCastException in the model now. It di

Re: [Wicket-user] Deployment Help

2006-05-01 Thread Martijn Dashorst
Packaging using the quickstart project as a basis should be a matter of running either:ant warormaven warormvn packageif you have installed either ant, maven 1, or maven 2the resulting war archive will be in the target directory, where you can pick it up and drop it into the jetty/webapps directory

Re: [Wicket-user] autocompletetextfield problem

2006-05-01 Thread myu
Hi Igor Well maybe it was fixed in cvs :). I am currently running wicket 1.2-rc2. I have submitted a bug report at sf.net. Kind regards /Murat Igor Vaynberg <[EMAIL PROTECTED]> wrote: > if it was a known bug it wouldve been fixed :) please file a > bug report. > > -Igor > > > On 5/1/06, [EMA

Re: [Wicket-user] Deployment Help

2006-05-01 Thread Michael Day
Have you tried looking at the wicket quickstart applications? On May 1, 2006, at 4:58 PM, Steve Moitozo wrote: Firstly, please excuse my lack of background. I'm coming from years of PHP development and I'm attempting to use the Wicket framework to write a simple web application. This is my f

Re: [Wicket-user] cannot get DropDownList to select item

2006-05-01 Thread Vincent Jenks
HAHA! Finally, I nailed one first. On 5/1/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: ha! beat you by a minute! -Igor On 5/1/06, Vincent Jenks <[EMAIL PROTECTED]> wrote: > nevermind, it came to me in a trance, I fixed it by doing the following: > > selection.put (config, (Integer)o); > > O

Re: [Wicket-user] Deployment Help

2006-05-01 Thread Martijn Dashorst
Take a look at this wicket project:    http://wicket.sourceforge.net/wicket-quickstart/index.htmland look at the screen cast:     http://wicket.sourceforge.net/wicket-quickstart/demos/EclipseDemo.htmlDownload the wicket quickstart project:    http://sourceforge.net/project/showfiles.php?group_id=1

Re: [Wicket-user] autocompletetextfield problem

2006-05-01 Thread Igor Vaynberg
Thanks,will try to take a look tonight.-IgorOn 5/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:Hi IgorWell maybe it was fixed in cvs :). I am currently running wicket 1.2-rc2.I have submitted a bug report at sf.net.Kind regards/MuratIgor Vaynberg <[EMAIL PROTECTED]> wrote: > if it was a known

Re: [Wicket-user] autocompletetextfield problem

2006-05-01 Thread Igor Vaynberg
if it was a known bug it wouldve been fixed :) please file a bug report.-IgorOn 5/1/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:Hi allI am experiencing problem with the AutoCompleteTextField. Somehow i am not able to select the last item in the list, which means that if i only have one item i

Re: [Wicket-user] cannot get DropDownList to select item

2006-05-01 Thread Vincent Jenks
Man, that'd be nice On 5/1/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: no prob. for future ref keep in mind wicket works on objects. this will be easier when we have generics in 2.0 because then the decl would be DropDownChoice(String id, IModel selection, IModel> choices) -Igor On 5/1

[Wicket-user] DropDown danish locale problem

2006-05-01 Thread myu
Hi all I have some problem with the danish locale when using a DropDownChoice. The default value "Vælg en" is not rendered correctly on the screen. I found this in Application_da.properties null=V%ae;lg en The value above is the one that i am seeing on my screen but instead of '%ae;' i should

[Wicket-user] autocompletetextfield problem

2006-05-01 Thread myu
Hi all I am experiencing problem with the AutoCompleteTextField. Somehow i am not able to select the last item in the list, which means that if i only have one item i cant select that item. Right now i have made a workaround by adding a dummy field, so there is also at least two items in the li

Re: [Wicket-user] cannot get DropDownList to select item

2006-05-01 Thread Igor Vaynberg
no prob.for future ref keep in mind wicket works on objects. this will be easier when we have generics in 2.0 because then the decl would beDropDownChoice(String id, IModel selection, IModel> choices) -IgorOn 5/1/06, Vincent Jenks <[EMAIL PROTECTED]> wrote: Ahh crap...that worked.  I had been aroun

Re: [Wicket-user] Wicket book

2006-05-01 Thread Eelco Hillenius
Yeah, especially the component reference should be helpfull. We all put a lot of effort in that! :) Eelco On 5/1/06, Gwyn Evans <[EMAIL PROTECTED]> wrote: One thing that often gets overlooked is the wicket-examples module/project, which is either available as a download (http://sourceforge.net/

Re: [Wicket-user] Wicket book

2006-05-01 Thread Gwyn Evans
One thing that often gets overlooked is the wicket-examples module/project, which is either available as a download (http://sourceforge.net/project/showfiles.php?group_id=119783&package_id=138752) or live at http://www.wicket-library.com/wicket-examples/, although the live is based on the last maj

Re: [Wicket-user] cannot get DropDownList to select item

2006-05-01 Thread Vincent Jenks
Ahh crap...that worked. I had been around in circles on this so many times that was the only combination I *hadn't* tried. Thanks Igor, I really appreciate it. On 5/1/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: next thing is your choices need to be integers, because "10"!=10 -Igor On 5/1/

Re: [Wicket-user] cannot get DropDownList to select item

2006-05-01 Thread Igor Vaynberg
next thing is your choices need to be integers, because "10"!=10-IgorOn 5/1/06, Vincent Jenks < [EMAIL PROTECTED]> wrote:I set it to return selection.get(config) and it still doesn't select anything. I have this now:IModel selectionModel = new Model()

Re: [Wicket-user] cannot get DropDownList to select item

2006-05-01 Thread Vincent Jenks
I set it to return selection.get(config) and it still doesn't select anything. I have this now: IModel selectionModel = new Model() { public void setObject(Component c, Object o)

Re: [Wicket-user] FormComponentFeedbackBorder and Ajax.

2006-05-01 Thread Igor Vaynberg
i think it should. Feedback panel's updateFeedback() is being called right?-IgorOn 5/1/06, karthik Guru < [EMAIL PROTECTED]> wrote:Great! works now! thanks as always. Ok for my info - Should FormComponentFeedbackBorder.updateFeedback() be called on ajax render?..the reason i ask this its not getti

Re: [Wicket-user] cannot get DropDownList to select item

2006-05-01 Thread Igor Vaynberg
furthermore, if you wanted you can work on your cart object directly instead of having to translate to and from the map.-IgorOn 5/1/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:                                IModel selectionModel = new Model()                                {                      

Re: [Wicket-user] cannot get DropDownList to select item

2006-05-01 Thread Igor Vaynberg
                               IModel selectionModel = new Model()                                {                                        public void setObject(Component c, Object o)                                        {                                                selection.put(config, Inte

Re: [Wicket-user] Wicket book

2006-05-01 Thread Vincent Jenks
I have to agree. What would be nice, if possible, is a small example code snippet in the Javadoc for each object. However, some may feel that code doesn't belong in there at all and should be in the wiki instead. Personally, I like example code too but small examples don't always fully illustra

Re: [Wicket-user] Wicket book

2006-05-01 Thread Eelco Hillenius
Due to the lack of time most of us have here, we need to make choices. I think the WIKI is great for getting the contributions from the community itself, though the core devs - especially Gwyn - regularly update it too. But it's really great to see more people are helping out and writing items on

Re: [Wicket-user] Wicket book

2006-05-01 Thread Vincent Jenks
It's very useful, however, it's also lacking quite a bit of information. The Wiki and the Javadoc doesn't get you as far as you'd hope, as a newbie. I use the Wiki, search the mailing list, and then post when I run out of options for info. Anyhow, everything is improving daily...including the w

Re: [Wicket-user] Image upload

2006-05-01 Thread Vincent Jenks
I'll read through this, thanks a ton!On 5/1/06, Philip A. Chapman <[EMAIL PROTECTED]> wrote: Sorry for the delay, but I spent the time to create a wiki page so that hopefully others can benefit from what little I have to say on the subject: http://www.wicket-wiki.org.uk/wiki/index.php/U

Re: [Wicket-user] Wicket book

2006-05-01 Thread Timo Stamm
Vincent Jenks schrieb: Yes, the developers are *insanely* helpful and patient. ;) Without this list I'm not sure I would have been able to use Wicket for long, to be perfectly honest. "Try the Wiki!" wasn't ment as "Try the Wiki because the devs have better things to do", it was ment as "Try

Re: [Wicket-user] FormComponentFeedbackBorder and Ajax.

2006-05-01 Thread karthik Guru
Great! works now! thanks as always. Ok for my info - Should FormComponentFeedbackBorder.updateFeedback() be called on ajax render?..the reason i ask this its not getting called. So I have a similar check happening in my 'isVisible'. On 5/1/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: the problem is

Re: [Wicket-user] Image upload

2006-05-01 Thread Philip A. Chapman
Sorry for the delay, but I spent the time to create a wiki page so that hopefully others can benefit from what little I have to say on the subject: http://www.wicket-wiki.org.uk/wiki/index.php/UploadDownload On Mon, 2006-05-01 at 08:01 -0700, Igor Vaynberg wrote: yes, thats it.

[Wicket-user] TinyMCE

2006-05-01 Thread Alexander Lohse
Hi, I have problems using the tinymce integration. Javascript keeps complaining about a missing template function. Any idea what I might have done wrong? Regards, Alex ––– Alexander Lohse (Entwicklungsleitung & Projektmanagement) Human Touch Medienprodukt

[Wicket-user] cannot get DropDownList to select item

2006-05-01 Thread Vincent Jenks
I'm back on this issue now after having put it on the "back-burner" for a short time...since I couldn't figure it out before. I had posted several messages about this but can't find the original emails to reply to, so I'm sorry to create a new thread out of an old issue! I *just can't* get this

Re: [Wicket-user] Image upload

2006-05-01 Thread Igor Vaynberg
yes, thats it.basically you would create a that resource that takes the filename/fileid/whatever off the url and streams the file. there is an example of this, i will ask one of my friends to post it here. stay tuned. -IgorOn 5/1/06, Vincent Jenks <[EMAIL PROTECTED]> wrote: Did you mean to say Dyna

Re: [Wicket-user] FormComponentFeedbackBorder and Ajax.

2006-05-01 Thread Igor Vaynberg
the problem is that initially the border is invisible so it has no so when the ajax requests comes in it doesnt know where to place the markup.you need to wrap it in a webmarkupcontainer that is always visible, or write a different formcomponentfeedbackborder that always draws an empty span instead

Re: [Wicket-user] Image upload

2006-05-01 Thread Vincent Jenks
Did you mean to say DynamicWebResource? On 4/21/06, Johan Compagner <[EMAIL PROTECTED]> wrote: you could save those images to a DB or to a working dir on the server. Then have a DynamicByteArrayResource or the 1.2 one: WebDynamicResource to load the image from the location you stored the image.

Re: [Wicket-user] Image upload

2006-05-01 Thread Vincent Jenks
This all sounds fantastic to me...and I'm sure it's second nature to you...but means nothing to me ;) I've never used struts. Is there an example in wicket-examples? It's not obvious to me if there is one in there. Sorry for the hand-holding but I'm not at all familiar w/ this concept yet. On

Re: [Wicket-user] Wicket book

2006-05-01 Thread Vincent Jenks
Yes, the developers are *insanely* helpful and patient. ;) Without this list I'm not sure I would have been able to use Wicket for long, to be perfectly honest. On 5/1/06, Timo Stamm <[EMAIL PROTECTED]> wrote: Rivka Shisman schrieb: > A good book with examples and recipes is quite necessary :-)

Re: [Wicket-user] FormComponentFeedbackBorder and Ajax.

2006-05-01 Thread karthik Guru
Yes.In fact, the Ajax response has the markup for the FormComponentFeedbackBorder. But the errorIndicator always shows up even though the field is 'valid' (it was invalid before the ajax call was made). The FeedbackPanel updates correctly. But like I said , it does appear that FormComponentFeedbac

Re: [Wicket-user] FormComponentFeedbackBorder and Ajax.

2006-05-01 Thread Martijn Dashorst
have you setOutputMarkupId(true)?MartijnOn 5/1/06, karthik Guru <[EMAIL PROTECTED] > wrote:I have a text component decorated using FormComponentFeedbackBorder. I have something like the following: userName.add(new AjaxFormComponentUpdatingBehavior("onblur"){            @Override            protecte

[Wicket-user] FormComponentFeedbackBorder and Ajax.

2006-05-01 Thread karthik Guru
I have a text component decorated using FormComponentFeedbackBorder. I have something like the following:userName.add(new AjaxFormComponentUpdatingBehavior("onblur"){            @Override            protected void onUpdate(AjaxRequestTarget target) {                 target.addComponent(feedbackPane

Re: [Wicket-user] Re: multi-window support and deadlocks

2006-05-01 Thread Johan Compagner
That's what I said. But of course you can intercept the back-button inAJAX and I just did not know wheter this is a requirement in Wicket. If it is not in Wicket than well - just makes everything easier.don't know exactly if you catch the back button to do a request to the server to display somethi

Re: [Wicket-user] Wicket book

2006-05-01 Thread Timo Stamm
Rivka Shisman schrieb: A good book with examples and recipes is quite necessary :-) Try the Wiki! http://www.wicket-wiki.org.uk There is nice guide for beginners that should get you started: http://www.wicket-wiki.org.uk/wiki/index.php/Newuserguide Then there is the reference library with inf

Re: [Wicket-user] Wicket book

2006-05-01 Thread Eelco Hillenius
Yeah, Martijn and me are working on Wicket In Action (Manning). It'll be a few months; it's a lot of work and I found that you really have to have inspiration days for writing. Anyway, working on it. Until then, please use this list, the IRC channel, the WIKI and whatever other means we have for

Re: [Wicket-user] Dynamically generated buttons are showing up as broken links [RESOLVED]

2006-05-01 Thread kurt heston
The problem was on line 130 in DynamicImageResource: final ImageWriter writer = (ImageWriter)ImageIO.getImageWritersByFormatName(format).next(); This uses the first PNG image writer it finds. Depending on which add-ons are installed, this could vary. In my case, I had loaded the jai-imagei

Re: [Wicket-user] Wicket book

2006-05-01 Thread Alexandru Popescu
Afaik two of the main developers are currently working on a Wicket in Action book. I don't know anything about schedules, but I guess they were quite busy lately to push the 1.2 out the door. hth, ./alex -- .w( the_mindstorm )p. On 5/1/06, Rivka Shisman <[EMAIL PROTECTED]> wrote: Hello all

Re: [Wicket-user] Dynamically generated buttons are showing up as broken links

2006-05-01 Thread kurt heston
Looks like my problem is on line 134 of DynamicImageResource: writer.setOutput(ImageIO.createImageOutputStream(out)); writer.write(image); after these, "out" is empty. Not sure what the cause is yet...stay tuned. kurt heston wrote: I have the asterisk. I'm in the process of setting up Maven

[Wicket-user] Wicket book

2006-05-01 Thread Rivka Shisman
Hello all,   Is there a book on Wicket? If not – is there a plan for such a book? A good book with examples and recipes is quite necessary J   Thanks Rivka