Re: Wicket meeting in Amsterdam?

2009-05-21 Thread nino martinez wael
hehe, not likely :) Our education budget are pending, and I calculated with one trip to either london or amsterdam.. 2009/5/20 Jeremy Thomerson jer...@wickettraining.com: Me too if Nino's boss is handing out airline tickets.  :) -- Jeremy Thomerson http://www.wickettraining.com On Wed,

Re: Wicket Web Beans 1.1 and Wicket 1.4

2009-05-21 Thread nino martinez wael
Ahh interesting thanks for telling 2009/5/21 John Patterson jdp2...@gmail.com: I just tried it out on 1.4 with no problems.  It took about 2 minutes to edit the source - mainly by changing getModel() to getDefaultModel() etc Dan Syrstad-2 wrote: I think Daniel was going to start work on

Re: Wicket in Php

2009-05-21 Thread Martin Grigorov
Hi Ajayi, Take a look at http://www.caucho.com/ Their web container (Resin) has an addon for PHP (Quercus). I have never use them but maybe you could mix the both apps ;-) El mié, 20-05-2009 a las 16:39 +0100, Ajayi Yinka escribió: Hi, Can anyone give me an insight on how I can integrate

how to cache the html output of a panel?

2009-05-21 Thread TSANG Yiu Wing
any hint that can help to apply caching on the html output of a panel? the panel is dynamic in nature, no ajax, i.e. stateless by itself, and is unique per url but needs some time to generate so i want to cache the html output of this panel

Re: Wicket in Php

2009-05-21 Thread Martin Sachs
Hi, wicket in php is a very cool idea. It occurred to me that we can start a port the wicket to a php Framework. I dont know a php-Framework with features like wicket have. Many frameworks works more like struts IMHO. Maybe someone can help me, estimated the work of such porting of Wicket.

Re: Wicket in Php

2009-05-21 Thread Steve Swinsburg
Only if you call it Picket! Sound cool, massive job. On 21 May 2009, at 11:43, Martin Sachs wrote: Hi, wicket in php is a very cool idea. It occurred to me that we can start a port the wicket to a php Framework. I dont know a php-Framework with features like wicket have. Many

conditional form validators (nested forms issue)

2009-05-21 Thread Leszek Gawron
Hello, say i have a small form : * first name - text field required * last name - text field required * phone no - text field required * submit button to add new contact everything works fine until I put the form into a wizard step. It turns out that wizard itself is a form. So now we

Problem with redirectToInterceptPage in AjaxLink with IndexedParamUrlCodingStrategy in Jetty

2009-05-21 Thread Tauren Mills
On a page that is mounted with an IndexedParamUrlCodingStrategy, I have an AjaxFallbackLink. If the user is not logged in, it's onclick issues a redirectToInterceptPage to my Login page. Once the user is logged in, my understanding is that the user should go back to the page that contains the ajax

Re: Wicket in Php

2009-05-21 Thread pkcinna
I used quercus for a medium size project and it works great for accessing java packages since its implemented with a java servlet. My experience was the php.ini/configuration is limited and Quercus doesn't implement every method for every native php module. Also not sure about the licensing but

Whats wrong with my component?

2009-05-21 Thread HHB
Hey, I'm trying to create my first component in Wicket: + public class MessageTextArea extends FormComponentPanel { private String text; public MessageTextArea(String id) { this(id, null); } public MessageTextArea(String id, IModel model) {

Writing tests for protected components

2009-05-21 Thread HHB
Hey, I want to write tests for my Wicket pages and panels. The application is guarded via login functionality and all the pages and panels are depending on a User object in the session. I know who to write tests for Wicket, but I'm not sure what to do in my case due the authentication and

Re: Whats wrong with my component?

