[announce] Wicket 1.4-RC5 released

2009-06-18 Thread Jeremy Thomerson
The release has been signed by Jeremy Thomerson, your release manager for today. The public key can be found in the KEYS file in the download area. Download the KEYS file only from the Apache website. http://www.apache.org/dist/wicket/1.4-rc5/KEYS Instructions on how to validate the release can

Re: Wicket-like JavaScript Components

2009-06-16 Thread Jeremy Thomerson
logic, etc? Were these requirements written by a PHB? -- Jeremy Thomerson http://www.wickettraining.com On Tue, Jun 16, 2009 at 11:56 AM, Nicolas Melendeznmelen...@getsense.com.ar wrote: GWT is a good framework.You can code in java and then it is translated to javascript. NM On Tue, Jun

Re: conditional redirect page

2009-06-16 Thread Jeremy Thomerson
public class MyPage extends Page { public MyPage() { if (condition1) { throw new RestartResponseAtInterceptPage(Page1.class); } else if (condition2) throw new RestartResponseAtInterceptPage(Page2.class); } throw new RestartResponseAtInterceptPage(Home.class); } -- Jeremy Thomerson http

Re: conditional redirect page

2009-06-16 Thread Jeremy Thomerson
suggest a better way -- Jeremy Thomerson http://www.wickettraining.com On Tue, Jun 16, 2009 at 2:57 PM, Martin Makundimartin.maku...@koodaripalvelut.com wrote: just a RestartResponseException will do I've always believed that building flow logic using exceptions is malpractice

Re: [OFF TOPIC] Java desktop applications

2009-06-13 Thread Jeremy Thomerson
-- Jeremy Thomerson http://www.wickettraining.com On Sat, Jun 13, 2009 at 10:01 AM, nino martinez waelnino.martinez.w...@gmail.com wrote: Hi Jeremy I'd say either use netbeans (matisse) or something a bit more experimental, pack wicket with jetty as a desktop app I considered this a couple

Re: [OFF TOPIC] Java desktop applications

2009-06-12 Thread Jeremy Thomerson
at MySpace - you'll see what I mean! -- Jeremy Thomerson http://www.wickettraining.com On Fri, Jun 12, 2009 at 2:03 AM, Johan Compagnerjcompag...@gmail.com wrote: Ha this is funny, I hear things like swing is horrible to design, from users that use wicket so html apps. I guess those dont design

Re: [OFF TOPIC] Java desktop applications

2009-06-12 Thread Jeremy Thomerson
! If you have other suggestions, I'm all ears. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Jun 12, 2009 at 2:35 AM, Thomas Singerwic...@regnis.de wrote: Yes, this is indeed very funny. People think, that making a good (desktop) user interface is just about making the right choice

Re: AW: inserting urls in script variables

2009-06-12 Thread Jeremy Thomerson
().urlFor(dlink, ILinkListener.INTERFACE)); } }); You're trying to get the URL before the page is constructed / added to page map - as the error mentions. This delays the URL retrieval until render time. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Jun 12, 2009 at 4:35 AM, Bas

Re: [VOTE] Release Wicket 1.4-rc5

2009-06-12 Thread Jeremy Thomerson
This vote is closed. We will be releasing 1.4-rc5. 13 yes votes, 3 of which are binding. 1 sort of no vote, non-binding - Bernard didn't really say no, but raised an objection I'll work on completing the release later today. Announcements will follow. -- Jeremy Thomerson http

Re: how to avoid multiple session for the same username

2009-06-12 Thread Jeremy Thomerson
to be signed in. If it's not, sign out. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Jun 12, 2009 at 12:30 PM, tubin genfachh...@gmail.com wrote: I need suggestions on implementing single user login , like My system has a user with a username    jdavid and my application should

Re: how to avoid multiple session for the same username

2009-06-12 Thread Jeremy Thomerson
it wouldn't need to grow - it could be a single column in the users table - next to userid. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Jun 12, 2009 at 12:57 PM, Juan Carlos Garcia M.jcgarc...@gmail.com wrote: Also attach some HttpSessionListener to your web application

Re: Returning to the original page after session timeout / login

2009-06-12 Thread Jeremy Thomerson
in your login form submit, call continueToOriginalDestination() onSubmit() { if (false == continueToOriginalDestination()) { setReturnPage(SomeOtherPage.class); } } -- Jeremy Thomerson http://www.wickettraining.com On Fri, Jun 12, 2009 at 1:45 PM, Christopher L Merrillch

