Re: [Wicket-user] Help:Migration from 1.2.4 to 1.2.6

2007-05-15 Thread Alex Objelean
I have also migrated from 1.2.4 to 1.2.6 but without any problems. How have you included your CSS in the page? Ayodeji Aladejebi wrote: The migration wasnt seamless at all as before. I just changed jar file from 1.2.4 to 1.2.6 and CSS and images were being reported not found. I havent even

Re: [Wicket-user] Help:Migration from 1.2.4 to 1.2.6

2007-05-15 Thread Igor Vaynberg
this might help https://issues.apache.org/jira/browse/WICKET-290 -igor On 5/14/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: The migration wasnt seamless at all as before. I just changed jar file from 1.2.4 to 1.2.6 and CSS and images were being reported not found. I havent even changed a

Re: [Wicket-user] Anti-Wicket?

2007-05-15 Thread Ashley Aitken
Hi Jonathan (et al.), Thanks for your post. On 15/05/2007, at 1:17 PM, Jonathan Locke wrote: i don't understand how you can have a component-oriented web framework that generates markup and css without having layout managers. browsers are not consistent enough in the way they render to

Re: [Wicket-user] BookmarkablePageLink converts String parameters to String[]? (Wicket 1.2.6)

2007-05-15 Thread Eelco Hillenius
i am not saying we shouldntve fixed it to return an array always, what i am saying is that it is inconsistent because when we put things into that map we dont wrap them in an array, and we should, no? I don't know whether we should. Those are parameters we ourselves added, so however we'd add

Re: [Wicket-user] Popup Window onPageLoad

