Re: [announce] wicket 1.4.x branched

2009-09-06 Thread Jörn Zaefferer
So, where do you plan what you'll actually build? Jörn On Fri, Aug 28, 2009 at 1:17 AM, Igor Vaynbergigor.vaynb...@gmail.com wrote: thats the right place to look for users want, not for what we are going to build. -igor On Thu, Aug 27, 2009 at 3:53 PM, Jörn

Re: Wicket Stuff Core 1.4.1 Release[ing]

2009-09-06 Thread Jörn Zaefferer
So jquery-parent was build, which just references jquery and jquery-examples - neither of which were build. Whats the point of that? Also, how can we get wicketstuff-merged-resources included in the next release? Jörn On Mon, Aug 31, 2009 at 10:20 PM, Jeremy Thomersonjer...@wickettraining.com

Re: [announce] wicket 1.4.x branched

2009-08-27 Thread Jörn Zaefferer
Is this the right place to look for planned features for 1.5? http://cwiki.apache.org/WICKET/wicket-15-wish-list.html Jörn On Thu, Aug 20, 2009 at 5:10 PM, Igor Vaynbergigor.vaynb...@gmail.com wrote: Wicket 1.4.x has been branched and now lives in

Re: Announcing: Scala-Wicket Extensions Project

2009-08-18 Thread Jörn Zaefferer
Hi Antony, is there a website for the project with some documentation? You mention the specification files, but those aren't included in the SNAPSHOT release. So all I have are some not-so-useful SDocs, your hints here and a link to http://technically.us/code/x/the-escape-hatch, which doesn't

Re: Announcing: Scala-Wicket Extensions Project

2009-08-16 Thread Jörn Zaefferer
Its not quite as good as the Java Tools, but it has come a long way: http://www.scala-lang.org/node/94 Jörn On Sat, Aug 15, 2009 at 1:14 PM, Martin Sachssachs.mar...@gmail.com wrote: Thanks for that variant of programming wicket-application! I like scala and its concepts, very much.  Using

Re: Help us release 1.4 sooner by helping out with the migration guide

2009-07-24 Thread Jörn Zaefferer
2350 cost us a lot of time, getting that fixed would be very very helpful. We have a lot of cases where similar fields are used in different forms... Jörn On Tue, Jul 14, 2009 at 3:47 AM, Igor Vaynbergigor.vaynb...@gmail.com wrote: thanks major, i added a couple of notes to the wiki. i totally

Re: How to test for a redirect after form submit, eg. setting RedirectRequestTarget?

2009-05-27 Thread Jörn Zaefferer
(may only be in 1.4) and set some flag when you see the redirect, or add it to some list you have visibility into. -igor On Mon, May 25, 2009 at 8:32 AM, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Hi, in one of my Wicket unit tests I'd like to assert that after a successful submit

Re: Generate markup for hidden framework form field?

2009-05-26 Thread Jörn Zaefferer
at 8:48 AM, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: That was the idea. But Wicket still can't find the component markup when looking for it. The form adds this elsewhere: add(new HiddenFieldString(csrf-protection, new ModelString(csrfProtection())).setRequired(true).add(new

Re: Generate markup for hidden framework form field?

2009-05-26 Thread Jörn Zaefferer
it out with oncomponenttagbody it's not  part of the component hierarchy, it's just rendered markup. Once the form is submitted, you can retrieve the value using the servlet API. What behavior would you want to add on top ? Maarten On Tue, May 26, 2009 at 12:17 PM, Jörn Zaefferer

Re: Generate markup for hidden framework form field?

2009-05-26 Thread Jörn Zaefferer
(csrfProtection()).append(\ /)); super.onComponentTagBody(markupStream, openTag); } Jörn On Tue, May 26, 2009 at 2:23 PM, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: The current component (the HiddenField) checks that the same value that it started with, is submitted. I'll try to replace

Generate markup for hidden framework form field?

2009-05-25 Thread Jörn Zaefferer
? Regards Jörn Zaefferer - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

How to test for a redirect after form submit, eg. setting RedirectRequestTarget?

2009-05-25 Thread Jörn Zaefferer
() (or accessed via tester.getLastRenderedPage().getRequestCycle().getRequestTarget()) returns null. Any ideas? Regards Jörn Zaefferer - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail

Re: Generate markup for hidden framework form field?

