Re: How to LDM refreshed after submit?

2009-07-20 Thread Stefan Simik
I had similar problem last time: By debugging, I found some solution, that really works, but I am not sure, if it is elegant and the right wicket-way solution: 1. override onValidate method in form 2. call clearInput() method on all form components, that should refresh their model Mauro

Re: Wicket 1.4m3 ModalWindow close problem in Opera

2009-05-20 Thread Stefan Simik
I have the same problem with the latest Opera 9.64. FakeBoy wrote: Hi, I would like to ask you about my problem with modal modal window in Opera. When i close modal window everything works good in java (all listeners ale correctly called). But in browser window i still see some parts of

Re: New site developed in wicket - WWW.FITCOMPLEX.SK

2009-04-21 Thread Stefan Simik
. Wth regard Stefan Martin Grotzke wrote: Congrats! A nice site and really fast! You're mentioning stateless ajax with jquery: can you give some pointers how you did this? Cheers, Martin On Mon, 2009-04-20 at 18:22 +0200, Stefan Simik wrote: New site about health, nutrition

New site developed in wicket - WWW.FITCOMPLEX.SK

2009-04-20 Thread Stefan Simik
New site about health, nutrition, exercise and life stylehttp://www.fitcomplex.sk/start We are using stateless pages for public interface, and stateful ajaxified pages for admin interface. Stateless ajax in public is developed using jquery + wicket. The site is running on: - *Wicket *1.4rc2

Re: Which version is stable

2009-03-15 Thread Stefan Simik
We are using wicket 1.4rc2 without any problems... taha siddiqi wrote: Hi, Which version 1.3.x or 1.4.x should I use in production. Which one is stable ? ( stupid question I know :) but I am confused ) I use 1.3.5, should I be using 1.4.x. taha

Re: Have a feature, want to contribute

2009-03-13 Thread Stefan Simik
Sounds very useful ! -especially in development model. We've spent much time debugging and searching for the one stateful component/behavior - in our large page hierarchies ! Marat Radchenko-2 wrote: Wicket pages/components can be either stateful or stateless. Wicket manages hem

StatelessForm - problem with parameters after validation fails

2009-03-10 Thread Stefan Simik
Many wicket users are reporting the same and common problem - page parameters are doubling in ACTION of the stateless form after first validation error. Is there any solution please ? I think, this is very common use case and some solution must exist. See the same reports here: 1.

Re: [OT] wicket users around the world

2008-12-12 Thread Stefan Simik
Slovakia, working in Bratislava francisco treacy-2 wrote: to know a little bit more of our great (and vast) community, i was just wondering if you're keen on sharing where you come from and/or where you work with wicket... for instance, here argentinian/belgian working with wicket in

Odd number of page parameters - why IllegalStateException ?

2008-11-24 Thread Stefan Simik
Hi all, I would like to ask, why the default URL strategy throws IllegalStateException, when there is odd number of parameters ? We have a problem with this way handling, because our users rewrite URLs manually (we cannot prevent users from doing this). Our pages are stateless and they don't

ImageButton - always stateful ?

2008-11-24 Thread Stefan Simik
Hi all, I would like to ask, why ImageButton is stateful ? THE CODE IN ImageButton --- protected boolean getStatelessHint() { return getImageResource() == null localizedImageResource.isStateless(); } The method #getImageResource()

Re: Odd number of page parameters - why IllegalStateException ?

2008-11-24 Thread Stefan Simik
oki, thx https://issues.apache.org/jira/browse/WICKET-1957 igor.vaynberg wrote: we can return a 404 instead i suppose. create a jira issue. -igor On Mon, Nov 24, 2008 at 2:25 PM, Stefan Simik [EMAIL PROTECTED] wrote: Hi all, I would like to ask, why the default URL strategy

Re: Upload exceeds maxsize error comes AFTER upload has finished

2008-11-05 Thread Stefan Simik
This is how things work in HTTP. One possible solution, that provides more control from client is flash upload - see http://swfupload.org/ -- View this message in context: http://www.nabble.com/Upload-exceeds-maxsize-error-comes-AFTER-upload-has-finished-tp20228506p20347340.html Sent from the

