Re: KonaKart shopping cart integration

2010-08-02 Thread Per Lundholm
When you wrote "shopping cart", I assumed it was only the widget which presents what the customer bought and some mechanism for keeping that in the session. KonaKart seems to be a lot more than that. /Per On Tue, Aug 3, 2010 at 2:35 AM, Steve Coughlan wrote: > I've been looking for a shopping ca

KonaKart shopping cart integration

2010-08-02 Thread Steve Coughlan
I've been looking for a shopping cart solution that I can properly integrate with wicket. There's been a few threads on this list where people have indicated they were building one but as far as I know nothing has ever eventuated. I don't really want to build to whole engine from scratch so I

Proposal: HierarchicConverterLocator, an IConverterLocator that adheres to the class hierarchy

2010-08-02 Thread spam2...@meeque.de
Hello Folks, Recently I came across a small shortcoming (IMHO) in the way Wicket's default IConverterLocator implementation handles inheritance. It seems that the ConverterLocator only returns an IConverter, if one is registered for the exact given Class. If such an IConverter is not present, it

Re: using cometd with threads

2010-08-02 Thread Rodolfo Hansen
You can get it from the ServletContext: getServletContext().getAttribute(BayeuxServer.ATTRIBUTE); On Mon, 2010-08-02 at 11:18 -0700, fachhoch wrote: > Please suggest me how to get Bayeux service in service layer , right now I > have in subclass of org.apache.wicket.protocol.http.Application

Re: Encrypt Form Fields Using JS

2010-08-02 Thread James Carman
Then it's not "encryption". Encrypted data should be readable to those who have the "key." On Mon, Aug 2, 2010 at 3:29 PM, wrote: > Thanks for the reply, that would work however per our business rules the > encryption must be one-way and will not be decrypted... > > > > > Igor Vaynberg > 08/02

using breadcrumbs in Wicket 1.4.9

2010-08-02 Thread Lawrence Sewell
My first Wicket application uses Wicket 1.4.9 and breadcrumbs where I need to go from: panel A / panel B / panel C to: panel A / panel B / panel D by selecting a submit button on a form in panel C, e.g. replace panel C (after processing the form) with panel D as the active

Re: How to access div on wicket modal dialog

2010-08-02 Thread Igor Vaynberg
thats what i do...save lives :) -igor On Mon, Aug 2, 2010 at 12:50 PM, zoran wrote: > > Igor, > > You save my life :) > >>if you are using a panel and the markup is rendered in the same window >>it means your script is probably running too early. > > That is exactly what was the problem. > > I a

Re: Encrypt Form Fields Using JS

2010-08-02 Thread MZemeck
The only thing I've come up with to meet all the requirements is to set the hashed value to a hidden field, and replace the original value (123-45-6789) with all nines (999-99-). This would allow the validator to pass but puts a requirement on the js to validate the original value, ie it s

Re: How to access div on wicket modal dialog

2010-08-02 Thread zoran
Igor, You save my life :) >if you are using a panel and the markup is rendered in the same window >it means your script is probably running too early. That is exactly what was the problem. I added response.renderOnDomReadyJavascript(js); In AbstractBehavior RenderHead method, and everythi

Re: Encrypt Form Fields Using JS

2010-08-02 Thread Igor Vaynberg
so how do you expect to validate on server side??? -igor On Mon, Aug 2, 2010 at 12:29 PM, wrote: > Thanks for the reply, that would work however per our business rules the > encryption must be one-way and will not be decrypted... > > > > > Igor Vaynberg > 08/02/2010 03:23 PM > Please respond t

Re: Error Hypothesis...

2010-08-02 Thread Martijn Dashorst
In Wicket Extensions we have an ajax upload field iirc. That should not block the pagemap... Martijn On Mon, Aug 2, 2010 at 4:35 PM, Johan Compagner wrote: > maybe do the actual upload through and iframe or something that has > its own pagemap? > > Or block the ui in the browser as long as the u

Re: Encrypt Form Fields Using JS