Re: Returning to the original page after session timeout / login

2009-06-12 Thread Jeremy Thomerson
is typically encountered when you lost your session - so this won't work for that. But it will work if I go back twenty pages and click a link - not super helpful. Sorry. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Jun 12, 2009 at 2:13 PM, Christopher L Merrillch...@webperformance.com

Re: Returning to the original page after session timeout / login

2009-06-12 Thread Jeremy Thomerson
Just lengthen the session timeout - how to do this depends on your servlet container. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Jun 12, 2009 at 2:37 PM, Christopher L Merrillch...@webperformance.com wrote: Jeremy Thomerson wrote: the path is stored in the session, so

Re: Returning to the original page after session timeout / login

2009-06-12 Thread Jeremy Thomerson
Or implement a remember me feature in the request cycle. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Jun 12, 2009 at 2:38 PM, Jeremy Thomersonjer...@wickettraining.com wrote: Just lengthen the session timeout - how to do this depends on your servlet container. -- Jeremy

Re: [OFF TOPIC] Java desktop applications

2009-06-12 Thread Jeremy Thomerson
and makes me dislike swing at first taste. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Jun 12, 2009 at 5:51 PM, Luther Bakerlutherba...@gmail.com wrote: Admittedly - it may not be standard, easy or necessarily intuitive ... but CSS ain't all bad is it? :) http

Re: AW: inserting urls in script variables

2009-06-11 Thread Jeremy Thomerson
of this from the source. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Jun 11, 2009 at 4:18 AM, Bas Vrolingbvrol...@cmbi.ru.nl wrote: So does anyone have an idea how to fix this? On 10 Jun, at 12:42, Bas Vroling wrote: Thanks for the extensive feedback, but urlFor() does not accept

[OFF TOPIC] Java desktop applications

2009-06-11 Thread Jeremy Thomerson
thought of or done this before? Basically, it's a CRUD application, but containing personal data that the user should not store on someone else's server. I would use an embedded database that stores the data with encryption. Ideas? -- Jeremy Thomerson http://www.wickettraining.com

Re: [OFF TOPIC] Java desktop applications

2009-06-11 Thread Jeremy Thomerson
://spring-rich-c.sourceforge.net/1.0.0/index.html -- Jeremy Thomerson http://www.wickettraining.com On Thu, Jun 11, 2009 at 4:54 PM, Jeremy Thomersonjer...@wickettraining.com wrote: I would like to build a nice-looking java desktop application.  I hope that isn't an oxymoron  :).  I have built

Re: AW: wicket on java server

2009-06-10 Thread Jeremy Thomerson
' reasonableness - try to explain to him why this is an unreasonable request. -- Jeremy Thomerson http://www.wickettraining.com 2009/6/10 Dorothée Giernoth dorothee.giern...@kds-kg.de: No, worse, my boss :( he doesn't think tomcat is safe enough and doesn't know how tomcat works and what's going

Re: Mix generic HTML for Wicket

2009-06-09 Thread Jeremy Thomerson
Do you mean how to get the source code? You could get it from the attic: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/attic/wicketstuff-crud/ -- Jeremy Thomerson http://www.wickettraining.com On Tue, Jun 9, 2009 at 8:36 AM, David Browndbr...@sexingtechnologies.com wrote

[VOTE] Release Wicket 1.4-rc5

2009-06-09 Thread Jeremy Thomerson
: http://people.apache.org/~jrthomerson/releases/apache-wicket-1.4-rc5/dist/ Your vote please (lasts 72h): [ ] Yes release 1.4-rc5 [ ] No, don't release it -- Jeremy Thomerson http://www.wickettraining.com Announcement: The Apache Wicket team is proud to announce the availability of the fifth

Re: [VOTE] Release Wicket 1.4-rc5

2009-06-09 Thread Jeremy Thomerson
[X] Yes release 1.4-rc5 [ ] No, don't release it -- Jeremy Thomerson http://www.wickettraining.com On Tue, Jun 9, 2009 at 10:08 AM, Jeremy Thomersonjer...@wickettraining.com wrote: [ ] Yes release 1.4-rc5 [ ] No, don't release

Re: PropertyModel property expression fallback

2009-06-09 Thread Jeremy Thomerson
can reuse it more places - but it's your call. [1] - http://www.jeremythomerson.com/blog/2008/11/06/wicket-the-power-of-nested-models/ -- Jeremy Thomerson http://www.wickettraining.com On Tue, Jun 9, 2009 at 12:42 PM, Guillaume Simardgui...@gmail.com wrote: Hi everyone ! I have two

