Re: [Wicket-user] Testing trouble when backporting application from 2.0 to 1.2.5

2007-04-04 Thread Gohan
Thanks for your reply. When is 1.3 going to be released? Is there a milestone or release candidate version that you can download instead of downloading the latest snapshot so I don't have to change my code all the time as with wicket 2.0. /Johan Johan Compagner wrote: > > this looks more like

[Wicket-user] Any ajax callback for when a panel is closed?

2007-04-04 Thread jamieballing
We have a modal window with several tabs. We want to validate the data on the tab after when the user navigates away from the tab. The tab is currently just a panel. Is there any callback we can when the panel is closed use to trigger validation? Thanks, Jamie -- View this message in context: h

Re: [Wicket-user] Calling document.getElementById after "refreshing" the calling component

2007-04-04 Thread Eelco Hillenius
I haven't looked at your actual code, but tbh combining a normal and ajax request like that doesn't sound like a very good idea to me. Can't you issue the form submit as part of a script you set in the AjaxRequestTarget of the preparing action? Something like: target.appendJavaScript(myForm.getMa

Re: [Wicket-user] something strange about FormComponent.getInputAsArray()

2007-04-04 Thread Eelco Hillenius
Which version are you using? And why wouldn't you be using models and components rather then getInputAsArray, which is basically a framework function? Eelco On 4/2/07, JFC <[EMAIL PROTECTED]> wrote: Sorry to bother, but I found a strange thing, I don't know if I misunderstand the usage of "g

Re: [Wicket-user] Framework Evaluation

2007-04-04 Thread Julian Klappenbach
One strong consideration four our research into using Wicket as the standard UI framework for our open source projects is the very workflow of our company. We have a well defined and capable UX team, who design the interfaces for our applications. Their deliverables include wireframes and html mo

Re: [Wicket-user] Framework Evaluation

2007-04-04 Thread Eelco Hillenius
On 4/4/07, Richard Hogue <[EMAIL PROTECTED]> wrote: > Thanks for all the info. I've been in the Swing world for 10 years and > need to come up to speed on the alphabet soup of the Web World in a few > scant weeks ;-) My knowledge of Ajax is, shall we say, a bit sparse... > > Wicket and GWT seem to

Re: [Wicket-user] Framework Evaluation

2007-04-04 Thread Richard Hogue
Thanks for all the info. I've been in the Swing world for 10 years and need to come up to speed on the alphabet soup of the Web World in a few scant weeks ;-) My knowledge of Ajax is, shall we say, a bit sparse... Wicket and GWT seem to be the most swing-like, and they are both easy to become prod

Re: [Wicket-user] Testing trouble when backporting application from 2.0 to 1.2.5

2007-04-04 Thread Johan Compagner
this looks more like a WicketTester failure then a failure of the real code are you really porting to 1.2? You should try to go from 2.0 to 1.3 because else you need to change quite a lot more johan On 4/4/07, Gohan <[EMAIL PROTECTED]> wrote: I'm porting an application from wicket 2.0 to 1.

Re: [Wicket-user] Framework Evaluation

2007-04-04 Thread Eelco Hillenius
And here's one opinion: http://www.nabble.com/-Wicket-user--ajax-libraries---wicket-tf3191437.html#a8870490 Eelco On 4/4/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > So, I have some questions that I hope people can answer, or at least point > > me in > > the right direction to look for the

Re: [Wicket-user] Framework Evaluation

2007-04-04 Thread Eelco Hillenius
> So, I have some questions that I hope people can answer, or at least point me > in > the right direction to look for the answers ;-) I am currently working with > Wicket 1.2.5… Wicket 1.3 is much improved, so if you don't mind working on a development branch that'll be better. > I have found c

Re: [Wicket-user] AjaxMouseEventBehavior substitue in wicket-extensions 1.2.5

2007-04-04 Thread Timo Rantalaiho
On Wed, 04 Apr 2007, Gohan wrote: > Since the development of Wicket 2 seems to be frozen for an unknown period of > time I'm trying to port my wicket 2 application to wicket 1.2.5. In in one If you already have code, wouldn't it be better to target 1.3? It is rapidly approaching 2.0: http://cw

[Wicket-user] Testing trouble when backporting application from 2.0 to 1.2.5

