Re: Nasty problem with component not found and images [solved]

2010-01-28 Thread Marat Radchenko
You could file enhancement request to make EmptySrcAttributeCheckFilter also report images whose src starts with #. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: PasswordTextField not showing the value

2010-01-27 Thread Marat Radchenko
You can't edit user password because you only store its hash. Don't you? 2010/1/27 Josh Kamau joshnet2...@gmail.com:  I have would like to edit an existing user's properties including the password. However, all the other properties are appearing on their corresponding fields except the

Re: Serialization test

2010-01-27 Thread Marat Radchenko
Force your servlet container to serialize sessions after each request and add non-serializable field to objects that you don't want to be serialized. 2010/1/27 pieter claassen pie...@claassen.co.uk: I want to test the following: 1. Whether I have any private members stored on my pages that are

Re: final in MarkupContainer#add(Component...) method

2010-01-18 Thread Marat Radchenko
About the ids with digits for repeater, override the onBeforeRender method and remove that validation if you need/want. Impossible. I just filed https://issues.apache.org/jira/browse/WICKET-2684 - To unsubscribe, e-mail:

Re: final in MarkupContainer#add(Component...) method

2010-01-18 Thread Marat Radchenko
2010/1/14 Ilya German ilja.germ...@parex.lv: Hello! We're struggling with working around the final modifier for the MarkupContainer#add(Component ...) method. We have the following scenario: 1. We'd like to use a repeater to add some components to the form. 2. We'd like these components to

Re: Disabled Navigation if Action.ENABLE is restricted for page

2010-01-15 Thread Marat Radchenko
Why you're disabling whole page in first place? 2010/1/15 Giambalvo, Christian christian.giamba...@excelsisnet.com: Hi all, i have a litte problem. I have implemented an own AuthorizationStrategy where I check I a user is allowed to render/enable a component/page. Each page has a

Re: Wicket feedback

2009-12-23 Thread Marat Radchenko
Take a look at HibernateObjectModel from databinder project. 2009/12/22 sudhir543-...@yahoo.com: Thanks for clarifying the things, show me a framework that makes this easier... I think that when I when I was working with Webwork (Struts2 now) I dint need to do any thing else other than

Re: Basic concept of Wicket

2009-12-17 Thread Marat Radchenko
- Why is the WebPage created every time I reload the website, I though they are only created once? Because it's stateless. Define 'once', btw. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: (seemingly) session-related performance issue

2009-12-16 Thread Marat Radchenko
https://issues.apache.org/jira/browse/WICKET-2613 2009/12/16 Kurt Heston khes...@hestonsystems.com: Tonight, I moved from v1.3.5 to v1.4.4.  I'm up and running after changing all of my getModel statements, but an old performance problem has shown up again. Back when I moved to 1.3.x, pages

Fwd: DELIVERY FAILURE: Invalid/unknown recipient [MAPI Reason Code: 1, MAPI Diagnostic Code 1]

2009-12-16 Thread Marat Radchenko
Please, unsubscribe him. -- Forwarded message -- From: postmas...@td.com Date: 2009/12/16 Subject: DELIVERY FAILURE: Invalid/unknown recipient [MAPI Reason Code: 1, MAPI Diagnostic Code 1] To: slonopotamusor...@gmail.com Your message  Subject: Re: (seemingly) session-related

Re: Domain Object Serialization

2009-12-16 Thread Marat Radchenko
2009/12/16 Janning Vygen vy...@kicktipp.de: Hi all, i am using wicket for a few days. It is great! Yeah, it is :) User is a persistableEntity managed by Hibernate. User is NOT Serializable. Do you mean it doesn't implement Serializable? But if i run it, i do not get any

What is the proper way to output arbitrary (non-html) response from wicket pages?

2009-12-16 Thread Marat Radchenko
Suppose i have a stateless page with a form and when user submits it, i want to respond with a dynamically-generated pdf file. What is the proper way to write him pdf without interfering (and, better, with integrating) with wicket response generation machinery?

Re: What is the proper way to output arbitrary (non-html) response from wicket pages?

2009-12-16 Thread Marat Radchenko
Huh :) Found: http://old.nabble.com/Re:-Dynamic-PDF-Creation-p21379301.html 2009/12/16 MattyDE ufer.mar...@gmail.com: Sorry i cant help you directly, but have you ever searched for pdf in the mailing-list? http://old.nabble.com/forum/Search.jtp?forum=25133local=yquery=pdf P-( Marat