Re: Presentation web with some stateful components - removing jsessionid+ all PageExpired exceptions

2008-10-13 Thread Stefan Simik
Http session is created, because there are stateful components on that page. URL of that page is bookmarkable, but the page itself is not stateless (there is ajax Gmap2 component). why is session created on the first request? If that page was stateless there would be no session created...

Re: Presentation web with some stateful components - removing jsessionid+ all PageExpired exceptions

2008-10-13 Thread Stefan Simik
jj, you are right. My mistake. I tested this, and jsessionid in bookmarkable URL never causes page-expired exception. . Johan Compagner wrote: A bookmarkabke url with a jsession id will not give you an page expired. -- View this message in context:

Presentation web with some stateful components - removing jsessionid+ all PageExpired exceptions

2008-10-12 Thread Stefan Simik
We are creating website. One part is standard presentation web, second part is administration site, where we take all advantages of wicket's state management. The important part here, is first presentation part. Here, all the URLs must be bookmarkable. On some special pages, we use stateful

Re: onmouseover image

2008-10-09 Thread Stefan Simik
Implementation of roll-over image. Takes 2 image resource-references: one for initial image, second for mouseover image. Automatically adds javascript for preloading these images. Takes wicket locale and style into consideration. USAGE: RollOverImage image = new RollOverImage(wicketId,

Re: generics

2008-07-16 Thread Stefan Simik
again! Stefan Simik -- View this message in context: http://www.nabble.com/generics-tp18083910p18498620.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: HTTP Session creating at home page

2008-06-15 Thread Stefan Simik
() in your constructor (or any other place that is executed during a requestcycle). Maurice On Sat, Jun 14, 2008 at 9:48 PM, Stefan Simik [EMAIL PROTECTED] wrote: Hi boys, I would like to ask, how can I force creation of HTTP session when first request comes to server. I have

HTTP Session creating at home page

2008-06-14 Thread Stefan Simik
Hi boys, I would like to ask, how can I force creation of HTTP session when first request comes to server. I have this problem: 1. user requests home page (wicket session is created) for example: www.server.com/app 2. I set some data into the wicket session 3. server responds with redirect to

Re: PackageResource - why does'nt get Locale directly from Session ?

2008-06-09 Thread Stefan Simik
Oh yes :-) I think, that taking Locale from session could be the most used = the most suitable default strategy. Session is the most used place for storing Locale. I think, that preferred way should be getting Locale from Session as default. Passing Locale parameter to the PackageResource

Re: PackageResource - why does'nt get Locale directly from Session ?

2008-06-09 Thread Stefan Simik
:21 AM, Stefan Simik [EMAIL PROTECTED] wrote: Oh yes :-) I think, that taking Locale from session could be the most used = the most suitable default strategy. Session is the most used place for storing Locale. I think, that preferred way should be getting Locale from Session as default

PackageResource - why does'nt get Locale directly from Session ?

2008-06-06 Thread Stefan Simik
Hi boys, I would like to ask, why PackageResource doesn't take the Locale from the session, but in constructor ? It could be comfortable, if no Locale specified in constructor, then it could be taken directly from the session. Thanx for the answer. Stefan Simik -- View this message

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-03 Thread Stefan Simik
experience: --- I think, that generification of Wicket involves a little bit more negative, than positive effects, so - give it away. We loose som benefits, but many other things, will be simpler. Stefan Simik -- View this message

Templating + performance question

2008-05-31 Thread Stefan Simik
variables in every request. I saw some caching mechanism (TextTemplateCache) in sources, which could solve my problem. Could someone knowledgeable more elaborate on this problem/question please ? The Thanks very much. Stefan Simik -- View this message in context: http://www.nabble.com/Templating

Re: Templating + performance question

2008-05-31 Thread Stefan Simik
. I know it is a bit of an old saw, but premature optimization really is the root of all evil. Stefan Simik wrote: Hi boys, I would like to ask about Templating ( CssTemplate, ...) versus performance. I see templating as a very powerful feature, but I worry about degraded

Re: Using generics with some non-generic classes in Wicket