Re: Write XML response

2009-06-09 Thread Jeremy Thomerson
. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Jun 9, 2009 at 1:17 PM, m_salmanmohammad_sal...@yahoo.com wrote: I would appreciate very much if some one can tell me how can I use this method, or any other method, to display xml in a panel.  I want xml to be displayed in an interactive

Re: Write XML response

2009-06-09 Thread Jeremy Thomerson
What do you mean interactive form? Most browsers apply their own formatting to a page if the entire response is XML (response header is text/xml) and there is no stylesheet attached. I think that's what you mean - but I'm not sure. -- Jeremy Thomerson http://www.wickettraining.com On Tue

Re: Write XML response

2009-06-09 Thread Jeremy Thomerson
be a Wicket component somewhere that does it - similar to treeview or something - but I don't know of one. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Jun 9, 2009 at 1:43 PM, m_salmanmohammad_sal...@yahoo.com wrote: What I mean is that I click on the '+' sign and it expands

Re: Custom HeaderContributor

2009-06-07 Thread Jeremy Thomerson
behavior contributes script. -- Jeremy Thomerson http://www.wickettraining.com On Sun, Jun 7, 2009 at 12:25 PM, Stefan Lindner lind...@visionet.de wrote: OK :-) When I create a special AjaxBehavior I can overwrite the onRenderHead method which has an IHeaderContributor (=Header Contributor

Re: wicket:link - wicket:context

2009-06-07 Thread Jeremy Thomerson
See org.apache.wicket.markup.resolver.AutoLinkResolver -- Jeremy Thomerson http://www.wickettraining.com On Sat, Jun 6, 2009 at 5:00 PM, Luther Baker lutherba...@gmail.com wrote: I'd like to consider writing a component similar to wicket:link. I don't think wicket:link actually does

Re: Dynamic green or red UL background for FeedbackPanel

2009-06-05 Thread Jeremy Thomerson
You actually could - write a behavior that runs through the messages that the FP will be displaying and set the class based on it. Or subclass FP and do the same. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Jun 5, 2009 at 12:53 AM, Luther Baker lutherba...@gmail.com wrote: Yep

Re: Dynamic green or red UL background for FeedbackPanel

2009-06-04 Thread Jeremy Thomerson
the whole UL to be red? If so, you could do that in JS. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Jun 4, 2009 at 11:58 PM, Luther Baker lutherba...@gmail.com wrote: I have a minor question regarding the FeedbackPanel. I'd like to have the panel display a subtle red

Re: MultiLineLabel and alot of P

2009-06-03 Thread Jeremy Thomerson
Use CSS to change the margin on P tags. I do this on just about every site I build. I find the default to generally be too much. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Jun 3, 2009 at 9:01 AM, Daniele sdaniel...@tiscalinet.it wrote: Hi. I tried to use MultiLineLabel

Re: @SpringBean serialization issue

2009-06-03 Thread Jeremy Thomerson
Post the code where you are declaring your DAO fields, etc. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Jun 3, 2009 at 8:15 PM, Josh Chappelle jchappe...@4redi.com wrote: I have recently started using the @SpringBean annotation to retrieve DAO objects in my Panel classes. I

RE: Long content

2009-06-01 Thread Jeremy Thomerson
Label is correct. It's exactly what you are looking for functionally. Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: Luther Baker lutherba...@gmail.com Sent: Sunday, May 31, 2009 11:38 PM To: users@wicket.apache.org Subject: Re

Re: Ajax Request Security

2009-06-01 Thread Jeremy Thomerson
is that typically you are not going to have an AjaxUpdatingBehavior or an ajax link that edits / deletes data (disclaimer: yes, there are reasons to have an ajax delete link). What I meant was not HTTP POST - I just meant form submission - which in ajax actually happens via GET. -- Jeremy Thomerson http

Re: How do I reuse a rendered string, i.e. render once and past in multiple locations, e.g. paging nav at top and bottom?

2009-05-27 Thread Jeremy Thomerson
in seeing any results of performance analysis that you have done that says that this will reduce your page load time by any significant factor. -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 27, 2009 at 2:53 PM, J.-F. Rompre jrom...@gmail.com wrote:  I am trying to do something

Re: dynamically add additional components

2009-05-27 Thread Jeremy Thomerson
You could use markup inheritance to allow the subclass to insert markup in that location. -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 27, 2009 at 1:42 PM, tubin gen fachh...@gmail.com wrote: is it possible to   modify  html at runtime and add  new components ? for example