Re: Wicket 1.4.4: ModalWindow on IE veeeeeeeeeery slow

2009-12-16 Thread Marat Radchenko
https://issues.apache.org/jira/browse/WICKET-2613 2009/12/16 Stefan Lindner lind...@visionet.de: I just moved to 1.4.4 in production and noticed that opening a modal window is sooo veeery slow. It's unbelievable. I installed the Wicket 1.4.4's wicket-examples-1.4.4.war locally

Re: Domain Object Serialization

2009-12-16 Thread Marat Radchenko
2009/12/16 Igor Vaynberg igor.vaynb...@gmail.com: only wicket pages get serialized at the end of each request Not always. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: Questions about Serialization...

2009-12-09 Thread Marat Radchenko
2009/12/9 Yves-Marie LAINÉ ymla...@gmail.com: (But put Serializable in Session doesn't mean to put Serialized in Session) Uh? And it seems that wicket Serialize each Page one by one. This way if you have a single object instance that you share between pages as object property, after pages

Fwd: DELIVERY FAILURE: Invalid/unknown recipient [MAPI Reason Code: 1, MAPI Diagnostic Code 1]

2009-12-09 Thread Marat Radchenko
Please, unsubscribe him, I'm getting such reply for each email i send to this maillist. -- Forwarded message -- From: postmas...@td.com Date: 2009/12/8 Subject: DELIVERY FAILURE: Invalid/unknown recipient [MAPI Reason Code: 1, MAPI Diagnostic Code 1] To:

Re: wicketstuff.org Confluence error

2009-12-09 Thread Marat Radchenko
That's controlled with uniqueVersion 2009/12/9 nino martinez wael nino.martinez.w...@gmail.com: Yeah it seems strange, some project seems not to have the issue: http://www.wicketstuff.org/maven/repository/org/wicketstuff/iolite/wicketstuff-iolite/0.3-SNAPSHOT/ While a core project does..

Re: Questions about Serialization...

2009-12-09 Thread Marat Radchenko
I wasn't using Model in this precise case. I thought using Model was a best practice, to save memory. Choosing proper model isn't (almost always) about performance, it's about logic. You _have_ to use plain serializing model for data that isn't stored anywhere else. You _have_ to use LDM in

Re: Questions about Serialization...

2009-12-08 Thread Marat Radchenko
2009/12/8 Yves-Marie LAINÉ ymla...@gmail.com: Hi, I'm new on the list, sorry if my question has already been asked. I didn't find the right answer on google. Is it possible tu use wicket without Page serialization ? It is. Use only stateless components. Technically, is it possible to

Re: Location of html files

2009-12-05 Thread Marat Radchenko
With custom IResourceFinder, you can put them wherever you want. But why? You should have a strong reason to not follow defaults. 2009/12/6, Johan den Boer johanj.denb...@gmail.com: Hi, I place my html files in the same package where my java classes resides. Is it possible to change this. I

Re: DropDownChoiceWithStylingOptionsT

2009-12-04 Thread Marat Radchenko
Definitely, lol :) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

InvalidUrlException considered evil?

2009-12-02 Thread Marat Radchenko
There some places in Wicket sources where it throws InvalidUrlException that causes exception logging and InternalErrorPage is shown. However, I don't agree that badly constructed URL is and _internal_ error. It is external error (for example, user was playing with urls, modifying them by hand).

Re: InvalidUrlException considered evil?

2009-12-02 Thread Marat Radchenko
Same applies to org.apache.wicket.WicketRuntimeException: unable to find component with path ... on stateless page ... that can also be triggered by badly constructed url. - To unsubscribe, e-mail:

Re: InvalidUrlException considered evil?

2009-12-02 Thread Marat Radchenko
2009/12/2 Ilja Pavkovic ilja.pavko...@binaere-bauten.de: Am Mittwoch, 2. Dezember 2009 12:18:55 schrieb Marat Radchenko: There some places in Wicket sources where it throws InvalidUrlException that causes exception logging and InternalErrorPage is shown. However, I don't agree that badly

Re: Session stealing with wicket-auth-roles

