Re: Wicket create image from file system outside web application directory

2012-12-19 Thread Martin Grigorov
Hi http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ is exactly what you need. At the bottom of the article there is a link to a demo application. Check its sources On Wed, Dec 19, 2012 at 2:43 PM, Arun Chauhan wrote: > I have a repository storing many images somewhere on the se

Re: CSS load order in 6.x

2012-12-19 Thread Martin Grigorov
Hi, Check the new dependency management in Wicket 6: http://wicketinaction.com/2012/07/wicket-6-resource-management/ On Wed, Dec 19, 2012 at 6:18 PM, Vishal Popat wrote: > Hi, > > I have been migrating my website from 1.4.x to 6.x (6.3 at the moment). > Previously, I had my own css for YUI cale

Re: Wicket 6.4.0 Session/URL bug?

2012-12-19 Thread Martijn Dashorst
Don't use github if you want the changes right now, it is not the canonical repository. Our ASF based one is. The github repo can be behind for days. Martijn Sent from my iPad On 19 dec. 2012, at 20:31, "Chris Colman" wrote: > Jira says this has been fixed but I can't, as yet, see any changed

Re: Does automatic resource reloading in development mode still work in 6.x?

2012-12-19 Thread Sven Meier
Works fine here. Do you happen to use wicketstuff-gae-initializer? Sven On 12/20/2012 06:35 AM, pkc wrote: Ever since migrating from 1.5 to 6.x, I have had to manually recompile java classes to get the corresponding html changes to be reloaded. I tried lots of path variations but after looking

Does automatic resource reloading in development mode still work in 6.x?

2012-12-19 Thread pkc
Ever since migrating from 1.5 to 6.x, I have had to manually recompile java classes to get the corresponding html changes to be reloaded. I tried lots of path variations but after looking into the wicket source code, it doesn't appear the resource watcher is even being started so not sure how chan

Re: Error Wicket Application in SAP NetWeaver Application Server

2012-12-19 Thread Martin Grigorov
Hi On Wed, Dec 19, 2012 at 9:34 PM, wrote: > Caused by: java.lang.RuntimeException: dependencies have already been setup > at leman.base.dependencies.Leman.setDependencies(Leman.java:21) > at leman.base.dependencies.Dependencies.init(Dependencies.java:37) > at > leman.bas

AjaxPagingNavigator stateless issues in tabs

2012-12-19 Thread appwicket
hi all, I have a page contains tabs. each tab contains a panel. In each panel I have AjaxPagingNavigator for a PageableListView I got following error when I click on navigator: Root cause: org.apache.wicket.behavior.InvalidBehaviorIdException: Cannot find behavior with id '1' on component 'org.a

Re: AjaxTab#getLazyPanel not loading data

2012-12-19 Thread Sven Meier
Where's AjaxTab coming from? Sven On 12/19/2012 08:11 PM, appwicket wrote: Hi all, I am using AjaxTab instead of AbstractTab. The following is my code: tabs.add(new AjaxTab(new Model(myString)) { private static final long serialVersionUID = 1L; @Override public WebMarkupContainer getLazyP

Re: Wicket 6.4.0 Session/URL bug?

2012-12-19 Thread Sven Meier
https://github.com/apache/wicket/commit/12ce76d17e2d0576fee8158b7fa7db69770bea52 Sven On 12/19/2012 08:31 PM, Chris Colman wrote: Jira says this has been fixed but I can't, as yet, see any changed on github master branch that have any core code changes that may have fixed this. Are the changes

RE: Wicket 6.4.0 Session/URL bug?

2012-12-19 Thread Chris Colman
Got the changes now, thanks Sven! >-Original Message- >From: Chris Colman [mailto:chr...@stepaheadsoftware.com] >Sent: Thursday, 20 December 2012 6:32 AM >To: users@wicket.apache.org >Subject: RE: Wicket 6.4.0 Session/URL bug? > >Jira says this has been fixed but I can't, as yet, see any c

Error Wicket Application in SAP NetWeaver Application Server

2012-12-19 Thread Mehmet.Kaplankiran
Hi, when I invoke Java Web Application (deployed in SAP NetWeaver Application Server 7.30) by Browser there is an error message in the Application Server. it's run in Jetty-Server without error Can anybody please tell me why this occurs? #2.#2012 12 19 12:08:55:484#+0100#Error#com.sap.engine

RE: Wicket 6.4.0 Session/URL bug?