2009-05-25 Thread Jörn Zaefferer
Vaynberg igor.vaynb...@gmail.com wrote: if you write it out in oncomponenttagbody then you dont need it in the markupo anymore. -igor On Mon, May 25, 2009 at 6:32 AM, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Hi, my application uses a form subclass everywhere for CSRF protection

How to get at the 404 request URL?

2009-02-06 Thread Jörn Zaefferer
Hi, I'm using a servlet error-page mapping to display my custom NotFound page for 404s (eg. as described here: http://herebebeasties.com/2006-12-20/using-a-servlet-filter-for-404-error-page/) filter-mapping filter-namewicket-filter/filter-name url-pattern/*/url-pattern

Re: How to get at the 404 request URL?

2009-02-06 Thread Jörn Zaefferer
://www.servlets.com/soapbox/servlet23.html specially the section 'New error attributes' regards, Jonas On Fri, Feb 6, 2009 at 3:28 PM, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Hi, I'm using a servlet error-page mapping to display my custom NotFound page for 404s (eg. as described here

Re: Loosing page parameters after submit

2008-11-18 Thread Jörn Zaefferer
That's how it is isn't really that much helpful, there's always a workaround, isn't there? In thise case, saving the pageparameters in the form constructor and using them to set the response page onSubmit helps. Something like this: class MyForm extends Form { private PageParameters

Re: [ANNOUNCE] Apache Wicket 1.4 release candidate 1

2008-11-13 Thread Jörn Zaefferer
The following subprojects are incompatible with Wicket 1.4 RC1 and therefore block us from migrating: wicket-ioc (only 1.3.5 available) and wicket-spring-annot (only 1.3.5 available). wicket-spring-annot needs to change its usage of MetaDataKey in SpringComponentInjector (constructor doesn't

Re: [ANNOUNCE] Apache Wicket 1.4 release candidate 1

2008-11-13 Thread Jörn Zaefferer
Sorry, I didn't. Looks like its all there, thanks! Jörn On Thu, Nov 13, 2008 at 6:20 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: Did you read the migration guide? Martijn On Thu, Nov 13, 2008 at 5:49 PM, Jörn Zaefferer [EMAIL PROTECTED] wrote: The following subprojects are incompatible

Re: Render a Wicket page to a string for HTML email

2008-11-05 Thread Jörn Zaefferer
] wrote: without seeing your code we have to resort to waving a dead chicken in front of our screens or making swags. -igor On Tue, Nov 4, 2008 at 9:19 AM, Jörn Zaefferer [EMAIL PROTECTED] wrote: Hi, I've found this article on how to render a page to a String: http://www.danwalmsley.com/2008/10

Render a Wicket page to a string for HTML email

2008-11-04 Thread Jörn Zaefferer
Hi, I've found this article on how to render a page to a String: http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/ It seemed to be exactly what I was looking for. Copying the code into my app, I got a compiler error on the line where the WebRequest is

Re: CSRF Protection: double submitted cookie

2008-10-22 Thread Jörn Zaefferer
I've created a ticket and attached a reference implementation: https://issues.apache.org/jira/browse/WICKET-1885 Jörn On Mon, Oct 20, 2008 at 11:31 PM, Jörn Zaefferer [EMAIL PROTECTED] wrote: The double-submitted-cookie isn't related to double submit protection, no. Thats a completely

Re: how to get bookmarkable-page-url in FeedResource

2008-10-21 Thread Jörn Zaefferer
I'm using with in my Application subclass to mount the feed as implemented by MyFeedResource: getSharedResources().add(my-feed, new MyFeedResource()); mountSharedResource(/games/atom, new ResourceReference(my-feed).getSharedResourceKey()); And on my base page:

Re: inmethod / grid website?

2008-10-21 Thread Jörn Zaefferer
I second that, please get the site fixed! Jörn On Tue, Oct 21, 2008 at 12:27 PM, Martin Voigt [EMAIL PROTECTED] wrote: Yea, was just that it's Matej who did the grid stuff (at least to my knowledge), so I thought it would make sense to ask it here, as I'm sure I'm not the only one using grid

Re: @MountPath with same path

2008-10-21 Thread Jörn Zaefferer
Thats the type of problem where you fight against a basic design descision. Happens a lot with Hibernate, too, and you always lose one way or the other... Jörn On Tue, Oct 21, 2008 at 5:04 PM, Cédric Thiébault [EMAIL PROTECTED] wrote: Jörn Yes I could do something like that but I don't really

Re: Pages or components... how do u decide?

2008-10-20 Thread Jörn Zaefferer
A URL is quite a strong argument for using pages. With the wicket-annotations project its dead-easy to make pages bookmarkable, just add @MountPath(path=/path/to/page). Jörn On Sun, Oct 19, 2008 at 11:55 PM, Ned Collyer [EMAIL PROTECTED] wrote: I use markup inheritance for some pages, but I

CSRF Protection: double submitted cookie

2008-10-20 Thread Jörn Zaefferer
Hi, my application currently uses CryptedUrlWebRequestCodingStrategy to protect against CRSF attacks. Afaik 1.3.5 will include an update that generates the key based on user sessions: http://issues.apache.org/jira/browse/WICKET-1782 According to Johan Compagner, there are still issues with that

Re: CSRF Protection: double submitted cookie

2008-10-20 Thread Jörn Zaefferer
page or different active pages) and that cookie must be regenerated/set on every form render? johan On Mon, Oct 20, 2008 at 11:27 AM, Jörn Zaefferer [EMAIL PROTECTED] wrote: Hi, my application currently uses CryptedUrlWebRequestCodingStrategy to protect against CRSF attacks. Afaik 1.3.5