2009-05-21 Thread Alex Objelean
Read more about CompoundPropertyModel. When you apply this kind of model on component, all children components which do not have explicit model set will try to find a mapping from the parent based on its wicket id. In your case, if the MessageVO would have a text property (with setters and

Re: Whats wrong with my component?

2009-05-21 Thread HHB
I have setter and getter property in MessageVO and still get the exception. Alexandru Objelean wrote: Read more about CompoundPropertyModel. When you apply this kind of model on component, all children components which do not have explicit model set will try to find a mapping from the

Re: Whats wrong with my component?

2009-05-21 Thread HHB
MessageVO has the following instance variables: private String subject; private String text; private String language; private ListGroup groups; When creating the component as the following: MessageTextArea textArea = new MessageTextArea(text); I got a NPE exception at the

Re: Whats wrong with my component?

2009-05-21 Thread Alex Objelean
I would suggest you to reuse the MessageTextArea model for TextArea component. The code is this: private class MessageTextArea extends FormComponentPanel { public MessageTextArea(String id) { this(id, null); } public MessageTextArea(String id, IModel model) {

Re: Whats wrong with my component?

2009-05-21 Thread HHB
I followed your suggestions and nothing changed. Alexandru Objelean wrote: I would suggest you to reuse the MessageTextArea model for TextArea component. The code is this: private class MessageTextArea extends FormComponentPanel { public MessageTextArea(String id) {

Re: fragment markup resolution

2009-05-21 Thread Mathias Nilsson
Sounds like you should use panels instead of Fragments if they are used more then one time. -- View this message in context: http://www.nabble.com/fragment-markup-resolution-tp23645152p23654434.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: how to cache the html output of a panel?

2009-05-21 Thread Jeremy Thomerson
This topic has been covered many times here on the list. The result is that you almost never really need to cache the generated HTML, but rather the loading of the backing model. Are you really sure that you need to cache the generated HTML? -- Jeremy Thomerson http://www.wickettraining.com

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: Whats wrong with my component?

2009-05-21 Thread Igor Vaynberg
you do not bind the model of the textarea to the model of the messagetextarea, so why are you surprised the value never makes it into your model? -igor On Thu, May 21, 2009 at 4:45 AM, HHB hubaghd...@yahoo.ca wrote: Hey, I'm trying to create my first component in Wicket: +

Bookmarkable page with a form. The URL switches from the mounted one into an unfriendly one.

2009-05-21 Thread Kent Larsson
Hi, I have a simple page, with a form where the user may fill in their e-mail and press the submit button. I mount it in the init method of the class which implements WebApplication using: mountBookmarkablePage(forgotpassword, ForgotPassword.class); It works and I'm able to access the page by

Re: Wicket in Php

2009-05-21 Thread Ajayi Yinka
I have gone through both symphony and resins. I am afraid resins will me both cash and time to get a fast development. I think I would rather stick to php for the project. Thanks to all for contribution Ajayi On Thu, May 21, 2009 at 12:36 PM, pkcinna pkci...@gmail.com wrote: I used quercus

Re: Bookmarkable page with a form. The URL switches from the mounted one into an unfriendly one.

2009-05-21 Thread Jeremy Thomerson
add the message to the session and setResponsePage(ForgotPassword.class); You may need to do setRedirect(true); -- Jeremy Thomerson http://www.wickettraining.com On Thu, May 21, 2009 at 2:04 PM, Kent Larsson kent.lars...@gmail.com wrote: Hi, I have a simple page, with a form where the

Wicket and Flex

2009-05-21 Thread danisevsky
Hi, I am thinking about using Flex for some kind of UI like graphs and others widgets. Does anybody have some experience with wicket and flex? thanks

NumberValidator.range deprecated...

2009-05-21 Thread Ernesto Reinaldo Barreiro
Hi, Yesterday I synchronized with latest 1.4 trunk and my NumberValidator.range(..) appear as deprecated. The JavaDoc of that method says see RangeValidator which point to: @Deprecated public static class RangeValidator extends NumberValidator { } which is in turn points to itself (see

Re: Wicket and Flex

2009-05-21 Thread Łukasz Lipka
Hi, there is project http://code.google.com/p/wicket-flex-blazeds/ which connect Flex and Wicket. Best regards, -- Pozdrowienia Łukasz Lipka http://lukaszlipka.blogspot.com/ 2009/5/21 danisevsky danisev...@gmail.com: Hi, I am thinking about using Flex for some kind of UI like graphs and

Re: NumberValidator.range deprecated...

2009-05-21 Thread Igor Vaynberg
yes, create a jira ticket -igor On Thu, May 21, 2009 at 1:42 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, Yesterday I synchronized with latest 1.4 trunk and my NumberValidator.range(..) appear as deprecated. The JavaDoc of that method says see RangeValidator which point to:

Re: File retrieval vulnerabilities, bugs #1992, #1996

2009-05-21 Thread Igor Vaynberg
we should backport 1992, please open a jira issue to do that. as for access to files, you can see which files we block in org.apache.wicket.markup.html.PackageResourceGuard perhaps we should be more restrictive there. -igor On Tue, May 19, 2009 at 6:15 AM, Martin Dietze d...@fh-wedel.de wrote:

Re: File retrieval vulnerabilities, bugs #1992, #1996

2009-05-21 Thread Igor Vaynberg
and btw, you can install your own more restrictive guard in settings. -igor On Thu, May 21, 2009 at 2:26 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: we should backport 1992, please open a jira issue to do that. as for access to files, you can see which files we block in

radio inside a list

2009-05-21 Thread tubin gen
I have a radio group this group has a form and this form has a list view and this list view has list items and each list item has a radio and I want to add ajax behaviour to this radio button for onclick, so when user clicks on any radio button , inside the method onSubmit(AjaxRequestTqarget

IRequestTarget not serializable

2009-05-21 Thread Juan G. Arias
Hi all, I want to mantain an IRequestTarget in my component, as an instance attribute. But wicket cries about it's not serializable. Of course, it's right. IRequestTarget is not serializable. Why? Is something wrong with mantain a request target inside my component? Thanks! Juan

Re: IRequestTarget not serializable

2009-05-21 Thread Matej Knopp
IRequestTarget is valid only for one request. Why do you want to keep as instance variable? -Matej On Thu, May 21, 2009 at 11:48 PM, Juan G. Arias juangar...@gmail.com wrote: Hi all, I want to mantain an IRequestTarget in my component, as an instance attribute. But wicket cries about it's not

Re: how to cache the html output of a panel?

2009-05-21 Thread ywtsang
we have tried the best to cache the backing model (or data) and we are always looking how to push our performance to a limit it seems we are hitting the limit now, instead we go to refactor/revamp a lot, we want to see if we can do anything on wicket such as caching the generated html that can

pickwick next, prev, last, first bug?

2009-05-21 Thread Fernando Wermus
Hi all, The buttons in pickwick wicketstuff are not working properly. The ImagePage class has an inner class that provoke the bug. The code below show the changes that I made to correct the issue. I don't know enough java to tell you why is working in one way but not another :( public

Re: Wicket and Flex

2009-05-21 Thread Fernando Wermus
Łukasz Lipka, You have the component SWFObject and You could use externalInterface from Flex. It should solve most of your problems. 2009/5/21 Łukasz Lipka lukasz.lipka.develo...@gmail.com Hi, there is project http://code.google.com/p/wicket-flex-blazeds/ which connect Flex and

Wicket and 3rd party Javascript libraries

2009-05-21 Thread Vasu Srinivasan
Apologize if this question sounds too generic... Are there restrictions in using 3rd party Javascript libraries when using Wicket? We have a separate design/javascript team and they love the idea of having just html to work with. But there is also a need of freedom/flexibility in adding custom

Re: fragment markup resolution

2009-05-21 Thread Joe Fawzy
hiactually i am making a framework over wicket in which i am providing a default ui in the base class , which can be customized by overriding in subclass in this case , when i subclass , i have to duplicate all the fragments markup ,instead of only what i need thanks joe On Thu, May 21, 2009 at

Re: NumberValidator.range deprecated...

2009-05-21 Thread Ernesto Reinaldo Barreiro
Done https://issues.apache.org/jira/browse/WICKET-2287 Best, Ernesto. On Thu, May 21, 2009 at 11:02 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: yes, create a jira ticket -igor On Thu, May 21, 2009 at 1:42 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, Yesterday I

Re: Wicket and 3rd party Javascript libraries

2009-05-21 Thread Jeremy Thomerson
You can use whatever JS libraries that you want to. Wicket core really only uses it's own custom JS for Ajax, etc. Check out wicketstuff for a lot of ready-made integrations between popular JS libraries and Wicket. Some of them are less mature than others, but the good ones can give you

Re: how to cache the html output of a panel?

2009-05-21 Thread Jeremy Thomerson
If you've done profiling that shows where the Wicket markup generation is the slow part of your page rendering, we would benefit from seeing it so that we could see if there was anything that could be improved. -- Jeremy Thomerson http://www.wickettraining.com On Thu, May 21, 2009 at 7:44 PM,

Re: wicket-ajax and IE performance problems for pages with many links

2009-05-21 Thread Kuga
Hi, I have checked the 1.4-rc2 or 1.3.6, and have not seen this patch. Can anyone please confirm the exact release in which this issue is fixed. Thanks Kuga -- View this message in context:

Ajax appends to a Table

2009-05-21 Thread Luther Baker
Hi, I have an 'Add Row' Ajax link and a Table. The table contains a list of todos. To 'add' a todo, I have created a single tr full of td's and input's that, via Ajax, get shown when someone clicks on the aforementioned 'Add Row' link. Now, on submission of said row, I'd like to append it to