Re: How do I reuse a rendered string, i.e. render once and past in multiple locations, e.g. paging nav at top and bottom?

2009-05-27 Thread Jeremy Thomerson
If you're optimizing for optimization's sake, spend your time optimizing where it is worth optimizing. -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 27, 2009 at 6:04 PM, J.-F. Rompre jrom...@gmail.com wrote: I am optimizing for optimizing's sake - is there built-in efficiency

Re: ComponentModel

2009-05-27 Thread Jeremy Thomerson
Please open a JIRA so it doesn't get lost. -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 27, 2009 at 2:59 AM, Petr Nejedlík petr.nejed...@abra.eu wrote: Hi, Class ComponentModel in version 1.4rc4 is generic but setObject methods still use Object instead of T. Is there any

Re: Expired sign in link after signing out

2009-05-27 Thread Jeremy Thomerson
If you're on 1.3.2 can you try upgrading to at least the latest 1.3.X release (or even better, 1.4-rc4) to see if that doesn't fix it? -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 27, 2009 at 7:34 AM, Tim Moose hungl...@gmail.com wrote: add(new BookmarkablePageLink(signin

Re: RequestLogger and session invalidation

2009-05-27 Thread Jeremy Thomerson
Please open a JIRA so this doesn't get lost. I haven't looked, but it sounds wrong if it truly recreates an invalidated session in some end-of-request logging, even if it doesn't bind the session. Post the link back here. -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 27

Re: How to receive digested emails once a day from this mailing list ???

2009-05-27 Thread Jeremy Thomerson
Well, I don't know because I've never tried, but I would suspect that if your email address was anywhere close to being right, you'd need it to have an S on users. -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 27, 2009 at 10:06 AM, David Chang david_q_zh...@yahoo.com wrote

Re: What's the simplest way to do Context-sensitive Authorization in Wicket?

2009-05-26 Thread Jeremy Thomerson
() instanceof IUserOwnedEntity) { User user = Session.getUser(); // or similar - not exactly right return user.owns((IUserOwnedEntity) c.getObject()) || user.isAdmin(); } } return true; } } -- Jeremy Thomerson http://www.wickettraining.com On Tue, May 26, 2009 at 10:55

RE: Any easy way to do client-side javascript-based validation with Wicket?

2009-05-25 Thread Jeremy Thomerson
In wicketstuff-core there is a library that I started as a proof of concept that allows you to add one behavior to your component which adds client and server side validation. You could start with it and add on as needed. Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless

RE: closing a ModalWindow from a forms onSubmit?

2009-05-25 Thread Jeremy Thomerson
If all you're saying is that you need to do it from your form's onsubmit, do this: AjaxRequestTarget art = AjaxRequestTarget.get(); if (art != null) { modal.close(art); } Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: Brill

Re: Storing css and image files

2009-05-24 Thread Jeremy Thomerson
them in the same place and use wicket:link rather than a resource reference. Up to you. -- Jeremy Thomerson http://www.wickettraining.com On Sat, May 23, 2009 at 9:10 PM, Lucas Bonansea lucas.bonan...@gmail.com wrote: Hello.           I'm new to web development and to Wicket. I created

Re: IModelT and ResourceModel

2009-05-23 Thread Jeremy Thomerson
Black box library? Isn't a black box one that you can't see in to? How would that apply to an OPEN source library where the code is available for [1] download, [2] publicly viewing on the internet, or [3] modifying yourself? [1] - http://download.filehat.com/apache/wicket/1.4-rc4/ [2] -

Re: showstoppers -- NoSuchMethodError (again and again)

2009-05-23 Thread Jeremy Thomerson
built the core release, but some things weren't compiling / working and I didn't have the time to fix all of those projects. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 22, 2009 at 8:26 PM, Brill Pappin br...@pappin.ca wrote: Over the last week I've been running into no end

Re: showstoppers -- NoSuchMethodError (again and again)

2009-05-23 Thread Jeremy Thomerson
Have there been that many changes since 1.4-rc4? I just released rc4 like three weeks ago. Are we talking about the same rc4? -- Jeremy Thomerson http://www.wickettraining.com On Sat, May 23, 2009 at 9:41 PM, Brill Pappin br...@pappin.ca wrote: I don't actually have commit to wicketstuff

Re: How to keep fields between pages

2009-05-22 Thread Jeremy Thomerson
I would suggest that this would be the wicket way as well. This sounds like the data is session scoped - it belongs to the user. It doesn't really belong to a page. Just OO. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 22, 2009 at 7:40 AM, Lorenzo Bolzani l.bolz

Re: how to cache the html output of a panel?

2009-05-21 Thread Jeremy Thomerson
This topic has been covered many times here on the list. The result is that you almost never really need to cache the generated HTML, but rather the loading of the backing model. Are you really sure that you need to cache the generated HTML? -- Jeremy Thomerson http://www.wickettraining.com

Re: Bookmarkable page with a form. The URL switches from the mounted one into an unfriendly one.

2009-05-21 Thread Jeremy Thomerson
add the message to the session and setResponsePage(ForgotPassword.class); You may need to do setRedirect(true); -- Jeremy Thomerson http://www.wickettraining.com On Thu, May 21, 2009 at 2:04 PM, Kent Larsson kent.lars...@gmail.com wrote: Hi, I have a simple page, with a form where

Re: Wicket and 3rd party Javascript libraries

2009-05-21 Thread Jeremy Thomerson
inspiration for how to accomplish what you need. -- Jeremy Thomerson http://www.wickettraining.com On Thu, May 21, 2009 at 8:32 PM, Vasu Srinivasan vasy...@gmail.com wrote: Apologize if this question sounds too generic... Are there restrictions in using 3rd party Javascript libraries when using

Re: how to cache the html output of a panel?

2009-05-21 Thread Jeremy Thomerson
If you've done profiling that shows where the Wicket markup generation is the slow part of your page rendering, we would benefit from seeing it so that we could see if there was anything that could be improved. -- Jeremy Thomerson http://www.wickettraining.com On Thu, May 21, 2009 at 7:44 PM

Re: Login page expired

2009-05-20 Thread Jeremy Thomerson
If you're in the stateless form's onsubmit and you redirect to a stateless page, you may need to call session.bind so that it knows that you need the session to be persistent. -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 20, 2009 at 10:50 AM, Neil Curzon neil.cur...@gmail.com

Re: Wicket in Php

2009-05-20 Thread Jeremy Thomerson
the user in. The problem of course will be keeping session data in sync between the two since they can't share the same object. This typically means persisting much of the session state to a database or memcache layer. -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 20, 2009 at 11:20

Re: Wicket in Php

2009-05-20 Thread Jeremy Thomerson
take on a PHP project. Check it out. It's as close to Wicket as you'll get in PHP. [1] - http://www.symfony-project.org/ -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 20, 2009 at 2:12 PM, Paolo Di Tommaso paolo.ditomm...@gmail.com wrote: In other words .. impossible

Re: Wicket in Php

2009-05-20 Thread Jeremy Thomerson
Wicket is written in Java. You would need to build an application in Java, running in a servlet container. Perhaps you could do an integration and have some pages running in PHP and some in Java, but you are looking at a complex project. -- Jeremy Thomerson http://www.wickettraining.com

Re: Wicket meeting in Amsterdam?

2009-05-20 Thread Jeremy Thomerson
Me too if Nino's boss is handing out airline tickets. :) -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 20, 2009 at 3:18 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Although not an amsterdammer, I might be interested (if I get a budget approval from my boss

Re: Can't find Wicket ajax resources

2009-05-19 Thread Jeremy Thomerson
At a glance it looks right, with the exception that your / is doubled up in the mapping. I don't think this would create your issue, but you should fix it and try again. -- Jeremy Thomerson http://www.wickettraining.com On Tue, May 19, 2009 at 11:47 AM, Mark Sloan mark.sl...@sri.com wrote

Re: Can't find Wicket ajax resources

2009-05-18 Thread Jeremy Thomerson
What's your web.xml mapping? -- Jeremy Thomerson http://www.wickettraining.com On Mon, May 18, 2009 at 6:41 PM, Mark Sloan mark.sl...@sri.com wrote: I am trying to do some basic Ajax in Wicket (1.4rc4) I have the following code fragment: TextFieldString loginField = new TextFieldString

Re: How To Call A Method When Browser Is Closed

2009-05-17 Thread Jeremy Thomerson
You could try binding to window onUnload event but I think there are limitations as to what you can do within that and it may not always be called. -- Jeremy Thomerson http://www.wickettraining.com On Sun, May 17, 2009 at 10:32 PM, Carlo M. Camerino cmcamer...@gmail.com wrote: Hi, I

Re: Component creation and initialization

2009-05-15 Thread Jeremy Thomerson
); } } -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 15, 2009 at 12:54 AM, Vladimir K koval...@gmail.com wrote: Jeremy, I can't add another example to mentioned RepeatingView. Concerning RepeatingView... Wicket allow me just one point to subclass parent component markup within