2008-05-14 Thread Stefan Simik
just yet.. i did make them all because i think people generally dont want to generify them anyway (use the model object) On Tue, May 13, 2008 at 9:48 PM, Stefan Simik [EMAIL PROTECTED] wrote: please, and will be these classes later generified ? Or should I make a RFE, or can I help

Using generics with some non-generic classes in Wicket

2008-05-13 Thread Stefan Simik
with generifying of these classes ? Thx, Stefan Simik -- View this message in context: http://www.nabble.com/Using-generics-with-some-non-generic-classes-in-Wicket-tp17208928p17208928.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Using generics with some non-generic classes in Wicket

2008-05-13 Thread Stefan Simik
Uuf, great :) It works ! Thx. But, is not String something Serializable ? I cannot understand where was the problem, but I know, this is more about Java Generics, not about Wicket. Johan Compagner wrote: the only thing i can quickly come up with is this public

Re: Using generics with some non-generic classes in Wicket

2008-05-13 Thread Stefan Simik
get an error: The constructor Model(String) is undefined. I can't find out, what I am doing wrong. Thx Stefan Simik -- View this message in context: http://www.nabble.com/Using-generics-with-some-non-generic-classes-in-Wicket-tp17208928p17210525.html Sent from the Wicket - User

Re: Using generics with some non-generic classes in Wicket

2008-05-13 Thread Stefan Simik
Mhmm, it is meaningful ;) I will know in future, thx One of the last occuring warning is, when working with MarkupContainer#add(...) or #addOrReplace(...) method. Example: I have a simple AjaxPagingNavigator, to which I add a simple ListView

Re: Using generics with some non-generic classes in Wicket

2008-05-13 Thread Stefan Simik
? Stefan Simik wrote: Mhmm, it is meaningful ;) I will know in future, thx One of the last occuring warning is, when working with MarkupContainer#add(...) or #addOrReplace(...) method. Example: I have a simple AjaxPagingNavigator, to which I add a simple ListView

Re: Using generics with some non-generic classes in Wicket

2008-05-13 Thread Stefan Simik
please, and will be these classes later generified ? Or should I make a RFE, or can I help anyway-for example attach a patch ? I love your work and Wicket, so I do my best, to make it better ;) Stefan Simik Johan Compagner wrote: yes thats the reason you are calling the method add

Re: Wicket javascripts - reloading every one hour

2008-05-08 Thread Stefan Simik
by developer. What do you think about it - should I create a RFE, or it is ok ? Stefan Simik Johan Compagner wrote: But is it then really downloaded? Because the brower makes first a head request to it and that will say not changed On 5/8/08, Stefan Simik [EMAIL PROTECTED] wrote: Hi

Re: Wicket javascripts - reloading every one hour

2008-05-08 Thread Stefan Simik
OK, thx https://issues.apache.org/jira/browse/WICKET-1602 Stefan Simik Johan Compagner wrote: file RFE -- View this message in context: http://www.nabble.com/Wicket-javascripts---reloading-every-one-hour-tp17117009p17137997.html Sent from the Wicket - User mailing list archive

Wicket javascripts - reloading every one hour

2008-05-07 Thread Stefan Simik
Stefan Simik // I have consulted this before, but without result. So now, I am trying to show the problem in a simpler situation. -- View this message in context: http://www.nabble.com/Wicket-javascripts---reloading-every-one-hour-tp17117009p17117009.html Sent from the Wicket - User mailing

Re: Gzipping of pages (HTML output, not only resources)

2008-05-06 Thread Stefan Simik
Sure, here it is :) https://issues.apache.org/jira/browse/WICKET-1589 It will be great, if wicket can gzip html output from its pages. It could be one of the wicket settings, where it could turned on/off from. thx, Stefan SImik Johan Compagner wrote: can you make a jira issue

Re: Gzipping of pages (HTML output, not only resources)

2008-05-05 Thread Stefan Simik
for that please let me know On 4/30/08, Stefan Simik [EMAIL PROTECTED] wrote: Hi Igor, thanx for response. I looked at the IResponseFilter class and thoght about , how could I implement the gzipping of the text/html responses. But I have found potential 2 problems, which I am not sure, how

