Re: [Wicket-user] [ANN] Wicket Assistant v0.1.3

2006-10-13 Thread Pierre-Yves Saumont
Other features that would be usefull: refactor/rename a file should rename the two files (html + java) and even better, it should also look for resources bundles and rename them accordingly (including localized ones). Use of resources could be verified so that a missing resource would be

Re: [Wicket-user] [ANN] Wicket Assistant v0.1.3

2006-10-13 Thread ahn
hi, Other features that would be usefull: refactor/rename a file should rename the two files (html + java) and even better, it should also look for resources bundles and rename them accordingly (including localized ones). This is one the todolist. Use of resources could be verified

Re: [Wicket-user] [ANN] Wicket Assistant v0.1.3

2006-10-13 Thread Pierre-Yves Saumont
What I mean is that if your use a resource string such as: final StringResourceModel pageTabAlertsModel = new StringResourceModel(PageTabBar.alerts, this, null); and you forget to create the resource PageTabBar.alerts in a property file, or you renamed the class and forgot to

[Wicket-user] Incomplete Autocompletion Behaviour

2006-10-13 Thread Erik van Oosten
Hi, I am using the AutoCompleteBehavior (from wicket-extension). The text field that has auto completion is part of an AJAX loaded panel. The problem is that the JavaScript required for the auto completion is not loaded. How can I make Wicket load the JavaScript libraries? Regards,

Re: [Wicket-user] RuntimeException not being caught despite configuration

2006-10-13 Thread Johan Compagner
this is fixed in the current trunk of 1.x What is happening is that your error page is also again erroring.. Because you tamper with the wicket url and that is causing problems in the current buildjohan On 10/12/06, Jaime De La Jara [EMAIL PROTECTED] wrote: I changed the init parameter

Re: [Wicket-user] [ANN] Wicket Assistant v0.1.3

2006-10-13 Thread Otan
Wow this is cool!How I wish there's also a plugin like this for Netbeans :-(On 12/10/06, Anders Holmbech Brandt [EMAIL PROTECTED] wrote:Hello wicket-users,New version of the Wicket Assistant plugin for Intellij Idea. Download it from the plugin manager within Idea. Works in version 5.X and

Re: [Wicket-user] [ANN] Wicket Assistant v0.1.3

2006-10-13 Thread ahn
hi, What I mean is that if your use a resource string such as: final StringResourceModel pageTabAlertsModel = new StringResourceModel(PageTabBar.alerts, this, null); and you forget to create the resource PageTabBar.alerts in a property file, or you renamed the class and

Re: [Wicket-user] Setting the filename with REsourceLink...