Re: Component creation and initialization

2009-05-15 Thread Jeremy Thomerson
that it's easier to navigate, etc. Many times that is thankless work, but it is appreciated nonetheless. THANK YOU! [1] - http://catb.org/esr/faqs/smart-questions.html#before -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 15, 2009 at 7:59 AM, Clint Popetz cl...@42lines.net wrote

Re: Application scope vs Singleton

2009-05-15 Thread Jeremy Thomerson
, and all the places in your code that use that interface can be changed to use a different implementation without changing each of them - just change the config as to which one is injected. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 15, 2009 at 10:21 AM, alf.redo

Re: Bookmarkable fallback ajax link

2009-05-15 Thread Jeremy Thomerson
to a new page. So, it seems like this would be creating two entirely separate code paths. -- Jeremy Thomerson http://www.wickettraining.com On Thu, May 14, 2009 at 11:19 AM, John jdp2...@gmail.com wrote: Hi, I want googlebot to be able to see content that is shown to normal browsers using ajax

Re: Bookmarkable fallback ajax link

2009-05-15 Thread Jeremy Thomerson
But you don't want URLs with jsessionid in Google's results. Multiple people can come into your site with the same session. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 15, 2009 at 10:33 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: googlebot does not support cookies, so

Re: Component creation and initialization