Re: Gzipping of pages (HTML output, not only resources)

2008-05-04 Thread Stefan Simik
One simple idea. It's possible, that we use different versions of Jetty. I am using version 6.1.8. I could'nt find either the same closing code in Gzip filter, nor finishResponse() method, nor such a string - This output stream has already been closed in my jetty source code. public void

Re: Gzipping of pages (HTML output, not only resources)

2008-04-30 Thread Stefan Simik
Hi Artur, I looked at the uploads, but cannot find out, what exactly is the problematic part with closing streams. I find one stream-closing code in FileUpload - #closeStreams() method. This method closes all possibly opened InputStream-s for uploaded file. Here, I don't see any problem in

Re: Gzipping of pages (HTML output, not only resources)

2008-04-30 Thread Stefan Simik
of Response. I am very interested in this and I would like to create the bullet-proof solution, how to gzip HTML responses from wicket. Thx Stefan igor.vaynberg wrote: there is also IResponseFilter -igor On Thu, Apr 24, 2008 at 6:08 AM, Stefan Simik [EMAIL PROTECTED] wrote: Stefan

Caching time of resources - could it be as general setting ?

2008-04-30 Thread Stefan Simik
Hi Wicketeers, Is it possible to take CACHING TIME for resources from some settings ? Now, this time is hardcoded in WebResource#setHeaders(...) method to 1 hour value. I know, wicket is great for creating complex dynamic applications, but I there is often no need to reload the CSS and

Re: Alternative method to initialise page

2008-04-27 Thread Stefan Simik
John Patterson wrote: Hi, I am extending the PagingNavigatation and need to access some member variables to create my page links. Because these links are created in PagingNavigatation's constructor me subclasses newPagingNavigationLink() method is called before my subclasses member

Re: Gzipping of pages (HTML output, not only resources)

2008-04-26 Thread Stefan Simik
Thxnbsp;fornbsp;advicenbsp;-nbsp;Inbsp;triednbsp;tonbsp;usenbsp;thenbsp;mentionednbsp;gzipnbsp;filternbsp;andnbsp;itnbsp;seemsnbsp;tonbsp;worknbsp;:) Inbsp;havenbsp;notnbsp;detectednbsp;anynbsp;problemnbsp;innbsp;mynbsp;application.

Re: DatePicker - CSS errors

2008-04-24 Thread Stefan Simik
Ok, I think, I can live with it ;) Thx, for the answer . Stefan Simik -- View this message in context: http://www.nabble.com/DatePicker---CSS-errors-tp16834841p16849765.html Sent from the Wicket - User mailing list archive at Nabble.com

Gzipping of pages (HTML output, not only resources)

2008-04-24 Thread Stefan Simik
to make it work ? Stefan Simik -- View this message in context: http://www.nabble.com/Gzipping-of-pages-%28HTML-output%2C-not-only-resources%29-tp16849900p16849900.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Gzipping of pages (HTML output, not only resources)

2008-04-24 Thread Stefan Simik
I thought about it, and I have 2 ideas: 1. IDEA a) totally disable gzip in wicket -- getResourceSettings().setDisableGZipCompression(true); b) use Gzip filter BEFORE wicket-filter. This Gzip filter will compress all the communication - HTML,

Re: Gzipping of pages (HTML output, not only resources)

2008-04-24 Thread Stefan Simik
Stefan Simik wrote: 1. IDEA a) totally disable gzip in wicket -- getResourceSettings().setDisableGZipCompression(true); b) use Gzip filter BEFORE wicket-filter. This Gzip filter will compress all the communication - HTML, resources

DatePicker - CSS errors

2008-04-23 Thread Stefan Simik
Hi boys, Firefox reports some CSS error (in Error console) when using YUI date picker. The problematic file is: - http://server/resources/org.apache.wicket.extensions.yui.YuiLib/calendar/assets/skins/sam/calendar.css Version of the CSS file

Re: onBeforeRender vs. prepareForRender