2012-12-19 Thread Chris Colman
Jira says this has been fixed but I can't, as yet, see any changed on github master branch that have any core code changes that may have fixed this. Are the changes still in progress? Chris >-Original Message- >From: Jesus Mireles [mailto:toxi...@gmail.com] >Sent: Thursday, 20 December 2

AjaxTab#getLazyPanel not loading data

2012-12-19 Thread appwicket
Hi all, I am using AjaxTab instead of AbstractTab. The following is my code: tabs.add(new AjaxTab(new Model(myString)) { private static final long serialVersionUID = 1L; @Override public WebMarkupContainer getLazyPanel(String panelId) { try { Thread.sleep(500); } catch (InterruptedExcepti

Re: assertResultPage fails even when same

2012-12-19 Thread wltiii
Okay, so JetBrains has a better diff tool. That still does not explain the problem. Why are there differences between the two sets of *actual* results when the only difference between the two test runs is the additional newline character in the actual results? Am I not making myself clear? Or are

Re: Wicket 6.4.0 Session/URL bug?

2012-12-19 Thread Bertrand Guay-Paquet
To be clear, I don't use wicket's auth module. I suspect that what was reported is caused by stateful/stateless pages. On 19/12/2012 12:51 PM, Bertrand Guay-Paquet wrote: Hi, I'm trying 6.4.0 now and seeing the same issue. My use-case is a little bit different though: 1) Without active sessio

Re: Wicket 6.4.0 Session/URL bug?

2012-12-19 Thread Bertrand Guay-Paquet
Hi, I'm trying 6.4.0 now and seeing the same issue. My use-case is a little bit different though: 1) Without active session, go to stateless page 2) Go to stateful page The first stateful page loaded is wrong like so: http://localhost:8080/SERVLET_CONTEXT/SERVLET_CONTEXT;jsessionid=7C9C4B53381D

Wicket create image from file system outside web application directory

2012-12-19 Thread Arun Chauhan
I have a repository storing many images somewhere on the server. I want to be able to create a dynamic Image object with one of the images stored in my repository. I am using wicket 1.5.7. I saw this example somewhere 1) Created the FileResource class: public class FileResource extends WebRe

Re: Wicket 6.4.0 Session/URL bug?

2012-12-19 Thread Jesus Mireles
I have uploaded a quickstart and created a new issue: https://issues.apache.org/jira/browse/WICKET-4935 Something interesting, if I dont mount any pages, it works as expected. I was only able to recreate when I actually used mountPackage to mount the private page. Thanks, Jesus M. On Wed, D

CSS load order in 6.x

2012-12-19 Thread Vishal Popat
Hi, I have been migrating my website from 1.4.x to 6.x (6.3 at the moment). Previously, I had my own css for YUI calendar which was loading correctly i.e. overwriting the YUI calendar version. However, in 6.x it is no longer working. Checking the css, its seems to be loading calendar.css after m

question re Component.initModel()

2012-12-19 Thread Andrew Geery
I'm dealing with the issue around a nested CompoundPropertyModel not resolving its properties against the correct object. class Person { Address address; ... } class Address { String street1; ... } class PersonPanel extends Panel { PersonPanel(String id) { super(id); // use cpm of p

Failed to execute goal

2012-12-19 Thread Lucio Crusca
Hello there, today, trying to build my project, I get: [ERROR] Failed to execute goal on project SalixWeb: Could not resolve dependencies for project com.virtual_bit.salix.web:SalixWeb:war:1.0-SNAPSHOT: The following artifacts could not be resolved: javax.sql:jdbc-stdext:jar:2.0, javax.transac

Re: Wicket: redirecting to wicket page using setResonsePage

2012-12-19 Thread Arun Chauhan
Thanks Ernesto. U are right.. :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-redirecting-to-wicket-page-using-setResonsePage-tp4654935p4654939.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: Wicket: redirecting to wicket page using setResonsePage

2012-12-19 Thread Arun Chauhan
Thanks Ernesto for nice suggestion. I will give it a try.. :) Is there a way to do it in wicket code only. Because till now I haven't used much javascript in my application. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-redirecting-to-wicket-page-using-setR

Re: Expiration page not shown in case of back button usage

2012-12-19 Thread Thijs
Done: https://issues.apache.org/jira/browse/WICKET-4932 Thanks in advance for looking On 19-12-2012 13:47, Martin Grigorov wrote: Yes, please. On Wed, Dec 19, 2012 at 2:16 PM, Thijs wrote: Hi, I'm still battling this issue. I have a working quickstart that demonstrates the issue we have. S

Re: Expiration page not shown in case of back button usage

2012-12-19 Thread Martin Grigorov
Yes, please. On Wed, Dec 19, 2012 at 2:16 PM, Thijs wrote: > Hi, > > I'm still battling this issue. I have a working quickstart that > demonstrates the issue we have. > Should I open a ticket? > > Kind regards > Thijs > > > On 12-12-2012 15:07, Thijs wrote: > >> No it doesn't hit the browser ca

Re: Use DataTable in the ModalWindow

2012-12-19 Thread Sven Meier
FilterForm uses a standard submit by default, try adding an AjaxButton to your form. Sven On 12/19/2012 01:22 PM, vov wrote: Hi All, When I create modal window with the Panel as content and this panel contains DataTable(eg.AjaxFallbackDefaultDataTable or custom implementation) and this table

Re: Redirecting to another wicket application

2012-12-19 Thread venkat
have tried with new RedirectToUrlException("/App1/"); now it is moving to http://localhost:7001/App2/App1/ where as i would need to redirect to http://localhost:7001/App1/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Redirecting-to-another-wicket-applicati

Use DataTable in the ModalWindow

2012-12-19 Thread vov
Hi All, When I create modal window with the Panel as content and this panel contains DataTable(eg.AjaxFallbackDefaultDataTable or custom implementation) and this table contains FilteredToolbar(with ChoiceFilters) - I get "Are you sure you want to leave the page?" everytime when I use those filters

Re: Expiration page not shown in case of back button usage

2012-12-19 Thread Thijs
Hi, I'm still battling this issue. I have a working quickstart that demonstrates the issue we have. Should I open a ticket? Kind regards Thijs On 12-12-2012 15:07, Thijs wrote: No it doesn't hit the browser cache. It's actually recreating a new Page. We've put breakpoints in Wicket to estab

RE: [Announce] wicket-dashboard

2012-12-19 Thread Decebal Suiu
Thanks Paul for your interest. I'm curios to see how your dashboard looks (and maybe some code that shows us how to integrate highcharts as widget in wicket-dashboard; maybe we can create a wicket-dashboard-highcharts project). Best regards, Decebal -- View this message in context: http://apac

Re: Illegal utf characters in ajax xml response

2012-12-19 Thread Martin Makundi
> What are conditions when you want to plug it ? I know a certain ajax response might contain illegal characters? Though it might be easier just to filter the known contents. ** Martin > > > On Wed, Dec 19, 2012 at 12:47 PM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > >> Is th

Re: Redirecting to another wicket application

2012-12-19 Thread Martin Grigorov
Try with new RedirectToUrlException("/App1/"); On Wed, Dec 19, 2012 at 1:01 PM, venkat wrote: > Hi , > we have two wicket based applications 1.App1 2.App2. Both are deployed on > same server . > > App1 is used as authentication APP which lands user on to App2 post > authentication logic. > > Fr

Re: Illegal utf characters in ajax xml response

2012-12-19 Thread Ernesto Reinaldo Barreiro
Hi, Maybe 1-have an URL decorator (IAjaxCallDecorator) that add some parameter that marks a particular AJAX request as "invalid XML characters" AJAX. 2-Override AjaxRequestTarget with a new AjaxResponse that does the filtering if this parameter is on request (e.g. by overriding getContents()).

Re: Illegal utf characters in ajax xml response

2012-12-19 Thread Martin Grigorov
What are conditions when you want to plug it ? On Wed, Dec 19, 2012 at 12:47 PM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > Is there a way to plug it only for particular ajaxes in current 1.4.x > stack? > > 2012/12/19 Martin Grigorov : > > Yes, the performance is what stops me

Redirecting to another wicket application

2012-12-19 Thread venkat
Hi , we have two wicket based applications 1.App1 2.App2. Both are deployed on same server . App1 is used as authentication APP which lands user on to App2 post authentication logic. >From App2 I want to redirect user to App1 home page on link click , however when I tried to use the follwoing

Re: Illegal utf characters in ajax xml response

2012-12-19 Thread Martin Makundi
Is there a way to plug it only for particular ajaxes in current 1.4.x stack? 2012/12/19 Martin Grigorov : > Yes, the performance is what stops me to apply it by default for the Ajax > responses. > The application developer needs to decide whether their app can include > such invalid XML characters

Re: Illegal utf characters in ajax xml response

2012-12-19 Thread Martin Grigorov
Yes, the performance is what stops me to apply it by default for the Ajax responses. The application developer needs to decide whether their app can include such invalid XML characters in the Ajax responses. On Wed, Dec 19, 2012 at 12:34 PM, Martin Makundi < martin.maku...@koodaripalvelut.com> wr

Re: Illegal utf characters in ajax xml response

2012-12-19 Thread Martin Makundi
I wonder if it is performance-wise best place to have it as a wrap-it-all? 2012/12/19 Martin Grigorov : > I think it is a good idea to have this filter in Wicket. > Each application will decide whether to use it or not. > > > On Wed, Dec 19, 2012 at 10:31 AM, Martin Grigorov wrote: > >> >> http://

Re: Illegal utf characters in ajax xml response

2012-12-19 Thread Martin Grigorov
I think it is a good idea to have this filter in Wicket. Each application will decide whether to use it or not. On Wed, Dec 19, 2012 at 10:31 AM, Martin Grigorov wrote: > > http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html > > > On Wed, Dec 19, 2012 at 4:34 A

Re: Error serializing object class com.mapp.LoginPage [object=[Page class = com.myapp.LoginPage, id = 0, render count = 1]]

2012-12-19 Thread Martin Grigorov
Please create a quickstart. Wicket usually shows which field is not Serializable. Not sure why it doesn't work for you. On Wed, Dec 19, 2012 at 12:14 PM, JamesXWang wrote: > Hi Guys, > > It's my fault. It isn't a bug of wicket. After another 2 hours debugging I > finally found the root cause in

Re: Error serializing object class com.mapp.LoginPage [object=[Page class = com.myapp.LoginPage, id = 0, render count = 1]]

2012-12-19 Thread JamesXWang
Hi Guys, It's my fault. It isn't a bug of wicket. After another 2 hours debugging I finally found the root cause in the code of my app. There is a private static class XXX{} in a very deep hierachy of one of my util class. And that private class XXX hasn't implements the Serializable. But if Wick

Re: Problem regarding ajax refresh contents of ModalWindow containing inmethod-datagrid

2012-12-19 Thread pmaks
Hi, Thanks for reply. I can not use wicket 6, since the problem is part of bigger project, where everything else except this is fine. Anyway I've solved this by using "stop();" on ajax timer and then again attach it to same component in window close callback, so that future updates should work pr

Re: Problem regarding ajax refresh contents of ModalWindow containing inmethod-datagrid

2012-12-19 Thread Martin Grigorov
Hi, Can you try with WIcket 6.4.0 and latest InMethod-Grid from WicketStuff-Core master branch ? There are some bug fixes in the grid related to "Select All" which may affect this behavior. WicketStuff Core 6.4.0 will be released soon so earlier feedback is appreciated! On Tue, Dec 18, 2012 at

Re: StalePageException handling issue

2012-12-19 Thread Martin Grigorov
Hi, Open a stateful page in a tab/window, then copy the url from the address bar and open it in a new tab/window. Then go back to the first tab/window and try to click on any stateful link. This will lead to StalePageException. It is thrown because Wicket detects that the same page instance has b

Re: assertResultPage fails even when same

2012-12-19 Thread Martin Grigorov
On Tue, Dec 18, 2012 at 6:39 PM, wltiii wrote: > This is the result from a test runner, which has nothing to do with a diff > Yes. In Intellij IDEA you see the diff between expected and actual in its diff tool and the white spaces are visible. JetBrains doesn't pay me for advertising their prod

Re: apache-wicket-6.4.0.tar.gz broken

2012-12-19 Thread Martin Grigorov
Hi, If you prefer WinZip then download apache-wicket-6.4.0.zip (there are .zip and .tar.gz versions, see http://apache.igor.onlinedirect.bg/wicket/6.4.0/) On Wed, Dec 19, 2012 at 3:17 AM, Bernard wrote: > Hi, > > Apparently apache-wicket-6.4.0.tar.gz is broken in a version of WinZip > not in 7

Re: Illegal utf characters in ajax xml response

2012-12-19 Thread Martin Grigorov
http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html On Wed, Dec 19, 2012 at 4:34 AM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > xb also > > 2012/12/19 Michael Mosmann : > > Am 15.12.2012 06:22, schrieb Martin Makundi: > > > > We could use Aja

Javascript code in resource url

2012-12-19 Thread Wojciech Roczniak
Hi Recently I got strange exception from SecurePackageResourceGuard. It is quite clear to me why this url was block but I have no idea how it was created. It looks like to regular css url some javascript code was appended. Does any of you had similar problem? I'm using wicket 1.5.7. 2012-12-18