Re: ModalWindow bug - unable to close when added AjaxButton in content of the window

2007-09-14 Thread Matej Knopp
not replicate it in quickstart. The button works fine there. For now I solved the problem by replacing AjaxButtons with AjaxLinks. Vitek Matej Knopp wrote: Plase create a jira issue and attach a quickstart to it. Thanks. -Matej On 9/13/07, Vit Rozkovec [EMAIL PROTECTED] wrote

Re: Centering ModalWindow during scroll?

2007-09-14 Thread Matej Knopp
No, currently there is not. -Matej On 9/14/07, Anthony J Webster [EMAIL PROTECTED] wrote: Hi, Is there a way to center a ModalWindow so that when a user scrolls the site with the navigator scrollbar, the ModalWindow stays centered while the site behind scrolls? Thanks Anthony

Re: setRenderAllowed not called in Tree items

2007-09-14 Thread Matej Knopp
Then it's a bug probably. Can you please create a JIRA issue so that I don't forget to look at it? Thanks. -Matej On 9/14/07, buealb [EMAIL PROTECTED] wrote: I'm working with the trunk. What wicket version are you using? -Matej On 9/13/07, buealb [EMAIL PROTECTED] wrote: Hi, I'm

Re: Centering ModalWindow during scroll?

2007-09-14 Thread Matej Knopp
for alternatives to ModalWindow and most of them only have this working in FF (the small ones which don't involve a huge library that is). Pity I'm not a JS expert... - Original Message - From: Matej Knopp [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Friday, September 14, 2007

Re: Modal dialogs with Ajax

2007-09-14 Thread Matej Knopp
Well, modal window is a bit overkill in this case. I guess I'd replace it by a custom mask and probably a centered message with a button. It's hard to be any detailed, as this requires some CSS work and custom javascript. -Matej On 9/13/07, Anthony J Webster [EMAIL PROTECTED] wrote: Hello

Re: Too many open Files

2007-09-14 Thread Matej Knopp
.jar (Too many open files) does suggest that the app is checking for last modified dates, while for bundled resources the last modified time should use the jar's. I thought we had a solution for that? Martijn On 9/14/07, Matej Knopp [EMAIL PROTECTED] wrote: It doesn't look like

Re: Wicket visibility and Panel positioning

2007-09-14 Thread Matej Knopp
The panel is not rendered when you call setVisible(false). So the subsequent ajax update has no dom element to replace. You can call panel.setOutputMarkupPlaceholderTag(true) to work around it. -Matej On 9/14/07, Kirk Israel [EMAIL PROTECTED] wrote: I looked over a lot of the usual examples but

Re: ModalWindow bug - unable to close when added AjaxButton in content of the window

2007-09-13 Thread Matej Knopp
Plase create a jira issue and attach a quickstart to it. Thanks. -Matej On 9/13/07, Vit Rozkovec [EMAIL PROTECTED] wrote: Good day, I am using last snapshot of wicket and there is a problem with modal window - I create instance of the window and add it to the page. As a content I use a panel

Re: setRenderAllowed not called in Tree items

2007-09-13 Thread Matej Knopp
What wicket version are you using? -Matej On 9/13/07, buealb [EMAIL PROTECTED] wrote: Hi, I'm using Tree component. I have problems with the rendering of the children of an TreeItem. If I look the code of Component.renderComponent, after of calling to beforeRender(), you check if component

Re: (Matej?) Re: How to remove a page from Wicket's back button memory?

2007-09-12 Thread Matej Knopp
It should be fixed in svn already. https://issues.apache.org/jira/browse/WICKET-942 -Matej On 9/12/07, Justin Morgan (Logic Sector) [EMAIL PROTECTED] wrote: Hi Matej, i think matej did fix that today or is fixing it Any word on whether this bug is fixed? (see stack trace below) Or

Re: Ajax error in Safari / Konqueror

2007-09-11 Thread Matej Knopp
If you can submit a snapshot that demonstrates ajax failure in beta 3, please do. -Matej On 9/10/07, Nathan Hamblen [EMAIL PROTECTED] wrote: Rüdiger Schulz wrote: How can I find out more, or what more information would be needed to root this down? Maybe this is related to WICKET-938?

Re: Default focus behavior for ajax request

2007-09-11 Thread Matej Knopp
Because currently there is no way during ajax processing to determine that the event was a focus related one. I think that it's good to restore focus on last focused element by default. But I'm also aware that it causes problems with focus related event, so i think maybe we should just call

Re: ModalWindow customisation ?

2007-09-11 Thread Matej Knopp
Yeah, I must admit, that modal window is not the most customizable piece of code out there. It is possible, but require a rather deep css and modal window knowledge. It's on my todo list to rewrite and modularize it, unfortunately I'm rather busy lately. -Matej On 9/11/07, Anthony J Webster

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Matej Knopp
that the next ajax request would require again to call the (very costly) service and this is not acceptable. Alex. Matej Knopp-2 wrote: There seems to be something terribly weird going on. Your application looks like a corner case. On page like that, I wouldn't be surprised

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Matej Knopp
/file/p12588790/HttpSessionStore.jpg http://www.nabble.com/file/p12588790/SecondSessionLevelStore.jpg Matej Knopp-2 wrote: You can revert to httpsessionstore by changing Application.newSessionStore method. But that's not recommended. What

Re: modal window mask type - is there a way to increase the opacity of the mask

2007-09-10 Thread Matej Knopp
There is no configuration option, you'll have to override css. -Matej On 9/10/07, Ed _ [EMAIL PROTECTED] wrote: Looking through the java docs - i see two settings for the modal window mask - Transparent and Sem-transparent with an opacity of 10% - is there a way to increase the opacity to

Re: Page state, undo and versioning?

2007-09-10 Thread Matej Knopp
: Matej Knopp-2 wrote: What Wicket version are you using? Because for reliable versioning you will need 1.3. Also you problem can be browser caching the initial DOM tree (not the modified one). So you should force browser to fire http request on back button too - adding CacheControl

Re: AjaxSubmitLink does nothing in IE

2007-09-10 Thread Matej Knopp
/span /p . Could this be the cause? Thanks Anthony - Original Message - From: Matej Knopp [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Friday, September 07, 2007 4:16 PM Subject: Re: AjaxSubmitLink does nothing in IE Could be related to markup

Re: Disable the SecondLevelPageCache?

2007-09-09 Thread Matej Knopp
Even the regular DiskPageStore is optimized for use in clustered environment, as it reuses serialized page instances when the session is being replicated. -Matej On 9/9/07, Sean Sullivan [EMAIL PROTECTED] wrote: On 9/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote: [...] Also thanks to Matej

Re: threading issues - continued

2007-09-07 Thread Matej Knopp
Can you be more specific? What kind of concurrency issues? -Matej On 9/7/07, Sam Hough [EMAIL PROTECTED] wrote: oops, I posted on old forum... http://www.nabble.com/threading-question-tf841003.html [all request serialised on Session object] Is this true even for Ajax requests? Is whole

Re: threading issues - continued

2007-09-07 Thread Matej Knopp
and threading? Matej Knopp-2 wrote: Can you be more specific? What kind of concurrency issues? -Matej On 9/7/07, Sam Hough [EMAIL PROTECTED] wrote: oops, I posted on old forum... http://www.nabble.com/threading-question-tf841003.html [all request serialised on Session object

Re: AjaxSubmitLink does nothing in IE

2007-09-07 Thread Matej Knopp
check the Ajax debug window and the server *is* contacted and everything however after recieving the response I get an ERROR: Error while parsing response: Unknown runtime error in IE. Any Ideas? Many Thanks Anthony - Original Message - From: Matej Knopp [EMAIL PROTECTED] To: users

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-07 Thread Matej Knopp
, not within one. Martijn On 9/7/07, Matej Knopp [EMAIL PROTECTED] wrote: Really? What's so odd about it? Say you have a page with 100 images. How long do you think such page renders? It shouldn't take long than say 5 ms on a decent machine. -Matej On 9/7/07, Johan Compagner [EMAIL

Re: Bookmarkable page and session object problem? (1.3 beta3)

2007-09-07 Thread Matej Knopp
We can't help you with this if you don't post any code. The session object should of course be available for bookmarkable and non-bookmarkable objects. -Matej On 9/7/07, Chris Lintz [EMAIL PROTECTED] wrote: Hi all, This seems like a bug to me but I am hoping some one can lead me the right

Re: WebMarkupContainer without template markup

2007-09-07 Thread Matej Knopp
Can't you just call webmarkupcontainer.setRenderBodyOnly(true) ? -Matej On 9/7/07, Scott Swank [EMAIL PROTECTED] wrote: I get what you're saying, but the images in question are scattered across the page rather than in one place that could simply be enclosed. Thank you none the less, I do

Re: Bookmarkable page and session object problem? (1.3 beta3)

2007-09-07 Thread Matej Knopp
(); } } }; WebPageTemplate.java snippet: public void setUserInSession(User u) { MediumSession session = (MediumSession) getSession(); session.setUser(u); } Matej Knopp-2 wrote: We can't help you with this if you don't post any code

Re: Disable the SecondLevelPageCache?

2007-09-07 Thread Matej Knopp
You can revert to httpsessionstore by changing Application.newSessionStore method. But that's not recommended. What are your performance problems? I doubt it is caused by the session store. -Matej On 9/7/07, jamieballing [EMAIL PROTECTED] wrote: We are trying to do some performance

Re: Strange bug in Wicket-1.3.0-beta2

2007-09-06 Thread Matej Knopp
You should try this with latest trunk. This should be fixed already, but after beta 3. -Matej On 9/6/07, Alex Objelean [EMAIL PROTECTED] wrote: When using wicket-1.3.0-beta3, still have the same problem. Here is again the stacktrace: org.apache.wicket.WicketRuntimeException: component

Re: Wicket validation flaw?

2007-09-06 Thread Matej Knopp
I thought we were trimming textfield strings, but now i see it's no longer the case. Is it a regression or a feature? Also the missing message doesn't make much sense, can you please report a JIRA issue and attach a quick start project? -Matej On 9/6/07, Alex Objelean [EMAIL PROTECTED] wrote:

Re: Strange bug in Wicket-1.3.0-beta2

2007-09-06 Thread Matej Knopp
beta-4 is out? Alex. Matej Knopp-2 wrote: Yes, I know what's causing it. And as I said, this should be already taken care of. I've added a special precondition evaluated right before each scheduled ajax request to check if the originating DOM element is still in the document

Re: Strange bug in Wicket-1.3.0-beta2

2007-09-06 Thread Matej Knopp
http://www.wicketstuff.org/maven/repository/org/apache/wicket/ On 9/6/07, Matej Knopp [EMAIL PROTECTED] wrote: Dunno, there's still work to do, but there are snapshot somewhere available, you can grab those if you don't want to build wicket. -Matej On 9/6/07, Alex Objelean [EMAIL PROTECTED

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Matej Knopp
Please do, so that we don't forget. -Matej On 9/6/07, Alex Objelean [EMAIL PROTECTED] wrote: Thank you again, Matej! :) Will it be fixed, or should I create a task in JIRA? Alex Matej Knopp-2 wrote: Some time ago onBeforeRender was called always, even if the component

Re: Strange bug in Wicket-1.3.0-beta2

2007-09-06 Thread Matej Knopp
) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Matej Knopp-2 wrote: http://www.wicketstuff.org/maven