2008-04-13 Thread Stefan Simik
Thank you both guys, all works fine now :) The problem was, that I was using method prepareForRender(), instead of the onBeforeRender(). Thanx boys -- View this message in context: http://www.nabble.com/onBeforeRender-vs.-prepareForRender-tp16653398p16657001.html Sent from the Wicket - User

onBeforeRender vs. prepareForRender

2008-04-12 Thread Stefan Simik
Hi guys, I would like to ask, what's the difference between these 2 methods: onBeforeRender vs. prepareForRender and when it is appropriate to use the first or second. Thanks a lot -- View this message in context:

Re: onBeforeRender vs. prepareForRender

2008-04-12 Thread Stefan Simik
One additional question, is it valid to change to component hierarchy in these methods ? I tried it, but it didnt work: SHORT EXAMPLE: - AjaxFallbackLink updateLink = new AjaxFallbackLink(updateLink) { @Override

Rendering strategies question

2007-11-22 Thread Stefan Simik
only for POST request, and for all GET request respond with ONE_PASS_RENDER ? But in WicketFilter all POST's call GET, so I think it's not possible. Is there anything I forgot to think about ? Thank you for you answer Stefan Simik -- View this message in context: http://www.nabble.com

Re: Rendering strategies question

2007-11-22 Thread Stefan Simik
mhmm, now I got it... In other frameworks and also in Wicket it's common to use GET request for doing some action on the server ( for example Link#onClick(...) ), so it's generally useful concept. I didn't see it from this point of view before. Thank you both boys :) Stefan Simik -- View

Border component - naming

2007-11-16 Thread Stefan Simik
Hello all, I have one question about the right naming of the Border component. I think, that Border is a little confusing name, in context of swing-like border. In my opinion, border should be used as a decorator, that is transparent for component, which has it added --- it's like the new

Re: Border component - naming

2007-11-16 Thread Stefan Simik
thanks for your response igor, yes, you are right, i understand, that in the output html border wraps its content - so it's looks like border for nested components. What we both mean, is the same, difference is only from point of view. My point of view is, that generally (in desktop GUI like

Re: JavaRebel experience

2007-11-07 Thread Stefan Simik
Java Rebel worked for me too. I had no such problem. -- View this message in context: http://www.nabble.com/JavaRebel-experience-tf4695671.html#a13632511 Sent from the Wicket - User mailing list archive at Nabble.com. - To

Re: TabbedPanel with image tabs - how to contribute ?

2007-10-12 Thread Stefan Simik
Thank you, I added new article: http://cwiki.apache.org/confluence/display/WICKET/Tabs+with+image but the last problem is, that I copied the article from one place to another (better location), but now I want to delete the the first article, because both are the same now. (ARTICLE I WANT TO

Re: TabbedPanel with image tabs

2007-10-10 Thread Stefan Simik
Example for AjaxTabbedPanel: 1. create new Link with image - different for selected and different for unselected tab MyAjaxFallbackLink.java public class MyAjaxFallbackLink extends AjaxFallbackLink { public MyAjaxFallbackLink(String

Re: TabbedPanel with image tabs - how to contribute ?

2007-10-10 Thread Stefan Simik
very good idea :) How can I contribute ? ..or where can I send example with full sources ? -- View this message in context: http://www.nabble.com/TabbedPanel-with-image-tabs-tf4580281.html#a13142733 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Can't seem to include anchor tag in span with wicket:id - Help

2007-09-15 Thread Stefan Simik
try to unselect checkbox Message is in HTML Format (lying under Subject field), it works for me see: div xx /div -- View this message in context: http://www.nabble.com/Can%27t-seem-to-include-anchor-tag-in-span-with-wicket%3Aid---Help-tf4447230.html#a12691874 Sent from the Wicket - User

Re: Can't seem to include anchor tag in span with wicket:id - Help

2007-09-15 Thread Stefan Simik
try to replace all your '' with amp;lt; and '' with amp;gt; I know, it's not very comfortable :) -- View this message in context: http://www.nabble.com/Can%27t-seem-to-include-anchor-tag-in-span-with-wicket%3Aid---Help-tf4447230.html#a12691943 Sent from the Wicket - User mailing list archive