Re: CSRF Protection: double submitted cookie

2008-10-20 Thread Jörn Zaefferer
be wicket-form-uuid then couldnt the attacker also just generate that cookie? I guess there is a cookie per form (there can be many forms on the same page or different active pages) and that cookie must be regenerated/set on every form render? johan On Mon, Oct 20, 2008 at 11:27 AM, Jörn

Re: Pages or components... how do u decide?

2008-10-20 Thread Jörn Zaefferer
and passes the panel to the super. Anyway, i thought it was an interesting thing to discuss. Jörn Zaefferer-2 wrote: A URL is quite a strong argument for using pages. With the wicket-annotations project its dead-easy to make pages bookmarkable, just add @MountPath(path=/path/to/page

Re: @MountPath with same path

2008-10-20 Thread Jörn Zaefferer
How about mounting that to just products and displaying different content based on the presence of the parameter? You abstract the content of both pages into panels and show one or the other based on the paramter. Jörn On Mon, Oct 20, 2008 at 6:15 PM, Cédric Thiébault [EMAIL PROTECTED] wrote:

Re: Client side validation behaviors - already started?

2008-10-05 Thread Jörn Zaefferer
tomorrow night or Monday I can get a wicketstuff project started for it... The help will be great - my JS fu is rusty! Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: Jörn Zaefferer =F6rn_Zaefferer _ [EMAIL PROTECTED] Sent

Re: Client side validation behaviors - already started?

2008-10-04 Thread Jörn Zaefferer
What approach for client-side validation are you looking for? I may be able to help with that. Jörn On Fri, Oct 3, 2008 at 5:50 AM, Jeremy Thomerson [EMAIL PROTECTED] wrote: I've been thinking of trying to create some behaviors that combine the standard server-side validation with client-side

Re: Client side validation behaviors - already started?

2008-10-04 Thread Jörn Zaefferer
! Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: Jörn Zaefferer =F6rn_Zaefferer _ [EMAIL PROTECTED] Sent: Saturday, October 04, 2008 5:50 AM To: users@wicket.apache.org Subject: Re: Client side validation behaviors - already

Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)

2008-09-30 Thread Jörn Zaefferer
What I'd like to hear is what exactly is wrong with it and how using jQuery (or any other framework for that matter) could improve things. -Matej On Mon, Sep 29, 2008 at 11:45 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: On Mon, Sep 29, 2008 at 11:13 PM, Jörn Zaefferer [EMAIL PROTECTED

Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)

2008-09-30 Thread Jörn Zaefferer
that is readily available and official. Jörn On Tue, Sep 30, 2008 at 3:27 PM, Matej Knopp [EMAIL PROTECTED] wrote: Thanks for the response. On Tue, Sep 30, 2008 at 5:11 AM, Jörn Zaefferer [EMAIL PROTECTED] wrote: I'll go through a few things in the wicket-ajax-ng.js file, to give an idea how

Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)

