Re: status of the PageMap

2009-06-17 Thread Johan Compagner
PageMaps cant currently be extended easily because the are created by the different ISessionStore implementations Because pagemap behavior is really bound to how a specific store works. On Wed, Jun 17, 2009 at 05:11, Joe Fawzy joewic...@gmail.com wrote: Hi So this is the current status, what

wicketstuff mini veil

2009-06-17 Thread Jing Ge (Besitec IT DEHAM)
Hallo, I have checked out the source code and taken a look at the class Veil. I found the following code: public void bind(Component component) { super.bind(component); if (component != null) {

RE: wicketstuff mini veil

2009-06-17 Thread Jing Ge (Besitec IT DEHAM)
Hello, Should it be: super.bind(component); if (this.component != null) { . } regards! Jing Ge -Original Message- From: Jing Ge (Besitec IT DEHAM) [mailto:j...@besitec.com] Sent: Mittwoch, 17. Juni 2009

ALT tags within an ImageMap

2009-06-17 Thread Frank Prins
Hi There All! Working with Wicket for a while now, and really starting to get hooked, great stuff! I am working on a user interface for an application, and ran into a (minor) thing, I hope someone can shine a light on this. In a shortcut menu, I am using an imagemap with a couple of links

RE: wicketstuff mini veil

2009-06-17 Thread Jing Ge (Besitec IT DEHAM)
Hello, After doing this change, the project can be compiled and run. But I get another problem. Here is my test code: final Label label = new Label(testLabel, new ModelString()); add(label); Form form = new Form(testForm); AjaxButton button = new

Re: Re: Re: Re: DAO not getting injected, using springbean

2009-06-17 Thread James Carman
Did you mark UserDAOHibernate with the @Repository annotation? 2009/6/16 Bruce McGuire br...@coastware.com: Hi Vasu. Thanks for the info. Now I get it, and have successfully wired my demo app so that it does the job. Although I did notice that along with the context:component-scan I did

Re: ALT tags within an ImageMap

2009-06-17 Thread James Carman
You might want to try my ClientSideImageMap class: https://issues.apache.org/jira/browse/WICKET-1936 https://issues.apache.org/jira/browse/WICKET-1936It's a bit more flexible than the existing implementation (and it'll support what you're wanting to do). The existing client side image map just

Creating a page hierarchy

2009-06-17 Thread Frank Tegtmeyer
Hi, is there one established way to generate a page hierarchy? Or some best practices? I like to have a website (also a dynamic one) organized in a hierarchical way like traditional static websites. This way users can go to their desired functionality quickly and may be able to even remember the

Re: Creating a page hierarchy

2009-06-17 Thread Nicolas Melendez
I think reflect site hierarchy to package hierarchy, is good idea because when the application is big, it is easy to find the panels. i always use like this. Application Module view NM On Wed, Jun 17, 2009 at 2:07 PM, Frank Tegtmeyer f...@fte.to wrote: Hi, is there one established way to

Help with Fragments

2009-06-17 Thread Chris
I'm Having trouble getting Fragments to work. Here is my markup span wicket:id=border class=mark span wicket:id=showAllergies / /span wicket:fragment wicket:id=noAllergies DUDE you are lucky! /wicket:fragment If I add a fragment like this getBorder().add(new Fragment(showAllergies,

AjaxEventBehavior onclick for WebMarkupContainer Precondition Check

2009-06-17 Thread Justin Boyd
All, I have a simple application where I can change the size, position, and color of a div within a page. When I click on the div I want some functionality to be performed, however the onclick event is never being returned to the server, and is instead intercepted and rejected by the javascript,

RE: ALT tags within an ImageMap

2009-06-17 Thread Frank Prins
Hey James, Thanks for the quick reply, will try this out later. I had hoped I didn't see some obvious setting and have it makde out of the box. But either way, your solution sounds good, and I will implement this later on. Frank -Original Message- From: James Carman

Re: AjaxEventBehavior onclick for WebMarkupContainer Precondition Check

2009-06-17 Thread Martin Funk
since the error is thrown on the browser side a dump of the generated html source might be more helpful. try http://papernapkin.org/pastebin/home for posting that dump mf Am 17.06.2009 um 15:58 schrieb Justin Boyd: All, I have a simple application where I can change the size, position,

ResourceReference not locale aware?

2009-06-17 Thread Roman Uhlig Maxity.de
I'm trying to load localized versions of an image with a ResourceReference. The javadoc says: The locale and/or style do not need to be set on a resource reference because those values will automatically be determined based on the context in which the resource is being used. Actually, it does

AjaxFormSubmitBehavior throws an NullPointerException when the getForm() is overridden

2009-06-17 Thread zoltan luspai
Hi, I have an AjaxFormSubmitBehavior where I don't pass the form parameter in the constructor, but have overridden the getForm() method to find the related form. (The form is not parent of the button this behavior is attached to, so can not be found by the behavior itself). When I click

Re: AjaxEventBehavior onclick for WebMarkupContainer Precondition Check

2009-06-17 Thread walnutmon
Martin, I actually don't know how to get that dump, i'm using firefox, the error I posted was from the AjaxDebugBox, any tips on getting the client side dump? I have firebug, but don't seem to see any JavaScript errors, although admittedly I don't know anything about using it for JavaScript

Re: AjaxEventBehavior onclick for WebMarkupContainer Precondition Check

2009-06-17 Thread Martin Funk
ok, wrong wording on my side. i meant the html source of the page in the browser. mf Am 17.06.2009 um 16:41 schrieb walnutmon: Martin, I actually don't know how to get that dump, i'm using firefox, the error I posted was from the AjaxDebugBox, any tips on getting the client side dump?

Re: AjaxFormSubmitBehavior throws an NullPointerException when the getForm() is overridden

2009-06-17 Thread Erik van Oosten
Please file an issue in Jira, preferably with a quickstart to demonstrate the problem. A patch would be even better of course. Regards, Erik. zoltan luspai wrote: Hi, I have an AjaxFormSubmitBehavior where I don't pass the form parameter in the constructor, but have overridden the

Re: AjaxEventBehavior onclick for WebMarkupContainer Precondition Check

2009-06-17 Thread walnutmon
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head title/title /head body form wicket:id=form top: input type=text wicket:id=top/br/ left: input type=text wicket:id=left/br/ length: input type=text

Re: wicketstuff mini veil

2009-06-17 Thread Warren Bell
I don't know about the mini veil, but shouldn't your label and button be set up something like this: In the class add a member that is your model string and then modify it in in the AjaxButton#onSubmit(...) String modelString = ... final Label label = new Label(testLabel, new ModelString()

Re: Re: Re: Re: Re: DAO not getting injected, using springbean

2009-06-17 Thread Bruce McGuire
Hi James. It turns out that I had 'userDAO' in one spot, and 'UserDAO' in another. Problem solved. Thanks, Bruce. James Carman wrote: Did you mark UserDAOHibernate with the @Repository annotation? 2009/6/16 Bruce McGuire br...@coastware.com: Hi Vasu. Thanks for the info. Now I get

Re: AjaxEventBehavior onclick for WebMarkupContainer Precondition Check

2009-06-17 Thread Martin Funk
close, but no cigar http://www.phrases.org.uk/meanings/close-but-no-cigar.html not the html of the component or page that you created in the ide. i think it might be helpful to see the html that the browser received. in firefox there ought to be a menu item like: View - show Sourcecode (i'm

Re: AjaxEventBehavior onclick for WebMarkupContainer Precondition Check

2009-06-17 Thread walnutmon
Close but no donut, copper. That occurred to me, but it was too late. The source doesn't seem to give much away, I do see the JavaScript on the Div though. !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head title/title script type=text/javascript

Conversation scope in wicket

2009-06-17 Thread Joe Fawzy
Hi alli need to implement something like a conversation scope in wicket i know that wicket is stateful by default and i can pass object o from page A - page B But if Object o in page A which - page B - page C - page D - page E and i need Object o in page E ,that will be very tedious to pass o all

Re: AjaxEventBehavior onclick for WebMarkupContainer Precondition Check

2009-06-17 Thread Martin Funk
hm... lets see, the JavaScript in the Browser complains since: function() {return Wicket.$('superDiv2') != null;}.bind(this)) returns false. (its the precondition) It returns false since there is no dom element with the id 'superDiv2' in the page. I assume its the id of the div elements,

Re: Conversation scope in wicket

2009-06-17 Thread Igor Vaynberg
class mysession extends websesison { private mapstring, mapobject,object coversations; public mapobject,object getconversation(ipagemap pmap) { return conversations.get(pmap.getid()); } } -igor On Wed, Jun 17, 2009 at 10:29 AM, Joe Fawzyjoewic...@gmail.com wrote: Hi alli need to

Re: AjaxEventBehavior onclick for WebMarkupContainer Precondition Check

2009-06-17 Thread walnutmon
For the record, the call to super.onComponentTag(tag) fixed the issue. Awesome catch Martin! Martin Funk-3 wrote: hm... lets see, the JavaScript in the Browser complains since: function() {return Wicket.$('superDiv2') != null;}.bind(this)) returns false. (its the precondition) It

