Re: Accessing the Markup of a Component

2018-06-03 Thread Dirk Forchel
Hallo Sven, thank your for your answer and for your comprehensive explanation. So we should be careful not to use these components together unless supported. Thanks. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

Accessing the Markup of a Component

2018-06-01 Thread Dirk Forchel
We have a problem accessing the markup (Component#getMarkup()) of a Panel while inizializing the panel component. Is it ensured, that Component#getMarkup() always returns an appropriate markup (markup tag) during initializion? As soon as we have a Border component, a TransparentWebMarkupContainer

Re: wicket-dnd and link multiple items at once

2018-03-14 Thread Dirk Forchel
Hi Sven, Thank you fror your answer. I think you have misunderstood the "use case" we want to achieve. We don't want to select several items and transfer them at once but rather select only one item (only one drag source) and drop that item (link operation) to different drop targets. I think if

wicket-dnd and link multiple items at once

2018-03-12 Thread Dirk Forchel
Hello, I've a question regarding the Wicket drag'n'drop library. We're using this library successfully in order to link items with other items (the only operation allowed is a LINK operation) between to different panels (or container). It works quite well and I'm a bit curious about the way how to

Re: Wicket 8.0.0 - Official Release

2017-11-27 Thread Dirk Forchel
Thank you for you feedback. Then we start on Wicket 8. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

Wicket 8.0.0 - Official Release

2017-11-23 Thread Dirk Forchel
Hi everybody, we would like to know whether exists an official release date for the Wicket 8.x relases. There is only one issue left (https://issues.apache.org/jira/projects/WICKET/versions/12335589, https://issues.apache.org/jira/browse/WICKET-6148) at the JIRA. The reason is, we have to decide

Re: AW: Nested forms in WizardStep

2017-11-20 Thread Dirk Forchel
Thank you for your hints. I think I go for the last solution but I will have a glance at the IFormVisitorParticipant though. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe,

Re: Nested forms in WizardStep

2017-11-17 Thread Dirk Forchel
No, I was not searching for a solution how to "disabling nested form validation" as I was unsure whether it's a proper solution to use nested forms in a WizardStep. To get an impression how the checkout should look like have a look at

Nested forms in WizardStep

2017-11-16 Thread Dirk Forchel
Currently we use the Wizard/WizardStep classes from wicket-extensions to set required data for an object (in our case a checkout process with some user Information, e.g. addresses etc.). The first step contains a Login form with two "required" input components for the credentials and a separate

Re: Using AjaxGeolocationBehavior with a "click" event

2017-11-01 Thread Dirk Forchel
Does nobody haven an idea or a hint regarding my question? Instead of using the AjaxGeolocationBehavior from the wicketstuff package I could write my own Behavior, but this is actually not my aim. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

Using AjaxGeolocationBehavior with a "click" event

2017-10-27 Thread Dirk Forchel
I want to use the HTML Geolocation solution mentioned here http://apache-wicket.1842946.n4.nabble.com/Gmap-Current-Location-td4677835.html#a4677843. (org.wicketstuff.html5.geolocation) Unfortunately, the geolocation is triggered as soon as the MarkupContainer is rendered. Instead of using this on

Re: Detaching Border with nested body

2017-06-14 Thread Dirk Forchel
I've created a new issue. Please see WICKET-6399 . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Detaching-Border-with-nested-body-tp4678040p4678051.html Sent from the Users forum mailing list archive at

Detaching Border with nested body

2017-06-14 Thread Dirk Forchel
myproject2.zip testproject.zip With the latest official Wicket release (7.7.0) both issues WICKET-6303

Re: Cannot modify component hierarchy after render phase has started

2017-01-15 Thread Dirk Forchel
Hello Martin, okay, it was a misunderstanding. I will file a new issue and attach the quickstart. Cheers, Dirk -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Cannot-modify-component-hierarchy-after-render-phase-has-started-tp4676711p4676766.html Sent from the Users

Re: Cannot modify component hierarchy after render phase has started

2017-01-15 Thread Dirk Forchel
Sven Meier wrote > problem is that TestPanel.onConfigure() is called during render phase > only, while in 7.4 it was (correctly) called in #beforeRender() (where > hierarchy changes are still allowed). Hi Sven, to be honest I didn't get it. Livecycle stages of a component are "initializing",

Re: Cannot modify component hierarchy after render phase has started

2017-01-13 Thread Dirk Forchel
Hi Sven, attached you can find a quickstart which demonstrates the problem. I've added 3 test pages all with a TextField and a Panel with a TextField. For each component, the model object is set at the onConfigure method. At the first page both components are added to the page itself. At the

Re: Cannot modify component hierarchy after render phase has started

2017-01-12 Thread Dirk Forchel
Hi Sven, could it be that this belongs to https://issues.apache.org/jira/browse/WICKET-6303? I'm not sure, but after migrating to Wicket 7.5.0 we've got several errors belonging to this issue. I'll try to provide a quickstart though. Thanks, Dirk -- View this message in context:

Cannot modify component hierarchy after render phase has started

2017-01-11 Thread Dirk Forchel
Hi, I would like to know why we shouldn't change the model object within the configure phase for Wicket components. We're running our application with Wicket 7.4 and all works as expected. After migrating to Wicket 7.5 we get the following exception for different pages, mainly due to modifying the

Re: Concerns about different render strategies and latency

2016-09-23 Thread Dirk Forchel
The crux of the matter so far was the AjaxBehavior which wasn't stateless. We will use Wicket 7.4.0 from now on and try to make all relevant pages stateless. I found this part of the documentation, which is quite new

Concerns about different render strategies and latency

2016-09-22 Thread Dirk Forchel
Today, we've had a long discussion at our site about dos and don'ts using Wicket. And it came up, that the default render strategy REDIRECT_TO_BUFFER used for Wicket applications might not be the best solution for everyone. >From a SEO point of view, what's bothering me much more than the

Re: wicketstuff-htmlvalidator problem

2016-08-19 Thread Dirk Forchel
You can find the markup below (home.html). The validator itself complains about the meta tags (line 6 to 14) and after that quits with the mentioned exception. home.html -- View this message in context:

wicketstuff-htmlvalidator problem

2016-08-18 Thread Dirk Forchel
Hi, we're trying to use the Wicketstuff Html Validator (see https://github.com/dashorst/wicket-stuff-markup-validator.) with our Wicket7 project. We've built our application with the lates release of Wicket 7 (7.4.0) and with the latest release of wicketstuff-htmlvalidator (1.11). By the way, our

Re: Problem migrating to Wicket 7

2016-06-26 Thread Dirk Forchel
Ciao Andrea, it works! Great! I'll wait until the official release of Wicket 7.4 Dirk -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-migrating-to-Wicket-7-tp4674842p4674963.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Problem migrating to Wicket 7

2016-06-16 Thread Dirk Forchel
Hi Martin, I've added a much more simpler test application to show what's not working (see myproject2.zip below). On the first page you can see on the right side a TextComponent with a simple Behavior added to a Page. This Behavior adds some JavaScriptResourceReference (the jQuery function

Re: Problem migrating to Wicket 7

2016-06-08 Thread Dirk Forchel
Hello Martin, As I've written in my first post, we've noticed a general problem with all Behavior classes added to Components where the parent component is a Border component. We are using two nested Borders to create a consistent page layout for our web application. The "content" components are

Re: Problem migrating to Wicket 7

2016-06-08 Thread Dirk Forchel
Nabble does. Here it is again ... myproject.zip PS: By the way, I meant the attachment at my previous post. -- View this message in context:

Re: Problem migrating to Wicket 7

2016-06-07 Thread Dirk Forchel
Does nobody has an idea? There might be some changes between Wicket 6 and Wicket 7 how HeaderItems are rendered for Behaviors attached to Components. I guess, that the problem are the two nested Border components. But I don't feel confident. As stated above, I've attached a quickstart application

Problem migrating to Wicket 7

2016-06-05 Thread Dirk Forchel
Behaviors are rendered? Do you have a hint, where to focus my investigation? Thank you very much. Regards, Dirk Forchel PS: Before creating a quickstart and open an issue I'd like to figure it out on myself - To unsubscri

Re: Struggling with ContextRelativeResource, RenderedDynamicImageResource and SharedResources

2014-08-20 Thread Dirk Forchel
Hi Ernesto, after a couple of weeks (months) I still haven't found a solution. Any idea? Thanks for your helping hand. -- View this message in context:

RenderStrategy REDIRECT_TO_RENDER lets fail Test with startComponentInPage

2014-08-20 Thread Dirk Forchel
Hi, after I have changed the RenderStrategy from REDIRECT_TO_BUFFER to REDIRECT_TO_RENDER one of our tests fails. Actually I could not figure out why the markup is not found although it is created, but the test fails with a MarkupNotFoundException. I'm wondering why? Here is the stacktrace:

Re: RenderStrategy REDIRECT_TO_RENDER lets fail Test with startComponentInPage

2014-08-20 Thread Dirk Forchel
Yes I can, the quickstart is already attached (see above). -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/RenderStrategy-REDIRECT-TO-RENDER-lets-fail-Test-with-startComponentInPage-tp4667101p4667103.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Struggling with ContextRelativeResource, RenderedDynamicImageResource and SharedResources

2014-08-20 Thread Dirk Forchel
Thank you Martin. Lovely. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Struggling-with-ContextRelativeResource-RenderedDynamicImageResource-and-SharedResources-tp4662190p4667115.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Struggling with ContextRelativeResource, RenderedDynamicImageResource and SharedResources

2013-11-11 Thread Dirk Forchel
Did anybody try to run my attached quickstart application and can explain why the additional LocaleMapper changes the path? -- View this message in context:

Re: Struggling with ContextRelativeResource, RenderedDynamicImageResource and SharedResources

2013-11-08 Thread Dirk Forchel
No, actually not. We've got a complete layout for our web applications from an external design company and they use this CSS+static image resource thing quite often. And, as I have mentioned before, we have two Wicket web applications running in the same container. One of them on the root context

Struggling with ContextRelativeResource, RenderedDynamicImageResource and SharedResources

2013-11-07 Thread Dirk Forchel
I mount two different resources almost the same way to figure out how it works. First of all a context relative resource (the dotclear_tmp.png image is relative to the context root in my WEB-INF container) and second a dynamically created image resource (see below). But in my panel the src

Re: Struggling with ContextRelativeResource, RenderedDynamicImageResource and SharedResources

2013-11-07 Thread Dirk Forchel
And finally I've added two Image components to the Panel (this works as expected). In my Panel.class: add( new Image(img1, new SharedResourceReference(dotclear) ) ); add( new Image(img2, new PlaceholderImageResourceReference() ) ); HTML: Rendered URLs: In addition we use the placeholder

Re: Struggling with ContextRelativeResource, RenderedDynamicImageResource and SharedResources

2013-11-07 Thread Dirk Forchel
No comment? No idea? Probably another solution? Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Struggling-with-ContextRelativeResource-RenderedDynamicImageResource-and-SharedResources-tp4662190p4662219.html Sent from the Users forum mailing list archive at

Re: Struggling with ContextRelativeResource, RenderedDynamicImageResource and SharedResources

2013-11-07 Thread Dirk Forchel
Yes, I know this article and based on this one I wrote the PlaceholderImageResourceReference class. And it works as expected. I mean I can add this resource reference to each component I want. Panel: add( new Image(placeholderImg, new PlaceholderImageResourceReference() ) ); Markup: But this

Re: Struggling with ContextRelativeResource, RenderedDynamicImageResource and SharedResources

2013-11-07 Thread Dirk Forchel
Okay. I know, but their is no need for an additional parameter. I want to generate always the same image (a 1x1px PNG with a transparent background). So I don't see the need for a parameter. But I try to prepare a quickstart. -- View this message in context:

Re: gmap3 Geocoder and list of locations

2013-10-21 Thread Dirk Forchel
Hi Martin, there is still an open issue with showing the marker for all stores and an appropriate info window. Actually I wanna do something like the following Javascript code but in Java: // Init a new map var map = new GMap2(document.getElementById('map')); map.addControl(new

Re: gmap3 Geocoder and list of locations

2013-10-21 Thread Dirk Forchel
Yes, I've already tried this, but unfortunately it was not working. But I found the problem by myself. My first try (not working): GMarker marker = new GMarker(new GMarkerOptions(map, location, click here)); marker.addListener(GEvent.click, getClickHandler());

gmap3 Geocoder and list of locations

2013-10-17 Thread Dirk Forchel
Hi, I'm a newbie to all the Google Maps API stuff and I've noticed that a wicket-stuff project (gmap3) could help me to show a Google Map with a list of shops for a known business company. I found an example on this french page http://www.bebecash.com/Magasins/ which is similar to our tasks. And

Re: gmap3 Geocoder and list of locations

2013-10-17 Thread Dirk Forchel
Hi Martin, thanks for your answer. Actually, all of our stores are persistent in our database. These are about 300 and I think it is a good idea to pre-compute all the coordinates (GLatLng) with a cronjob. Afterwards I would like to show only a part of these stores which fit to a certain specific

Re: gmap3 Geocoder and list of locations

2013-10-17 Thread Dirk Forchel
OK, sounds reasonable. Is there a way to return only these stores with their coordinates (GLatLng) which fit into a special bound. I mean, the user types in a region or postcode and wants to so only thouse stores which fit into this bound. How could I perform this? Thanks in advance. -- View

Re: Wicket and microdata

2013-08-30 Thread Dirk Forchel
Martin Grigorov-4 wrote Hi, On Thu, Aug 29, 2013 at 3:29 PM, Dirk Forchel lt; dirk.forchel@ gt;wrote: I'm currently try to add some kind of microdata (http://en.wikipedia.org/wiki/Microdata_%28HTML%29) to our project. Exists a wicketstuff project dealing with this problem? I'm

Wicket and microdata

2013-08-29 Thread Dirk Forchel
I'm currently try to add some kind of microdata (http://en.wikipedia.org/wiki/Microdata_%28HTML%29) to our project. Exists a wicketstuff project dealing with this problem? What is the preferred way to add valueless attributes to HTML tags? E.g. I have to add the following attributes to the body

Re: WICKET-5083 and Page.isPageStateless

2013-07-15 Thread Dirk Forchel
So, I've started to figure out which of our components tries to access our Model in #onInitialize. It ended up that almost every component does. This means, that I have to re-write all these components which might be very time consuming. I'm wondering why a request with a redirect has to

Re: WICKET-5083 and Page.isPageStateless

2013-07-11 Thread Dirk Forchel
We've added a TransactionRequestCycleListener (extends AbstractRequestCycleListener). This class handles transactions mainly like this: @Override public void onRequestHandlerResolved(final RequestCycle cycle, final IRequestHandler handler) { LOGGER.debug( start transaction --- +

WICKET-5083 and Page.isPageStateless

2013-07-09 Thread Dirk Forchel
I've a question regarding this issue https://issues.apache.org/jira/browse/WICKET-5083 and Commit:34f43642195058f375d161dbb7cec58b40711423. This commit changed the behavior of our application (I used git:bisect to pinpoint the changes made). From this revision on, our application does not behave

Re: WICKET-5083 and Page.isPageStateless

2013-07-09 Thread Dirk Forchel
To be honest, I'm a bit confused. I reckon this has to do with the redirect from http://localhost:8080/ to http://localhost:8080/de/home. If I call de URL http://localhost:8080/de/home directly all works as expected and no exception is thrown. By the way my Home page is stateless and bookmarkable.

Re: WICKET-5083 and Page.isPageStateless

2013-07-09 Thread Dirk Forchel
Unfortunately not. It's not that easy to create a quickstart without using all the additional stuff we're currently using. I think of our persistence framework etc. -- View this message in context:

Re: WICKET-4500 / WICKET-5140 and RestartResponseAtInterceptPageException.clearOriginalDestination()

2013-06-04 Thread Dirk Forchel
Any idea? Any hint? Or should I add clearInterceptData() to the constructor of each Page class with authorized access? A short description in source code would be helpful. -- View this message in context:

WICKET-4500 / WICKET-5140 and RestartResponseAtInterceptPageException.clearOriginalDestination()

2013-06-03 Thread Dirk Forchel
With the fixed bug of WICKET-5140 the public method Component#clearOriginalDestination() has been added which uses the private method RestartResponseAtInterceptPageException.clearOriginalDestination(). I have no glue how to use this public method as we use the AuthenticatedWebApplication from the

Re: REDIRECT_TO_BUFFER render strategy and Wicket 6.8.0

2013-05-27 Thread Dirk Forchel
Actually I don't see any reason why to redirect for stateless pages, but browsing the source code I found that the default WePageRenderer returns true for org.apache.wicket.request.handler.render.PageRenderer.enableRedirectForStatelessPage(). Should I override this method as well to disable the

Re: REDIRECT_TO_BUFFER render strategy and Wicket 6.8.0

2013-05-26 Thread Dirk Forchel
You mean setStatelessHint(true) should be enough to simulate that it is stateless (and not setStatelessHint(false)), do you? Actually we didn't care about whether a page is stateless or not as long as they are bookmarkable. After a while we've noticed, that stateful pages (with the page version

Re: REDIRECT_TO_BUFFER render strategy and Wicket 6.8.0

2013-05-24 Thread Dirk Forchel
I found the solution by myself ... mvn clean -DskipTests package does the job on my Windows system -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/REDIRECT-TO-BUFFER-render-strategy-and-Wicket-6-8-0-tp4658991p4659009.html Sent from the Users forum mailing list

Re: REDIRECT_TO_BUFFER render strategy and Wicket 6.8.0

2013-05-24 Thread Dirk Forchel
Hi Martin, I could pinpoint the commit which changed the behavior in our application: git.exe bisect bad 34f43642195058f375d161dbb7cec58b40711423 is the first bad commit commit 34f43642195058f375d161dbb7cec58b40711423 Author: Martin Tzvetanov Grigorov mgrigo...@apache.org Date: Fri Apr 19

Re: REDIRECT_TO_BUFFER render strategy and Wicket 6.8.0

2013-05-24 Thread Dirk Forchel
Here the failure trace: java.lang.AssertionError at org.junit.Assert.fail(Assert.java:92) at org.junit.Assert.assertTrue(Assert.java:43) at org.junit.Assert.assertTrue(Assert.java:54) at

Re: REDIRECT_TO_BUFFER render strategy and Wicket 6.8.0

2013-05-24 Thread Dirk Forchel
I reckon WICKET-5083 is a bugfix for wrong rendered URLs (stateful pages were rendered without a page version number) which in our case was correct but just as a mistake. It seems, that our pages are stateful and therefore get the page version number (page id ?x) attached. As I described above, in

REDIRECT_TO_BUFFER render strategy and Wicket 6.8.0

2013-05-23 Thread Dirk Forchel
For security reasons we've added a filter to our web application which invalidates session if the session ID is exposed in the URL (disable JSessionID URL encoding). We only accept HttpSession creation if the user allows cookies. But this may be a problem for web crawlers (e.g. Google bot), as

Re: REDIRECT_TO_BUFFER render strategy and Wicket 6.8.0

2013-05-23 Thread Dirk Forchel
A simple quickstart application running with Wicket 6.8.0 and Jetty and two mounted pages (stateless?) do not trigger the problem. It might be more difficult to figure out what causes the redirect. Any hint? -- View this message in context:

Re: REDIRECT_TO_BUFFER render strategy and Wicket 6.8.0

2013-05-23 Thread Dirk Forchel
Unfortunately I can not build the package. Any help would be appreciated. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test (default-test) on project wicket-core: There are test failures. [ERROR] [ERROR] Please refer to

Re: REDIRECT_TO_BUFFER and Url encoding problem with Umlauts

2013-04-10 Thread Dirk Forchel
Seems to be not a problem with Wicket but rather with Tomcat. The requestURI is not encoded correctly (see below). target Url: landing/M%C3%A4nner/men.html redirect_to_buffer targetUrl: landing/M%C3%A4nner/men.html targetUrl2: landing/M%C3%A4nner/men.html?1 storeBufferedResponse:

Re: REDIRECT_TO_BUFFER and Url encoding problem with Umlauts

2013-04-10 Thread Dirk Forchel
Heureka, I found the solution by myself. I changed the URI encoding in my server.xml and all works fine: Connector port=8080 URIEncoding=UTF8/ -- View this message in context:

REDIRECT_TO_BUFFER and Url encoding problem with Umlauts

2013-04-09 Thread Dirk Forchel
Hi, I've a problem with my optional parameter and encoded Umlauts. My example page is mapped with the MountedMapper on /landing/#{seoString}/${context}, where as seoString is the optional parameter and context is the required parameter. Bookmarkable page links are generated with the correct URL,

Re: REDIRECT_TO_BUFFER and Url encoding problem with Umlauts

2013-04-09 Thread Dirk Forchel
Can give me a hint in which class the encoding for this redirect is done? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/REDIRECT-TO-BUFFER-and-Url-encoding-problem-with-Umlauts-tp4657840p4657844.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Redirect to Wicket page with 301 Moved Permanently

2013-01-17 Thread Dirk Forchel
Concerning Wicket 1.5/6: I've mounted a page for example with a mount path like product.html and with a query string (PageParameter) like product.html?product=1234. This is my old mounting path which has already been indexed by Google. The new mounting path for the same page will look different,

Re: Redirect to Wicket page with 301 Moved Permanently

2013-01-17 Thread Dirk Forchel
Hm, I already thought about that. But I miss the link between the old mounted pages and the new pages. I mean I have to mount a pair of page classes though. mountPage(product.html, LegacyProductPage.class); mountPage(product/#{product_name}/${product}, ProductPage.class) And in the new Mapper

Re: Redirect to Wicket page with 301 Moved Permanently

2013-01-17 Thread Dirk Forchel
You don't need to mountPage(TheLegacyPage) - it wont be used anyway. Yes, you are right. There is actually no need to do this. But I don't have a glue how to check whether the request URL is an obsolete one or not AND how to map the old parameters to the new parameters. So I thought, having

Re: Redirect to Wicket page with 301 Moved Permanently

2013-01-17 Thread Dirk Forchel
Sounds to complicated. Then I prefer the old fashioned way like this ... Wicket generates the new Url based on a passed in Product. I don't have to bother about .html ending and segement sizes and so on ... mountPage(product.html, LegacyProductPage.class);

Re: MounterMapper and optional parameters

2013-01-15 Thread Dirk Forchel
Sorry for the Igor, Martin. Anyway, thank you for your help. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/MounterMapper-and-optional-parameters-tp4655372p4655384.html Sent from the Users forum mailing list archive at Nabble.com.

MounterMapper and optional parameters

2013-01-14 Thread Dirk Forchel
Hallo, I'd like to get an hint how to provide the following URLs. What is the preferred way to improve our existing URLs? We need search-friendly URLs by naming them with clear keywords. For example for product pages the current URL looks like: http://localhost:8080/product.html?product=1234 This

Button value with escaped Model String

2012-11-06 Thread Dirk Forchel
We have a mutli-language Application where Button values are rendered with wrong and escaped Strings. Therefore our Button components have a default Model which property is used to set the value attribute. For example in French, the default Model String of a specific button is S' abonner but the

Re: Using PageReference for a 'back' link

2012-10-23 Thread Dirk Forchel
Here a short example with two Pages (a kind of overview page and a detailed view page) how it could work: e.g. in OverviewPage.java: in DetailedViewPage.java: -- View this message in context:

Re: Using PageReference for a 'back' link

2012-10-23 Thread Dirk Forchel
Sorry, I did not read your question carefully. Yes my suggestion does not work with BookmarkablePageLinks. But Martin has given you already the right solution. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-PageReference-for-a-back-link-tp4653212p4653257.html

Re: UrlRenderer renders wrong HTTPS links

2012-10-19 Thread Dirk Forchel
Okay, I'll try out the change in a couple of minutes and give you a feedback. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/UrlRenderer-renders-wrong-HTTPS-links-tp4653059p4653100.html Sent from the Users forum mailing list archive at Nabble.com.

Re: UrlRenderer renders wrong HTTPS links

2012-10-19 Thread Dirk Forchel
Hi Sven, it works!!! Yep. You safed my day ... almost ;-) Dirk -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/UrlRenderer-renders-wrong-HTTPS-links-tp4653059p4653104.html Sent from the Users forum mailing list archive at Nabble.com.

UrlRenderer renders wrong HTTPS links

2012-10-18 Thread Dirk Forchel
First of all, sorry for messing up the Core Developer Forum with my question as well. By the way, have a look at issue https://issues.apache.org/jira/browse/WICKET-4776 first. I've adapted the solution to preserve the port and the protocol in the UrlRender in our UrlRender subclass and at the

Re: UrlRenderer renders wrong HTTPS links

2012-10-18 Thread Dirk Forchel
Hallo Sven, I doubt it. I don't wanna blame the HttpsMapper as the mapping is done in the usual way as RootRequestMapper: Application#init() There is no magic and there were no changes at all. Since we upgraded our application from Wicket 1.5.5 to Wicket 1.5.8 and/or Wicket 6 (NOTE: we have the

Re: Using and creating URLs to Bookmarkable Pages without Wicket Application

2012-09-17 Thread Dirk Forchel
Thank you for the hint. I just thought about using the WicketTester to mock the behavior (RequestCycle) of getting the url for a mounted page. -- View this message in context:

Re: Using and creating URLs to Bookmarkable Pages without Wicket Application

2012-09-16 Thread Dirk Forchel
No more hints about generating bookmarkable page links with Wicket? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-and-creating-URLs-to-Bookmarkable-Pages-without-Wicket-Application-tp4652002p4652024.html Sent from the Users forum mailing list archive at

Re: Using and creating URLs to Bookmarkable Pages without Wicket Application

2012-09-14 Thread Dirk Forchel
I'm already familiar with the usual way how to mount bookmarkable pages and how to handle page parameters. That's not the point. I don't wanna create the URLs manually, because Wicket does already have the knowledge about all mounted pages. The URLs might be change in the future (different

CSS3, PIE behavior and image resources

2012-06-04 Thread Dirk Forchel
Hi, we have to use PIE (see http://css3pie.com/ http://css3pie.com/ ) to make IE7 and IE8 capable of rendering CSS3 decoration features. We use a shared resource mount to have an absolute URL in our CSS file (see also https://issues.apache.org/jira/browse/WICKET-3046

Re: CSS3, PIE behavior and image resources

2012-06-04 Thread Dirk Forchel
Hi Martin, actually I don't get it. How should I use org.apache.wicket.request.UrlRenderer within a CSS file? At the moment I prepare a quickstart application for our problem. Maybe this helps to get an impression how it should work. -- View this message in context:

Re: Wicket 1.5.6 duplicates segments in absolute URLs

2012-05-15 Thread Dirk Forchel
I've created issue https://issues.apache.org/jira/browse/WICKET-4561. Unfortunately I can't attach the quickstart since the JIRA server does respond with an error message. -- View this message in context:

Re: Wicket 1.5.6 duplicates segments in absolute URLs

2012-05-15 Thread Dirk Forchel
Hi Martin, attached you can find the quickstart application. Thanks, Dirk Am 15.05.2012 10:39, schrieb Martin Grigorov-4 [via Apache Wicket]: Thanks. Send it directly to me. I'll attach it when Jira is OK. On Tue, May 15, 2012 at 10:34 AM, Dirk Forchel [hidden email] /user/SendEmail.jtp

Wicket 1.5.6 duplicates segments in absolute URLs

2012-05-14 Thread Dirk Forchel
Since we migrate our application to Wicket 1.5.6 some URLs from BookmarkablePageLinks have duplicate segements for indicating a Shop and a Language item from our persistence model. For indicating a Shop and Language item we use our own ShopMapper and LanguageMapper (subclass of

MarkupNotFoundException for Fragment and TransparentWebMarkupContainer

2012-05-09 Thread Dirk Forchel
Hello, I've a question regarding Fragements inside a TransparentWebMarkupContainer. I've a base WebPage with a TransparentWebMarkupContainer to allow subclasses register CSS classes on the body tag. If I add a Fragment to one of these subsclasses, the markup of the Fragment is not found.

Re: MarkupNotFoundException for Fragment and TransparentWebMarkupContainer

2012-05-09 Thread Dirk Forchel
JIRA Issue https://issues.apache.org/jira/browse/WICKET-4545 with quickstart created. Thanks for the awkward hint and for the quick hack. I'll use a Panel instead. -- View this message in context:

JavaScript error wcall is not defined

2012-04-24 Thread Dirk Forchel
Similiar to this wiQuery example http://wiquery-plugins-demo.appspot.com/demo/;jsessionid=-bDymblOPJUPu9QqdWv7ug?wicket:bookmarkablePage=:com.wiquery.plugins.demo.TestLinkEffectsPage

Static images and ResourceMapper in Wicket 1.5

2012-04-19 Thread Dirk Forchel
I'm wondering what is the preferred way to include static image resources to my web application. Instead of having a directory like images in my root web container (WEB-INF) with all the static images used in my application it is advised (so far I can remember) to have a directory next to the

Using @font-face css rules

2012-04-18 Thread Dirk Forchel
I have a problem loading my fonts defined in my css file with the @font-face css rule which allows me to download the fonts from my server. Initally I define the rules in my css file the following way: The css-file is references by a CssResourceReference and contributed to the header with a

Re: Using @font-face css rules

2012-04-18 Thread Dirk Forchel
Thanks. I go for the 2nd approach and it seems to be working except the access to static packages resources with an unknown file ending. What did you mean with The problem is that '..' escapes from the package name. See

RE: wiQuery and ivy

2012-03-07 Thread Dirk Forchel
The sources are just for our IDE (Eclipse) to link these sources to the binaries. Because the wiquery repository is maven2 compatible, I've changed the resolver configuration in my ivysettings.xml to ibiblio: I assume only this resolver can downoad all jars (sources, docs) from the repository if

wiQuery and ivy

2012-03-05 Thread Dirk Forchel
I've a qestion regarding ivy and wiQuery. I'd like to use the wiQuery jars (wiquery-core and wiquery-jquery-ui) in the same way I do with all the Wicket libraries. For example, a configuration dependency for the Wicket core library in my project ivy.xml is written like: This means, ivy is

Re: The vision of Wicket 6

2012-03-02 Thread Dirk Forchel
Okay. Thank you both for the short explanation. I've got the feeling that migrating an existing 1.5 project to Wicket 6 will be a pain. But obviously it will not. Cheers. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-vision-of-Wicket-6-tp4437649p4438216.html

The vision of Wicket 6

2012-03-01 Thread Dirk Forchel
Just a non-technical question. We're using Wicket 1.4.x and 1.5.x in different projects and we're feeling quite confident (at least me) using this framework. By the way, it might be not quite easy migrating an existing wicket 1.4 project to wicket 1.5. But that's not the point. I've noticed, that

The vision of Wicket 6

2012-03-01 Thread Dirk Forchel
Just a non-technical question. We're using Wicket 1.4.x and 1.5.x in different projects and we're feeling quite confident (at least me) using this framework. By the way, it might be not quite easy migrating an existing wicket 1.4 project to wicket 1.5. But that's not the point. I've noticed, that

AbstractAjaxBehavior and missing unbind(Component) method

2012-02-21 Thread Dirk Forchel
Similar to this topic (http://apache-wicket.1842946.n4.nabble.com/Possible-AbstractAjaxBehavior-Bug-tp1867734p1867734.html) I'm running into trouble adding a Behavior to a Component dynamically with an Ajax request. I have a test page for jQuery UI Effects similar to this example

Re: AbstractAjaxBehavior and missing unbind(Component) method

2012-02-21 Thread Dirk Forchel
I have a static list of pre-configured instances (my Effects). On the page is a select box (a DropDownChoiceAbstractEffect component) which uses this list of instances to select an effect. Within the onClick() method of an additional AjaxLink, the WebMarkupContainer (effectContainer) is updated

  1   2   >