2009-05-15 Thread Jeremy Thomerson
to implement it. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 15, 2009 at 11:13 AM, Clint Popetz cl...@42lines.net wrote: TMTOWTDI - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e

Re: Component creation and initialization

2009-05-14 Thread Jeremy Thomerson
for the method to see if I'm wrong. -- Jeremy Thomerson http://www.wickettraining.com On Thu, May 14, 2009 at 12:51 PM, Juan G. Arias juangar...@gmail.com wrote: Hi all, Is there a way in wicket for separate the object's instantiation phase from the inner component's creation phase? Just like

Re: Wizard, checkGroup and check

2009-05-14 Thread Jeremy Thomerson
://issues.apache.org/jira/browse/WICKET -- Jeremy Thomerson http://www.wickettraining.com On Thu, May 14, 2009 at 6:56 PM, Fernando Wermus fernando.wer...@gmail.com wrote: Hi all,    I moved to wicket 1.3.6, the lastest before 1.4, without any luck. What I did next, it was to cut the code that was bother me

Re: Component creation and initialization

2009-05-14 Thread Jeremy Thomerson
it could inadvertantly happen - which is why we need bug reports if you see that happening. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 15, 2009 at 12:01 AM, Vladimir K koval...@gmail.com wrote: Martijn, here Java is not safe as a language. Yo're able to invoke overrided

Re: Component creation and initialization

2009-05-14 Thread Jeremy Thomerson
come not from a true need, but from a lack of understanding of the proper use of models. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 15, 2009 at 12:21 AM, Vladimir K koval...@gmail.com wrote: it has just come to my mind I'm afraid Wicket can't guarantee

Re: Override properties in Fragments?

2009-05-13 Thread Jeremy Thomerson
Good questoin - I'm not sure how that works with wicket:message. But I suppose you could easily add a label to the fragment and control the property key to your label easily -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 13, 2009 at 11:37 AM, Kaspar Fischer h...@rapsak.com

Re: Override properties in Fragments?

2009-05-13 Thread Jeremy Thomerson
not getString new Label(label, new ResourceModel(yourkey)); -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 13, 2009 at 4:16 PM, Kaspar Fischer h...@rapsak.com wrote: On 13.05.2009, at 18:40, Jeremy Thomerson wrote: Good questoin - I'm not sure how that works

Re: wicket.markup.html.basic.MultiLineLabel with Links, different word color inside?

2009-05-12 Thread Jeremy Thomerson
extends MultiLineLabel { public OurCustomMultiLineLabel(String id, IModelString model) { super(id); IModelString ourModel = new ConvertLinksModel(model); ourModel = new AddColorsModel(ourModel); setModel(ourModel); setEscapeModelStrings(false); } } -- Jeremy Thomerson http

Re: How to set a Date dynamically

2009-05-12 Thread Jeremy Thomerson
The date is determined by your model - it's getting the date from YourObject.getStartDate(). Set the date on YourObject and it should work. -- Jeremy Thomerson http://www.wickettraining.com On Tue, May 12, 2009 at 2:26 PM, Matthieu Labour matth...@strateer.com wrote: Hi I am new to Wicket