2007-05-15 Thread Eelco Hillenius
Eeeevil ;) IHeaderResponse has renderOnLoadJavascript. Add your window.open script there. add(new HeaderContributor(new IHeaderContributor() { public void renderHead(IHeaderResponse response) { response.renderOnLoadJavascript(window.open();); } }); Something

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-15 Thread Johan Compagner
can you look at the first request if the wicket session is really pushed to the http session (so is the http session created?) you can look at that in the set atribute of the session store On 5/15/07, Andrew Berman [EMAIL PROTECTED] wrote: I think I found the crux of the problem. When you first

Re: [Wicket-user] Need to reload app in tomcat aftering adding a variant markup

2007-05-15 Thread Jean-Baptiste Quenot
* Chris Colman: I load the markups from a directory that I specify in the init of Wicket application object (if that's relevant): CompoundResourceStreamLocator locator = (CompoundResourceStreamLocator)getResourceSettings(). getResourceStreamLocator();

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-15 Thread Eelco Hillenius
Also, sessions are managed by the app server, not by Wicket or Spring MVC. I had a problem a while ago losing sessions going from foo.mydomain.com to bar.mydomain.com, and that only worked well when I configured Jetty's session manager to use .mydomain.com as it's session domain. Maybe your

Re: [Wicket-user] BookmarkablePageLink converts String parameters to String[]? (Wicket 1.2.6)

2007-05-15 Thread Johan Compagner
see my comment on: https://issues.apache.org/jira/browse/WICKET-400 i think we should change the RequestParamters.getParamters() don't return a map there but return a ValueMap so that we shield it that it could be request parameters directly (with things from use added) then they can call

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-15 Thread Andrew Berman
I'm going to debug it a bit more to see what's going on. The jsessionid is not appended to the URL until Wicket performs a redirect from the context to the actual home page (e.g. from http://blah.com/context redirects to http://blah.com/context/app/HomePage), so I'm wondering if the redirect is

[Wicket-user] Need to reload app in tomcat aftering adding a variant markup

2007-05-15 Thread Chris Colman
Please open a JIRA entry, I need to think about it a little bit more. Done: WICKET-570 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML.

[Wicket-user] Need to reload app in tomcat aftering adding a variant markup

2007-05-15 Thread Chris Colman
Subject: Re: [Wicket-user] Need to reload app in tomcat aftering To: wicket-user@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=utf-8 resourceFinder.add(c:/webserver/tomcat/wicket/markupfiles); locator.add(0, new

Re: [Wicket-user] BookmarkablePageLink converts String parameters to String[]? (Wicket 1.2.6)

2007-05-15 Thread Johan Compagner
http://localhost:8080/NT/front/?wicket:bookmarkablePage=:mypackage.EntryPointPageDATA=MOGToh0GbqF%7Et3MZzj8cLc9ruPY-ArazzQcA9%7EFO1e6ivBTv-2tSFD8gd4L0MAtXL2xnud0JujjIhjBUVpDHcE82KiBJ7PK-1T3BamoQyx9QnzEsz7PD1li0Wq%7EvOU87 As you see there, the DATA parameter sent has been mysteriously

Re: [Wicket-user] repeating the same text in several places on one page

2007-05-15 Thread Johan Compagner
if you use a repeater then the labels have the same name because you have a repeating element (list item) that constantly have the same kind of labels johan On 5/14/07, Lowell Kirsh [EMAIL PROTECTED] wrote: Is there an idiom for naming these labels, or do people tend to call them user1,

Re: [Wicket-user] BookmarkablePageLink converts String parameters to String[]? (Wicket 1.2.6)

2007-05-15 Thread manuel barzi
Hi, Johan, Switching all ... = (String)pageParam.get(...); to ... = pageParam.getString(...); made it work. Why didnt you mention switching to getString before? Nevertheless, should we understand that get does not behaves as 1.2.5, where String was returned, and not String[1] as 1.2.6.

Re: [Wicket-user] BookmarkablePageLink converts String parameters to String[]? (Wicket 1.2.6)

2007-05-15 Thread Johan Compagner
i didn't exactly know at what place you get what from where. for example if you did it through: request.getRequestParameters ().getParameters() then we just return a map which i think we should fix.. (we should return a ValueMap there) so that you also can do getString() johan On 5/15/07,

Re: [Wicket-user] for IDEA users that wish a wicket plugin

2007-05-15 Thread Justin Lee
There's a plugin in wicket-stuff already. An older version is already in the plugin repository called Wicket Assistant ali wrote: IDEA ade the online Wish List survey where everybody is welcome to leave their opinion, let it be a request for a new plugin or suggestion to improve the

[Wicket-user] dynamically populate tree

2007-05-15 Thread galbu
Hello world I have a problem with a data tree: I need to generate a data tree that shows the structure of products' classification from this table: Object: ClasseCND id| anno | livello | descrizione | classemadre| A| 2005 |0| d | null | A01| 2005 |1

[Wicket-user] Highlander - 1 Template, Some Sub Pages, Many Components

2007-05-15 Thread Fábio Bombonato
Hi Folks, I´m newbie in Wicket, but until last week I trying to figure out how to organize the code and html markup with wicket to get a template page to work. Let me explain, I´m want to create a Template web page that contains markup´s that I called containers, for example: Template.html:

Re: [Wicket-user] BookmarkablePageLink converts String parameters to String[]? (Wicket 1.2.6)

2007-05-15 Thread manuel barzi
for example if you did it through: request.getRequestParameters().getParameters() then we just return a map which i think we should fix.. (we should return a ValueMap there) so that you also can do getString() Yes, that's the point. Sometimes I was doing this in 1.2.5: public class the-page

Re: [Wicket-user] for IDEA users that wish a wicket plugin

2007-05-15 Thread Nick Heudecker
I'm updating the code today to work with Wicket 1.3's package structure. Currently, the only way to get the current version of the plugin is to build from wicket-stuff's SVN. On 5/15/07, Justin Lee [EMAIL PROTECTED] wrote: There's a plugin in wicket-stuff already. An older version is already

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-15 Thread Igor Vaynberg
i dont think that is it. jsessionid is only appended when there is a session. when you hit blah.com/context you are probably hitting index.html that does a metaredirect to blah.com/context/app/homepage. so on the first hit to blah.com/context there is no session. now when you hit /app/home a

Re: [Wicket-user] Need to reload app in tomcat aftering adding a variant markup

2007-05-15 Thread Igor Vaynberg
On 5/15/07, Chris Colman [EMAIL PROTECTED] wrote: It has no problem finding the ones that are there when the web app is started. It's just that it only looks once at startup. If I add a new one after the web app has started it never finds it. it looks only the first time you ask it for it,

Re: [Wicket-user] Highlander - 1 Template, Some Sub Pages, Many Components

2007-05-15 Thread Igor Vaynberg
class templatepage extends webpage { private boolean initialized=false; private final RepeatingView header1,content1; public templatepage() { add(header1=new RepeatingView(header1)); add(header2=new RepeatingView(content1)); } protected void addToHeader(Component c) {

Re: [Wicket-user] repeating the same text in several places on one page

2007-05-15 Thread Rüdiger Schulz
If you're not displaying a list of users, but want to display the same username on several places on your page, there is no real idiom. Maybe call them according to where they are put, like userMenuBar, userSideBar, etc. .rue 2007/5/14, Lowell Kirsh [EMAIL PROTECTED]: Is there an idiom for

Re: [Wicket-user] Need to reload app in tomcat aftering adding a variant markup

2007-05-15 Thread Jean-Baptiste Quenot
* Chris Colman: It has no problem finding the ones that are there when the web app is started. It's just that it only looks once at startup. If I add a new one after the web app has started it never finds it. Indeed this is a known problem, but surprisingly never fixed. Igor mentions

Re: [Wicket-user] WicketTester Sessions (1.3.0-incubating-beta1)

2007-05-15 Thread Igor Vaynberg
please fire a jira bug -igor On 5/15/07, severian [EMAIL PROTECTED] wrote: I've been having trouble using sessions with WicketTester, even after looking over the old messages on this list. I've been trying to implement something like the example in Gurumurthy's Pro Wicket book, where a

Re: [Wicket-user] weird url behaviour for bookmarkable pages

2007-05-15 Thread Jonathan Locke
I'm also getting this and I don't have multiple windows open. Is this a bug in the new browser window check? Johan Compagner wrote: i think in 2.0 the newBrowserWindow check is still enabled. this makes sure that for one pagemap only one window is open. If the checker finds another tab

[Wicket-user] AjaxSubmitLink throws ClassCastException in 1.2.6

2007-05-15 Thread Jeremy Levy
After upgrading to Wicket 1.2.6 all AjaxSubmitLinks throw the exception listed below. I have also opened the following bug: https://issues.apache.org/jira/browse/WICKET-571 12:11:38,841 ERROR [RequestCycle] ::: [Ljava.lang.String; cannot be cast to java.lang.String

Re: [Wicket-user] Need to reload app in tomcat aftering adding a variant markup

2007-05-15 Thread Igor Vaynberg
im not so sure we should address it. everytime you request a page wicket performs a fallback-search you say you want page A, variation B. then wicket has to look for A_EN_US_B -- not found A_EN_B -- not found A_B -- found in case of markup inheritance this is also done for parents that is 3

Re: [Wicket-user] dynamically populate tree

2007-05-15 Thread Matej Knopp
It's not really question about the wicket component. It's about the TreeModel you need to implement. -Matej On 5/15/07, galbu [EMAIL PROTECTED] wrote: Hello world I have a problem with a data tree: I need to generate a data tree that shows the structure of products' classification from this

[Wicket-user] Date Validation occured on formatted field (dd.MM.yyyy)

2007-05-15 Thread Francisco Diaz Trepat - gmail
Hi I have the following TextField and DatePicket. When I submit I get a validation of type: '15.05.1959' is not a valid Date. //create textfield - validate it with the Date type TextField dateOfBirth = new TextField(dateOfBirth, Date.class); //add a validator for range

Re: [Wicket-user] Highlander - 1 Template, Some Sub Pages, Many Components

2007-05-15 Thread Igor Vaynberg
youre welcome -igor On 5/15/07, Fábio Bombonato [EMAIL PROTECTED] wrote: Igor, Thanks so much for the fast response. It seems exactly what I want. I´ll try to use your examples. I need to send you a postal card ;-) And again, thanks ! Bombonato. On 5/15/07, Igor

[Wicket-user] Tapestry vs. Wicket

2007-05-15 Thread craigdd
I started looking at tapestry today, for some reason through out all my webapp development experience I never have taken a look at it. With that said I see a lot of similarities to wicket. Can someone point out the advantages that wicket has over tapestry. Kind of a side note, and I little off

Re: [Wicket-user] Tapestry vs. Wicket

2007-05-15 Thread Francisco Diaz Trepat - gmail
Elco is at it but last time we asked him I think he said something about 2/3rds. f(t) On 5/15/07, craigdd [EMAIL PROTECTED] wrote: I started looking at tapestry today, for some reason through out all my webapp development experience I never have taken a look at it. With that said I see a

[Wicket-user] AjaxPagingNavigator doesn't work as custom class

2007-05-15 Thread Tremelune
The overview of my goal is to replace 1 2 3 4 with prev next. I can't see how it can be done through subclassing, so I'm rolling my own Panel, similar to PagingNavigator (but with a new template). I'm trying to get AJAX pagination working, and I have--without custom stuff. If I use

Re: [Wicket-user] AjaxPagingNavigator doesn't work as custom class

2007-05-15 Thread Tremelune
INFO: INFO: Initiating Ajax GET request on /app?wicket:interface=:1:topDogsBlock:pager:next::IBehaviorListenerwicket:behaviorId=0random=0.28339447129400336 INFO: Invoking pre-call handler(s)... ERROR: Received Ajax response with code: 500 INFO: Invoking post-call handler(s)... INFO: Invoking

Re: [Wicket-user] weird url behaviour for bookmarkable pages

2007-05-15 Thread Johan Compagner
but you are using the latest wicket code of 1.3 yes? and the default second level cache? then it should be disabled by default. johan On 5/15/07, Jonathan Locke [EMAIL PROTECTED] wrote: I'm also getting this and I don't have multiple windows open. Is this a bug in the new browser window

Re: [Wicket-user] AjaxPagingNavigator doesn't work as custom class

2007-05-15 Thread Matej Knopp
That is an internal error. Which means that you got an exception. We need to see the exception (from your server logs). -Matej On 5/15/07, Tremelune [EMAIL PROTECTED] wrote: INFO: INFO: Initiating Ajax GET request on

Re: [Wicket-user] AjaxPagingNavigator doesn't work as custom class

2007-05-15 Thread Tremelune
No exceptions thrown, at least nothing reported by my app. AjaxPagingNavigator doesn't get hit at all. What would come before that? I don't think it's in any of my code before it gets to AjaxPagingNavigator. The question remains, how can identical code be failing in one case and not the other

Re: [Wicket-user] Need to reload app in tomcat aftering adding a variant markup

2007-05-15 Thread Juergen Donnerstag
I hoping to be able to modify MarkupCache.loadMarkupAndWatchForChanges in a way that it not only checks if existing files have changed but also that not-found entries are checked by ModificationWatcher. Juergen On 5/15/07, Igor Vaynberg [EMAIL PROTECTED] wrote: im not so sure we should address

Re: [Wicket-user] AjaxPagingNavigator doesn't work as custom class

2007-05-15 Thread Igor Vaynberg
On 5/15/07, Tremelune [EMAIL PROTECTED] wrote: No exceptions thrown, at least nothing reported by my app. something cause error code 500, so there must be an exception somewhere in the logs. AjaxPagingNavigator doesn't get hit at all. What would come before that? before that wicket has

Re: [Wicket-user] Need to reload app in tomcat aftering adding a variant markup

2007-05-15 Thread Igor Vaynberg
but the modification watcher is disabled in deployment mode, so this is a fix only in dev mode? -igor On 5/15/07, Juergen Donnerstag [EMAIL PROTECTED] wrote: I hoping to be able to modify MarkupCache.loadMarkupAndWatchForChanges in a way that it not only checks if existing files have changed

[Wicket-user] StackOverflowError when using FeedBack messages

2007-05-15 Thread remco bos
I hope someone can help me, I just don't know if I'm doing something really stupid, or if this is a bug.. A big stacktrace appears after the following actions: add / submit / add / submit. I'm using the latest 1.3.0 incubating snapshot. info(product added); -- causing the stacktrace (I

Re: [Wicket-user] AjaxPagingNavigator doesn't work as custom class

2007-05-15 Thread Tremelune
Running direct with the source code, it throws an Exception in AjaxPagingNavigationBehavior: protected void onEvent(AjaxRequestTarget target) { // handle the event owner.onClick(target); // find the PagingNavigator parent of this link

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-15 Thread Andrew Berman
I'm not doing any redirect using index.html and a meta redirect. I just call blah.com/context and Wicket is doing the redirect to /app/homepage. /app is what I use for the mount point. On 5/15/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i dont think that is it. jsessionid is only appended when

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-15 Thread Igor Vaynberg
so wicket is mapped to /* but homepage is mounted to /app/homepage? -igor On 5/15/07, Andrew Berman [EMAIL PROTECTED] wrote: I'm not doing any redirect using index.html and a meta redirect. I just call blah.com/context and Wicket is doing the redirect to /app/homepage. /app is what I use

Re: [Wicket-user] StackOverflowError when using FeedBack messages

2007-05-15 Thread Igor Vaynberg
where is the stack trace? -igor On 5/15/07, remco bos [EMAIL PROTECTED] wrote: I hope someone can help me, I just don't know if I'm doing something really stupid, or if this is a bug.. A big stacktrace appears after the following actions: add / submit / add / submit. I'm using the latest

Re: [Wicket-user] AjaxPagingNavigator doesn't work as custom class

2007-05-15 Thread Erik van Oosten
Did you think of copying the templates (ie the html files) that are associated with the navigator components? I did succeed in extending the navigator, and also made it work with Ajax. I must say, it was not an easy thing to do. Regards, Erik. Tremelune wrote: Line for line, it's the

[Wicket-user] AutoCompleteTextField

2007-05-15 Thread Marc Stock
Hello, I'm a wicket newbie so bear with me. I'm trying to use the AutoCompleteTextField and I have three questions: 1) The auto complete feature appears to work well in Firefox but does not work at all in IE 6. Is there something special I need to do to get it working with IE 6? 2) On my

Re: [Wicket-user] AjaxPagingNavigator doesn't work as custom class

2007-05-15 Thread Tremelune
So I have to register my AJAX stuff with a particular behavior? That is what I suspected, but I'm having trouble figuring out where/how that takes place. The examples don't bother with this since they're using the default classes. Something googlable besides wicket ajax behavior would point me in

Re: [Wicket-user] AjaxPagingNavigator doesn't work as custom class

2007-05-15 Thread Igor Vaynberg
class mynav extends ajaxpagingnavigator { newnavigation(...) { // hide the 1 2 3 4 return super.newnavigation(..).setvisible(false); } newpagingnavigationlink(..) { //hide first last return super.newpagingnavigationlink(..).setvisible(False); } } thats all you want right? you will be left

Re: [Wicket-user] AjaxPagingNavigator doesn't work as custom class

2007-05-15 Thread Igor Vaynberg
or you can simply roll your own class since building a navigator should be pretty trivial. -igor On 5/15/07, Igor Vaynberg [EMAIL PROTECTED] wrote: class mynav extends ajaxpagingnavigator { newnavigation(...) { // hide the 1 2 3 4 return super.newnavigation(..).setvisible(false); }

[Wicket-user] autolink-problem with img and relative path

2007-05-15 Thread Thomas Singer
I have a WebPage pages.Index (mapping to /index.html) whose markup contains an img-tag with the relative path ../../../screenshots/foo.png (the 1st ../ to get out of the pages-package, the 2nd ../ to get out of the classes-directory, the third ../ to get out of the WEB-INF-directory). This has

Re: [Wicket-user] AutoCompleteTextField

2007-05-15 Thread Erik van Oosten
Hi Marc, 1: IE 6 should work (I have autocompletion in production where most users have IE6). If it does not work for you, it must be a regression. If you are absolutely sure, you can file an issue. 2: Use the behavior attached to https://issues.apache.org/jira/browse/WICKET-176. 3: I found

Re: [Wicket-user] Need to reload app in tomcat aftering adding a variant markup

2007-05-15 Thread Juergen Donnerstag
This is true, but I understand Chris has a general need for markup reloading in production as well (though I haven't understood yet how Chris creates the markup files at runtime). Or did I misunderstand that? And though disabled in deployment mode by default, he could enable it for his specific

[Wicket-user] Accessing a static resource in my webapp dir

2007-05-15 Thread Matt Welch
I have a stylesheet called base.css that sits in a directory called styles that is in my base webapp directory. I have the following stylesheet reference in an HTML template called Login.html: link rel=stylesheet type=text/css href=styles/base.css media=screen / When I go to the login page,

Re: [Wicket-user] Accessing a static resource in my webapp dir

2007-05-15 Thread Igor Vaynberg
what version are you using? if you are using a recent trunk (1 day old) please report this as a bug. -igor On 5/15/07, Matt Welch [EMAIL PROTECTED] wrote: I have a stylesheet called base.css that sits in a directory called styles that is in my base webapp directory. I have the following

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-15 Thread Andrew Berman
It's mapped to /context/* and the HomePage class is mounted to /app, so the url for the homepage is http://blah.com/context/app/HomePage. Going directly to http://blah.com/context redirects to http://blah.com/context/app/HomePage On 5/15/07, Igor Vaynberg [EMAIL PROTECTED] wrote: so wicket is

[Wicket-user] Need to reload app in tomcat aftering adding a variant markup

2007-05-15 Thread Chris Colman
This is true, but I understand Chris has a general need for markup reloading in production as well (though I haven't understood yet how Chris creates the markup files at runtime). Yes that is true - production reloading is a must. Our staff will create new markup and add it - while the app is

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-15 Thread Igor Vaynberg
if your homepage is mounted to /app then the url should be /context/app. so where does HomePage come from? -igor On 5/15/07, Andrew Berman [EMAIL PROTECTED] wrote: It's mapped to /context/* and the HomePage class is mounted to /app, so the url for the homepage is

[Wicket-user] Partial page rendering with AjaxSubmitButton

2007-05-15 Thread Mark van Leeuwen
I have a form on a page which I want to replace with another form when a Next button is pressed. I want to do this with AJAX. The form should only be replaced if there are no validation errors. Two questions: - the AjaxSubmitButton.onSubmit method is not being invoked when the button is clicked.