2006-10-13 Thread Erik Brakkee
ok, thanksOn 10/13/06, Eelco Hillenius [EMAIL PROTECTED] wrote: You typically do that on your resource (stream). For instance:WebResource export = new WebResource() {@Overridepublic IResourceStream getResourceStream() {CharSequence discounts = DataBase.getInstance().exportDiscounts();return new

Re: [Wicket-user] BODY onload not resetting

2006-10-13 Thread Eelco Hillenius
That's a bug alright. I created a ticket here: http://sourceforge.net/tracker/index.php?func=detailaid=1576543group_id=119783atid=684975 Eelco On 10/12/06, ChuckDeal [EMAIL PROTECTED] wrote: Could this problem be related to page verisoning or the page map? I am not real familiar with either

Re: [Wicket-user] RuntimeException not being caught despite configuration

2006-10-13 Thread Jaime De La Jara
I'm using version 1.2.2 so in 1.2.3 it will be fixed? Yes, the problem occurs in WebRequestCodingStrategy.addInterfaceParameters when it parses the url parameters, since this is the result of an exception being thrown in the process of instantiating an error page it could have a different

[Wicket-user] newbie: wicket + dojo LayoutContainer

2006-10-13 Thread deshmol-lists
Hi, I'm trying to integrate Wicket with dojo for a web application. I have looked at the wicket-contrib-dojo-examples, but i believe it does not cover what I'm looking for at the moment, so here goes: I'm trying to use dojo's LayoutContainer with multiple nested dojo ContentPanes as (dojo

Re: [Wicket-user] Handling tree node onclick

2006-10-13 Thread Karl M. Davis
Matej, Doesn't it make more sense just to override onNodeLinkClicked(...)? That's what I've been doing, anyways. That way you don't have to worry about how the ndoes are created-- just what to do with them once one is clicked. If you want to control how the nodes look, override renderNode(...)

Re: [Wicket-user] newbie: wicket + dojo LayoutContainer

2006-10-13 Thread Korbinian Bachl
Hi, dont refer to the navomatic example, as this is a special contruction. If you need a usualy a href= link to a wicket page then use instead following: HMTL Markup: a wicket:id=myLink href=#Link desc/a and in Java-Page use: Link myLink = new Link(myLink) { public void onClick() {

Re: [Wicket-user] Incomplete Autocompletion Behaviour

2006-10-13 Thread Igor Vaynberg
what version are you using? we knew this was a problem in 1.2.2 and already fixed it in svn.-IgorOn 10/13/06, Erik van Oosten [EMAIL PROTECTED] wrote:Hi,I am using the AutoCompleteBehavior (from wicket-extension). The text field that has auto completion is part of an AJAX loaded panel. Theproblem

Re: [Wicket-user] Incomplete Autocompletion Behaviour

2006-10-13 Thread Erik van Oosten
Sorry, I should have mentioned that. We are indeed using 1.2.2. How stable is the latest stuff in svn? Regards, Erik. Igor Vaynberg schreef: what version are you using? we knew this was a problem in 1.2.2 and already fixed it in svn. -Igor On 10/13/06, *Erik van Oosten* [EMAIL

Re: [Wicket-user] newbie: wicket + dojo LayoutContainer

2006-10-13 Thread Marc-Andre Houle
I can be wrong, but here is the way we have done it here : -In the page, place all your DOJO goodies like this : div dojo:type=LayoutContainer div dojo:type=ContentPane span wicket:id=panel1panel contents come here/span /div div dojo:type=ContentPane span wicket:id=panel2panel contents come

Re: [Wicket-user] Incomplete Autocompletion Behaviour

2006-10-13 Thread Igor Vaynberg
the wicket-1.x branch is pretty stable, should be released as 1.2.3 very soon.-IgorOn 10/13/06, Erik van Oosten [EMAIL PROTECTED] wrote:Sorry, I should have mentioned that. We are indeed using 1.2.2.How stable is the latest stuff in svn?Regards,Erik.Igor Vaynberg schreef: what version are you

Re: [Wicket-user] Incomplete Autocompletion Behaviour

2006-10-13 Thread Erik van Oosten
Okay, thanks. That is good news. Erik. Igor Vaynberg schreef: the wicket-1.x branch is pretty stable, should be released as 1.2.3 very soon. -Igor On 10/13/06, *Erik van Oosten* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Sorry, I should have mentioned that. We are

Re: [Wicket-user] newbie: wicket + dojo LayoutContainer

2006-10-13 Thread deshmol-lists
Marc, That is indeed something that would work for my case. Unfortunately however, we have other cases where we load pages using dojo's custom widgets which requires setting the url to the template page (which in our case could be dynamic, hence it would be a wicket Page). So I would still be

Re: [Wicket-user] newbie: wicket + dojo LayoutContainer

2006-10-13 Thread Igor Vaynberg
RequestCycle.get().urlFor(pageclass, pageparams)-IgorOn 10/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:Marc, That is indeed something that would work for my case.Unfortunately however, we have other cases where weload pages using dojo's custom widgets which requiressetting the url to the

Re: [Wicket-user] newbie: wicket + dojo LayoutContainer

2006-10-13 Thread Marc-Andre Houle
Another time, I don't think I'm the best to answer that, but I assumed this from expereience : http://localhost:8080/web-application?wicket:bookmarkablePage=:org.exemple.foo.Class Change the host, web-application is the name of the application you used, and the last part is the same as if you do

Re: [Wicket-user] newbie: wicket + dojo LayoutContainer

2006-10-13 Thread Marc-Andre Houle
IThere is always a faster way of doing thing in Wicket. This is why I keep reading this mailling list, Igor and Matj are always pointing new stuff!On 10/13/06, Marc-Andre Houle [EMAIL PROTECTED] wrote: Another time, I don't think I'm the best to answer that, but I assumed this from expereience :

Re: [Wicket-user] RuntimeException not being caught despite configuration

2006-10-13 Thread Johan Compagner
yes it will be fixed in 1.2.3On 10/13/06, Jaime De La Jara [EMAIL PROTECTED] wrote: I'm using version 1.2.2 so in 1.2.3 it will be fixed? Yes, the problem occurs in WebRequestCodingStrategy.addInterfaceParameters when it parses the url parameters, since this is the result of an exception being

Re: [Wicket-user] newbie: wicket + dojo LayoutContainer

2006-10-13 Thread deshmol-lists
Thanks Marc-Andre and Igor! Igors solution is the general solution I was looking for. But i'm also using Wicket panels for the dojo LayoutContainer. Regards, ~ amol --- Marc-Andre Houle [EMAIL PROTECTED] wrote: IThere is always a faster way of doing thing in Wicket. This is why I keep

[Wicket-user] ICryptFactory Uses

2006-10-13 Thread craigdd
In looking at the JavaDoc I noticed the ICryptFactory interface that can be implemented and added to the security settings of a wicket application object. I'm a little confuses as to what this is used for, does anyone have any infor on this interface or how they are utilizing it? -- View this

Re: [Wicket-user] ICryptFactory Uses

2006-10-13 Thread Igor Vaynberg
it is used to retrieve crypto algorithms whenever we need to encrypt something - which isnt very often. wicket has support for encrypting urls so that is one place where it is used.generally you can find all places in code where it is used by asking your IDE to find references to it. -IgorOn

Re: [Wicket-user] ICryptFactory Uses

2006-10-13 Thread Johan Compagner
no use CryptedUrlWebRequestCodingStrategy for that.johanOn 10/13/06, craigdd [EMAIL PROTECTED] wrote: So are you saying that by implementing the ICryptFactory interface that URLswill also be encrypted? igor.vaynberg wrote: it is used to retrieve crypto algorithms whenever we need to encrypt

Re: [Wicket-user] ICryptFactory Uses

2006-10-13 Thread craigdd
It is great that wicket provides this functionality out of the box...props to the wicket development team. So am I correct in seeing that the CryptedUrlWebRequestCodingStrategy is using base64 to encode and decode the URL string? So getting back to the ICryptFactory interface, is this just a

Re: [Wicket-user] Form Field Focus

2006-10-13 Thread Igor Vaynberg
good point, i guess either spit it out right after the element or stick it into window.onload-IgorOn 10/13/06, Johan Compagner [EMAIL PROTECTED] wrote:will that work?isn't that script executed at the moment the the browser loads/encounters it? But then the element isn't there yet.johanOn

Re: [Wicket-user] ICryptFactory Uses

2006-10-13 Thread Igor Vaynberg
i believe we first encode using the crypto algorithm given a key you specify, and then base64 the result so it can be put into the url-IgorOn 10/13/06, craigdd [EMAIL PROTECTED] wrote: It is great that wicket provides this functionality out of the box...props tothe wicket development team.So am I

Re: [Wicket-user] display border conditionally

2006-10-13 Thread Juergen Donnerstag
setRenderBodyOnly() can be used to change the behavior. But it only prevent the component from writing the open and close tag. The box html markup associated with BoxBorder will not be disabled this way. Juergen On 10/13/06, Bondarenko, Oleg [EMAIL PROTECTED] wrote: Is it possible to change

Re: [Wicket-user] ICryptFactory Uses

2006-10-13 Thread Juergen Donnerstag
Yes exactly. Reason being that URLs as well as cookies are limited to base64 chars. Please do not use the crypt factory for storing application password in your database or whereever as the interface asks for encryption _and_ decryption (synchronous algorithms) Juergen On 10/13/06, Igor Vaynberg

[Wicket-user] Wicket and Cross-site scripting

2006-10-13 Thread craigdd
Does wicket handle Cross-site scripting out of the box. Meaning if I where to enter the string h1Hello World/h1 into a textarea of a form and then submitting that form would that same string reappear in a confirmation page corrently. If this function isn't provided out of the box is there hooks

Re: [Wicket-user] Handling tree node onclick

2006-10-13 Thread Matej Knopp
Good point. I'll add the method to AbstractTree, should be there before 1.2.3 is out. -Matej Karl M. Davis wrote: Matej, Doesn't it make more sense just to override onNodeLinkClicked(...)? That's what I've been doing, anyways. That way you don't have to worry about how the ndoes are

Re: [Wicket-user] display border conditionally

2006-10-13 Thread Bondarenko, Oleg
ok, Juergen, my guess was wrong then. But does it mean there is no way to dynamically disable the border markup and render only the border body? Schade. ;) thanks anyway Oleg -Original Message- From: [EMAIL PROTECTED] on behalf of Juergen Donnerstag Sent: Fri 10/13/2006 10:01 PM

Re: [Wicket-user] Wicket and Cross-site scripting

2006-10-13 Thread Igor Vaynberg
yes, model strings are escaped by defaultto turn it off when you need to inline markup use setEscapeModelStrings(false)-IgorOn 10/13/06, craigdd [EMAIL PROTECTED] wrote: Does wicket handle Cross-site scripting out of the box.Meaning if I whereto enter the string h1Hello World/h1 into a textarea

[Wicket-user] Compound Property model and Palette

2006-10-13 Thread samyem
Is it possible for a Palette to take the CompoundPropertyModel set on the form? -- View this message in context: http://www.nabble.com/Compound-Property-model-and-Palette-tf2439928.html#a6803854 Sent from the Wicket - User mailing list archive at Nabble.com.

[Wicket-user] Wicket 2.0 status

2006-10-13 Thread Aaron Hiniker
Hi, I'm inquiring about the status of Wicket 2.0 and where it sits as far as alpha/beta status. I'm considering using it for a very basic site where the refactoring would be minimal if I needed to keep up with a changing API. Our their any serious outstanding issues with 2.0 that would

[Wicket-user] Call stack size exceeded in Safari with Wicket-1.x

2006-10-13 Thread Caleb Land
I'm using Wicket-1.x from SVN and in Safari 2.0.4 when I try to replace a number of components and partially update the page I get an error:ERROR: Error while parsing response: Maximum call stack size exceeded. This same code works in 1.2.2.I traced the problem to the

Re: [Wicket-user] display border conditionally

2006-10-13 Thread Juergen Donnerstag
What is the use case? Why do you want to do it? No way might not be correct, may be not a simple one. Which version are you using? Juergen On 10/13/06, Bondarenko, Oleg [EMAIL PROTECTED] wrote: ok, Juergen, my guess was wrong then. But does it mean there is no way to dynamically disable the

Re: [Wicket-user] Wicket 2.0 status

2006-10-13 Thread Eelco Hillenius
In my opinion there are no real serious issues left at this time, and it would be a viable choice for even larger projects. As long as you're ready for maybe doing a few API changes now and then. Besides, actually doing projects with it will only speed up Wicket 2.0's development as we'll have

Re: [Wicket-user] Wicket 2.0 status

2006-10-13 Thread Aaron Hiniker
Good deal, I'll give 2.0 a try Eelco Hillenius wrote: In my opinion there are no real serious issues left at this time, and it would be a viable choice for even larger projects. As long as you're ready for maybe doing a few API changes now and then. Besides, actually doing projects with it

Re: [Wicket-user] Wicket 2.0 status

2006-10-13 Thread Eelco Hillenius
Cool. Hope you like it. :) Eelco On 10/14/06, Aaron Hiniker [EMAIL PROTECTED] wrote: Good deal, I'll give 2.0 a try Eelco Hillenius wrote: In my opinion there are no real serious issues left at this time, and it would be a viable choice for even larger projects. As long as you're

[Wicket-user] IE causes Unable to load class errors...

2006-10-13 Thread Gwyn Evans
Hi, Anyone seen this sort of thing? If I use Firefox, there's nothing in the logs, whereas if I try IE, I get the page (including the css file) but there's an error logged - 2006-10-13 23:05:21,589 [ERROR] RequestCycle - Unable to load class with name: c.z.t.web.manual.page.log.css

Re: [Wicket-user] IE causes Unable to load class errors...

2006-10-13 Thread Gwyn Evans
More info... It's also server specific, in that if I fire it up in Jetty, it's fine, whereas using WebLogic, it's not... /Gwyn On 13/10/06, Gwyn Evans [EMAIL PROTECTED] wrote: Hi, Anyone seen this sort of thing? If I use Firefox, there's nothing in the logs, whereas if I try IE, I get the

[Wicket-user] any tips to make template validate?

2006-10-13 Thread Ingram Chen
All, I occasionally encounter a problem, for example, a template like:tr span wicket:id=groupAB tdfield A/td tdfield B/td /span tdfield C/td/trgroupAB is just funtional group and will always setRenderBodyOnly(true), so rendered page will be validated.But the problem is the template is not