2008-09-29 Thread Jörn Zaefferer
, Jörn Zaefferer [EMAIL PROTECTED] wrote: There is something new to consider when choosing a JavaScript library as Wicket's base: http://www.jondavis.net/blog/post/2008/09/jQuery-Has-Won-The-3-Year-Javascript-Framework-Battle-As-Far-As-Im-Concerned.aspx http://www.hanselman.com/blog

Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)

2008-09-29 Thread Jörn Zaefferer
recommened jQuery On Mon, Sep 29, 2008 at 1:41 PM, Matej Knopp [EMAIL PROTECTED] wrote: On Mon, Sep 29, 2008 at 1:18 PM, Jörn Zaefferer [EMAIL PROTECTED] wrote: It would be a big plus for me if Wicket would adopt jQuery. Drupal does that, and anyone writing a Drupal module can rely on the fact

Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)

2008-09-29 Thread Jörn Zaefferer
, legends, options and so on. Jörn On Mon, Sep 29, 2008 at 11:31 PM, Matej Knopp [EMAIL PROTECTED] wrote: On Mon, Sep 29, 2008 at 11:13 PM, Jörn Zaefferer [EMAIL PROTECTED] wrote: I guess I didn't quite get the file upload example in the first place. Uploading via iframe is supported by jQuery's

Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)

2008-09-29 Thread Jörn Zaefferer
, 2008 at 11:45 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: On Mon, Sep 29, 2008 at 11:13 PM, Jörn Zaefferer [EMAIL PROTECTED] wrote: PS: I'm currently sitting on a panel with PPK and guys from Prototype, Dojo, YUI and jQuery. One question was: What library would you recommend but your own

Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)

2008-09-28 Thread Jörn Zaefferer
On Wed, Aug 27, 2008 at 1:05 AM, Matej Knopp [EMAIL PROTECTED] wrote: On Wed, Aug 27, 2008 at 12:50 AM, Jörn Zaefferer [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 10:19 PM, Matej Knopp [EMAIL PROTECTED] wrote: Hi, On Tue, Aug 26, 2008 at 9:24 PM, jWeekend [EMAIL PROTECTED] wrote: Matej

Re: [Announce] The Wicket Reflex Game:)

2008-09-25 Thread Jörn Zaefferer
Fun! The loading indicator is annoying, makes the game feel jumpy/slow. Also I didn't ever see a blue or yellow box - whats the deal with those? Jörn On Thu, Sep 25, 2008 at 9:23 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi I've done a small game using Wicket and

Re: Release date for 1.3.5?

2008-09-22 Thread Jörn Zaefferer
PROTECTED] wrote: as i also want to know the release schedule of 1.3.5, after searching the mail list, it seems this thread is the latest about the topic, so i bring this thread up again do we have a planned schedule for 1.3.5? thanks Jörn Zaefferer-2 wrote: Hi, is there a release date

Re: Wicket Markup parse doesn't handle Conditional Comments

2008-09-22 Thread Jörn Zaefferer
We are using conditional comments in our base page without any issues. Dunno if that page isn't parsed my the MarkupParser for some reason... Jörn On Mon, Sep 22, 2008 at 5:49 PM, Matej Knopp [EMAIL PROTECTED] wrote: Well, if it is a valid xml then it is bug in our parser. -Matej On Mon,

Re: Wicketstuff wishlist?

2008-09-20 Thread Jörn Zaefferer
hibernate with any JPA provider), since I have a demo project for that, validation JSR 303 arent done yet AFAIK.. And I think im gonna try to use IVisitor to do it.. So it's actually a fairly simple one:) Jörn Zaefferer wrote: Oops, I missed that bit! Well, then I add: Annotations for form

Re: AW: Wicket and Mootools?

2008-09-20 Thread Jörn Zaefferer
jQuery UI (ui.jquery.com) adds quite a few effects: http://ui.jquery.com/repository/real-world/effects/ Jörn On Fri, Sep 19, 2008 at 5:27 PM, mahone9 [EMAIL PROTECTED] wrote: I think I´m gonna use scriptaculous. It´s much more easier to use it and I guess you can also compress the js files

Re: Wicketstuff wishlist?

2008-09-20 Thread Jörn Zaefferer
the form and it will and the correct validators using vistor etc? cheers Bruno On Sep 20, 2008 6:47am, Jörn Zaefferer [EMAIL PROTECTED] wrote: A pony? Django now got one... Thanks for the wicket-hibernate link! Jörn On Sat, Sep 20, 2008 at 2:29 AM, Nino Saturnino Martinez Vazquez Wael