Re: Wicket-like JavaScript Components

2009-06-17 Thread Paolo Di Tommaso
Say your boss to engage more java developers ;) -- p On Tue, Jun 16, 2009 at 9:23 PM, Dane Laverty danelave...@gmail.com wrote: I'm currently the only Java programmer on staff, and I'm already maintaining two Wicket applications, so my boss is concerned that if I start a third project in

Usage DiskPageStore causes Session Swapping

2009-06-17 Thread rajendar medishetty
Hi, In one of our application, we are facing session swapping problem when we use DiskPageStore and this problem doesn't occur if we use HttpSessionStore. Let me explain you in more detail. This is policy Enrollment Application, we use Spring, Hibernate and Wicket Frameworks. We are using JDK

Re: Usage DiskPageStore causes Session Swapping

2009-06-17 Thread Matej Knopp
What wicket version are you using? DiskPageStore has separate folder for each session so I don't really see why this would happen. -Matej On Wed, Jun 17, 2009 at 8:28 PM, rajendar medishettyrajendar.medishe...@gmail.com wrote: Hi, In one of our application, we are facing session swapping

Re: Conversation scope in wicket

2009-06-17 Thread Joe Fawzy
Hi dearthanks for the reply and for the code snippet But, do u think that using pageMap is reliable or what i mean , is using pageMap is a good solution or just a hack, work around thanks Joe On Wed, Jun 17, 2009 at 8:58 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: class mysession