Re: Strange bug in Wicket-1.3.0-beta2

2007-09-06 Thread Matej Knopp
task with the stacktrace and short description, than I'll do it. Alex Matej Knopp-2 wrote: that's weird. could be a bug in precodition check. Can you please create a jira entry and add a quickstart project? This might be a corner case, I'd like to fix this asap. -Matej On 9/6

Re: Strange bug in Wicket-1.3.0-beta2

2007-09-06 Thread Matej Knopp
Also, can you post code of the serverside event handler? -Matej On 9/6/07, Matej Knopp [EMAIL PROTECTED] wrote: Unfortunately just a jira issue will not od that. Can't you try to isolate the problem? -Matej On 9/6/07, Alex Objelean [EMAIL PROTECTED] wrote: It's quite hard to create

Re: Strange bug in Wicket-1.3.0-beta2

2007-09-06 Thread Matej Knopp
Matej Knopp-2 wrote: When clicking _any_ row? Now that really is interesting. I hope you'll able to provide the quickstart soon. -Matej On 9/6/07, Alex Objelean [EMAIL PROTECTED] wrote: I will do that as soon as I can (hope tomorrow. Anyway, the quickstart is easy

Re: JavaScript Frameworks

2007-09-05 Thread Matej Knopp
Hi, this question has been asked here numerous times. The thing is, there is in fact no real alternative of wicket-ajax for us. Wicket is not built about Ajax widgets.Wicket is about server-side components that can be partially updated using Ajax. That's a fundamental difference. As for the