2010-08-02 Thread MZemeck
Thanks for the reply, that would work however per our business rules the encryption must be one-way and will not be decrypted... Igor Vaynberg 08/02/2010 03:23 PM Please respond to users@wicket.apache.org To users@wicket.apache.org cc Subject Re: Encrypt Form Fields Using JS overrid

Re: How to access div on wicket modal dialog

2010-08-02 Thread Igor Vaynberg
if you open a page inside modal then the markup is in a different window so you have to make sure your jquery script executes in the right window. if you are using a panel and the markup is rendered in the same window it means your script is probably running too early. -igor On Mon, Aug 2, 2010

Re: Encrypt Form Fields Using JS

2010-08-02 Thread Igor Vaynberg
override getinputasarray() on the field and decrypt it there, that way wicket sees the decrypted value -igor On Mon, Aug 2, 2010 at 12:14 PM, wrote: > I totally agree, seems like double-duty that accomplishes very little, and > actually adds overhead.  But this is another debate and the feature

Re: Encrypt Form Fields Using JS

2010-08-02 Thread MZemeck
I totally agree, seems like double-duty that accomplishes very little, and actually adds overhead. But this is another debate and the feature has been requested and must be implemented as I described... "Craig McIlwee" 08/02/2010 03:06 PM Please respond to users@wicket.apache.org To user

Re: Encrypt Form Fields Using JS

2010-08-02 Thread Craig McIlwee
Why not use a password field to keep the value hidden and SSL to make sure there are no man in the middle attacks. Seems like you are making it too hard? - Original Message - From: mzem...@osc.state.ny.us To: users@wicket.apache.org Sent: Mon, 02 Aug 2010 15:00:55 -0400 Subject: Encrypt

Encrypt Form Fields Using JS