2007-04-04 Thread Gohan
I'm porting an application from wicket 2.0 to 1.2 but I run into trouble when executing tests for some of the classes. The tests worked in Wicket 2.0. Bellow is a simple example the demonstrate the problem: public class FormPage extends WebPage { private static final long serialVersionUI

Re: [Wicket-user] Input focus

2007-04-04 Thread John Krasnay
Thanks, guys. I think I was over-thinking this. I've decided to do this with pure Javascript included on every page, just giving focus to the first non-disabled input element. Igor's comment about metadata made me realize I was already tagging invalid fields with "invalid" in the class attribute,

Re: [Wicket-user] specific validation messages/custom converters...

2007-04-04 Thread Igor Vaynberg
see componentfeedbackpanel -igor On 4/4/07, Julian Klappenbach <[EMAIL PROTECTED]> wrote: Is there a way to output error messages per field, ie specify a feedback span per field that only displays error messages for that field? On 9/13/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > In ot

Re: [Wicket-user] specific validation messages/custom converters...

2007-04-04 Thread Julian Klappenbach
Is there a way to output error messages per field, ie specify a feedback span per field that only displays error messages for that field? On 9/13/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: In other words: his bar bum years are over and he can code instead of chasing girls all the time :) E

Re: [Wicket-user] Wicket 1.3 ready for development?

2007-04-04 Thread Bruno Borges
Erik, could you please share with us your results about this comparison between Tapestry/GWT and Wicket ? []'s On 3/31/07, Erik van Oosten <[EMAIL PROTECTED]> wrote: Thanks Eelco, Frank, 1.3 it will be. Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ -

Re: [Wicket-user] Framework Evaluation

2007-04-04 Thread Matej Knopp
Hi > > I have found comparisons between Wicket and Tapestry (and JSF), but none > between Wicket and GWT. Are there any out there? Not that I know about. But when evaluating GWT, just don't miss one fact: No site made by GWT will be crawled by google or any other crawlers. > When using GWT, you

[Wicket-user] Framework Evaluation

2007-04-04 Thread xrogue
We are currently evaluating GWT, Tapestry and Wicket for our company. We would like to pick one that we can standardize on for the entire company to build all of our new web products on going forward. I managed to get Wicket to Round 2 ;-), but our architects have some lingering concerns that I

[Wicket-user] Framework Evaluation

2007-04-04 Thread xrogue
We are currently evaluating GWT, Tapestry and Wicket for our company. We would like to pick one that we can standardize on for the entire company to build all of our new web products on going forward. I managed to get Wicket to Round 2 ;-), but our architects have some lingering concerns that I

[Wicket-user] patch question: wicket 313

2007-04-04 Thread Apaar Trivedi
Hey all, I've applied this patch http://issues.apache.org/jira/browse/WICKET-313 to wicket 1.2.4 and it doesn't seem to have changed the way my errors are handled in ajaxRequestTarget. Am I missing other patches that this depends on? Thanks -

[Wicket-user] Aajx error handling weirdness

2007-04-04 Thread Apaar Trivedi
Hey guys, I have a weird issue. I am using the globalFailureHandler to catch my ajax errors, and also have overridden RequestCycle to forward to my own error page. But when an error occurs during an ajax request, I get two different responses depending on what mode my application is in.

[Wicket-user] AjaxMouseEventBehavior substitue in wicket-extensions 1.2.5

2007-04-04 Thread Gohan
Since the development of Wicket 2 seems to be frozen for an unknown period of time I'm trying to port my wicket 2 application to wicket 1.2.5. In in one occasion I use the "AjaxMouseEventBehavior" class that is a part of wicket-extensions 2.0, but it doesn't seem to exist in wicket-extensions 1.2.

Re: [Wicket-user] WicketTester

2007-04-04 Thread Eelco Hillenius
Can you please create a JIRA issue for this? It seems to be a bug in the custom serialization code that is experimental in Wicket now. It would actually be great if we could switch to an in-memory session store when executing tests. Eelco On 4/4/07, Mats Norén <[EMAIL PROTECTED]> wrote: > Update

Re: [Wicket-user] Template page, menu and confirmations pages

