Re: RequiredBorder being applied multiple times in ajax calls

2008-05-15 Thread Matthew Young
Sorry I can't help you with your question. But may I ask where you get the PhoneFormatter? On Wed, May 14, 2008 at 5:58 PM, Sam Barnum [EMAIL PROTECTED] wrote: Using the tips in this PDF http://londonwicket.org/content/LondonWicket-FormsWithFlair.pdf I created the simple RequiredBorder

Re: RequiredBorder being applied multiple times in ajax calls

2008-05-15 Thread Gerolf Seitz
Sam, a similar issue happened to the WicketAjaxIndicatorAppender. take a look at WicketAjaxIndicatorAppender#renderHead to see how this is solved there. maybe you can do something similar with your RequiredBorder. regards, Gerolf On Thu, May 15, 2008 at 2:58 AM, Sam Barnum [EMAIL PROTECTED]

Re: Using generics with some non-generic classes in Wicket

2008-05-15 Thread Sebastiaan van Erk
Igor Vaynberg wrote: well, apparently johan ran into a situation where component? is too restrictive... As I understand it, Johan ran into a situation where Component? causes *warnings* for users who use raw types. Which I've been arguing all along that they SHOULD get: they should use

Re: overriding getAssociatedMarkupStream

2008-05-15 Thread Eyal Golan
wow !! this wicket is sooo cool :) I did exactly what you suggested and it works like a charm. public IResourceStream getMarkupResourceStream(MarkupContainer container, Class containerClass) { if (html == null) { final DefaultMarkupResourceStreamProvider

Re: FYI: new wicket site

2008-05-15 Thread wicket user
Hi Lars, Very good site, i like it its, pretty cool Dipu On Wed, May 14, 2008 at 9:36 AM, lars vonk [EMAIL PROTECTED] wrote: Hi all, A new Wicket site is born! It's a Dutch site on which you can search for day trips and such. See: www.eropuit.nl. Thanks to the user- and dev-group for

Page expired using LazyLoadPanel and clustering

2008-05-15 Thread richardwilko
Hi, I almost have clustering working now - thanks for all the help people have given me. However keep seeing page exprired errors, specifically on a page that has an ajax lazy load panel on it. the page will load fine, but when the lazy load code executes the app throws a page expired error, a

WicketStuff YUI simple editor

2008-05-15 Thread Nino Saturnino Martinez Vazquez Wael
Hi Im dabbling with using a rich editor. I have a page where I have several ajax tabs, one of them are to contain a editor. I first tried using tinceMCE, but that has troubles with ajax and the header contributions (tinyMCE cant handle it). Then I switched to YUI, but if I add the component

ErrorPage won't render

2008-05-15 Thread Sergey Podatelev
Hello, I have a custom error page BaseErrorPage: public class BaseErrorPage extends WebPage { private final static long serialVersionUID = 1L; public BaseErrorPage() { super(); } protected void configureResponse() { String acceptHeader =

Scheduler in wicket

2008-05-15 Thread adrienleroy
Hello, For the application that i am currently developing i need to schedule some task. I am planning to use quartz, but before starting to integrate it in my wicket's app i would like to know if anybody have used it or another scheduler with wicket. Thanks -- View this message in context:

Re: ErrorPage won't render

2008-05-15 Thread Johan Compagner
do you have more stacktrace like Cause : x On Thu, May 15, 2008 at 11:22 AM, Sergey Podatelev [EMAIL PROTECTED] wrote: Hello, I have a custom error page BaseErrorPage: public class BaseErrorPage extends WebPage { private final static long serialVersionUID = 1L; public

Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread Johan Compagner
so it seems a terracotta problem or config problem... What kind of session store are you using? On Thu, May 15, 2008 at 11:15 AM, richardwilko [EMAIL PROTECTED] wrote: Hi, I almost have clustering working now - thanks for all the help people have given me. However keep seeing page

Re: Scheduler in wicket

2008-05-15 Thread Wouter Huijnink
I am planning to use quartz, but before starting to integrate it in my wicket's app i would like to know if anybody have used it or another scheduler with wicket. we used Quartz, works like a charm. I wonder, though, what it has to do with Wicket - your scheduling probably (or rather:

Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread Johan Compagner
if you use terracotta you shouldnt use the default DiskPageStore i believe but revert back to the 1.2 httpsessionstore.. On Thu, May 15, 2008 at 11:28 AM, richardwilko [EMAIL PROTECTED] wrote: We are using the default session store, in that we haven't specified anything different. All

Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread richardwilko
We are using the default session store, in that we haven't specified anything different. All the pages are serizable and are clusterable by terracotta. The only difference in the clustered and non clustered app is that you have to use the terracotta session manager in jetty for terracotta to

Re: Scheduler in wicket

2008-05-15 Thread Jan Kriesten
hi, I am planning to use quartz, but before starting to integrate it in my wicket's app i would like to know if anybody have used it or another scheduler with wicket. quartz is a good choice - it just works (tm). best regards, --- jan.

after render using a behavior vs. override in the component

2008-05-15 Thread Eyal Golan
Hello, I have a MyButton that extends Button. I have a JavaScript that I need to ad to the output markup after the button's markup. I'm trying to do this with two differnet options: Either I Override onAfterRender in MyButton: @Override protected void onAfterRender() { if

Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread richardwilko
I still get the same behaviour with the httpsessionstore. the problem seems to be that the page isnt put in the page map, so when the ajax call is made to lazy load the panel it cant access the page its on. looking at the http session data in the terracotta admin console i see that the

Re: Scheduler in wicket

2008-05-15 Thread James Carman
On Thu, May 15, 2008 at 6:04 AM, Wouter Huijnink [EMAIL PROTECTED] wrote: I am planning to use quartz, but before starting to integrate it in my wicket's app i would like to know if anybody have used it or another scheduler with wicket. we used Quartz, works like a charm. I wonder, though,

Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread Johan Compagner
look at setAttribute then for the store It should be but into the session in the detach of the request. On Thu, May 15, 2008 at 12:30 PM, richardwilko [EMAIL PROTECTED] wrote: I still get the same behaviour with the httpsessionstore. the problem seems to be that the page isnt put in the

Re: ErrorPage won't render

2008-05-15 Thread Sergey Podatelev
The default stacktrace is listed below. Apparently, the error page won't load for the same reason original page wasn't loaded: Spring (which I also use) wants a Connection even for a page that does not require any database interaction. This question is also bothering me, and although this is a

Re: Scheduler in wicket

2008-05-15 Thread Cristi Manole
quartz, definitely... do look into spring + quartz. excellent control. Cristi On Thu, May 15, 2008 at 1:51 PM, Jan Kriesten [EMAIL PROTECTED] wrote: hi, I am planning to use quartz, but before starting to integrate it in my wicket's app i would like to know if anybody have used it or

Re: ErrorPage won't render

2008-05-15 Thread Johan Compagner
ok somehow spring does something Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link So are you using some spring thing there?

Re: after render using a behavior vs. override in the component

2008-05-15 Thread Johan Compagner
use a behavior that adds an onDocumentLoad/Ready script to the browser On Thu, May 15, 2008 at 12:35 PM, Eyal Golan [EMAIL PROTECTED] wrote: Hello, I have a MyButton that extends Button. I have a JavaScript that I need to ad to the output markup after the button's markup. I'm trying to do

using wicket to create dynamic chart

2008-05-15 Thread emee
Hello , I would like to use wicket to create a dynamic chart, I mean the values of my chart change in the time. I use googleChart to create my chart but it is a static chart and all the example I have with wicket to create static chart any idea how I can create a dynamic chart by using wicket ?

Re: using wicket to create dynamic chart

2008-05-15 Thread Eyal Golan
have you checked out JFreeChart ? Is not dynamic as a progress bar, but dynamic as the info changes. On Thu, May 15, 2008 at 3:12 PM, emee [EMAIL PROTECTED] wrote: Hello , I would like to use wicket to create a dynamic chart, I mean the values of my chart change in the time. I use

Re: after render using a behavior vs. override in the component

2008-05-15 Thread Eyal Golan
ok. thank, I'll try it (though I have never written JavaScript till a few days ago...) BTW, why is the difference between the overriding method and the behavior method? On Thu, May 15, 2008 at 2:52 PM, Johan Compagner [EMAIL PROTECTED] wrote: use a behavior that adds an onDocumentLoad/Ready

Re: after render using a behavior vs. override in the component

2008-05-15 Thread Johan Compagner
you can also do it on component public void renderHead(final HtmlHeaderContainer container) or let the component implement IHeaderContributor i guess that renderHead(final HtmlHeaderContainer container) shouldnt be public but more protected or final.. johan On Thu, May 15, 2008 at 2:44 PM,

Re: after render using a behavior vs. override in the component

2008-05-15 Thread Eyal Golan
thanks, that's exactly what I did. I add to my component (button) an AbstarctBehavior, which is an IHeaderContributor. I even override renderHead: @Override public void renderHead(IHeaderResponse response) { response.renderCSSReference(/eurekify/style/button/EurekifyButton.css);

Re: ErrorPage won't render

2008-05-15 Thread Sergey Podatelev
Yes, as I said in the previous message, I use SpringWebApplicationFactory. The problem, apparently, is that Spring wants to have a working database connection even when Wicket renders pages that doesn't access database in any way. Can Wicket handle a runtime exception like this? On Thu, May 15,

Swarm: Link authorization

2008-05-15 Thread Andrea Jahn
Hi, for every item in a table there's a delete link, which should be only visible for certain users. ProductAreaListPage.html: - tr wicket:id=productAreaTable class=list tdspan wicket:id=id[id]/span/td tdspan wicket:id=name[name]/span/td tdspan

wicket xml - add label as xml element atribute

2008-05-15 Thread Milan Křápek
Hi, I want to generate XML document using wicket but I have this problem. I want to generate something like root var name=a1/ var name=a2/ var name=a3/ otherStructure/ /root I decided to generate the var elements by ListView. This has some problem, because after rendering I have in

Re: after render using a behavior vs. override in the component

2008-05-15 Thread Johan Compagner
get the components markupid from the component itself. johan On Thu, May 15, 2008 at 3:03 PM, Eyal Golan [EMAIL PROTECTED] wrote: thanks, that's exactly what I did. I add to my component (button) an AbstarctBehavior, which is an IHeaderContributor. I even override renderHead:

Re: wicket xml - add label as xml element atribute

2008-05-15 Thread Michael Sparer
I generated my sitemap xml files using wicket, the xml is something like: ?xml version=1.0 encoding=UTF-8? urlset xmlns=http://www.sitemaps.org/schemas/sitemap/0.9; url wicket:id=urlList loc wicket:id=locNodehttp://www.example.com//loc lastmod

Re: ErrorPage won't render

2008-05-15 Thread Johan Compagner
why should wicket handle exceptions like that, what kind? what should wicket do then? you should just be sure that you always can create an error page, we cant help if that bombs out. johan On Thu, May 15, 2008 at 3:18 PM, Sergey Podatelev [EMAIL PROTECTED] wrote: Yes, as I said in the

Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread richardwilko
Ok, I've been playing around a bit more, and it turns out that this is not limited to when I do clustering with terrracotta, but happens when i run jetty normally. The page expired exception fires with this message Cannot find the rendered page in session

Re: Swarm: Link authorization

2008-05-15 Thread Maurice Marrink
Yes there are other solutions :) In this case you would use a DataPermission. Something like permission ${DataPermission} delete_product, enable; coupled with a DatasecurityCheck on your links like so: setSecurityCheck(new DataSecurityCheck(delete_product)); will do the trick. Maurice On Thu,

Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread Johan Compagner
if you dont use terra then you should use the DiskPageStore with that store getting page expires shouldnt happen as long as the http session is there. johan On Thu, May 15, 2008 at 3:55 PM, richardwilko [EMAIL PROTECTED] wrote: Ok, I've been playing around a bit more, and it turns out that

Re: wicket xml - add label as xml element atribute

2008-05-15 Thread Milan Křápek
Thanks, the XML code is fine, but I need to know how to do it in the .java file. It seems you just use Labels that fill the value of each node. But my problem is little bit different. What I want is to be able do set there some attribute. You have in your XML code: loc

Re: ErrorPage won't render

2008-05-15 Thread Maurice Marrink
On a side note: Don't forget to overwrite isErrorPage() to return true. Maurice On Thu, May 15, 2008 at 3:46 PM, Johan Compagner [EMAIL PROTECTED] wrote: why should wicket handle exceptions like that, what kind? what should wicket do then? you should just be sure that you always can create

Re: wicket xml - add label as xml element atribute

2008-05-15 Thread Maurice Marrink
You can use setEscapeModelStrings(false) to not escape special characters. attributemodifiers to add attributes to tags or use onComponentTag for this Maurice On Thu, May 15, 2008 at 4:05 PM, Milan Křápek [EMAIL PROTECTED] wrote: Thanks, the XML code is fine, but I need to know how to do it

Re: wicket xml - add label as xml element atribute

2008-05-15 Thread Michael Sparer
i see, try the following: WebComponent comp = new WebComponent(locNode); comp.add(new AttributeModifier(url, true, new Model(mylocation.com)); add(comp); with the markup eg. loc wicket:id=url / that should work Milan Křápek wrote: Thanks, the XML code is fine, but I need to know how

Re: Using generics with some non-generic classes in Wicket

2008-05-15 Thread Peter Ertl
this one will do: public X extends Component? void foo(ClassX clazz); however, the subtle differences between this and igors version are really hard to get. Am 15.05.2008 um 16:31 schrieb Igor Vaynberg: this is the usecase we are talking about. i get a compile error, which sucks.

Re: Using generics with some non-generic classes in Wicket

2008-05-15 Thread Igor Vaynberg
this is the usecase we are talking about. i get a compile error, which sucks. public class Test { public static void main(String[] args) { Foo foo = new FooImpl(); foo.foo(IntegerComponent.class); // ok foo.foo(Component.class); // compile error } public

Re: Using generics with some non-generic classes in Wicket

2008-05-15 Thread Johan Compagner
yes and those i already came across some in wicket i changed to ? and suddenly in extentions and/or examples compile errors all over the place... then i quickly turn it off again... (for now) johan On Thu, May 15, 2008 at 4:31 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: this is the usecase we

Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread richardwilko
right, non-clustered and httpsessionstore = exceptions non-clustered and default session store = no exceptions (as far as i can see) clustered and httpsessionstore = exceptions clustered and default session store = exceptions although our live site is running on a httpsessionstore (non

Re: Scheduler in wicket

2008-05-15 Thread aangenieux
We also use quartz with great success especially with wicket spring integration everything runs just fine! --Message d'origine-- De: Jan Kriesten À: users@wicket.apache.org Répondre à: users@wicket.apache.org Envoyé: 15 mai 2008 12:51 Objet: Re: Scheduler in wicket hi, I am planning

Re: Using generics with some non-generic classes in Wicket

2008-05-15 Thread Peter Ertl
taken from SUN's generic tutorial: http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf end of page 8 snip ::: interface CollectionE { public boolean containsAll(Collection? c); public boolean addAll(Collection? extends E c); } We could have used generic methods here instead: interface

Re: using wicket to create dynamic chart

2008-05-15 Thread Jonathan Locke
if you mean it changes in the browser after the page is finished loading, you are probably talking client-side technologies: JS, flash, applets, something like that. emee wrote: Hello , I would like to use wicket to create a dynamic chart, I mean the values of my chart change in the

Re: Scheduler in wicket

2008-05-15 Thread Eelco Hillenius
I am planning to use quartz, but before starting to integrate it in my wicket's app i would like to know if anybody have used it or another scheduler with wicket. we used Quartz, works like a charm. I wonder, though, what it has to do with Wicket - your scheduling probably (or rather:

RE: WicketStuff Dojo Tooltip - Question

2008-05-15 Thread Patel, Sanjay
has anybody worked on Wicket Dojo Tooltip? -Original Message- From: Patel, Sanjay [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 14, 2008 10:57 AM To: users@wicket.apache.org Subject: WicketStuff Dojo Tooltip - Question I used WicketStuff Dojo Tooltip in my one page and it works fine.

Re: RequiredBorder being applied multiple times in ajax calls

2008-05-15 Thread Sam Barnum
Gerolf, Thanks for the reply. WicketAjaxIndicatorAppender is a behavior, but my RequiredBorder is a border. It seems like there's got to be an easy answer to this that doesn't require a javascript hack. Here's what I think is happening: * The phone format is rendered on the first pass,

Re: RequiredBorder being applied multiple times in ajax calls

2008-05-15 Thread Sam Barnum
Matthew, we wrote the phone formatter in house. It's way too messy to share on here. If I were going to rewrite it, I'd use regex to: * Strip everything except [0-9x#] from the input * Everthing before the 'x' or '#' is the phone number, everything after is the extension * Count the number

Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread richardwilko
SOLVED! turns out that there are some new images being added to the page, but the image url had been messed up, specifically, was '', so when the page loads, instead of loading the image it makes a call to the home page, so instead of 20 images we get 20 calls to mydomain.com, this then messes

Re: Page expired using LazyLoadPanel and clustering

2008-05-15 Thread Eelco Hillenius
turns out that there are some new images being added to the page, but the image url had been messed up, specifically, was '', so when the page loads, Ugh, that's still a very tricky error it seems. I thought Igor recently checked something in for that, that at least prints a warning? I can't

Performance testing tools

2008-05-15 Thread John Patterson
Hi, This is really not related to wicket but I thought this might still be a good place to ask... I was wondering if anyone knows of a system independent way to performance test Java code in unit tests. I am thinking of something that might hook into the VM and count bytecode instructions or

Re: RequiredBorder being applied multiple times in ajax calls

2008-05-15 Thread Gerolf Seitz
On Thu, May 15, 2008 at 6:25 PM, Sam Barnum [EMAIL PROTECTED] wrote: * Somehow disable the border only for ajax calls Sam, I think you can do something like this in RequiredBorder#renderAfter: AjaxRequestTarget target = AjaxRequestTarget.get(); if (target == null) { // we're in a normal

Re: using wicket to create dynamic chart

2008-05-15 Thread Ryan Gravener
These look pretty nice for free: http://teethgrinder.co.uk/open-flash-chart/ On Thu, May 15, 2008 at 11:29 AM, Jonathan Locke [EMAIL PROTECTED] wrote: if you mean it changes in the browser after the page is finished loading, you are probably talking client-side technologies: JS, flash,

Re: Wicket Portlets in Liferay 5

2008-05-15 Thread Thijs Vonk
Hi Benjamin I'll see if I have some time left tomorrow, otherwise hopefully before next tuesday. Thijs Benjamin Ernst wrote: Hi Thijs, We are currently trying to integrate Liferay 5 with wicket 1.3. Can you give us the advise you offered? That would be very nice. Thank you in advance,

Re: using wicket to create dynamic chart

2008-05-15 Thread emee
i have test JFreeChart with wicket but it is not a dynamic image what do you mean about it a dynamic as the info changes? Eyal Golan wrote: have you checked out JFreeChart ? Is not dynamic as a progress bar, but dynamic as the info changes. On Thu, May 15, 2008 at 3:12 PM, emee [EMAIL

Back button retrieving cached data even with proper headers.

2008-05-15 Thread gumnaam23
My back button, doesn't send request back to the server. I can see that the proper cache invalidating headers are set by the response. This is happening on firefox and IE, and using either tomcat or jetty. Any clues ? -- View this message in context:

IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-15 Thread Hoover, William
For consistency sake, wouldn't it be wise to use IChoiceRenderer for RadioGroup and CheckBoxMultipleChoice? Seems like a natural solution to override IChoiceRenderer#getIdValue(...) to infer IDs for selection comparison the same way that it is being done in DropDownChoice. Otherwise, how else can

Re: using wicket to create dynamic chart

2008-05-15 Thread Paolo Di Tommaso
Pure JavaScript .. simple stunning! http://people.iola.dk/olau/flot/examples/graph-types.html // Paolo On Thu, May 15, 2008 at 9:11 PM, Ryan Gravener [EMAIL PROTECTED] wrote: These look pretty nice for free: http://teethgrinder.co.uk/open-flash-chart/ On Thu, May 15, 2008 at 11:29 AM,

Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-15 Thread Igor Vaynberg
checkboxmultiplechoice uses ichoicerenderer afaik, did you mean checkgroup? radiogroup/checkgroup work differently, they leave all text generation up to the user so no choice renderer is required. -igor On Thu, May 15, 2008 at 1:01 PM, Hoover, William [EMAIL PROTECTED] wrote: For consistency

Re: using wicket to create dynamic chart

2008-05-15 Thread emee
What do you mean I don’t understand ? paolo di tommaso wrote: Pure JavaScript .. simple stunning! http://people.iola.dk/olau/flot/examples/graph-types.html // Paolo On Thu, May 15, 2008 at 9:11 PM, Ryan Gravener [EMAIL PROTECTED] wrote: These look pretty nice for free:

RE: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-15 Thread Hoover, William
yes... sorry CheckGroup is what I meant. It seems as though RadioGroup/CheckGroup should also have the capability of using an IChoiceRenderer as well, right? One reason I was thinking that is if someone has a model object instance A that is a different instance than any of the choices in the list,

RE: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-15 Thread Hoover, William
I agree with your view on keeping Wicket from being bloated. What if the IChoiceRenderer was optional? If you provide it you have automation. If you do not it works as it does now. It's strange that that kind of functionality is provided when multiple selections is needed (i.e.

Account Activation Email generation and response processing: any design example?

2008-05-15 Thread Matthew Young
I need to implement the usual account activation via email function. Can anyone point me to some example of how this is implemented? If in Wicket even better but anything would help me a lot. One question I have is how to generate hard to guess unique keys in the email link? I use Hibernate

Re: Account Activation Email generation and response processing: any design example?

2008-05-15 Thread James Carman
java.util.UUID.randomUUID().toString() On Thu, May 15, 2008 at 6:57 PM, Matthew Young [EMAIL PROTECTED] wrote: I need to implement the usual account activation via email function. Can anyone point me to some example of how this is implemented? If in Wicket even better but anything would help

Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-15 Thread Igor Vaynberg
On Thu, May 15, 2008 at 3:12 PM, Hoover, William [EMAIL PROTECTED] wrote: It's strange that that kind of functionality is provided when multiple selections is needed (i.e. CheckBoxMultipleChoice), but it is not when only one choice is needed (i.e. RadioGroup/CheckGroup). CheckGroup is a

Thread safety for components

2008-05-15 Thread Michael Allan
I'm trying to get a handle on thread-safety for components. I'm new to Wicket. My best information, so far, comes from the previous discussion Wicket Session and threading: http://mail-archives.apache.org/mod_mbox/wicket-users/200801.mbox/thread Eelco Hillenius, in response to Sebastiaan van

Re: Account Activation Email generation and response processing: any design example?

2008-05-15 Thread Ryan Gravener
You may also want to have a enum/int to represent what kind of token it is. New user, new email, forgot password, etc.. On Thu, May 15, 2008 at 7:01 PM, James Carman [EMAIL PROTECTED] wrote: java.util.UUID.randomUUID().toString() On Thu, May 15, 2008 at 6:57 PM, Matthew Young [EMAIL

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-05-15 Thread Chris Lintz
Guys has this been resolved?? We have been having some customers complain as well (some sending screen shots of others peoples data as proof). Because our users click streams are available publically at their control, we had thought jsessionids occurring in the click stream were being

Re: Thread safety for components

2008-05-15 Thread Jonathan Locke
I'm not sure precisely what the current synchronization implementation is and there may be some edge cases that are not perfect, but the overall design is single-threaded, meaning you should not need to provide synchronization. Some requests, like image resources would potentially be handled in

Re: Account Activation Email generation and response processing: any design example?

2008-05-15 Thread Martin Makundi
You could also just use a md5 hashkey with content specific to the account: MessageDigest messageDigest = MessageDigest.getInstance(MD5); return new String(messageDigest.digest((encryptionKey + value).getBytes())); ** Martin 2008/5/16 Ryan Gravener [EMAIL PROTECTED]: You may

chaning background

2008-05-15 Thread Mathias P.W Nilsson
Hi! I want to change the background image and color on different wicket pages. All my pages inherits from a root page that is the master layout. How can this be done. I must have it like body,html{ background: . } so that I have browser compability. Right now I have this in a external

Re: chaning background

2008-05-15 Thread Mathias P.W Nilsson
Sorry... a little early. Not chaning, changing. I have looked at HeaderContributor() but that requires a css file and I want just to append like SimpleAttributeModifier but the html, body can't have the same id and If I add a wicket:id on body I get exception when extending the wicket page. --