AW: AW: AW: wicket on java server

2009-06-11 Thread Dorothée Giernoth
Thnx guys, I will look into this ... I'll also see whether jetty would work. Hopefully I can avoid it that we re-invent the wheel ... or maybe not *g* -Ursprüngliche Nachricht- Von: Luther Baker [mailto:lutherba...@gmail.com] Gesendet: Donnerstag, 11. Juni 2009 07:11 An:

Re: AW: AW: wicket on java server

2009-06-11 Thread nino martinez wael
In my surprisement on the topic I forgot to answer the question.. I guess it really depends on what kind of servlet spec your java server are living up to.. 2.3 or 2.4 should work, but I dont know much about what wicket requires... 2009/6/11 Dorothée Giernoth dorothee.giern...@kds-kg.de: Thnx

Re: spring dojo or wicket for 508 application

2009-06-11 Thread Korbinian Bachl - privat
dumb question: what is 508? tubin gen schrieb: My application must be 508 , we are using wicket , recentlyheard spring dojo , or spring dwr provides rich UI and ajax support and its 90% 508 complaint is that true ? Please suggest us If we should go with spring dojo or wicket ?

Re: spring dojo or wicket for 508 application

2009-06-11 Thread Martin Funk
how about: http://www.google.com/#hl=enq=508aq=foq=aqi=g10fp=JchEd6hFBSg Thnx to google I'm only half as dumb as I used to be. Cheers Korbinian whiskyworld.de Bachl :-) mf Am 11.06.2009 um 10:46 schrieb Korbinian Bachl - privat: dumb question: what is 508? tubin gen schrieb: My

Re: AjaxLink and Form Validation

2009-06-11 Thread Erik van Oosten
Ok. I looked further in the thread. I am not sure what goes wrong, but I think you should call setdefaultformprocessing(false) on the uncheckall AjaxSubmitLink. Otherwise the onSubmit of that button is only called when validation succeeded. If that doesn't work, just create a quickstart

Re: AW: inserting urls in script variables

2009-06-11 Thread Bas Vroling
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 that as input... I tried being smart and did this (please correct me if this is nonsense): add(new WebMarkupContainer(filename).add(new

Re: spring dojo or wicket for 508 application

2009-06-11 Thread Korbinian Bachl - privat
hmmm... german google tells me a different list ;) but ty anyway Martin Funk schrieb: how about: http://www.google.com/#hl=enq=508aq=foq=aqi=g10fp=JchEd6hFBSg Thnx to google I'm only half as dumb as I used to be. Cheers Korbinian whiskyworld.de Bachl :-) mf Am 11.06.2009 um 10:46 schrieb

session expires after closing modalwindow?

2009-06-11 Thread Bas Vroling
When I open a modalwindow on a page and then close it, the page from which the modal window was opened does not come back but instead wicket shows a session expired error message. How can this be? The modalwindow does nothing fancy, it just displays some text.

Re: session expires after closing modalwindow?

2009-06-11 Thread Matej Knopp
Any exception in your log? What wicket version do you use? -Matej On Thu, Jun 11, 2009 at 1:08 PM, Bas Vrolingbvrol...@cmbi.ru.nl wrote: When I open a modalwindow on a page and then close it, the page from which the modal window was opened does not come back but instead wicket shows a session

Re: session expires after closing modalwindow?

2009-06-11 Thread Bas Vroling
I'm using 1.4-SNAPSHOT, but I also got this behavior with 1.4-RC4 This is what the requestlogger says: INFO - RequestLogger - time=0,event=Interface[target:Help $Sequence(), page: nl.ru.cmbi.mcsis.web.help.Help$Sequence(13), interface:

refresh page

2009-06-11 Thread Luther Baker
If I add a few values to a page div ala an Ajax button - and the user hits refresh on the page, the new values I've added go away. The user is completing a form - but hasn't formally submitted the form yet - so there is nothing stored in the database yet. The browser naturally re-renders the

AW: refresh page

2009-06-11 Thread Dorothée Giernoth
Hmm, is that possible ... you can't like store session-data in the browser, do you? You can only store session-details in the database on the fly with ajax while the user still fills out the form to allow the user to re-create the session on next login or something like this if he accidently

Re: refresh page

2009-06-11 Thread Luther Baker
I think you're right - I would need to use the Session or the Database on each Ajax invocation to add these values. But it also seems that if I store the new, dynamic, page specific values into a TextField (as opposed to a div) - they survive a page refresh. I'm not sure if that is robust or

Re: session expires after closing modalwindow?

2009-06-11 Thread Matej Knopp
Does it help when you clean cookies? -Matej On Thu, Jun 11, 2009 at 1:15 PM, Bas Vrolingbvrol...@cmbi.ru.nl wrote: I'm using 1.4-SNAPSHOT, but I also got this behavior with 1.4-RC4 This is what the requestlogger says: INFO  - RequestLogger              -

Re: session expires after closing modalwindow?

2009-06-11 Thread Bas Vroling
Good tip, I do get a lot of other errors now :) On 11 Jun, at 14:17, Matej Knopp wrote: Does it help when you clean cookies? -Matej On Thu, Jun 11, 2009 at 1:15 PM, Bas Vrolingbvrol...@cmbi.ru.nl wrote: I'm using 1.4-SNAPSHOT, but I also got this behavior with 1.4-RC4 This is what the