2007-04-04 Thread Eelco Hillenius
On 4/4/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > webmarkupcontainer c=new webmarkupcontainer(); > form f=new form(); > c.add(form); > form.add(new button() { onsubmit() { c.replaceWith(new confirmpanel();}} Also described here: http://chillenious.wordpress.com/2006/11/30/ask-confirmation-on-l

Re: [Wicket-user] available application locales

2007-04-04 Thread Eelco Hillenius
> you don't need that - only mount your pages once. I would subclass the > application pages from a common page that looks like this: > > public abstract class MyPage extends WebPage { > > public MyPage(PageParameters params) { >String lang = params.getString("lang", "en"); >getSession().se

Re: [Wicket-user] available application locales

2007-04-04 Thread Janos Cserep
> > mounting hundreds of paths within a dynamically generated site. having just a > default path-attribute added and evaluated would be nicer. you don't need that - only mount your pages once. I would subclass the application pages from a common page that looks like this: public abstract class

Re: [Wicket-user] XSD / Validation

2007-04-04 Thread Johannes Schneider
Thanks, Johannes Schneider Marc-Andre Houle wrote: I think one of your answer can be found in this thread... http://www.nabble.com/XHTML-ContentType-problem-tf3362030.html#a9352755 On 3/29/07, *Johannes Schneider* <[EMAIL PROTECTED] > wrote: Hi, I am new

Re: [Wicket-user] XSD / Validation

2007-04-04 Thread Johannes Schneider
Could you paste your created xsd file? Maybe this is useful for others, too. Could anybody add this xsd to the source repository? We could add a comment to the header that this file is experimental. But it could be a first step in the right direction. Johannes Schneider Dmitry Kandalov wro

Re: [Wicket-user] available application locales

2007-04-04 Thread Jan Kriesten
huh - that really sounds scary... mounting hundreds of paths within a dynamically generated site. having just a default path-attribute added and evaluated would be nicer. i'll have to check this. but thanks so far! --- jan. Marc-Andre Houle wrote: > Add a page parameters to your page that inc

Re: [Wicket-user] Template page, menu and confirmations pages

2007-04-04 Thread Igor Vaynberg
webmarkupcontainer c=new webmarkupcontainer(); form f=new form(); c.add(form); form.add(new button() { onsubmit() { c.replaceWith(new confirmpanel();}} -igor On 4/4/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote: Thanks Igor I've succesfully implemented the repeater. However, regarding the c

Re: [Wicket-user] AjaxSelfUpdatingTimer, AjaxSubmitButton and ListView

2007-04-04 Thread Igor Vaynberg
im sure there are, 1.3 is very different from 1.2.x -igor On 4/4/07, Juha Alatalo <[EMAIL PROTECTED]> wrote: Is there some changes related on this? I am using version "something between 1.2.5 and 1.2.6". It is build on March 15, 2007. - Juha Igor Vaynberg wrote: > i dropped the attached co

Re: [Wicket-user] AbstractAjaxTimerBehavior on a page not possible ?

2007-04-04 Thread Johan Compagner
in 1.2 you need to work around it by having a component. in 1.3 this is fixed and it will work on a page. johan On 4/4/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote: I use wicket 1.2.5... How shall I do ? Thanks in advance ZedroS -

Re: [Wicket-user] available application locales

2007-04-04 Thread Marc-Andre Houle
Add a page parameters to your page that include a parameter to the language to use. Make sure to use a bookmarkable page (use bookmarkable link). and to get a nice url, use mounting(Can't find quickly in the wiki, but here's the javadoc

Re: [Wicket-user] WicketTester

2007-04-04 Thread Mats Norén
Update, I switched to the latest snapshot and got the same error On 4/4/07, Mats Norén <[EMAIL PROTECTED]> wrote: > I try to setup a simple testcase with a bookmarkablepage and get the > following exception about the serialization. > > INFO - Application- [WicketTester$1] in

Re: [Wicket-user] WicketTester

2007-04-04 Thread Mats Norén
I try to setup a simple testcase with a bookmarkablepage and get the following exception about the serialization. INFO - Application- [WicketTester$1] init: Wicket extensions initializer INFO - Application- [WicketTester$1] init: Wicket core library initializer IN

[Wicket-user] WicketTester

2007-04-04 Thread Mats Norén
Hi, Is there an example on how to test bookmarkable pages with pageparameters? Do I have to use the ITestPage and call the constructor page(PageParameters params)? /Mats - Take Surveys. Earn Cash. Influence the Future of IT J

Re: [Wicket-user] available application locales

2007-04-04 Thread Jan Kriesten
hi marc-andre, > Add a Link, in the onClick method, add the code to set the local setting > for this session. That's it. ah, yes - that solves on part, another problem still remains, how to direct link (from extern) to a specific language? that's why i asked for distinct url/language paths. re

Re: [Wicket-user] AbstractAjaxTimerBehavior on a page not possible ?

2007-04-04 Thread ZedroS Schwart
I use wicket 1.2.5... How shall I do ? Thanks in advance ZedroS - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business top

Re: [Wicket-user] available application locales

2007-04-04 Thread Marc-Andre Houle
Add a Link, in the onClick method, add the code to set the local setting for this session. That's it. add(new Link("french_wicket_tag") { public void onClick() { getSession().setLocale(Locale.FRENCH); } }); French version<\a> Maybe there is something I didn't understand in the question, but it s

Re: [Wicket-user] AbstractAjaxTimerBehavior on a page not possible ?

2007-04-04 Thread Vincent Demay
ZedroS Schwart a écrit : > Hi all > > I've the following code : > public class LogoutPage extends SecuredBasePage { > public LogoutPage() { > ((Session) getSession()).setUser(null); > > add(new AbstractAjaxTimerBehavior(Duration.seconds(5)) { >

[Wicket-user] available application locales

2007-04-04 Thread Jan Kriesten
hi, i'm quite new to wicket and am impressed. :-) i just stumbled over the i18n/l10n questions, which are relevant in most of our projects. if anyone could enlighten me how the following can be resolved with wickets: we have a database driven approach localizing our application. so there is a c

Re: [Wicket-user] Template page, menu and confirmations pages

2007-04-04 Thread ZedroS Schwart
Thanks Igor I've succesfully implemented the repeater. However, regarding the confirmation dialog, your hint has lead me to use the "form.setVisible(false)" and then the info(...) to display my confirmation message. Regarding your solution of a panel, however, could you please just provide a bit

[Wicket-user] AbstractAjaxTimerBehavior on a page not possible ?

2007-04-04 Thread ZedroS Schwart
Hi all I've the following code : public class LogoutPage extends SecuredBasePage { public LogoutPage() { ((Session) getSession()).setUser(null); add(new AbstractAjaxTimerBehavior(Duration.seconds(5)) { protected void

Re: [Wicket-user] AjaxSelfUpdatingTimer, AjaxSubmitButton and ListView

2007-04-04 Thread Juha Alatalo
Is there some changes related on this? I am using version "something between 1.2.5 and 1.2.6". It is build on March 15, 2007. - Juha Igor Vaynberg wrote: > i dropped the attached code into my checkedout version of 1.x and it works. > > -igor > > > On 3/23/07, *Juha Alatalo* < [EMAIL PROTECTE

Re: [Wicket-user] Palette with sorted elements

2007-04-04 Thread Nino Wael
We had to do our "own" version of the palette. Im not sure if its outdated. But you can find the old source somewhere linked to in this thread: http://www.nabble.com/Palette-add-selected-option-tf2730861.html#a7672169 We also created a version where youselft can sort the items, let me know if

[Wicket-user] Tree for navigation

2007-04-04 Thread Nicolai Dymosz
Hi All, i built a tree (wicket.extension.markup.html.tree.Tree). The tree works fine. But now i want to use the tree for navigation. I just found examples to build a tree, but i didn`t find some examples to use the tree for navigation. Can anyone give me further information in how to make tre

Re: [Wicket-user] Multiple Modal Windows (sunraider)

2007-04-04 Thread sunraider
I am so sorry, its the 1.2.x branch (1.2.6 in progress). Thanks, Sajeev Eelco Hillenius wrote: > >> I am currently using Wicket-1.2.4, and also tried the build 1.2.5 version >> from SVN yesterday. It doesn't work in both these versions. > > Do you mean the latest from the 1.2.x branch (1.2.6

Re: [Wicket-user] Pro Wicket bugs

2007-04-04 Thread karthik Guru
Hi, I just downloaded the e-book from the Apress site. My copy has the content for pages # 104 - 107. Please do try again and let me know if you continue to face the problem. thanks, Karthik On 4/3/07, galbu <[EMAIL PROTECTED]> wrote: Hello world I'm a beginner in wicket developing and I nee