Re: Pre-built wicket sample app for a starter to copy?

2009-05-11 Thread Jeremy Thomerson
Search for Wicket Phonebook or just start from the quick start http://wicket.apache.org/quickstart.html -- Jeremy Thomerson http://www.wickettraining.com On Mon, May 11, 2009 at 12:03 PM, David Chang david_q_zh...@yahoo.com wrote: Hello, I have a web project to do and this time I am going

Re: Google App Engine and Wicket

2009-05-11 Thread Jeremy Thomerson
for a couple of consecutive years. I think you're overengineering something that definitely doesn't need it. -- Jeremy Thomerson http://www.wickettraining.com On Mon, May 11, 2009 at 12:03 PM, Jim Pinkham pinkh...@gmail.com wrote: I've followed with interest all the wicket on GAE threads I can

[announce] Wicket 1.4-rc4 released

2009-05-11 Thread Jeremy Thomerson
The release has been signed by Jeremy Thomerson, your release manager for today. The public key can be found in the KEYS file in the download area. Download the KEYS file only from the Apache website. http://www.apache.org/dist/wicket/1.4-rc4/KEYS Instructions on how to validate the release can

Re: AW: [announce] Wicket 1.4-rc4 released

2009-05-11 Thread Jeremy Thomerson
Why would it appear there? -- Jeremy Thomerson http://www.wickettraining.com On Mon, May 11, 2009 at 4:23 PM, Christian Helmbold christian.helmb...@yahoo.de wrote: A link to 1.4 RC4 is missing on http://www.apache.org/dyn/closer.cgi/wicket/1.4-rc2 too

Re: bug in swfObject.java -- http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html

2009-05-07 Thread Jeremy Thomerson
Please file a JIRA issue so that it doesn't get lost. -- Jeremy Thomerson http://www.wickettraining.com On Thu, May 7, 2009 at 12:46 PM, Fernando Wermus fernando.wer...@gmail.com wrote: Hi all,    There is a small bug in swfObject in page: http://cwiki.apache.org/WICKET/open-flash-chart

Re: Ajax Request Security

2009-05-07 Thread Jeremy Thomerson
for them to use or fiddled with to create an unexpected request. But the data itself that is submitted must always be verified. -- Jeremy Thomerson http://www.wickettraining.com On Thu, May 7, 2009 at 5:22 PM, Douglas Ferguson doug...@douglasferguson.us wrote: It just dawned on me that most users

Re: Ajax Request Security

2009-05-07 Thread Jeremy Thomerson
not be. And typically your normal Ajax behavior should not be deleting / editing unless it is a form post (which you need to verify ajax or not) or a link (which again, needs to be subject to your role-based security). -- Jeremy Thomerson http://www.wickettraining.com On Thu, May 7, 2009 at 6:29 PM

Re: Form that gets data form multiple models.

2009-05-07 Thread Jeremy Thomerson
Make those models private fields within your form. Make sure that you are overriding onDetach in the form and detaching them (even though the PropertyModel should chain the detach down to it's nested model - this is a good habit to get into so that you don't forget somewhere else). -- Jeremy

Re: Detaching models

2009-05-06 Thread Jeremy Thomerson
In 1.5 Igor is planning on doing this. He's planning on making it such that any IModel that your component holds as a field is auto-detached. -- Jeremy Thomerson http://www.wickettraining.com 2009/5/6 Uwe Schäfer schae...@thomas-daily.de: hi we have a problem here, which we think might

Re: Wicketstuff-core issue

2009-05-04 Thread Jeremy Thomerson
the list, you will see where I have posted links in the past to my own build server on wickettraining.com that you are welcome to use if necessary. -- Jeremy Thomerson http://www.wickettraining.com On Mon, May 4, 2009 at 12:17 PM, Kaspar Fischer h...@rapsak.com wrote: I have a minor issue

Re: Internationalized titles

