RE: Help with integrating NTLM in wicket application

2010-03-22 Thread Juan Carlos Garcia M.
You can try http://jcifs.samba.org/ for NTLM authentication, i have used it in the past and it just works. jchappelle wrote: Bryan, We have an NTLMPage that we redirect the browser to. If there is no authorization header this is what we do. String auth =

Re: [wicket] Load Testing Wicket Applications

2010-01-29 Thread Juan Carlos Garcia M.
What about using BadBoy App for recording and then exporting the recorded test suite into a JMeter Script for load testing your application: http://www.badboy.com.au/ nino martinez wael wrote: I think it will be hard, because there are so many options for everything. I mean for that kind

Re: [wicket] Load Testing Wicket Applications

2010-01-29 Thread Juan Carlos Garcia M.
? What does badboy bring to the game? http://www.exforsys.com/tutorials/jmeter/using-http-proxy-server-to-record-page-requests.html 2010/1/29 Juan Carlos Garcia M. jcgarc...@gmail.com What about using BadBoy App for recording and then exporting the recorded test suite into a JMeter Script

Re: Accessing Page components

2009-12-17 Thread Juan Carlos Garcia M.
Pieter, passing the [*final *Link link = new Link();] object to the anonymous AjaxSubmitLink will Serialize the the link object itself. why not using the form.getModelObject() from the form parameter in ajaxsubmitl...@onsubmit()? *new LinkDAO().save(form.getModelObject())*; Pieter

Re: Accessing Page components

2009-12-17 Thread Juan Carlos Garcia M.
Totally right! :) Pieter Degraeuwe wrote: It is indeed a better (more proper) way to do it your way, but the Link object will be serialized as well, since it is not a DetachableLoadableModel if I'm not mistaking... On Thu, Dec 17, 2009 at 6:15 PM, Juan Carlos Garcia M. jcgarc

Re: Parameterized Component

2009-12-15 Thread Juan Carlos Garcia M.
Johan, Can you elaborate more on that please? What is this new solution? Johan Compagner wrote: so you where talking about property models in general (not the compound) We have a solution for that now On Tue, Dec 15, 2009 at 11:25, Martin Makundi martin.maku...@koodaripalvelut.com

Re: Apache Wicket 1.4 takes type safety to the next level

2009-07-30 Thread Juan Carlos Garcia M.
Congratulations to the Wicket Team, and everyone who contributed to make this happens. Thanks for this great Framework. Carl-Eric Menzel-5 wrote: On Thu, 30 Jul 2009 12:54:29 +0200 Martijn Dashorst dasho...@apache.org wrote: The Apache Wicket project is proud to announce the release of

Re: AjaxUpdate FeedbackPanel And window.open popup

2009-07-12 Thread Juan Carlos Garcia M.
Hi, You can append a javascript to the AjaxRequestTarget something like: ajaxRequestTarget.add(myPanelToUpdate); ajaxRequestTarget.appendJavascript(alert('hello');); Check: http://www.mkyong.com/wicket/how-to-call-javscript-after-ajax-update-wicket/ Hope this is what you looking for.

Re: Detaching and ModalWindow causes race condition

2009-07-08 Thread Juan Carlos Garcia M.
@Martijn, did came up with a solution to this. I'll be glad to hear it. Thanks Per Lundholm wrote: Oh, that is a good one. You could make it a modal window. After a while that window (I assume) would get to contain more and more settings. Then all of a sudden, the last setting you

Re: Detaching and ModalWindow causes race condition

2009-07-08 Thread Juan Carlos Garcia M.
@Martijn, did you came up with a solution to this. I'll be glad to hear it. Juan Carlos Garcia M. wrote: @Martijn, did came up with a solution to this. I'll be glad to hear it. Thanks Per Lundholm wrote: Oh, that is a good one. You could make it a modal window. After a while

Re: Trying to add string literal to Javascript for Google Analytics

2009-06-22 Thread Juan Carlos Garcia M.
Have you Try using a http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/util/template/TextTemplateHeaderContributor.html HeaderContribution , factoring out that JavaScript into a separate .js and then do variable Interpolation. See the following example at

Re: JDeveloper - Can I get a show of hands?

2009-06-19 Thread Juan Carlos Garcia M.
I always thought God used only in LISP :) Nicolas Melendez wrote: god used Eclipse 1.0 to develop universe. NM Software Developer - Buenos aires, Argentina. On Fri, Jun 19, 2009 at 5:44 PM, Martijn Reuvers martijn.reuv...@gmail.comwrote: You might want to try Netbeans for UML

Re: Wicket-like JavaScript Components

2009-06-15 Thread Juan Carlos Garcia M.
Have you take a look at http://extjs.com/ http://extjs.com/ insom wrote: I'm working on a small project where I'm limited to using only JavaScript. I love the Wicket programming model, especially reusable components. Is anyone aware of a JavaScript framework or JavaScript techniques

Re: how to avoid multiple session for the same username

2009-06-12 Thread Juan Carlos Garcia M.
Also attach some HttpSessionListener to your web application in order to remove old sessions from the database whenever they get destroyed and prevent that table for growing without control. Jeremy Thomerson-5 wrote: Store the session ID in your DB whenever someone signs in. Then if

Re: how to avoid multiple session for the same username

2009-06-12 Thread Juan Carlos Garcia M.
You're right i got confused, probably was thinking on something else when i replied. =) Thanks Jeremy Thomerson-5 wrote: it wouldn't need to grow - it could be a single column in the users table - next to userid. -- Jeremy Thomerson http://www.wickettraining.com On Fri,

Re: Problem with Maven archetype, Eclipse Classpath and jetty:run

2009-05-26 Thread Juan Carlos Garcia M.
The first problem you mention is due to a change in how the maven eclipse plugins works, documented as a bug in: http://www.mail-archive.com/d...@maven.apache.org/msg80176.html http://www.mail-archive.com/d...@maven.apache.org/msg80176.html Known Issues: * [MECLIPSE-443] - Only include

Re: conditional form validators (nested forms issue)

2009-05-21 Thread Juan Carlos Garcia M.
Set Button#setDefaultFormProcessing(false) Also check: http://cwiki.apache.org/WICKET/multiple-submit-buttons.html multiple-submit-buttons Leszek Gawron-2 wrote: Hello, say i have a small form : * first name - text field required * last name - text field required * phone

Re: components are not rendering help me out

2009-04-21 Thread Juan Carlos Garcia M.
Did you add the form to the page itself?: add(form); Jeremy Thomerson-5 wrote: Yes - we must have the stack trace or at least the error text to know what you're talking about. And, when you get this problem fixed, I'd suggest swapping your link out with BookmarkablePageLink. --