Re: [Wicket-user] I18n

2005-11-22 Thread Juergen Donnerstag
For me it looks like your editor is not saving the html document in UTF-8 format but your computers default locale. Which editor are you using? And meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / why iso-8859-1? As far as I can tell browsers, firewalls, filters etc behave

Re: [Wicket-user] wicket:id on body tag

2005-11-22 Thread Juergen Donnerstag
It all has to do with wicket:head and panels being able to contribute body onLoad=xxx attributes to the page. In order to support that feature, a webmarkupcontainer is automatically created and associated with the body tag of the page (in case of an exception, on the exception page you can see a

[Wicket-user] Fwd: [Wicket-develop] [ wicket-Patches-1364072 ] New Resource Stream Locator

2005-11-22 Thread Juergen Donnerstag
This is a duplicate. I'm already working on it. Juergen -- Forwarded message -- From: SourceForge.net [EMAIL PROTECTED] Date: Nov 22, 2005 8:20 PM Subject: [Wicket-develop] [ wicket-Patches-1364072 ] New Resource Stream Locator To: [EMAIL PROTECTED] Patches item #1364072, was

Re: [Wicket-user] wicket:id on body tag

2005-11-22 Thread Juergen Donnerstag
On 11/22/05, Scott Sauyet [EMAIL PROTECTED] wrote: == Scott Sauyet [EMAIL PROTECTED] == Juergen Donnerstag [EMAIL PROTECTED] Thanks for the info, Juergen. So my first question is why don't I get an exception when there is a wicket:id attribute on the BODY tag and no corresponding

Re: [Wicket-user] Accessing Path Info

2005-11-22 Thread Juergen Donnerstag
Two options (may be 3): - see WebRequest/ResponseWithCryptedUrl for an example - subclass WebRequestCycle.doParseRequest (a user hook) - wait until we defined and implemented a revised URL strategy Juergen On 11/22/05, Nick Heudecker [EMAIL PROTECTED] wrote: Hi, I would like to create a URL

Re: [Wicket-user] Wicket i18n at the page level

2005-11-21 Thread Juergen Donnerstag
On 11/21/05, David Leangen [EMAIL PROTECTED] wrote: Hello, I did some searching, but could only find info about i18n at the message level. I am interested in i18n at the page level. In other words, I have a site that needs to support more than one locale. The user should be able to switch

Re: [Wicket-user] Wicket i18n at the page level

2005-11-21 Thread Juergen Donnerstag
On 11/21/05, Matej Knopp [EMAIL PROTECTED] wrote: Having a component on every place localized text is, doesn't seem to be a very good solution for me. As well as not be able to localize button captions. The solution I've chosen was to translate the markup during parsing (using my own

Re: [Wicket-user] Best use of Links

2005-11-20 Thread Juergen Donnerstag
As Igor mentioned. It is completely fine to use. Nothing wrong with it. Juergen On 11/20/05, Andrew Lombardi [EMAIL PROTECTED] wrote: So, I see all this talk of using static factory methods to generate a Page, but what would be wrong with just using add(new Link(myLink) { public

Re: [Wicket-user] wicket:link recreates link component on each request

2005-11-19 Thread Juergen Donnerstag
On 11/18/05, Arto Arffman [EMAIL PROTECTED] wrote: It might be the intention, but if it is, there is an error with this solution. When the template is parsed each link-tag inside wicket:link is assigned id named _autolink_. Later this tag is handled by AutoLinkResolver. AutoLinkResolver:

Re: [Wicket-user] new method RadioChoice.getInputValue() ?

2005-11-19 Thread Juergen Donnerstag
BTW: when I did the 'custom form processing' I also wanted to call Form.persistFormComponentData() but this is private. Should this be called when Button.defaultFormProcessing = false. use formComponent.setPersistent(true) instead. Wicket will do the rest. Juergen

Re: [Wicket-user] PasswordField special getModelValue() method question

2005-11-19 Thread Juergen Donnerstag
On 11/18/05, Laurent PETIT [EMAIL PROTECTED] wrote: Hello, yet another question concerning PasswordField ? the getModelValue() returns and encrypted version, and the setModelValue() decrypts it, why ? The idea: prevent access to the plain password by accident. An attempt to make wicket

Re: [Wicket-user] new method RadioChoice.getInputValue() ?

2005-11-19 Thread Juergen Donnerstag
Of course not. Quote: BTW: when I did the 'custom form processing' I also wanted to call Form.persistFormComponentData() but this is private. Should this be called when Button.defaultFormProcessing = false. I understood it to be a side note to your question (because of BTW). You can not call

Re: [Wicket-user] wicket:link recreates link component on each request

2005-11-19 Thread Juergen Donnerstag
I can do it. But why links are generated in every render??? 2005/11/19, Juergen Donnerstag [EMAIL PROTECTED]: On 11/18/05, Arto Arffman [EMAIL PROTECTED] wrote: It might be the intention, but if it is, there is an error with this solution. When the template is parsed each link

Re: [Wicket-user] wicket:link recreates link component on each request

2005-11-19 Thread Juergen Donnerstag
autoAdd components like AutoLink are removed from the component hierachie at the end of the render cycle. Hence, they can not be found during the second render. Which makes me wonder, how/why you get the exception. But may be I misunderstand you comment. When this is done second time id will

Re: [Wicket-user] wicket:link recreates link component on each request

2005-11-19 Thread Juergen Donnerstag
/ + a href = Page2.htmlPage2/abr/ /wicket:link /p /div Now, click Page 2 and voila. 2005/11/19, Juergen Donnerstag [EMAIL PROTECTED]: autoAdd components like AutoLink are removed from the component hierachie

Re: [Wicket-user] localization problem

2005-11-17 Thread Juergen Donnerstag
I can not test it right now, but it should work. Besides file.ro_RO.properties = file_ro_RO.properties Juergen On 11/17/05, Dorel Vaida [EMAIL PROTECTED] wrote: I'm developing a localized web application, where the use can change the language he wants the content to be displayed. However, if

Re: [Wicket-user] performance problem - urgent

2005-11-17 Thread Juergen Donnerstag
The online page throws an exception. Are you using a resource reference(!) and not a plain resource? Check out PackagedResourceReference. Juergen On 11/17/05, Dorel Vaida [EMAIL PROTECTED] wrote: Hi all, I've deployed my first application with wicket. However, I have a BIG annoying performance

Re: [Wicket-user] Markup Inheritance... why does wicket:child have to be empty?

2005-11-15 Thread Juergen Donnerstag
No specific reason. Please open an RFE. Thanks Juergen On 11/15/05, Scott Sauyet [EMAIL PROTECTED] wrote: I'm using Wicket 1.1, and am trying Markup Inheritance for the first time. I'm confused as to why wicket:child must be empty. This: wicket:child/ works fine, but this:

[Wicket-user] Fwd: [Wicket-develop] [ wicket-Bugs-1357506 ] Can't add label to WebMarkupContainer

2005-11-15 Thread Juergen Donnerstag
Label does not impose any restrictions on the tag it gets attached to. What exactly does the runtime exception say? Juergen -- Forwarded message -- From: SourceForge.net [EMAIL PROTECTED] Date: Nov 15, 2005 6:26 PM Subject: [Wicket-develop] [ wicket-Bugs-1357506 ] Can't add label

Re: [Wicket-user] Fwd: [Wicket-develop] [ wicket-Bugs-1357506 ] Can't add label to WebMarkupContainer

2005-11-15 Thread Juergen Donnerstag
I'll check it later tonight Juergen On 11/15/05, Scott Sauyet [EMAIL PROTECTED] wrote: Phil Kulak wrote: Here we go. Right now you'll get a RuntimeException. Change the ps to divs and it's all good. Confirmed. (Except that the attachment was the one with the DIV not the P.) Running

Re: [Wicket-user] Fwd: [Wicket-develop] [ wicket-Bugs-1357506 ] Can't add label to WebMarkupContainer

2005-11-15 Thread Juergen Donnerstag
Could be. I haven't tested it yet, but I think it is a good guess. Juergen On 11/15/05, Eelco Hillenius [EMAIL PROTECTED] wrote: Just an idea Juergen... could that be related to the fact that p is one of those tags we allow to be unbalanced (doesn't need a closing tag)? Eelco On 11/15/05,

Re: [Wicket-user] Re: Servlet forward to a JSP

2005-11-14 Thread Juergen Donnerstag
Shouldn't we add such functionality to core? Or at least extension. I understand that the way it is implemented is because he didn't want to patch core, but I assume it can be put into core and made available to users more easily: no specific request and response wrapper etc. Juergen On

Re: [Wicket-user] alternative for onrender() for extended Panel?

2005-11-14 Thread Juergen Donnerstag
why not add it inside the panel? Juergen On 11/14/05, Marco van de Haar [EMAIL PROTECTED] wrote: We built a custom Tooltip which extends panel. In order to make ik IE compatible we need to render a simple IFRAME with some static content after we render our component. We want to make our

Re: [Wicket-user] Re: Keeping images outside of WEB-INF

2005-11-14 Thread Juergen Donnerstag
Another option could be to use Image and override onComponentTag Juergen On 11/14/05, James Yong [EMAIL PROTECTED] wrote: Johan Compagner jcompagner at gmail.com writes: Of course you save youre files to a server you have to know the folder where you have write access. Then you can

Re: [Wicket-user] Re: Using the same PagingNavigator on the same page yields OutOfMemoryError

2005-11-14 Thread Juergen Donnerstag
Yes it is illegal. It was in the past as well, but we didn't check it. In order to support per-component re-render there has to be a 1:1 match. Juergen On 11/14/05, Andrew Berman [EMAIL PROTECTED] wrote: I just did another test and did this: div wicket:id=pagingNavigator/div div

Re: [Wicket-user] Re: Using the same PagingNavigator on the same page yields OutOfMemoryError

2005-11-14 Thread Juergen Donnerstag
Agreed. Would you please of a bug for it. Thanks Juergen On 11/14/05, Andrew Berman [EMAIL PROTECTED] wrote: Since it is illegal, I think Wicket should be throwing an Exception instead of yielding an OutOfMemoryError --Andrew On 11/14/05, Juergen Donnerstag [EMAIL PROTECTED] wrote

Re: [Wicket-user] Locale problems

2005-11-14 Thread Juergen Donnerstag
No. Wicket uses the locale information provided by the browser (http header). And only if none is provided, it'll use the remembered one. nl - is the standard dutch language Some languages have dialects (not sure this is the right word.). Think about like US english, UK english, NZ english etc.

Re: [Wicket-user] How to make static src-attribute for a ImageButton in a ListView?

2005-11-12 Thread Juergen Donnerstag
i guess the hangman is a good example for how to do it. Juergen On 11/12/05, Arto Arffman [EMAIL PROTECTED] wrote: Hi, I have a ListView which has ImageButtons for editing. In IE those images render slowly and it causes unpleasent visual effects. If the src attribute would be exactly the

Re: [Wicket-user] How to make static src-attribute for a ImageButton in a ListView?

2005-11-12 Thread Juergen Donnerstag
with exactly same src. Hangman repeats different images (and they have different src attributes as they should have) 2005/11/12, Juergen Donnerstag [EMAIL PROTECTED]: i guess the hangman is a good example for how to do it. Juergen On 11/12/05, Arto Arffman [EMAIL PROTECTED] wrote

Re: [Wicket-user] i18n messages in HTML

2005-11-10 Thread Juergen Donnerstag
PROTECTED] wrote: Juergen Donnerstag wrote: I'm all for making things easier for the user. Perhaps Wicket could have something like this: span wicket:id=message:myLabelHere/span I'm not sure this makes sense. wicket:id is not a text to be displayed anywhere

Re: [Wicket-user] eclipse refactoring plugin

2005-11-10 Thread Juergen Donnerstag
Igor, Eclipse warns me that Discouraged access: The type RenameResourceChange is not accessible due to restriction on required library D:\Programme\eclipse-3.1\eclipse\plugins\org.eclipse.jdt.ui_3.1.1.jar Any idea what I'm doing wrong? What is the easiest way to deploy it. I know I can copy the

Re: [Wicket-user] i18n messages in HTML

2005-11-10 Thread Juergen Donnerstag
First draft version available in CVS HEAD Juergen On 11/10/05, Juergen Donnerstag [EMAIL PROTECTED] wrote: I've implemented it last night. Was fairly easy. I'll commt it tonight. wicket:message key=my-keyDefault value/wicket:message input wicket:message=attrName=my-key type=.../ As wicket

Re: [Wicket-user] How to supply dynamic table header in Wicket Example ExamplePse

2005-11-10 Thread Juergen Donnerstag
I guess the sources would have to be modified. I don't think it is supported out-of-the box. Please bare in mind that these components are experimental only and have been developed at the very beginning of wicket. In the meantime the community has developed a much improved paged / sortable table

Re: [Wicket-user] i18n messages in HTML

2005-11-09 Thread Juergen Donnerstag
I'm all for making things easier for the user. Perhaps Wicket could have something like this: span wicket:id=message:myLabelHere/span I'm not sure this makes sense. wicket:id is not a text to be displayed anywhere. It is a name which identifies a component. It definitely won't work. Even

Re: [Wicket-user] Re: Validation messages

2005-11-09 Thread Juergen Donnerstag
I think you are right. I didn't know it is used in AbstractChoice as well (and there seems to be no test for it either). Juergen On 11/9/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Sorry, you were right. YES, overriding of validation messages now works as expected. BUT overring of other

Re: [Wicket-user] Re: Validation messages

2005-11-09 Thread Juergen Donnerstag
and there are about 5 more source to be modified. Juergen On 11/9/05, Juergen Donnerstag [EMAIL PROTECTED] wrote: I think you are right. I didn't know it is used in AbstractChoice as well (and there seems to be no test for it either). Juergen On 11/9/05, [EMAIL PROTECTED] [EMAIL PROTECTED

Re: [Wicket-user] i18n messages in HTML

2005-11-09 Thread Juergen Donnerstag
? Juergen On 11/9/05, Dorel Vaida [EMAIL PROTECTED] wrote: Juergen Donnerstag wrote: I'm all for making things easier for the user. Perhaps Wicket could have something like this: span wicket:id=message:myLabelHere/span I'm not sure this makes sense. wicket:id is not a text to be displayed

Re: [Wicket-user] i18n messages in HTML

2005-11-09 Thread Juergen Donnerstag
On 11/9/05, Andrew Berman [EMAIL PROTECTED] wrote: I like wicket:message key=../ as long as it would work how normal JSP tags currently work. In other words, I would be able to do this: input type=button value=wicket:message key='labelKey'// or script alert(wicket:message

Re: [Wicket-user] i18n messages in HTML

2005-11-09 Thread Juergen Donnerstag
wicket:message key=..Default Text/wicket:message and input type=button value=message:key=my-key/ But i think the second one will be pretty hard. Because then we have to parse the complete xml and see if in any attribute something starts with message:key even for non wicket tags as

Re: [Wicket-user] i18n messages in HTML

2005-11-09 Thread Juergen Donnerstag
there definitely needs to be a way to do it in attributes. Here is the link for how Tapestry 4.0 does it: http://jakarta.apache.org/tapestry/UsersGuide/localization.html --Andrew On 11/9/05, Juergen Donnerstag [EMAIL PROTECTED] wrote: On 11/9/05, Andrew Berman

Re: [Wicket-user] i18n messages in HTML

2005-11-09 Thread Juergen Donnerstag
could store one for every locale we encouter if that is faster/better somehow johan On 11/9/05, Juergen Donnerstag [EMAIL PROTECTED] wrote: We have different options (as explained in my first mail) - do the replacement while loading the markup, prior to xml reading it. The cached

Re: [Wicket-user] i18n messages in HTML

2005-11-09 Thread Juergen Donnerstag
good idea, except I would like to make a =. wicket:i18n=value=my-key Juergen On 11/9/05, Scott Sauyet [EMAIL PROTECTED] wrote: Johan Compagner wrote: i can live with: wicket:message key=..Default Text/wicket:message This makes sense. input type=button value=message:key=my-key/ I

Re: [Wicket-user] i18n messages in HTML

2005-11-09 Thread Juergen Donnerstag
changes when they alter there messages So suddenly we also have to watch those?? johan On 11/9/05, Juergen Donnerstag [EMAIL PROTECTED] wrote: On 11/9/05, Johan Compagner [EMAIL PROTECTED] wrote: if you do the replacement at parse time. then every html in the markup cache

Re: [Wicket-user] i18n messages in HTML

2005-11-09 Thread Juergen Donnerstag
/ uses the same kind of notation. Als value=My Val can then be seen as the default value if the value is not found for the given locale? That would be nice i think. johan On 11/9/05, Juergen Donnerstag [EMAIL PROTECTED] wrote: good idea, except I would like to make a =. wicket:i18n=value

Re: [Wicket-user] Multlevel extension does not seem to work

2005-11-09 Thread Juergen Donnerstag
This is wrong ... wicket:extend span wicket:id=subLabelsub label/span /wicket:extend wicket:child/... must be wicket:extend span wicket:id=subLabelsub label/span wicket:child/ /wicket:extend Juergen On 11/10/05, Ramnivas Laddad [EMAIL PROTECTED] wrote: Hi, I am

Re: [Wicket-user] Unexpected behaviour when using AjaxHandler's getBodyOnloadContribution()

2005-11-08 Thread Juergen Donnerstag
I think Eelco fixed it already in HEAD Juergen On 11/8/05, Marco van de Haar [EMAIL PROTECTED] wrote: That would, ofcourse, be the perfect solution. Do I have to report a bug for this? I guess it would make sense to provide just a single implementation to be used by both components,

Re: [Wicket-user] Strange wicket.markup.MarkupException: Tag expected exception

2005-11-08 Thread Juergen Donnerstag
Try using jetty and the jetty-launcher plugin for eclipse. That is realy easy. Juergen On 11/8/05, Ralf Ebert [EMAIL PROTECTED] wrote: Hi, Which version of Wicket are you using? Lastest HEAD? You're not using the component re-render feature, do you? no, Wicket 1.1. It is a redirect you

Re: [Wicket-user] Strange wicket.markup.MarkupException: Tag expected exception

2005-11-08 Thread Juergen Donnerstag
You may not even need Jetty or Tomcat. Take a look at the unit tests which make use of WicketTester. It provides all the mock objects and wireing required. Juergen On 11/8/05, Juergen Donnerstag [EMAIL PROTECTED] wrote: Try using jetty and the jetty-launcher plugin for eclipse. That is realy

Re: [Wicket-user] Strange wicket.markup.MarkupException: Tag expected exception

2005-11-08 Thread Juergen Donnerstag
yet another way would be to enable debug logs on wicket.Component=DEBUG. You should see messages like Begin render ... and End render The last Begin render .. should be of interest. Juergen On 11/8/05, Juergen Donnerstag [EMAIL PROTECTED] wrote: You may not even need Jetty or Tomcat. Take

Re: [Wicket-user] redirect to previous url

2005-11-08 Thread Juergen Donnerstag
, Juergen Donnerstag [EMAIL PROTECTED] wrote: If you are sure that you are realy not interested in path=xxx, may be it worth if you create your own WebRequest/WebResponse (see WebRequestCrawlerSaver for an example what can be done) Juergen On 11/8/05, pepone pepone [EMAIL PROTECTED

Re: [Wicket-user] simple bookmarkable url

2005-11-08 Thread Juergen Donnerstag
On 11/8/05, Jeff Miller [EMAIL PROTECTED] wrote: How are the base url's different? In all cases, aren't the base url's the following? www.wicket-library.com/wicket-examples/template My desire is to have url's that are as simple as possible. Long url's are problems for nontechnical users

Re: [Wicket-user] simple bookmarkable url

2005-11-08 Thread Juergen Donnerstag
you know you can have that today by implementing it yourself? Take a look WebRequestCrawlerSave and you'll see that you can easily change bookmarkablePage to page; you can make it case insensitive etc. Juergen On 11/8/05, Dan Gould [EMAIL PROTECTED] wrote: Jeff Miller wrote: I considered

[Wicket-user] Fwd: [Wicket-develop] [ wicket-Feature Requests-1350014 ] Add IModel in BookmarablePageLink constructor

2005-11-07 Thread Juergen Donnerstag
What is the use case for that change? Why do need to IModel with bookmarkable links? Juergen -- Forwarded message -- From: SourceForge.net [EMAIL PROTECTED] Date: Nov 7, 2005 8:36 AM Subject: [Wicket-develop] [ wicket-Feature Requests-1350014 ] Add IModel in BookmarablePageLink

Re: [Wicket-user] Allow forcing of PageMap where Page will be added on creation?

2005-11-07 Thread Juergen Donnerstag
It is already in CVS HEAD, though not yet accesible through a URL. The method to call RequestCycle.render(component). It is the first implementation, so please bare with us if is not perfect yet. Hence, we appreciate any feedback. Juergen On 11/7/05, Johan Compagner [EMAIL PROTECTED] wrote: in

Re: [Wicket-user] redirect to previous url

2005-11-07 Thread Juergen Donnerstag
Please see the signin2 example. Juergen On 11/7/05, pepone pepone [EMAIL PROTECTED] wrote: Hello i have a form in my border to do login/logout I wan to redirect user to same url before login the url that i use are allways bookmarkable and i wan to mantain the url whith the same parameters

Re: [Wicket-user] Allow forcing of PageMap where Page will be added on creation?

2005-11-07 Thread Juergen Donnerstag
The page must be rendered completly at least once. Thus components can only be re-rendered. src/test/.../Simple*Test provides some examples. Juergen On 11/7/05, Janne Hietamäki [EMAIL PROTECTED] wrote: Juergen Donnerstag wrote: It is already in CVS HEAD, though not yet accesible through a URL

Re: [Wicket-user] Allow forcing of PageMap where Page will be added on creation?

2005-11-07 Thread Juergen Donnerstag
Donnerstag [EMAIL PROTECTED] wrote: The page must be rendered completly at least once. Thus components can only be re-rendered. src/test/.../Simple*Test provides some examples. Juergen On 11/7/05, Janne Hietamäki [EMAIL PROTECTED] wrote: Juergen Donnerstag wrote: It is already in CVS HEAD, though

Re: [Wicket-user] Allow forcing of PageMap where Page will be added on creation?

2005-11-07 Thread Juergen Donnerstag
On 11/7/05, Janne Hietamäki [EMAIL PROTECTED] wrote: Juergen Donnerstag wrote: To answer you question: components must be attached to a page. This is required to find the markup. I don't think we are able to support all different kind of components without an attached page. Think about

Re: [Wicket-user] Allow forcing of PageMap where Page will be added on creation?

2005-11-07 Thread Juergen Donnerstag
On 11/7/05, Johan Compagner [EMAIL PROTECTED] wrote: Not a markup container but a panel (that is besides page the one with there own markup) should be able to render itself completely standalone. But maybe i am mistaken? juergen? Page and Panel are the only components that could be rendered

Re: [Wicket-user] Allow forcing of PageMap where Page will be added on creation?

2005-11-07 Thread Juergen Donnerstag
Well, yes, I could add all those components to my Page, but that can be few hundred Panels, and that sound like an overkill to construct. Specially when probably only few of them will ever be rendered. Not sure I understand your comment. Lets say you have a standard wicket application with

Re: Re: Re: [Wicket-user] My take on Spring integration

2005-11-07 Thread Juergen Donnerstag
Maybe RequestCycle.onBegin/EndRequest is what you are looking for? Juergen On 11/7/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Igor, here is something i threw together that solves the deserialization andability to use the new operator to create pages. thanks for your work on this.

Re: [Wicket-user] Unexpected behaviour when using AjaxHandler's getBodyOnloadContribution()

2005-11-07 Thread Juergen Donnerstag
I guess it would make sense to provide just a single implementation to be used by both components, avoiding problems while trying to keep them in sync. Juergen On 11/7/05, Ruud Booltink [EMAIL PROTECTED] wrote: I think adding this code to WebComponent's renderHead() would solve this problem.

Re: [Wicket-user] simple bookmarkable url

2005-11-07 Thread Juergen Donnerstag
you may take a look at WebRequestWithCryptedUrl or WebRequestCrawlerSave as well. They are experimental only, but may point you into the right direction. Any improvements on this code are of course wellcome. Juergen On 11/7/05, Jeff Miller [EMAIL PROTECTED] wrote: putClassAlias is close to

Re: [Wicket-user] where do I put controller/dispatcher logic?

2005-11-07 Thread Juergen Donnerstag
On 11/7/05, Steven McNeel [EMAIL PROTECTED] wrote: Hello, I think I've read all of the pertinent articles in the documentation, especially http://www.wicket-wiki.org.uk/wiki/index.php/Lifecycle. On each request to my app, I first need to run a database query,the parameters of which are

Re: [Wicket-user] Validation messages

2005-11-07 Thread Juergen Donnerstag
y.RequiredValidator Obviously x.y.y.RequiredValidator and y.y.RequiredValidator are the wrong prefixKeys to look up. Sven Juergen Donnerstag wrote: It shouldn't. I guess the important point is that ComponentStringResourceLoade does not get the FormComponent (text1) You don't start looking for text1

Re: [Wicket-user] redirect to previous url

2005-11-07 Thread Juergen Donnerstag
is not bookmarkable what i want is keep the previous bookmarkable Url continueToOriginal not make sense here because i haven´t a separted singin page that i redirect to using void redirectToInterceptPage(Page page) On 11/7/05, Juergen Donnerstag

Re: [Wicket-user] Strange wicket.markup.MarkupException: Tag expected exception

2005-11-07 Thread Juergen Donnerstag
It is a redirect you do and the response gets rendered. Based on the stack trace something is wrong in one of the headers. Within head/head or wicket:head/wicket:head. In order to track it down: set a breakpoint at wicket.markup.html.HtmlHeaderContainer.resolve (HtmlHeaderContainer.java:196) and

Re: [Wicket-user] Validation messages

2005-11-07 Thread Juergen Donnerstag
is required However, if I move above messages into global MyWebApplication.properties, the message I got become: bookId is required, which use componentId instead of defined label: myForm.bookId. Is this a bug ? On 11/8/05, Juergen Donnerstag [EMAIL PROTECTED] wrote: It works on my side. I

Re: [Wicket-user] Validation messages

2005-11-06 Thread Juergen Donnerstag
of the validated component in prefixId? e.g. form1.text1.text1.RequiredValidator But maybe I'm wrong - so I'll better give it a try on Monday. Thanks Sven Juergen Donnerstag wrote: Repetition: Message retrieval for the following scenario - form-panel-textfield - is currently

Re: [Wicket-user] Re: Re: Wicket 1.1 line endings bug?

2005-11-06 Thread Juergen Donnerstag
No, but I work wih CVS only. I don't download the jars. And I modify project.xmll to use the snapshot jar which I build myself. Juergen On 11/6/05, jan_bar [EMAIL PROTECTED] wrote: I use DiffUtil. The extension may help. You don't have troubles with it? Jan Juergen Donnerstag [EMAIL

Re: [Wicket-user] Re: Wicket 1.1 line endings bug?

2005-11-05 Thread Juergen Donnerstag
results. It should not break because of changed line endings. I have to write comparator that will take different line endings into account. Jan Juergen Donnerstag [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I think it can be solved at all. What ever the OS of the container

Re: [Wicket-user] extending WebSession

2005-11-05 Thread Juergen Donnerstag
What kind of exception? ClassCastException? If yes, than you most likely don't use application.getSessionFactory8) to create a session of type MySession. Juergen On 11/5/05, Manuel Corrales [EMAIL PROTECTED] wrote: Hi, i want to extends WebSession and do a simple session managment like in the

Re: [Wicket-user] extending WebSession

2005-11-05 Thread Juergen Donnerstag
/5/05, Juergen Donnerstag [EMAIL PROTECTED] wrote: What kind of exception? ClassCastException? If yes, than you most likely don't use application.getSessionFactory8) to create a session of type MySession. Juergen On 11/5/05, Manuel Corrales [EMAIL PROTECTED] wrote: Hi, i want

Re: [Wicket-user] Re: Dynamic text in Javascript's alert box

2005-11-05 Thread Juergen Donnerstag
Well, Wicket is not a templating engine like velocity or freemarker but wicket supports them. Please see wicket-contrib-freemarker and wicket-contrib-velocity, both are projects in wicket-stuff. Juergen On 11/5/05, James Yong [EMAIL PROTECTED] wrote: yongbl i_yongbl at yahoo.com.sg writes:

Re: [Wicket-user] wicket:link always throws me an class not found exception

2005-11-04 Thread Juergen Donnerstag
May we have the stack trace and may be the (stripped down) sources as well. Thanks Juergen On 11/5/05, Manuel Corrales [EMAIL PROTECTED] wrote: Yes, the class is on the same package. As soon as i can i post some code and the error description. Any other idea of what can be?? I've tried the

Re: [Wicket-user] Abstract validator always throws MissingResourceException

2005-11-03 Thread Juergen Donnerstag
Which version are you using? There is a test in cvs head which tests it and it seems to work. Defaults can be defined if the key is just RequiredValidator (the validators class name without any prefix). In case no other key is found, it'll be used as default. Juergen On 11/3/05, Matej Knopp

Re: [Wicket-user] Mutable form component ?

2005-11-03 Thread Juergen Donnerstag
That is part of 1.2 and currently under development Juergen On 11/3/05, Laurent PETIT [EMAIL PROTECTED] wrote: Hello, I wonder if it is possible to create mutable form components, e.g. for my application the same administration page is shown but depending on the rights of the user, an

Re: [Wicket-user] Abstract validator always throws MissingResourceException

2005-11-03 Thread Juergen Donnerstag
anything, I get java.util.MissingResourceException: Unable to find resource: RequiredValidator But I don't know, for which validator the message is missing. -Matej Juergen Donnerstag wrote: Which version are you using? There is a test in cvs head which tests it and it seems to work. Defaults

Re: [Wicket-user] How to do struts-nested like form element nesting in Wicket

2005-11-02 Thread Juergen Donnerstag
Did you take a look at wicket-examples already? Compared to what is explained on the page you pointed to, it is very easy in Wicket and IMO much more flexibel. Juergen On 11/2/05, Laurent PETIT [EMAIL PROTECTED] wrote: On 11/2/05, Eelco Hillenius [EMAIL PROTECTED] wrote: That's easy to do in

Re: [Wicket-user] How to do struts-nested like form element nesting in Wicket

2005-11-02 Thread Juergen Donnerstag
() in order to rebuild the ListItems. * If you nest a ListView in a Form, ALLWAYS set this property to true, as * otherwise validation will not work properly. */ private boolean optimizeItemRemoval = false; Juergen On 11/2/05, Juergen Donnerstag [EMAIL PROTECTED] wrote

Re: [Wicket-user] Including Javascript the Wicket way

2005-11-01 Thread Juergen Donnerstag
Anyway, I am now trying to include my javascript files in the way But this page only really describes css in any detail. The approach does not appear to be exactly the same for javascript. For those like me who are doing this for the first time and haven't got it yet, it's not quite enough to

Re: [Wicket-user] Re: Tab / Tabed-Page /Tabview Component?

2005-11-01 Thread Juergen Donnerstag
Yes, you'll find it in wicket-extensions and an example in wicket-examples Juergen On 11/1/05, David Liebeherr [EMAIL PROTECTED] wrote: I guess i will find this all in the CVS versions, do i? Thank you very much, Dave Igor Vaynberg wrote: Just checked in my first pass at implementation.

Re: [Wicket-user] Extensions of extensions

2005-11-01 Thread Juergen Donnerstag
Is it not possible to extend an extension with the wicket:child and wicket:extension tags? It is supported. BaseBase.html baseBase: before wicket:child/ baseBase: after Base.html extension: before (will be ignored) wicket:extend base before wicket:child/ base after

Re: [Wicket-user] Including Javascript the Wicket way

2005-11-01 Thread Juergen Donnerstag
yes your are right. External documentation needs to be improved, thought the javadoc should be fairly good. Sorry, didn't mean to sound like I was complaining. It is not complaining, it is making us aware what needs to be improved. I'll try to help out a bit on the wiki if I have the

Re: [Wicket-user] Using WebResponse/RequestCrawlerSave?

2005-11-01 Thread Juergen Donnerstag
Please open a bug for it. Juergen On 11/2/05, Andrew Lombardi [EMAIL PROTECTED] wrote: I've been trying to use the WebResponse/RequestCrawlerSave functionality, and have migrated up to 1.1 in hopes this was fixed. But I keep getting this IllegalArgumentException. Anyone know what this could

Re: [Wicket-user] Linking to targets from within a page

2005-10-31 Thread Juergen Donnerstag
I agree, it should be improved. Thanks for the information. Juergen On 11/1/05, David Leangen [EMAIL PROTECTED] wrote: On Mon, 2005-10-31 at 17:05 -0800, Igor Vaynberg wrote: if you autolink to a page that doesnt exist you get an npe, maybe we should dress it up with a better exception?

Re: [Wicket-user] Problem in unit tests

2005-10-30 Thread Juergen Donnerstag
On 10/30/05, Iman RahmatiZadeh [EMAIL PROTECTED] wrote: Argh ! Unit testing is way too hard in wicket. I'm using a custom implementation of WebSession in my application. The problem arises when I use the MockWebApplication class for testing, which creates and uses WebSession for tests and my

Re: [Wicket-user] Problem in unit tests

2005-10-30 Thread Juergen Donnerstag
abstract way of validating the markup than just a string equality check. Regards, Iman On 10/30/05, Juergen Donnerstag [EMAIL PROTECTED] wrote: On 10/30/05, Iman RahmatiZadeh [EMAIL PROTECTED] wrote: Argh ! Unit testing is way too hard in wicket. I'm using a custom implementation

Re: [Wicket-user] Markup not found

2005-10-29 Thread Juergen Donnerstag
This doesn't happen with CVS head any more. When you look at your stack trace the root cause says Caused by: wicket.WicketRuntimeException: Markup not found. Component class: example.EditPricing. With cvs head that is a MarkupNotFoundException which will not be catched on its way up the call stack

Re: [Wicket-user] Make wicket.markup.html.navigation.paging.PagingNavigationLink non-final.

2005-10-29 Thread Juergen Donnerstag
I remove final from class. It is in cvs head now. Juergen On 10/29/05, Janne Hietamäki [EMAIL PROTECTED] wrote: Johan Compagner wrote: but that looks to me like a AttributeModifier On 10/28/05, *Janne Hietamäki* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Juergen

Re: [Wicket-user] JUnit tests fail

2005-10-29 Thread Juergen Donnerstag
Are you sure you are not confused by log.error() outputs? They are generated during tests which deliberately cause exceptions. The associated unit tests catch (expect) the exception and test against it. Juergen On 10/29/05, Andrew Berman [EMAIL PROTECTED] wrote: I just built HEAD and noticed

Re: [Wicket-user] Re: JUnit tests fail

2005-10-29 Thread Juergen Donnerstag
Exactly. The summary junit reports says there are failure of the TimeOfDay issue (see related mail thread). But the stack traces printed during the tests are deliberate because we try not only to test good situation, but error handling as well. Juergen On 10/29/05, Martijn Dashorst [EMAIL

Re: [Wicket-user] beforeCallComponent and afterCallComponent

2005-10-28 Thread Juergen Donnerstag
On 10/28/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Regarding the newly added 'around functionality' of WebRequestCycle and WebPage. I certainly welcome this addition in the background of Spring integration and AOP, but I see some problems with this implementation. First of all we now

Re: Re: [Wicket-user] Validation messages

2005-10-28 Thread Juergen Donnerstag
Did you open a bug or RFE already? If not, please do so, otherwise there is always a risk that it'll be forgotten. Juergen On 10/27/05, Martijn Dashorst [EMAIL PROTECTED] wrote: +1, if it doesn't break stuff. Martijn On 10/27/05, Juergen Donnerstag [EMAIL PROTECTED] wrote: Would you

Re: [Wicket-user] Make wicket.markup.html.navigation.paging.PagingNavigationLink non-final.

2005-10-28 Thread Juergen Donnerstag
Why? What is your use case? Juergen On 10/28/05, Janne Hietamäki [EMAIL PROTECTED] wrote: Hi, Class wicket.markup.html.navigation.paging.PagingNavigationLink is final, but wicket.markup.html.navigation.paging.PagingNavigationIncrementLink is not. Could these both be non-final? Thanks.

Re: [Wicket-user] replace ognl.

2005-10-27 Thread Juergen Donnerstag
I'm also +1 on moving OGNL into extension I guess this is: person.children.[0].name and Johan already mentioned it. I think Johan mentioned, it'll be person.children.0.name Juergen On 10/27/05, Alexandru Popescu [EMAIL PROTECTED] wrote: #: Martijn Dashorst changed the world a bit at a time

Re: [Wicket-user] replace ognl.

2005-10-27 Thread Juergen Donnerstag
it is clearly described somewhere ;-). ./alex -- .w( the_mindstorm )p. On 10/27/05, Juergen Donnerstag [EMAIL PROTECTED] wrote: I'm also +1 on moving OGNL into extension I guess this is: person.children.[0].name and Johan already mentioned it. I think Johan mentioned, it'll

Re: Re: [Wicket-user] Validation messages

2005-10-27 Thread Juergen Donnerstag
Would you please open a bug for it. Thanks. As long as long as no one else on the list is against fixing it that way, I'll try and put it into 1.1. Juergen On 10/27/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Looks to me you are right. We didn't think about a Panel being a child of a Form.

Re: [Wicket-user] Markup not found

2005-10-26 Thread Juergen Donnerstag
May be I'm wrong, but I think it does not solve the problem. The current exception messages says Markup of type 'html' for component 'wicket.markup.html.basic.SimplePage' not found or invalid. = (the last two words: OR INVALID). And the the causing exception say exactly which tag, which file,

Re: [Wicket-user] Validation messages

2005-10-26 Thread Juergen Donnerstag
Looks to me you are right. We didn't think about a Panel being a child of a Form. I guess it was our assumption that FormComponents are always a direct child of a Form. I'm currently not able to look into the code. Do we traverse up the component tree already, like you do? Isn't there a risk that

<    1   2   3   4   5   6   7   8   9   10   >