Re: refresh page

2009-06-11 Thread Luther Baker
So it turns out I'm going to want to display these values as a list ul ... li etc. My 'input' approach won't be adequate. Back to the Session idea ... (smells already). WIA has a security chapter that goes into storing a User in session - but does anyone have a good resource that dives a bit

AW: refresh page

2009-06-11 Thread Dorothée Giernoth
I dunno if I understand correctly, but how about constantly saving a session-state user-specific in a database as soon as a component loses the focus? If the site is refreshed, the session-id would be still valid and the pre-refresh-session-state can be loaded? After the user logs out

Re: refresh page

2009-06-11 Thread Michael O'Cleirigh
Hi Luther, If I add a few values to a page div ala an Ajax button - and the user hits refresh on the page, the new values I've added go away. The user is completing a form - but hasn't formally submitted the form yet - so there is nothing stored in the database yet. The browser naturally

Re: refresh page

2009-06-11 Thread Nicolas Melendez
Hi, i would use the Session, but also use it as a Context. Context should be coded. So you use the context in your page, and the context use the Session to store data. I don't think using the database is good idea. NM 2009/6/11 Dorothée Giernoth dorothee.giern...@kds-kg.de I dunno if I

changing choices component in Palette

2009-06-11 Thread Eyal Golan
Hi, I have a situation that I want to change possible choices in a palette according to a DropDown. I added to the DropDown the Ajax Updating add(new AjaxFormComponentUpdatingBehavior(onchange) {...} I have this palette: final CustomPalette palette = new CustomPalette(palette, new

Re: refresh page

2009-06-11 Thread Igor Vaynberg
sounds like ajax mods to a bookmarkable page... mount the page with hybridurlcodingstrategy and your problems will go away. -igor On Thu, Jun 11, 2009 at 4:26 AM, Luther Bakerlutherba...@gmail.com wrote: If I add a few values to a page div ala an Ajax button - and the user hits refresh on the

Apache Logs, Session IDs, and PageExpiredException

2009-06-11 Thread Dane Laverty
I'm trying to track down the source of frequent PageExpiredExceptions that we're getting on our deployment server. One of the errors occured at 01:28:06 this morning. In the Apache logs, I discovered that the user's session ID spontaneously changed at that time, (see the change between lines 4 5

Re: Apache Logs, Session IDs, and PageExpiredException

2009-06-11 Thread Igor Vaynberg
yes, a changing sessionid will cause a page expired error because the client all of a sudden gets a new blank session. changing session ids can be caused by either session expiration or a manual session invalidation - like during a logout procedure. you have to figure out what causes the session

Radio group selection not being saved if page submit fails due to validation errors...

2009-06-11 Thread Jen Van Orman
Hello everyone, I have a radio group and if the form validation fails on submit, the selection is lost. When the page re-renders, the bound value is null. How can I insure that the selected value is retained if form validation fails? Thanks much for your help, Jen Van Orman -- Quis

Re: Radio group selection not being saved if page submit fails due to validation errors...

2009-06-11 Thread Jen Van Orman
Radios are in a listview, and I will try setreuseitems(true). Thank you! Jen On Thu, Jun 11, 2009 at 12:47 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: are radios in a listview? did you call setreuseitems(true)? -igor On Thu, Jun 11, 2009 at 11:42 AM, Jen Van Ormanjvanor...@gmail.com

Re: Radio group selection not being saved if page submit fails due to validation errors...

2009-06-11 Thread Igor Vaynberg
are radios in a listview? did you call setreuseitems(true)? -igor On Thu, Jun 11, 2009 at 11:42 AM, Jen Van Ormanjvanor...@gmail.com wrote: Hello everyone, I have a radio group and if the form validation fails on submit, the selection is lost.  When the page re-renders, the bound value is

Re: Radio group selection not being saved if page submit fails due to validation errors...

2009-06-11 Thread Jen Van Orman
Thank you! setReuseItems(true) was the ticket! Can you please explain the wicket concept behind this feature? It seems that most other input types automatically retain information if the page is rerendered; How is the radio button different? Just trying to understand for future reference!

Re: Apache Logs, Session IDs, and PageExpiredException

2009-06-11 Thread Jason Lea
I notice there are some secure requests there (https)... so I will now blindly assume you are having the same problem I had in the past... I had a problem with session ids changing when trying to swtich between secure/insecure pages. If your first request to a tomcat server is secure, and a

Re: Radio group selection not being saved if page submit fails due to validation errors...

2009-06-11 Thread Igor Vaynberg
the problem is not the radiogroup, it is the listview. listview has a section in its javadoc that talks about this - have a look there first and feel free to come back here with any further questions. -igor On Thu, Jun 11, 2009 at 12:47 PM, Jen Van Ormanjvanor...@gmail.com wrote: Thank you!  

Re: Apache Logs, Session IDs, and PageExpiredException

2009-06-11 Thread Igor Vaynberg
good catch Jason. We have also ran into this when implementing wicket's @RequireHttps annotation, there is a javadoc section in HttpsRequestCycleProtocol that talks about this cookie pain. -igor On Thu, Jun 11, 2009 at 1:03 PM, Jason Leaja...@kumachan.net.nz wrote: I notice there are some

Re: Radio group selection not being saved if page submit fails due to validation errors...

2009-06-11 Thread Jen Van Orman
Igor, Thank you; this makes sense now, it was a matter of getting straightened out on the real problem (the list view) instead of focusing on the radio group as the problem. I appreciate your help very much! Jen P.S. And it always helps to look at the most recent version of the javadoc ;) On

Re: Apache Logs, Session IDs, and PageExpiredException

2009-06-11 Thread Dane Laverty
Thanks for pointing that out. I've tried some other changes, so I'll wait and see how they work out. However, if the problem persists I'll look into the possibility of it being an HTTPS-related issue. That line of reasoning hadn't ever occurred to me. Dane On Thu, Jun 11, 2009 at 1:09 PM, Igor

Re: getting started with swarm/wasp - rendering links to secure pages

2009-06-11 Thread Christopher L Merrill
Warren Bell wrote: Try securing the link on your HomePage and do not secure the HomePage itself. The link has to implement ISecureComponent. Warren, I've followed your suggestion but the link is still rendering, so I'm still missing something. First, I made my own component MyPageLink that

Re: Wizard, checkGroup and check

2009-06-11 Thread Fernando Wermus
Hi, Finally I got solved the problem and I wanna share with you. My checkgroup in the wizard panel werent setting up the setReuseItem in the ListView It was hard to realize but I get it. On Thu, May 14, 2009 at 9:17 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Please file a

Re: getting started with swarm/wasp - rendering links to secure pages

2009-06-11 Thread Christopher L Merrill
Now I'm embarrassed for posting that question. I see there is a SecurePageLink class that already does that I need...and I see from that source how I can create the LinkSecurityCheck if I wanted to do it myself. Thanks Warren! I've got it working now. Like everything else in Wicket, that was

Re: AW: inserting urls in script variables

2009-06-11 Thread Jeremy Thomerson
Look at the source - it has getURL which is a protected method. If you really can't figure out how to use urlFor(...) from the source - then override getURL as such: public CharSequence getURL() { return super.getURL(); } Make it public and use it to get the URL. You can ascertain all of this

[OFF TOPIC] Java desktop applications

2009-06-11 Thread Jeremy Thomerson
I would like to build a nice-looking java desktop application. I hope that isn't an oxymoron :). I have built some desktop apps before - a lot of command line utilities in various languages, and some GUI apps (perl, java, python, php, even vb (yikes!), c# etc...). The question is - what

Re: [OFF TOPIC] Java desktop applications

2009-06-11 Thread Igor Vaynberg
ive done 4 before. it worked great, and has the added bonus of running on the entire lan instead of a single desktop. -igor On Thu, Jun 11, 2009 at 2:54 PM, Jeremy Thomersonjer...@wickettraining.com wrote: I would like to build a nice-looking java desktop application.  I hope that isn't an

Re: [OFF TOPIC] Java desktop applications

2009-06-11 Thread John Armstrong
I do a lot of swing using matisse for visual layout and it works fantastic. I then use install4j and create os native looking apps and installers with full os hinting etc (start menu etc). Bummer is it that matisse is only windows compat. Matisse is bundled in myeclipseide which I feel is

Re: [OFF TOPIC] Java desktop applications

2009-06-11 Thread Major Péter
I didn't actually used it, but this could be helpful for you: http://www.jformdesigner.com/ Peter 2009-06-11 23:54 keltezéssel, Jeremy Thomerson írta: I would like to build a nice-looking java desktop application. I hope that isn't an oxymoron :). I have built some desktop apps before - a