2010-08-02 Thread MZemeck
Problem: Encrypt sensitive form fields (ie ssn) on client (javascript) Solution: Create behavior which fires javascript to hash field value and replace original value (###-##-) This sounds simple enough, but since the length of the hashed string will be considerably longer than the origina

Re: using cometd with threads

2010-08-02 Thread fachhoch
Please suggest me how to get Bayeux service in service layer , right now I have in subclass of org.apache.wicket.protocol.http.Application -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/using-cometd-with-threads-tp2310323p2310715.html Sent from the Wicket - Us

Re: using cometd with threads

2010-08-02 Thread Rodolfo Hansen
How are you getting the Bayeux service? It is alright to think of the Bayeux service as a messaging api, that jumps across your various layers (from the service to the javascript client). As long as you remember you can't trust the javascript clients (malicious users), you are fine. On Mon, 2010-

How to access div on wicket modal dialog

2010-08-02 Thread zoran
Hi, I'm using a wicket modal dialog with the panel that contains a div container like I want to access it from jQuery to create a jQuery UI slider like $("#slider").slider(); For some reason, this doesn't work. Is there some reason related to wicket that prevents this to find div container us

Re: WicketTester and Palette component

2010-08-02 Thread loic
Hi Kent, thanks a lot i will take a look a this Regards, Loic -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WicketTester-and-Palette-component-tp2306743p2310424.html Sent from the Wicket - User mailing list archive at Nabble.com. --

Re: using cometd with threads

2010-08-02 Thread fachhoch
but is it write to use web api in my service classes ? My job is in service layer as its a thread and web has nothing to do with , now I have to call web api (cometd api ) inside my service classes is this write ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.co

Re: using cometd with threads

2010-08-02 Thread Rodolfo Hansen
Yes, the code is designed to be thread safe. On Mon, 2010-08-02 at 07:15 -0700, fachhoch wrote: > I was looking into cometd , I tried the example it worked for me.I havea > new requirement , > I have to update a panel in my page if a job running seperately in a > thread has finished processi

Re: Form Component Border - on Submit

2010-08-02 Thread gmail
On the submit link's onclick event you must iterate the form fields and run the same script you do on the field's onblur event. kjarbr On 02.08.10 16.33, "cresc" wrote: > > I have implemented form component border to validate and show the error > messages inline just below the form componen

Re: Error Hypothesis...

2010-08-02 Thread James Carman
Thanks! I guess it's now a matter of telling the user "if you want to do stupid stuff like this, it's going to cost you X for us to code around it." I'm sure that should get them to stop what they're doing. :) On Mon, Aug 2, 2010 at 10:35 AM, Johan Compagner wrote: > maybe do the actual upload

Re: Error Hypothesis...

2010-08-02 Thread Johan Compagner
maybe do the actual upload through and iframe or something that has its own pagemap? Or block the ui in the browser as long as the upload is in progress (but then user can still do F5, but they should know that they should wait for it) You can also for example use a flash uploader to a servlet th

Re: Error Hypothesis...

2010-08-02 Thread James Carman
So, is there anything I can do to "fix" the problem (aside from hitting the user on the head and telling them not to do that again)? They keep getting the "application error" screen when they do that. On Mon, Aug 2, 2010 at 10:27 AM, Johan Compagner wrote: > yes that is most likely the case. > >

Re: Error Hypothesis...

2010-08-02 Thread Johan Compagner
yes that is most likely the case. On Mon, Aug 2, 2010 at 16:17, James Carman wrote: > I have a theory about what is causing this issue.  Just wanted to run it by > you guys.  In my log files, I first see this: > > org.apache.wicket.protocol.http.request.InvalidUrlException: > org.apache.wicket.

Error Hypothesis...

2010-08-02 Thread James Carman
I have a theory about what is causing this issue. Just wanted to run it by you guys. In my log files, I first see this: org.apache.wicket.protocol.http.request.InvalidUrlException: org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap null is still locked by: Thread[http-10080-Pro

using cometd with threads

2010-08-02 Thread fachhoch
I was looking into cometd , I tried the example it worked for me.I havea new requirement , I have to update a panel in my page if a job running seperately in a thread has finished processing. for example user clicks a link, this starts a job in a thread asychronously. This job might take

Re: How to Update contents of a child component?

2010-08-02 Thread Nivedan Nadaraj
Thanks guys for the input. Will give a yell when I have resolved it, thanks for the time. Reg Niv On Fri, Jul 30, 2010 at 7:54 PM, vov wrote: > > Do not forgot about setOutputMarkupPlaceholderTag(true) for your components > that initially as invisible. > And use AJAX...:) > -- > View this messa

Re: String not serializable exception coming for interned strings from Model with JRockit/Weblogic

2010-08-02 Thread Daniel Peters
Hello Janos, i have the excactlty the same problem with Wicket and JRockit R28. The only way to fix it, was to go back to JRockit R27. Hopefully they will fix it soon, the new R28.0.1 still has the problem. A collegue of mine will do a post in the Oracle forums now. regards Daniel On 08.07.20

SV: member variables, thread safety

2010-08-02 Thread Wilhelmsen Tor Iver
> Apologies for the dumb question but I'm rather new to wicket and was > wondering if it is safe to use member variables within components > (i.e. compared to servlets, struts1 actions etc). Mostly yes: The component instances are tied to the user's session via the pagemap. But be wary of excessi

member variables, thread safety

2010-08-02 Thread Emmanouil Batsis
Apologies for the dumb question but I'm rather new to wicket and was wondering if it is safe to use member variables within components (i.e. compared to servlets, struts1 actions etc). Many thanks, Manos -- Manos Batsis, Chief Technologist ___ _/ /_ (_)_ _

Re: Error "no application attached to current thread main" with AnnotApplicationContextMock

2010-08-02 Thread david_
I receive this exception also on method Application.get(); It happens on Tomcat after a redeploy. When I remove the "work" directory of Tomcat, and do a restart, the error is gone. 2010/8/2 Sam Grönblom [via Apache Wicket] < ml-node+2309949-1951419770-232...@n4.nabble.com > > On 07/29/2010 06:2

Re: Error "no application attached to current thread main" with AnnotApplicationContextMock

2010-08-02 Thread Sam Grönblom
On 07/29/2010 06:21 PM, Igor Vaynberg wrote: what version of wicket? -igor On Thu, Jul 29, 2010 at 1:54 AM, Sam Grönblom wrote: Getting this error when trying to use AnnotApplicationContextMock. Judging by the example shown in the latest javadocs: http://wicketbyexample.com/api/wicket-spr