Re: Usage DiskPageStore causes Session Swapping

2009-06-17 Thread rajendar.medishetty
Initially we were using Wicket 1.3.3 and sometime back I upgraded to Wicket 1.3.5. I'm able to produce the scenario with both wicket versions. Matej Knopp-2 wrote: What wicket version are you using? DiskPageStore has separate folder for each session so I don't really see why this would

Re: Conversation scope in wicket

2009-06-17 Thread Igor Vaynberg
if the scope of your conversation is a browser window then its the best choice. -igor On Wed, Jun 17, 2009 at 11:45 AM, Joe Fawzyjoewic...@gmail.com wrote: Hi dearthanks for the reply and for the code snippet But, do u think that using pageMap is reliable or what i mean , is using pageMap

Re: Usage DiskPageStore causes Session Swapping

2009-06-17 Thread Martijn Dashorst
I think we squashed a lingering thread local in 1.3.6 during request detaching, which could cause this to happen. Martijn On Wed, Jun 17, 2009 at 8:52 PM, Matej Knoppmatej.kn...@gmail.com wrote: Latest  release in 1.3 branch is 1.3.6. -Matej On Wed, Jun 17, 2009 at 8:48 PM,

Re: AjaxEventBehavior onclick for WebMarkupContainer Precondition Check

2009-06-17 Thread Martin Funk
Am 17.06.2009 um 20:15 schrieb walnutmon: For the record, the call to super.onComponentTag(tag) fixed the issue. Awesome catch Martin! Thank you, your welcome. (and not to forget, I had my fun too) mf Martin Funk-3 wrote: hm... lets see, the JavaScript in the Browser complains

Re: Conversation scope in wicket

2009-06-17 Thread Joe Fawzy
thanks dearwill wicket continue to support pageMap beyond 1.4 or it is now a deprecated feature? thanks Joe On Wed, Jun 17, 2009 at 9:56 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: if the scope of your conversation is a browser window then its the best choice. -igor On Wed, Jun 17,