Re: Page serialization checks

2007-09-05 Thread Matej Knopp
Yeah, it does. Just check your logs, because this happens after page is rendered, so if an exception is thrown, you won't see it in browser. -Matej On 9/5/07, Martijn Dashorst [EMAIL PROTECTED] wrote: It is checked automatically when a statefull page is stored at the end of the request in

Re: Wicket problem with slf4j 1.4

2007-09-05 Thread Matej Knopp
Removed? They added it in 1.4. -Matej On 9/5/07, David Bernard [EMAIL PROTECTED] wrote: Hi, The 'trace' log level is removed from the last version of slf4j. In my project, I replaced trace(...) and is isTraceEnabled() by debug(...) and isDebugEnabled(). I also use logback : * successor

Re: Wicket/JSP Hosting

2007-09-05 Thread Matej Knopp
Problems with EC2 I had was that they don't support multicast. Which is quite a bummer as most clustering/replication solution use multicast heart-beats. -Matej On 9/5/07, Xavier Hanin [EMAIL PROTECTED] wrote: On 9/5/07, Martijn Dashorst [EMAIL PROTECTED] wrote: No experience (yet), but I'm

Re: Tracking down an elusive error during migration to 1.3

2007-09-05 Thread Matej Knopp
Looks like a bug in property resolver that it doesn't handle maps properly. Johaaan? -Matej On 9/5/07, David Leangen [EMAIL PROTECTED] wrote: Thanks. I managed to find the class of the source of the problem, and it seems to be internal to Wicket.