Re: [OFF TOPIC] Java desktop applications

2009-06-11 Thread Tonio Caputo
Well really OFF-TOPIC: I've deal sometime with SWING layout, and it's difficult. My last experience (a couple of years ago) was with a new layout, only available on JAVA 6 (it can be added to java 5), of which I can't remember the name., GroupLayout or something similar. At that time the only

Re: [OFF TOPIC] Java desktop applications

2009-06-11 Thread Jeremy Thomerson
Also - has anyone looked at Spring Rich Client [1]? I used a very early version of it once a couple years ago for a very small project, but have not dealt with it since. I'm also not sure if it will continue to be supported since it hasn't been released or updated in over a year. [1] -

RE: WicketjQuery, 0.3.0

2009-06-11 Thread Stefan Lindner
Fixed in 0.3.1 + added another ToolTip library -Ursprüngliche Nachricht- Von: Stefan Jozsa [mailto:stefan_...@yahoo.com] Gesendet: Mittwoch, 10. Juni 2009 18:17 An: Stefan Lindner Betreff: WicketjQuery, 0.3.0 Hi Stefan, Yes, the new version works ! Thanks. I downloaded (right now)

Re: [OFF TOPIC] Java desktop applications

2009-06-11 Thread James Carman
Jide is very nice, if you want to pay for something. Their licenses are very reasonable. On Thu, Jun 11, 2009 at 5: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 some