2009-12-02 Thread Marat Radchenko
2009/12/2 Andrew Turner grim_toas...@hotmail.com: Good morning all, I'm hoping I've misconfigured something in my application, but we seem to be prone to session stealing in our wicket application.  We're using wicket-auth-roles to provide the security, and if you are able to access the

Re: Form too large ?

2009-12-01 Thread Marat Radchenko
Jetty has limitation on max POST size. It can be controlled via org.mortbay.jetty.Request.maxFormContentSize system property (20 bytes by default) 2009/12/1 Martin Makundi martin.maku...@koodaripalvelut.com Hi! What is this error? We got this from our production site... 2009-12-01

cleanup unresolved issues with fix for set to already released versions?

2009-11-30 Thread Marat Radchenko
There's a small number of issues that is set to be fixed in already released versions [1]. Maybe they should be updated to properly reflect versions they'll be fixed in? Having fix for set to past release doesn't make sense. [1]

Re: Localize a string using custom locale

2009-11-27 Thread Marat Radchenko
Just override getLocale in your component and use one of non-deprecated Localizer methods. 2009/11/27 Gatos ega...@gmail.com Hello, For example I need to localize a string to defferent languages. How is it possible to localize using a custom locale? I found that a method in Localizer

MockHttpServletResponse, status vs code

2009-11-23 Thread Marat Radchenko
MockHttpServletResponse has two fields, status and code, which is ambigious. sendError method changes code, while setStatus changes status field. I think these two should be merged to mimic servlet api (if one calls sendError, then error status is available via getStatus). If no objections,

Re: Forms and detached JPA ( Hibernate) Objects

2009-11-21 Thread Marat Radchenko
Use HibernateObjectModel from databinder.

Re: Can Wicket automatically remove beginning and trailing spaces in a text field?

2009-10-02 Thread Marat Radchenko
It already does that. FormComponent: protected T convertValue(String[] value) throws ConversionException { return (T)(value != null value.length 0 value[0] != null ? trim(value[0]) : null); } 2009/10/2 David Chang david_q_zh...@yahoo.com How to set it up in a Wicket application? I would

Re: better way to strip wicket markup / tags per page?

2009-09-29 Thread Marat Radchenko
In some situations during development... With that in mind, this solution is absolutely ok. 2009/9/29 Antoine van Wel antoine.van@gmail.com Hi, on the wiki[1] it is described how to get rid of wicket markup such as wicket:id attributes on a page basis. The solution looks like a dirty

Re: will there be a performance gain to use singleton to remove references to the service object in models?

2009-07-28 Thread Marat Radchenko
Don't guess, profile it. 2009/7/28 Jason Wang jason.w...@bulletin.net: Hi all, Although I am using spring-wicket to prevent the whole spring being serialized, It still brothers me to  see the  references in the model object, for example: Instead of using this: public class

Re: 1.4 is ready for production?

2009-07-21 Thread Marat Radchenko
We're using it since 1.4-m2 in production. 2009/7/20 Alessandro Vincelli a.vince...@gmail.com: I know that 1.4 is RC, and RC means that is not ready for production ;-) But I'm using the 1.4 since January in some small projects without blocking problems? The issue opened in Jira are not

Re: DatePicker

2009-07-16 Thread Marat Radchenko
DatePicker is in wicket-datetime artifact. 2009/7/16 Martin Letendre letendre.mar...@gmail.com: In the latest wicket javadoc I see that there is a DatePicker componenent based on yui. http://wicket.apache.org/docs/1.4/org/apache/wicket/extensions/yui/calendar/DatePicker.html Great ! I

Re: Using Converter with DropDownChoice

2009-07-07 Thread Marat Radchenko
What model type to you have? Did you call setType on component? 2009/7/7, Christoph Drießen c...@neopoly.de: Hi all, I'm trying to use a Converter with a DropDownChoice overriding the getConverter(Class type) method. Unfortunately this method never gets called. Any ideas? Christoph

Re: wicket on java server

2009-06-10 Thread Marat Radchenko
Projects can't require anything. It's people :) Wicket runs on anything that supports Servlet specification. 2009/6/10 Dorothée Giernoth dorothee.giern...@kds-kg.de Hey guys, I got a (weird) question: a project requires us to write our own server. But I am eager to use wicket. Now what I

Re: How to get ride of page's state?

2009-05-18 Thread Marat Radchenko
Make it stateless :) 2009/5/18 HHB hubaghd...@yahoo.ca: Hey, How to get ride of the page's state after the request is done? Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