RE: 1.4 trunk broken?

2009-06-17 Thread Stefan Lindner
The problem occurs when I klicked around on a page an then deploy a new version of the app. When I klick on a page link now then the error occurs. In former trunk versions and all former wicket version I was redirected to the application's homepage. Stefan -Ursprüngliche Nachricht-

Re: Usage DiskPageStore causes Session Swapping

2009-06-17 Thread Matej Knopp
Latest release in 1.3 branch is 1.3.6. -Matej On Wed, Jun 17, 2009 at 8:48 PM, rajendar.medishettyrajendar.medishe...@gmail.com wrote: Initially we were using Wicket 1.3.3 and sometime back I upgraded to Wicket 1.3.5. I'm able to produce the scenario with both wicket versions. Matej

Re: Conversation scope in wicket

2009-06-17 Thread Igor Vaynberg
only time will tell -igor On Wed, Jun 17, 2009 at 11:59 AM, Joe Fawzyjoewic...@gmail.com wrote: thanks dearwill wicket continue to support pageMap beyond 1.4 or it is now a deprecated feature? thanks Joe On Wed, Jun 17, 2009 at 9:56 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: if the

Re: Apache Logs, Session IDs, and PageExpiredException

2009-06-17 Thread Jeremy Levy
We see a very similar issue: Between one request to another that happen within a matter of seconds / minutes the sessionid disappears. A lot of our traffic is mobile so I assume some of it is crappy browser implementation. We have not been able to reproduce it any meaningful way. We have been

inmethod trunk for a wicket app 1.3.6

2009-06-17 Thread Fernando Wermus
Hi all, I put the following dependence in my pom: dependency groupIdorg.wicketstuff/groupId artifactIdinmethod-grid/artifactId version1.4-SNAPSHOT/version /dependency But my project is a wicket app 1.3.6. The wicketstuff page says that it

Re: Apache Logs, Session IDs, and PageExpiredException

2009-06-17 Thread Igor Vaynberg
if your servlet container loses the session there isnt much we can do -igor On Wed, Jun 17, 2009 at 2:55 PM, Jeremy Levyjel...@gmail.com wrote: We see a very similar issue: Between one request to another that happen within a matter of seconds / minutes the sessionid disappears.  A lot of

Wicket Date Field Validation

2009-06-17 Thread Rao Archana (HCTM/ETA)
Hi, I am working on date fields and have problems with the validation. I have referred to the link below which helped me. http://www.nabble.com/Strict-4-digit-year-for-DateTextField--td18656889. html So I have subclassed the PatternDateConverter and have set the pattern as, dateFormat =

Re: Conversation scope in wicket

2009-06-17 Thread Joe Fawzy
Hican this functionality added to the standard wicket? actually much of seam popularity came from supporting conversation scope..., so i think that adding explicit wicket support will have momentum i think that having just a store for conversation objects will be a good begin then we may add apis

Re: Conversation scope in wicket

2009-06-17 Thread James Carman
There are a few folks working on implementing JSR-299 support for Wicket, which would provide support for conversation-scoped beans. I'm working on one currently and I believe that the jboss folks have one working too. On Thu, Jun 18, 2009 at 12:08 AM, Joe Fawzy joewic...@gmail.com wrote:

Re: Conversation scope in wicket

2009-06-17 Thread Igor Vaynberg
you are free to implement this as an open source addition to wicket. there is wicketstuff or googlecode or sf.net where you can host it. wicket is a ui framework and conversational scope management falls outside wicket's scope. it is our job to provide the hooks to make such things possible, not

Re: Conversation scope in wicket

2009-06-17 Thread James Carman
On Thu, Jun 18, 2009 at 12:38 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: you are free to implement this as an open source addition to wicket. there is wicketstuff or googlecode or sf.net where you can host it. wicket is a ui framework and conversational scope management falls outside

Re: Conversation scope in wicket

2009-06-17 Thread Igor Vaynberg
jira it up. -igor On Wed, Jun 17, 2009 at 9:44 PM, James Carmanjcar...@carmanconsulting.com wrote: On Thu, Jun 18, 2009 at 12:38 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: you are free to implement this as an open source addition to wicket. there is wicketstuff or googlecode or