Re: [OFF TOPIC] Java desktop applications

2009-06-11 Thread Ben Tilford
Take a look at Griffon On Thu, Jun 11, 2009 at 8:18 PM, James Carman jcar...@carmanconsulting.comwrote: Jide is very nice, if you want to pay for something. Their licenses are very reasonable. On Thu, Jun 11, 2009 at 5:54 PM, Jeremy Thomersonjer...@wickettraining.com wrote: I would like

Re: [OFF TOPIC] Java desktop applications

2009-06-11 Thread Martin Makundi
Well really OFF-TOPIC: I've deal sometime with SWING layout, and it's difficult. I would recommend using Instantiations' WindowBuilder http://www.instantiations.com/windowbuilder/ It has a lot of featues that automate painting Swing layouts. Snap-to-position, align, etc. with your scalable

Re: changing choices component in Palette

2009-06-11 Thread Eyal Golan
BTW, we use Wicket 1.3.6 I will try to rephrase my original question: why are getChoicesComponent and ‪getSelectionComponent()‬ private? Can I add a Wish in Jira to make them public? Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn:

Re: [OFF TOPIC] Java desktop applications

2009-06-11 Thread Jade
Java FX may be one, I am not sure of the look and feel or how better it is from swing though. As far as RIA(Rich Internet Applications) you could go for Adobe Flex, GWT. I am sure Flex can be used for standalone applications, I am not sure about GWT - but worth a look if its possible. On Fri,

Re: [OFF TOPIC] Java desktop applications

2009-06-11 Thread Jon Laidler
Netbeans v6.5 Windows and Linux version is bundled with a GUI builder, earlier version of Netbeans used Matisse. John Armstrong-3 wrote: I do a lot of swing using matisse for visual layout and it works fantastic. I then use install4j and create os native looking apps and installers with