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

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

2009-04-21 Thread Stefan Simik
same in the last 2 / 7 30 days - because it was running only first day. 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? > > Cheer

New site developed in wicket - WWW.FITCOMPLEX.SK

2009-04-20 Thread Stefan Simik
New site about health, nutrition, exercise and life style 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 transp

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. http://www.nab

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

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

2008-11-25 Thread Stefan Simik
[X] YES - very good and useful idea ! Jeremy Thomerson-5 wrote: > > 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 pro

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

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() r

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 u

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 Wi

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: http://www.nabble.com/Presen

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... -Igor

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 compo

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", "imageA

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
gt; Session.get().bind() 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

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
, right? :-) > > Eelco > > On Mon, Jun 9, 2008 at 3: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 i

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 constr

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 messa

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

2008-06-03 Thread Stefan Simik
on my 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 messa

Re: Templating + performance question

2008-05-31 Thread Stefan Simik
ything by using a > profiler. > > 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 >> performa

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: Using generics with some non-generic classes in Wicket

2008-05-14 Thread Stefan Simik
t 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 c

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 callin

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

2008-05-13 Thread Stefan Simik
reason ? 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 whic

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
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 ExtendLabe

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

2008-05-13 Thread Stefan Simik
"new Model(text)", I 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-tp17208

Using generics with some non-generic classes in Wicket

2008-05-13 Thread Stefan Simik
fying 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 Nabbl

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 a

Re: Wicket javascripts - reloading every one hour

2008-05-08 Thread Stefan Simik
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 <[EM

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

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 "t

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 c

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 javascrip

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

2008-04-30 Thread Stefan Simik
complex modifying 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,

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 gzi

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 mem

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

2008-04-26 Thread Stefan Simik
Thx for advice - I tried to use the mentioned gzip filter and it seems to work :) I have not detected any problem in my application. I have used jetty\'s org.mortbay.servlet.GzipFilter, which I mapped to \"text/html\" response types only. This filter is placed BEFORE wicket-filter I adde

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 communi

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, r

Gzipping of pages (HTML output, not only resources)

2008-04-24 Thread Stefan Simik
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: 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

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:///resources/org.apache.wicket.extensions.yui.YuiLib/calendar/assets/skins/sam/calendar.css Version of the CSS file is 2.4.1

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 - U

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 p

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: http://www.nabble.com/onBeforeRender-vs.-prepareForRender-tp16653398p1665339

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 Simi

Rendering strategies question

2007-11-22 Thread Stefan Simik
ategy 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:/

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 Sw

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 n

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 uns

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 DELE

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: 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: 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 < and '>' with > 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 at Nab

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: xx -- 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 mailing

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

2007-09-15 Thread Stefan Simik
Is your *.html template XML valid ? Can you post *.html illustration when this error occurs and when doesn't ? I think, including anchor tag is not the right cause... -- View this message in context: http://www.nabble.com/Can%27t-seem-to-include-anchor-tag-in-span-with-wicket%3Aid---Help-tf44

Re: MOUNT & UNMOUNT-ing path in WebApplication

2007-09-11 Thread Stefan Simik
Oou, very fast answer ;) Wicket community is very active. Thanks you very much Al best regards Stefan Simik -- View this message in context: http://www.nabble.com/MOUNT---UNMOUNT-ing-path-in-WebApplication-tf4425593.html#a12624846 Sent from the Wicket - User mailing list archive at Nabble.com

MOUNT & UNMOUNT-ing path in WebApplication

2007-09-11 Thread Stefan Simik
Hello Wicketeers I want to thank wicket's developers for the nice product and in second place I want to make clear that I am a newbie, so maybe my question is a stupid one ... In that case my apologies to the developers... and please help me find the right way to do it in wicket:-) I have a prob

Re: DatePicker-localization (*.js) files are in UTF-8 - problem with diacritics

2007-08-03 Thread Stefan Simik
Thank you in advance Matej, you're right - we had incorrect Page encoding. After a few hours of debugging and testing I found, that the one page (which used DatePicker) had incorrect encoding - ISO-8859-2 and not UTF-8. All other pages were good. I didn't found the reason yet ( why the only one

DatePicker-localization (*.js) files are in UTF-8 - problem with diacritics

2007-08-02 Thread Stefan Simik
Hi, I search old discussion, but I cannot find answer. We use a DatePicker component from wicket.extensions. This component has many *.js files for localization (we use Slovak locale -> calendar-sk-utf8.js ) Problem is, that these files are written using UTF-8 encoding. Header contribution: d