Re: Wicket Date Field Validation

2009-06-17 Thread Matthias Keller
Rao Archana (HCTM/ETA) wrote: 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

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 = "^(\\d{

Re: Conversation scope in wicket

2009-06-17 Thread James Carman
I will. I'm just keeping notes on what all listeners I'd like to see. :) On Thu, Jun 18, 2009 at 1:08 AM, Igor Vaynberg wrote: > jira it up. > > -igor > > On Wed, Jun 17, 2009 at 9:44 PM, James > Carman wrote: >> On Thu, Jun 18, 2009 at 12:38 AM, Igor Vaynberg >> wrote: >>> >>> you are free to

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 Carman wrote: > On Thu, Jun 18, 2009 at 12:38 AM, Igor Vaynberg > 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 u

Re: Conversation scope in wicket

2009-06-17 Thread James Carman
On Thu, Jun 18, 2009 at 12:38 AM, Igor Vaynberg 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 wicket's scope. it

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 t

Re: Conversation scope in wicket

2009-06-17 Thread Joe Fawzy
Hiyou mean: injecting webbeans conversation component in wicket component at construction time this is only what we can achieve with webbeans, as wicket component cannot be webbeans components (wicket is unmanaged framework) my idea is about native conversation support, which enable wicket componen

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 wrote: > Hican this functionalit

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 l

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 = "^(\\d{

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 Levy 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 our > traffic is

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: org.wicketstuff inmethod-grid 1.4-SNAPSHOT But my project is a wicket app 1.3.6. The wicketstuff page says that it could work depending on the proyect. I would like to know if in the case o

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 ab

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 Fawzy 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 wrote: > >> if the scope of your conversation is a br

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- Von:

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 wrote: > 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

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 sinc

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 Knopp wrote: > Latest  release in 1.3 branch is 1.3.6. > > -Matej > > On Wed, Jun 17, 2009 at 8:48 PM, > rajendar.medishetty wrote: >> >

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 Fawzy 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 is a good soluti

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.medishetty 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 Knopp-2 wrote: >> >> What

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 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 wrote: > class mysession extends websesison { > priva

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 medishetty wrote: > Hi, > > In one of our application, we are facing session swapping problem when we > use DiskPageS

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 se

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 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 Java that no one els

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)

Re: Conversation scope in wicket

2009-06-17 Thread Igor Vaynberg
class mysession extends websesison { private map> coversations; public map getconversation(ipagemap pmap) { return conversations.get(pmap.getid()); } } -igor On Wed, Jun 17, 2009 at 10:29 AM, Joe Fawzy wrote: > Hi alli need to implement something like a conversation scope in wicket

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 elements, but t

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

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. ]]>*/ top: le

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: 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 : Hi Vasu. Thanks for the info. Now I get it, and have successfu

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 Model("")

Re: AjaxEventBehavior onclick for WebMarkupContainer Precondition Check

2009-06-17 Thread walnutmon
top: left: length: width: color: Martin Funk-3 wrote: > > ok, wrong wording on my side. > > i meant the html source of the page in the browser. > > mf > >

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 getFor

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: 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 deb

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"

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

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, a

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 [mailto:jcar...@c

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,

Help with Fragments

2009-06-17 Thread Chris
I'm Having trouble getting Fragments to work. Here is my markup DUDE you are lucky! If I add a fragment like this getBorder().add(new Fragment("showAllergies", "noAllergies", this)); I get this Error.. Unable to find component with id 'showAllergies' in [MarkupContainer [Componen

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 wrote: > Hi, > > is there one established way to genera

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: 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 It'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

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 : > 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 need > to define

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 Model("")); add(label); Form form = new Form("testForm"); AjaxButton button = new AjaxButton("

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, 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 10:1

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: 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 wrote: > Hi So this is the current status, what about future plans?,