2009-05-04 Thread Jeremy Thomerson
add(new Label(appTitle, new ResourceModel(your.title.key)); also, change your html: title wicket:id=appTitlethis will be replaced/title Of course, if you don't use markup inheritance, you'll need to repeat this throughout each page. -- Jeremy Thomerson http://www.wickettraining.com On Mon

Re: Internationalized titles

2009-05-04 Thread Jeremy Thomerson
Yeah - that's what I've done on several sites. -- Jeremy Thomerson http://www.wickettraining.com On Mon, May 4, 2009 at 2:38 PM, James Carman jcar...@carmanconsulting.com wrote: One reason would be to let subclasses actually override it with a more complex model, if need be.  The method

Re: Wicket in Action book p95 Listing 4.6 change not rendered

2009-05-03 Thread Jeremy Thomerson
Check your classes (compiled) directory - does the HTML file there have the change? Also, carefully scrutinize your classpath - it is very likely that another jar has the HTML file higher in the classpath than yours. -- Jeremy Thomerson http://www.wickettraining.com On Sun, May 3, 2009 at 6

Re: Share Localization across many pages/componets

2009-05-01 Thread Jeremy Thomerson
Typically you should avoid this raw data push / pull and instead use a ResourceModel. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 1, 2009 at 3:22 AM, Mathias Nilsson wicket.program...@gmail.com wrote: You could do this in your base class if you use markup inheritence

Re: ChoiceFilteredPropertyColumn and FilterToolbar examples

2009-05-01 Thread Jeremy Thomerson
the publisher field. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 1, 2009 at 2:31 AM, Linda van der Pal lvd...@heritageagenturen.nl wrote:   columns[3] = new ChoiceFilteredPropertyColumn(new ModelString(Publisher), name, publisher, createPublisherModel

Re: Wicket Offline Applications

2009-05-01 Thread Jeremy Thomerson
, it's a cool idea, though. Let us know if you have any success. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 1, 2009 at 3:04 AM, Carlo Camerino cmcamer...@gmail.com wrote: Hi, Is there any project which has Wicket And Google Gears Integration? Wicket has really done a lot

Re: problems with tinymce

2009-05-01 Thread Jeremy Thomerson
Code helps us help you. Post code for us to help you. I would suspect that tinymce js files come with the tinymce integration. If not, the place to get working tinymce files would be from tinymce's website. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 1, 2009 at 10:02 AM

Re: Wicket Offline Applications

2009-05-01 Thread Jeremy Thomerson
Gmail uses a fat client - which is what GWT grew out of. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 1, 2009 at 10:55 AM, Carlo Camerino cmcamer...@gmail.com wrote: ya i guess they are mostly for rich internet applications use.First thing I'd have to work on is to have

Re: Analyzing Request Logger

2009-04-30 Thread Jeremy Thomerson
the source be with you! After you take a look at that, let us know what questions you still have. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Apr 30, 2009 at 2:35 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Howdy, I turned on the request logger and now I'm trying

Re: Share Localization across many pages/componets

2009-04-30 Thread Jeremy Thomerson
put it all in MyApp.properties or MyBasePage.properties. There's a very good section on this in WiA book, and I know that someone also did a good blog post about it around a year ago. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Apr 30, 2009 at 3:22 PM, Ryan McKinley ryan

Re: Maintenance of session in SpringWebApplication of Wicket

2009-04-29 Thread Jeremy Thomerson
said, you do it just like you store data anywhere else in Wicket... class MySession { private boolean foo; // setFoo and isFoo } // use this model for your drop down choice, etc... new PropertyModel(this.getSession(), foo) -- Jeremy Thomerson http://www.wickettraining.com On Wed, Apr 29, 2009

Re: Maintenance of session in SpringWebApplication of Wicket

2009-04-29 Thread Jeremy Thomerson
in your java: System.out.println(Foo: + this.getSession().isFoo()); new Label(label, new PropertyModel(this.getSession(), foo)); in your html: span wicket:id=labelthis will print the value of foo/span -- Jeremy Thomerson http://www.wickettraining.com On Wed, Apr 29, 2009 at 1:14 AM, Geeta

RE: Maintenance of session in SpringWebApplication of Wicket

2009-04-29 Thread Jeremy Thomerson
(or a training class). Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: Geeta Madhavi madhavi.ge...@gmail.com Sent: Wednesday, April 29, 2009 1:51 AM To: users@wicket.apache.org Subject: Re: Maintenance of session in SpringWebApplication

Re: Tools for Managing a Wicket Project

2009-04-29 Thread Jeremy Thomerson
. And of course, a team training course is never a bad idea :) -- Jeremy Thomerson http://www.wickettraining.com On Wed, Apr 29, 2009 at 10:19 AM, Florian Sperber f...@sperber.info wrote: Hi Dane, Dane Laverty schrieb: My goal is to find a few tools that - work well with Wicket - make

<    5   6   7   8   9   10   11   12   13   14   >