Re: Wicket not secure?

2008-09-19 Thread Jörn Zaefferer
Though afaik the URL encryption will be even better with 1.3.5, where the encryption key is session-based, that is, per user, instead of one default key for everything (current 1.3.4 behaviour). Once that is released, you get unique-per-user URLs which provide perfect protection against CSRF

Re: Wicketstuff wishlist?

2008-09-19 Thread Jörn Zaefferer
Don't we have already at least one wishlist on the wicket wiki? http://cwiki.apache.org/WICKET/#Index-WishListforNextVersion Jörn On Fri, Sep 19, 2008 at 12:30 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi I'd really like a wish list for wicketstuff. So reply with your

Re: Wicketstuff wishlist?

2008-09-19 Thread Jörn Zaefferer
Martinez Vazquez Wael [EMAIL PROTECTED] wrote: wicketstuff!=wicket :) And it should not go on the wicket wiki... Jörn Zaefferer wrote: Don't we have already at least one wishlist on the wicket wiki? http://cwiki.apache.org/WICKET/#Index-WishListforNextVersion Jörn On Fri, Sep 19, 2008 at 12

Re: Wicket not secure?

2008-09-19 Thread Jörn Zaefferer
Sure, but why bother when its already implemented? Security-related stuff isn't exactly the right place to roll your own. Jörn On Fri, Sep 19, 2008 at 4:34 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: that is trivial to implement with 1.3.4 also -igor On Fri, Sep 19, 2008 at 12:51 AM, Jörn

Re: Best first approach to Wicket for my case

2008-09-10 Thread Jörn Zaefferer
Persistence with Hibernate annotations and Spring declarative transactions (@Transactional) provide a great programming model. Wicket on top of that, with Spring components injected via @SpringBean works well, too, though so far Wicket doesn't really leverage Java 5. One notable exceptions is the

Re: https flips to http

2008-09-10 Thread Jörn Zaefferer
Setting the following security-constraint in your web.xml should fix that: security-constraint web-resource-collection web-resource-namesecure/web-resource-name url-pattern//url-pattern /web-resource-collection user-data-constraint

Wicket in Action

2008-09-09 Thread Jörn Zaefferer
My copy of Wicket in Action just arrived - kudos to Martjin and Eelco! Great work! Jörn

Re: Bypass validation conditionally

2008-09-08 Thread Jörn Zaefferer
Using JavaScript to store tabs means that all tabs are rendered at once, so there is no need to store anything between switching tabs. Jörn On Mon, Sep 8, 2008 at 10:00 AM, thebeard [EMAIL PROTECTED] wrote: Thanks for your response Igor. It makes sense that the validation for field type is

Release date for 1.3.5?