Re: JavaScript Frameworks

2007-09-05 Thread Matej Knopp
is required fair enough. I was using the term Ajax in a very business sense ie: full stack functionality; slides, fades etc. So for those specific issues are we to say: http://martijndashorst.com/blog/2007/04/16/javascript-animation-libraries-compared/ Is the future?? Matej

Re: write translated messages in renderhead

2007-09-05 Thread Matej Knopp
It's easier to just call getString(key) instead of using ResourceModel in this case. -Matej On 9/5/07, Johan Compagner [EMAIL PROTECTED] wrote: String js += var myMsg = ' + JavascriptUtils.escapeQuotes(new ResourceModel(MY_MSG, null) + ) + ';; that looks a bit wrong, try something like this

Re: Twice Behavior on the same event handler (wicket 1.2.x)

2007-09-05 Thread Matej Knopp
I believe it will only fire the last added behavior. -Matej On 9/5/07, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Dear Community, what happens if two or event behavior are added on the save event handler. I mean something like that Button b = new Button(the-button);l b.add(new

Re: Page serialization checks

2007-09-05 Thread Matej Knopp
configs, and at which level, to get this? Enabling all Wicket logging is of course quite verbose... Thanks, Jan On 05/09/07, Matej Knopp [EMAIL PROTECTED] wrote: Yeah, it does. Just check your logs, because this happens after page is rendered, so if an exception is thrown, you won't see

Re: Change of Button interface

2007-09-03 Thread Matej Knopp
This needs to be sorted out. Can you please add JIRA entry? Actually, is there any other place where this causes problems apart from form.setDefaultButton? -Matej On 9/3/07, David Leangen [EMAIL PROTECTED] wrote: Been trying to update to 1.3 and encountered some problems with SubmitLink.

Re: compressing javascript resources

2007-09-03 Thread Matej Knopp
tool complained because js was not minified even though it was gzipped. -igor On 9/2/07, Matej Knopp [EMAIL PROTECTED] wrote: For certain browsers (even IE6) the GZIP compression doesn't work. And if you have a lot of javascripts (YUI, dojo, ...) it can

Re: AjaxFallbackButton really require Form in constructor?

2007-09-03 Thread Matej Knopp
If you need to access your component's parent in a safe way, the first method when you can do that is onBeforeRender(). -Matej On 9/3/07, Sam Hough [EMAIL PROTECTED] wrote: Would that not be too soon? The Button could not have been added to a form yet? My particular use case is that I have

Re: How to exclude from model update

2007-09-03 Thread Matej Knopp
Yeah, but this way you are treating only effect. I think the error shouldn't happen in a first place. -Matej On 9/3/07, Sam Hough [EMAIL PROTECTED] wrote: You could give it a dummy IModel of just new Model()... Ian Godman wrote: Hi I have a little problem with an AJAX submit

Re: How to exclude from model update

2007-09-03 Thread Matej Knopp
Can you please provide more code and entire stacktrace? -Matej On 9/3/07, Ian Godman [EMAIL PROTECTED] wrote: Wicket version is 1.3 beta 2 - Original Message From: Matej Knopp [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Monday, 3 September, 2007 3:31:18 PM Subject: Re

Re: Houdini FeedBackPanel Problem

2007-09-03 Thread Matej Knopp
Hi, there are multiple problems with your code. First you have script type=text/javascript document.getElementById('a'). /script In your page's header. That's a javascript error (trailing .). Also you've attached validating behavior in onblur. That's the behavior that clears

Re: compressing javascript resources

2007-09-03 Thread Matej Knopp
On 9/3/07, Matej Knopp [EMAIL PROTECTED] wrote: Well, I don't find it surprising. Lot of javascript code are comments, and if you strip them out, you have less content to compress, thus the numbers are smaller. You can set as high compression as you want, but the comments still make

Re: compressing javascript resources

2007-09-02 Thread Matej Knopp
project with the dojo (and maybe YUI) compressors! https://issues.apache.org/jira/browse/WICKET-918 On 9/1/07, Matej Knopp [EMAIL PROTECTED] wrote: I don't see reason why not, you can create a RFE in jira. -Matej On 9/2/07, Ryan Sonnek [EMAIL PROTECTED] wrote

Re: Communication between two wicket applications

2007-09-02 Thread Matej Knopp
Your approach will not work, because the applications are in two different contexts. So each one has separate servlet context. Quite some time ago I had to deal with problem like this, I remember using simple hessian based spring remoting which did it's job perfectly and was quite easy to set up.

Re: Append anchor to form redirect URL?

2007-09-02 Thread Matej Knopp
It will not help you append the hash to submitlink, as wicket redirect afterwards. So the hash would be discarded anyway. Unfortunately we can't just preserve it during request, as the hash doesn't leave the browser, so it's not possible to get the actual value before issuing a redirect. One

Re: Tree not redrawn when resetting root node

2007-09-01 Thread Matej Knopp
Hi Doug, thanks for the quickstart, issue should be fixed, see the issue comments. -Matej On 9/1/07, Doug Leeper [EMAIL PROTECTED] wrote: See entry WICKET-914 https://issues.apache.org/jira/browse/WICKET-914 -- View this message in context:

Re: best practice for a header component with links defined by the page

2007-09-01 Thread Matej Knopp
Good luck with such solutions. If you want to build things like that, you've got basically two approaches. Use GWT (or something alike) - code logic in limited subset of java and have it magically translated to javascript. This seems somewhat fragile and limiting to me, but I don't have enough

Re: compressing javascript resources

2007-09-01 Thread Matej Knopp
Well, I certainly didn't want to reinvent the wheel. But all existing solutions I was able to find either relied on a third part library (shrinksafe) or had license not compatible with ASL. So I just wrote a simple stripper. I think it still helps a lot, I didn't want to build a perfect stripper.

Re: Session.get() from non-Wicket-Filter/Servlet and the RequestCycle

2007-08-31 Thread Matej Knopp
You don't interact with WicketSessionFilter directly. You just set it up, providing name of your WicketFilter ad argument. You need to map the WicketSessionFilter to same url as your non-wicket filter/servlet and make sure that you use a non-wicket filter WicketSessionFilter gets invoked first.

Re: Tree not redrawn when resetting root node

2007-08-31 Thread Matej Knopp
What does it mean reset root node. What exactly do you do with your TreeModel. And what tree model are you using? -Matej On 8/31/07, Doug Leeper [EMAIL PROTECTED] wrote: I have a tree that I reset the root node when a user selects on another component (Component A). However, the tree is not

Re: best practice for a header component with links defined by the page

2007-08-31 Thread Matej Knopp
On 8/31/07, Kirk Israel [EMAIL PROTECTED] wrote: On 8/31/07, Scott Swank [EMAIL PROTECTED] wrote: That is why flat, page/request granularity web UI frameworks have succeeded. They are simple and procedural. The reason that languages such as Smalltalk, Java C# are much better than

Re: BookmarkablePage URL

2007-08-31 Thread Matej Knopp
it's simple :) application.mountBookmarkablePage(/home/page, HomePage.class); and the url can look like http://server.com/context/home/page/cat/4 -Matej On 8/31/07, V. Jenks [EMAIL PROTECTED] wrote: I guess I'm completely confused. I'm pretty sure I've done it this way before and it

Re: best practice for a header component with links defined by the page

2007-08-30 Thread Matej Knopp
On 8/30/07, Kirk Israel [EMAIL PROTECTED] wrote: Igor, sorry if I've irritated you. I know some of my frustration comes from A. an ugly reluctance to embrace change and B. Wicket is doing great things but it's somewhat early days, and the documentation (tutorial books and recipe collections)

Re: Best way to add a MarkupFilter

2007-08-30 Thread Matej Knopp
Hi, but the default factory doesn't do much, just creates markup parse. You have to create your own markup factory, it's trivial. IMarkupSettings.setMarkupParserFactory(new IMarkupParserFactory() { public MarkupParser newMarkupParser(final MarkupResourceStream resource) { MarkupParser

Re: TreeTable...how to refect a label change on TreeNode

2007-08-30 Thread Matej Knopp
It is correct, and there is nothing special you should do, if your TreeModel is correctly implemented (=it reflects the change). If it doesn't, it means that the TreeModel which you set to the tree is holding stale data, you need to correct that. -Matej On 8/30/07, Doug Leeper [EMAIL PROTECTED]

Re: VisitChildren bottom-up

2007-08-30 Thread Matej Knopp
The IPostOrderVisitor idea seems to me better than having another method -Matej On 8/30/07, Igor Vaynberg [EMAIL PROTECTED] wrote: perhaps you can add an rfe into jira so we dont forget. -igor On 8/29/07, RedFury [EMAIL PROTECTED] wrote: Thanks for the quick reply Igor. For now I'm

Re: Wizards FeedbackPanel

2007-08-30 Thread Matej Knopp
You can override newFeedbackPanel method of wizard protected FeedbackPanel newFeedbackPanel(String id) { FeedbackPanel fp = super.newFeedbackPanel(id); fp.setVisible(false); return fp; } -Matej On 8/30/07, ivana [EMAIL PROTECTED] wrote: Is there a way to remove/turn off Wizard's own

Re: Page aliasing and Request interception

2007-08-30 Thread Matej Knopp
mountBookmarkablePage could help you here. Wicket can't help you with autentication, but for authorization, you can implement IAuthorizationStrategy which allows you to protect various bits of wicket. -Matej On 8/30/07, Craig Tataryn [EMAIL PROTECTED] wrote: Hi, this is my first post so

Re: 1.3 beta2 - beta3 = NullPointerException

2007-08-29 Thread Matej Knopp
Hi, could you please create a jira issue and attach a quickstart project that can be used to reproduce this? Thanks. I'll look at it ASAP. -Matej On 8/29/07, Stojce Dimski [EMAIL PROTECTED] wrote: I have a simple app embedded in my jetty (no web.xml, I wire-up the components) with: -

Re: Wicket HTML Simplicity

2007-08-29 Thread Matej Knopp
Well, it is just HTML. But there is a templating involved. And that has to hinder previewability in a certain way. -Matej On 8/29/07, Carlos Silva [EMAIL PROTECTED] wrote: I guess the is just HTML claim of wicket only goes so far. On Aug 29, 2007, at 2:16 PM, Martijn Dashorst wrote:

Re: Wicket getting some bad press at Slashdot.org

2007-08-29 Thread Matej Knopp
Yeah, we have alrady seen it. But I personally think that responding to arguments such as I just don't see what Wicket - or possibly any web framework - buys you. is just a waste of time. -Matej On 8/29/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Over in the Slashdot article about GWT in

Re: best practice for a header component with links defined by the page

2007-08-29 Thread Matej Knopp
You should use panels for this. You can have panels for 1 link, 2 links a 3 links. Or even put a repeater into panel to generate as many links as you want. And you then need only one placeholder on the page (for the panel). -Matej On 8/29/07, Kirk Israel [EMAIL PROTECTED] wrote: Hey there--

Re: Panel/Localizer issue

2007-08-28 Thread Matej Knopp
You should use ResourceModel for this, it does the localization/message lookup for you. -Matej On 8/28/07, Edvin Syse [EMAIL PROTECTED] wrote: Hi, When I instantiate a Panel that does getLocalizer().getString() in the constructor, I obviously get the errormessage: WARN [Localizer] Tried

Re: Propagating user context to the business layer

2007-08-28 Thread Matej Knopp
You can extend RequestCycle and do that in onEndRequest. To use custom request cycle class override Application.newRequestCycle(final Request request, final Response response); -Matej On 8/28/07, Huergo Perez [EMAIL PROTECTED] wrote: Hi All, I have a user context stored in a Wicket session

Re: Migration to Wicket 1.3

2007-08-28 Thread Matej Knopp
The validators work a bit differently in 1.3 you need to use the error(IValidationError error) on IValidatable inside your IValidator.validate(IValidatable validatable); as IValidationError you can use the convenience class ValidationError. e.g. ValidationError error = new ValidationError();

Re: Wicket at Apachecon (US)

2007-08-28 Thread Matej Knopp
Not really. The thing is that i don't even know if the tutorial will happen util short time before the apache con (depending on number of attendees). -Matej On 8/28/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 8/28/07, Matej Knopp [EMAIL PROTECTED] wrote: Hi, I was supposed to have

Re: nested ajax requests (AjaxEditableLabel and form)

2007-08-27 Thread Matej Knopp
What exception? On 8/27/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I got some problems in my app with a nested ajax request. In my form i'm using a DataTable whick includes AjaxEditableLabel components. The Problem with these combination is that if a label is changed, the rest of

Re: DownloadLink hanging

2007-08-27 Thread Matej Knopp
I've commited a possible fix. Can you plase try if it helps your problem? -Matej On 8/27/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 8/27/07, Thomas Singer [EMAIL PROTECTED] wrote: Isn't fixing bugs the task of the Wicket developers? We don't have a problem ordering support, but I

Re: DownloadLink hanging

2007-08-27 Thread Matej Knopp
On 8/27/07, Thomas Singer [EMAIL PROTECTED] wrote: Your best bet on getting quick support is to fix it yourself and send in a patch. Well, if that would be possible, I would have done that or worked around it myself (like done with some own components). http://www.wicket-support.com/

Re: Re: Re: nested ajax requests (AjaxEditableLabel and form)

2007-08-27 Thread Matej Knopp
Beverungen Josef Tillmann Vorsitzender des Aufsichtsrates Heinz-Dieter Wendorff Handelsregister Amtsgericht Paderborn HRB 3270 Matej Knopp [EMAIL PROTECTED] 27.08.2007 10:45 Bitte antworten an users@wicket.apache.org An users@wicket.apache.org Kopie Thema Re: Re: nested ajax

Re: Alternative to Wicket data binding

2007-08-27 Thread Matej Knopp
On 8/27/07, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Sat, 25 Aug 2007, Eelco Hillenius wrote: are discussing here though is quite a different case. If it is no problem that people access members directly, and you think getters and setters are too much bloat, why don't you just make them

Re: Re: Re: Re: nested ajax requests (AjaxEditableLabel and form)

2007-08-27 Thread Matej Knopp
Hagen Matej Knopp [EMAIL PROTECTED] 27.08.2007 11:24 Bitte antworten an users@wicket.apache.org An users@wicket.apache.org Kopie Thema Re: Re: Re: nested ajax requests (AjaxEditableLabel and form) I need a quickstart with as little code as possible but enough to demonstrate

Re: DownloadLink hanging

2007-08-27 Thread Matej Knopp
a little bit for a web*site*, but when I think on a web*application* like JIRA, I also can't imagine at least one usecase (always from my user's point of view) which accepts a timeout or blocking when downloading a larger file. -- Cheers, Tom Matej Knopp wrote: On 8/27/07, Thomas Singer

Re: RefreshingView only gets rendered when TreeTable node is opened twice

2007-08-27 Thread Matej Knopp
, including a quickstart gerolf On 8/27/07, Matej Knopp [EMAIL PROTECTED] wrote: It's probably a bug, can you please fill in a JIRA entry and assign it to me? What wicket version are you using? -Matej On 8/27/07, Gerolf Seitz [EMAIL PROTECTED] wrote: hi

Re: Alternative to Wicket data binding

2007-08-26 Thread Matej Knopp
For the sake of clarity, I think this: with public getXXX and private setXXX the property is read only with public getXXX and no setXXX the property is read only So do I. I think it needs to be fixed. If there is a private setter, we should use it. Period. Johaaan?! -Matej

Re: Alternative to Wicket data binding

2007-08-25 Thread Matej Knopp
Why couldn't it access the attribute field directly? -Matej On 8/25/07, Paolo Di Tommaso [EMAIL PROTECTED] wrote: I agree. If you make the PropertyModel access private getter and setter I don't see any reason because it cannot access the attribute field directly (when the getter and setter

Re: Alternative to Wicket data binding

2007-08-25 Thread Matej Knopp
I agree with Igor here. If you are really concerned about protecting private fields, your only option is running with a security manager. Otherwise there will always be a way around it. Being able to access private field is convenient and reduces code clutter. Even though it's not the cleanest way

Re: Wicket and Spring MVC compared.

2007-08-24 Thread Matej Knopp
There is not much point in comparing Wicket to Spring MVC. Spring MVC is a very simple action based framework with very little functionality (and probably minimal overhead). So what you would really be comparing is Wicket to JSP (assuming you use JSP as your view layer). Now again, Wicket is a

Re: Alternative to Wicket data binding

2007-08-24 Thread Matej Knopp
Hi, there's nothing wrong with yor approach, actually, it's more solid than using (Compound)PropertyModel because you get full refactoring support. The downside is of course code verbosity. Unless java get property expression there's not much we can do about it though :-/ -Matej On 8/24/07, Sam

Re: Alternative to Wicket data binding

2007-08-24 Thread Matej Knopp
resolver by default provides access to private members and methods. If guaranteeing encapsulation of the target objects is a big concern, you should consider using an alternative implementation. out of date? I'm glad to say it doesn't seem to be true in 1.3.0-beta2 Matej Knopp-2 wrote: Hi

Re: Alternative to Wicket data binding

2007-08-24 Thread Matej Knopp
. Realised I've been avoiding implementing something because I can't think of a good property name and I don't want to have to fix it in my bean, component java and component html... Maybe I will go with the verbose solution. May also stop me pushing lots of rubbish into the model. Matej Knopp-2

Re: Wicket and Spring MVC compared.

2007-08-24 Thread Matej Knopp
when you run the tests. there is also a jmeter page on wiki somewhere if you want more clues. -igor On 8/24/07, Matej Knopp [EMAIL PROTECTED] wrote: There is not much point in comparing Wicket to Spring MVC. Spring MVC is a very simple action based framework with very little functionality

Re: PageStore listener...

2007-08-23 Thread Matej Knopp
Why can't you just implement read/writeObject on your page/component? -Matej On 8/23/07, Jan Kriesten [EMAIL PROTECTED] wrote: Hi, is there a way to add a listener to PageStore events (storePage/getPage)? I'm still looking for a clean way to re-inject Pages/Components when they are

Re: wicket vs tapestry ?

2007-08-22 Thread Matej Knopp
Hi, 2) I like the back button support. My thinking is that extending Wicket's AJAX integration to also support the back button (somehow) is a must. Virtually everyone who uses Wicket will use it's AJAX functionality. Almost all of these will need solve this problem. Sure would be nice if

Re: TreeTable...how to refect a label change on TreeNode

2007-08-21 Thread Matej Knopp
Your treemodel must fire the appropriate treeNodesChanged events on the listeners. And then you need to call tree.updateTree(ajaxRequestTarget); -Matej On 8/20/07, Doug Leeper [EMAIL PROTECTED] wrote: I am using the TreeTable in Wicket Extensions. When selecting on a node, a page allowing

Re: HeaderContributor for conditional comments

2007-08-21 Thread Matej Knopp
Just beware that while conditional comments will work on regular request, they will not work during ajax header contribution. Also I don't understand what you mean by I'd like to serve MSIE with CompressedResourceReferences -Matej On 8/21/07, Rüdiger Schulz [EMAIL PROTECTED] wrote: Hello

Re: Replacing panels inside a ModalWindow

2007-08-13 Thread Matej Knopp
Does this happen in all browsers? -Matej On 8/13/07, al que [EMAIL PROTECTED] wrote: Hello Sean, thanks for your suggestion. I have upgraded to 1.3.0-SNAPSHOT but i still have the same problem :(. Alina. --- Sean Sullivan [EMAIL PROTECTED] wrote: Did you say that you

Re: Replacing panels inside a ModalWindow

2007-08-13 Thread Matej Knopp
displays a blank page from the beginning. Thanks, Alina. --- Matej Knopp [EMAIL PROTECTED] wrote: Does this happen in all browsers? -Matej Sé un Mejor Amante del Cine ¿Quieres saber cómo? ¡Deja

Re: AjaxTabbedPanel Problem

2007-08-13 Thread Matej Knopp
There is no such thing as tabbed panel CSS. Tabbed panel doesn't come with any CSS. I put div.tab-panel { clear: left; } to styles.css in wicket examples, just in case someone takes the styles from there. -Matej On 8/14/07, Tauren Mills [EMAIL PROTECTED] wrote: A quick fix to this is

Re: resource reference vs resource

2007-08-08 Thread Matej Knopp
of ResourceReference) and be able to lookup the Resource instance on request. -Matej On 8/8/07, Kent Tong [EMAIL PROTECTED] wrote: Matej Knopp matej.knopp at gmail.com writes: Yeah, ResourceReference is like global resource factory. That is for resources that don't belong to any component/page

<    2   3   4   5   6   7   8   >