Re: Bug in RequestUtils.toAbsolutePath?

2009-05-18 Thread Marat Radchenko
requestURL.toString();   }  **  Martin  2009/5/17 Marat Radchenko slonopotamusor...@gmail.com:   Hmm... are you sure you want to use that method at all? It uses given   path as relative to _current reqest path_.   2009/5/17, Martin Makundi martin.maku...@koodaripalvelut.com

Re: Bug in RequestUtils.toAbsolutePath?

2009-05-17 Thread Marat Radchenko
Maybe RequestUtils.toAbsolutePath(/images/Image.png) (note leading slash)? 2009/5/17 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! I have a dynamic image which resides in http://www.mydomain.com/images/Image.png; (the filename itself might vary). In order for the image to be visible

Re: Bug in RequestUtils.toAbsolutePath?

2009-05-17 Thread Marat Radchenko
://www.mydomain.com/BookmarkablePage/Parameter1/Value1/Parameter2//images/Image.png; Note a typo in my previous email, normally it returns: http://www.mydomain.com/BookmarkablePage/Parameter1/Value1/Parameter2/images/Image.png; without the double-slash. ** Martin 2009/5/17 Marat Radchenko

Re: Bug in RequestUtils.toAbsolutePath?

2009-05-17 Thread Marat Radchenko
(); } ** Martin 2009/5/17 Marat Radchenko slonopotamusor...@gmail.com: Hmm... are you sure you want to use that method at all? It uses given path as relative to _current reqest path_. 2009/5/17, Martin Makundi martin.maku...@koodaripalvelut.com: No, there is no code in RequestUtils that would

Re: non-existent Springbean lazy beans only work when name specified

2009-05-07 Thread Marat Radchenko
Your setup seems to be broken. That's the whole point of nameless @SpringBean/@Resource/@Autowire - to find beans by _type_, not name. Relying on successful injection of beans of wrong type is a bad idea IMO. It'll break as soon as smth in your code tries to invoke that bean. I'd even say that

Re: How to test AjaxFormChoiceComponentUpdatingBehavior for Radio Button

2009-05-04 Thread Marat Radchenko
That's what we are using here: public static void selectAjaxRadio(final WicketTester tester, final String radioPath) { final Radio radio = (Radio) tester.getComponentFromLastRenderedPage(radioPath); final RadioGroup radioGroup = radio.findParent(RadioGroup.class);

Re: FOR LIST OWNER: your antispam is awful it doesn't apply normal letters

2009-03-29 Thread Marat Radchenko
It's not antispam fault, HTML emails are awful. 29 марта 2009 г. 10:25 пользователь Khlystov Alexandr allex.khlys...@gmail.com написал: FOR LIST OWNER: your antispam is awful it doesn't apply normal letters below is the sample Mail Delivery Subsystem пишет: This is an automatically

Re: Have a feature, want to contribute

2009-03-16 Thread Marat Radchenko
somewhere Alex Marat Radchenko-2 wrote: Wicket pages/components can be either stateful or stateless. Wicket manages hem transparently and it is very easy to write any complex page you want. Stateful pages are much more powerful than stateless. However that comes at  a cost of using page

Re: Have a feature, want to contribute

2009-03-08 Thread Marat Radchenko
If community was interested, it would say something in 3 months, uh? :) I'll post it on tuesday. 2009/3/8, Alex Objelean alexandru.objel...@isdc.ro: I think community would be interested in this feature. Could you post the code? Marat Radchenko-2 wrote: Wicket pages/components can

Re: [vote] In Wicket 1.4 and onwards, remove widening from the list of choices model in DropDownChoice, changing it from IModelList? extends Foo to IModelListFoo

2009-03-02 Thread Marat Radchenko
[X] No, keep DropDownChoice as it is in Wicket 1.4-rc2 2009/3/2 Timo Rantalaiho timo.rantala...@ri.fi: Background:  https://issues.apache.org/jira/browse/WICKET-1512  https://issues.apache.org/jira/browse/WICKET-2126  

Re: [wicket-1.4] Why has ModelT parameter to extend Serializable?

2009-01-20 Thread Marat Radchenko
2009/1/20 James Carman jcar...@carmanconsulting.com: A Model is serialized, therefore the object contained within it must be serializable. Uh? What about stateless pages? - To unsubscribe, e-mail:

Re: WicketTester OnChangeAjaxBehavior ?

2008-12-29 Thread Marat Radchenko
tester.executeAjaxEvent(full:path:to:component, onchange); 2008/12/29 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! I have some select boxes on the screen which trigger screen refresh in live mode. However, I have not yet figured out how to trigger OnChangeAjaxBehavior using

Have a feature, want to contribute

2008-12-18 Thread Marat Radchenko
Wicket pages/components can be either stateful or stateless. Wicket manages hem transparently and it is very easy to write any complex page you want. Stateful pages are much more powerful than stateless. However that comes at a cost of using page store for their state. On highload sites it is

Re: No WebApplicationContext found: no ContextLoaderListener registered?

2008-12-15 Thread Marat Radchenko
Sorry, copied wrong anchor :( should be http://static.springframework.org/spring/docs/2.5.x/reference/beans.html#context-create 2008/12/14, Marat Radchenko slonopotamusor...@gmail.com: You didn't init spring in your web.xml See http://static.springframework.org/spring/docs/2.5.x/reference

Re: [VOTE] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-24 Thread Marat Radchenko
[X] YES 2008/11/24 Jeremy Thomerson [EMAIL PROTECTED]: Hello everyone, I would like to get your opinion on an idea regarding the Wicket Stuff project(s). As you are familiar with, Wicket Stuff is where anyone can create anything related to Wicket, small or large. One problem that new

Re: Extremely confisung onBeforeRender/callOnBeforeRenderIfNotVisible behavior

2008-11-20 Thread Marat Radchenko
So. Is there any recommended (and hopefully not error-prone) way of handling conditional visibility? 2008/11/20 Matej Knopp [EMAIL PROTECTED]: That's first confusing point. Javadocs on callOnBeforeRenderIfNotVisible promise us that onBeforeRender will be called even if component is not

Re: Extremely confisung onBeforeRender/callOnBeforeRenderIfNotVisible behavior

2008-11-20 Thread Marat Radchenko
, Nov 20, 2008 at 9:33 AM, Marat Radchenko [EMAIL PROTECTED] wrote: So. Is there any recommended (and hopefully not error-prone) way of handling conditional visibility? 2008/11/20 Matej Knopp [EMAIL PROTECTED]: That's first confusing point. Javadocs on callOnBeforeRenderIfNotVisible

Re: Extremely confisung onBeforeRender/callOnBeforeRenderIfNotVisible behavior

2008-11-20 Thread Marat Radchenko
On Thu, Nov 20, 2008 at 7:33 AM, Marat Radchenko [EMAIL PROTECTED] wrote: So. Is there any recommended (and hopefully not error-prone) way of handling conditional visibility? 2008/11/20 Matej Knopp [EMAIL PROTECTED]: That's first confusing point. Javadocs on callOnBeforeRenderIfNotVisible

Re: WicketTester.assertErrorMessages - encoding problem

2008-11-01 Thread Marat Radchenko
Cbuttic bug in locale-specifics handling. I think it is a candidate for a bugreport. 2008/11/1 Artur W. [EMAIL PROTECTED] The problem is in tester.assertErrorMessages at: msgs.add(iterator.next().toString()); The .toString() returns string with iso-8859-1 encoding. The workaround is to

Re: Mounting pages with trailing slash

2008-10-07 Thread Marat Radchenko
Anybody? 2008/8/29 Marat Radchenko [EMAIL PROTECTED]: Hi everyone! Is it supposed to be legal to use mount path with trailing slash? If yes, then I'll file a bugreport because it doesn't work [yup, I have a testcase]. If not, then that will be another story

Re: Wicket 1.4 with QWicket

2008-09-07 Thread Marat Radchenko
1.4-m3 is the latest release. 2008/9/8 Vernon [EMAIL PROTECTED]: I am very new to Wicket after heard so many good things about it. I am starting a project with QWicket since I want to use something I already know Spring and Hibernate. None of Wicket packages can be located with the 1.4

Mounting pages with trailing slash

2008-08-29 Thread Marat Radchenko
Hi everyone! Is it supposed to be legal to use mount path with trailing slash? If yes, then I'll file a bugreport because it doesn't work [yup, I have a testcase]. If not, then that will be another story. - To unsubscribe,