2008-09-08 Thread Jörn Zaefferer
Hi, is there a release date planned for 1.3.5? There are important updates in trunk, like protection against CSRF (https://issues.apache.org/jira/browse/WICKET-1782). If there isn't a date yet, what needs to be done to get one? Regards Jörn

Re: Discussion on Wicket Interface Speed-Up

2008-09-03 Thread Jörn Zaefferer
Ignoring the iPhone - not everyone has that as a target platform - the bruteforce method of packaging everything into one file isn't that bad. The initial bandwidth hit is outweighed be reducing requests to one (or two, one js, one css file). That means the first page loads a bit longer, which is

Re: Discussion on Wicket Interface Speed-Up

2008-09-02 Thread Jörn Zaefferer
/releases /repository /repositories dependency groupIdorg.wicketstuff/groupId artifactIdwicketstuff-merged-resources/artifactId version1.3.4-SNAPSHOT/version /dependency i am also going to add a short wiki page at wicketstuff.org regards, Stefan Jörn Zaefferer-2 wrote: Good

Re: Discussion on Wicket Interface Speed-Up

2008-08-29 Thread Jörn Zaefferer
Here is a first patch for the RevisionVersionProvider: Index: src/main/java/org/wicketstuff/mergedresources/versioning/RevisionVersionProvider.java === ---

Re: Discussion on Wicket Interface Speed-Up

2008-08-29 Thread Jörn Zaefferer
29.08.2008 um 12:22 schrieb Jörn Zaefferer: Here is a first patch for the RevisionVersionProvider: Index: src/main/java/org/wicketstuff/mergedresources/versioning/RevisionVersionProvider.java === --- src/main/java/org/wicketstuff

Re: Discussion on Wicket Interface Speed-Up

2008-08-28 Thread Jörn Zaefferer
Again, great work Stefan! The basics already work fine, allowing me to keep a maintenance friendly style of development while heavily optimizing frontend performance. The biggest isse now is the public API: I have to duplicate a lot of information in the application and the page/component

Mounting parameters on homepage

2008-08-26 Thread Jörn Zaefferer
Hi, I have a simple search form on my homepage and would like to mount the search parameter, eg. to have host/?term=foo instead of host/?x=faniwfani35gfsge353 (when using CryptedUrlWebRequestCodingStrategy). I can't figure out a way to configure the strategy used to mount the homepage. This

Re: Mounting parameters on homepage

2008-08-26 Thread Jörn Zaefferer
coding strategy and let SearchPage provide PageParameter constructor taking the search term as parameter. You can mount SearchPage with whatever string you want, form submission on the home page should setResponsePage(SearchPage.class, new PageParameter(searchterm_etc)) will do it. Jörn Zaefferer

Re: Wicket resources (css, js and images)?

2008-08-26 Thread Jörn Zaefferer
Hi Matej, let me know if you reconsider jQuery and have any specific question. The jQuery team is there to help! Jörn On Tue, Aug 26, 2008 at 7:57 PM, Matej Knopp [EMAIL PROTECTED] wrote: Hi, I haven't announced yet publicly but for some time I was working on Ajax implementation for 1.5.

Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)

2008-08-26 Thread Jörn Zaefferer
On Tue, Aug 26, 2008 at 10:19 PM, Matej Knopp [EMAIL PROTECTED] wrote: Hi, On Tue, Aug 26, 2008 at 9:24 PM, jWeekend [EMAIL PROTECTED] wrote: Matej, What are the implications of the decision to base Wicket Ajax Next Generation on YUI in terms of choosing a Javascript library for future

Re: [announce] Openlayers contrib upgraded to 1.4-SNAPSHOT

2008-08-26 Thread Jörn Zaefferer
no problems at all. Jörn Zaefferer wrote: I guess I missed previous discussions or announcements - but based on your mail and the URL you provide I have no idea what you are talking about, eg. how openlayers is related to Wicket and the 1.4-SNAPSHOT. Could you give some more details for those

Setting text content of component

2008-03-26 Thread Jörn Zaefferer
I keep stumbling about components where I'm (afaik) forced to add child components just to set their text content. Common examples are ListView items and Links. I'd like to set the text content of a li or a element without adding another child component (to give it a wicket:id and add a Label).

Re: Setting text content of component

2008-03-26 Thread Jörn Zaefferer
/span/li However it is possible to remove the span for the label from the final markup send to the browser by using label.setRenderBodyOnly(true); So where you markupfile would look like the above the user would see lisome text/li Maurice On Wed, Mar 26, 2008 at 4:01 PM, Jörn Zaefferer

Mounting and intercept pages

2008-03-20 Thread Jörn Zaefferer
Hi, I have a bookmarkable page with a single param, something like domain/item/id/1. Now, to edit the item, the user has to login or register first. After doing so, either using the login form on the same page or using the register form on a different page, the user must land on exactly the same

Re: Mounting and intercept pages

2008-03-20 Thread Jörn Zaefferer
Thanks Martijn. I gave that a try: add(new Link(register) { @Override public void onClick() { throw new RestartResponseAtInterceptPageException(Register.class); } @Override public boolean isVisible() { return

Re: Mounting and intercept pages

2008-03-20 Thread Jörn Zaefferer
()); } -Original Message- From: Jörn Zaefferer [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 9:13 AM To: users@wicket.apache.org Subject: Re: Mounting and intercept pages Thanks Martijn. I gave that a try: add(new Link(register) { @Override public void onClick

Re: Planning Wicket Next Generation

2008-03-18 Thread Jörn Zaefferer
I'm one of those poor guys stuck with IBM Websphere Portal 5 and 6, which are both Java 1.4. We can still use Java 5 for the core of our application by seperating the frontend stuff into its own project, and having retrotranslator modify the core jar file before putting it into the 1.4 web

Revisited: How to mount a form?

2008-03-12 Thread Jörn Zaefferer
Hi, I'm trying to mount forms in my wicket application more appropiate URLs. For example I want to replace this: action=../?wicket:interface=:3:registerpanel:registerForm::IFormSubmitListener:: with something like this (I'm not sure yet if the version parameter is necessary, or whatever that

Re: Revisited: How to mount a form?

2008-03-12 Thread Jörn Zaefferer
bookmarkable pages can be mounted. Martijn On 3/12/08, Jörn Zaefferer [EMAIL PROTECTED] wrote: Hi, I'm trying to mount forms in my wicket application more appropiate URLs. For example I want to replace this: action=../?wicket:interface=:3:registerpanel:registerForm

Re: Revisited: How to mount a form?

2008-03-12 Thread Jörn Zaefferer
, Mar 12, 2008 at 10:23 AM, Jörn Zaefferer [EMAIL PROTECTED] wrote: That is not an acceptable answer. And from what I've seen, Wickets RequestCodingStrategy-architecture allows you to mount forms just as well - its just not exactly easy. Any others? On Wed, Mar 12, 2008 at 10

Display text depending on user being logged in and intercept pages

2008-03-10 Thread Jörn Zaefferer
no idea how to get that to work, so far I replaced the intercept with a normal setResponsePage, which is far from optimal. Thanks Jörn Zaefferer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

How to flush(?) page without using setResponsePage

2008-03-10 Thread Jörn Zaefferer
on the current page instead. How can I flush the current page? Thanks Jörn Zaefferer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Display text depending on user being logged in and intercept pages

2008-03-10 Thread Jörn Zaefferer
HaveToSigninFragment()); Martijn On 3/10/08, Jörn Zaefferer [EMAIL PROTECTED] wrote: Hi, I'd need some help on getting the following to work properly: If the user is logged in, display some text Hello {name}. If he isn't logged in, display a text Please register or login

Re: How to flush(?) page without using setResponsePage

2008-03-10 Thread Jörn Zaefferer
be the problem of the login not working we need to see some code and a better description of what is not working. Maurice On Mon, Mar 10, 2008 at 11:39 AM, Jörn Zaefferer [EMAIL PROTECTED] wrote: Hi, our application has a login form on every page, defined in a Base WebPage. So

Re: How to flush(?) page without using setResponsePage

2008-03-10 Thread Jörn Zaefferer
if it did. But we don't want to go to the homepage, the user wants to stay on the current page instead. How can I flush the current page? Thanks Jörn Zaefferer

Re: Display text depending on user being logged in and intercept pages

2008-03-10 Thread Jörn Zaefferer
Thanks, that worked. Jörn On Mon, Mar 10, 2008 at 1:25 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: wicket:message key=beforeLink/wicket:messagea href=#wicket:message key=insideLink/wicket:message/awicket:message key=afterLink/wicket:message On 3/10/08, Jörn Zaefferer [EMAIL

Re: Markup Rendering issues

2008-03-07 Thread Jörn Zaefferer
On Wed, Mar 5, 2008 at 5:01 PM, Erik van Oosten [EMAIL PROTECTED] wrote: Hi Jörn, -- Ids This one of the exceptions in just taking existing HTML. Our designers also use jquery and solved the problem by using classes. Something like: class=idCommentForm. For jquery it doesn't matter much,

How to mount a form?

2008-03-07 Thread Jörn Zaefferer
Hi, I'm trying to mount a form, eg. a login form to /login/, resulting in something like form action=/login//. There are a lot of classes related to mounting, though everything I found so far refers to pages. Just mounting a Form subclass doesn't yield anything at all. Thanks for any hints Jörn

Markup Rendering issues

2008-03-05 Thread Jörn Zaefferer
=:1:loginForm::IFormSubmitListener::. How can I replace that, eg. mount a static URL for that form? I guess most of this is easy to resolve and I just don't know enough about Wicket, yet. Pointers or solutions are both highly appreciated. Thanks Jörn Zaefferer

Re: (Server-independent) Comet support in Wicket?

2008-02-20 Thread Jörn Zaefferer
On Feb 20, 2008 3:50 AM, Erik van Oosten [EMAIL PROTECTED] wrote: Jörn Zaefferer wrote: ... The architecture must support several both dependent and independent components on a single page which get updated based on server-events, be it on schedules or events triggered by other users