Re: Nicer URLs in Wicket

2007-07-29 Thread Matej Knopp
? Personally I find the current url behavior in wicket to be quite unfriendly. In fact, it's among the few aspects I dislike in wicket :$ ++ Joseph On 7/29/07, Matej Knopp [EMAIL PROTECTED] wrote: Hi folks, I've committed two classes that improve Wicket mounted URLs in a significant

Re: Nicer URLs in Wicket

2007-07-29 Thread Matej Knopp
The example is also online: http://wicketstuff.org/wicket13/ajax/ So far I'm not sure what should the default look like /mount/point|3| or /mount/point(3) or maybe something else? Does anyone have an opinion about this? -Matej On 7/29/07, Matej Knopp [EMAIL PROTECTED] wrote: I'm not entirely

Re: Nicer URLs in Wicket

2007-07-29 Thread Matej Knopp
Nah, that wouldn't work. The separators can only be one character long. -Matej On 7/29/07, Johan Compagner [EMAIL PROTECTED] wrote: /mount/point!MK!3!MK! johan On 7/29/07, Matej Knopp [EMAIL PROTECTED] wrote: The example is also online: http://wicketstuff.org/wicket13/ajax/ So

Re: contributing to header (was: Must renderHead even if setVisible(false))

2007-07-31 Thread Matej Knopp
On 7/31/07, Matej Knopp [EMAIL PROTECTED] wrote: I don't really understand what your problem is. Wicket has AJAX header contribution, which should load the javascript dynamically for you. Doesn't this work for you? -Matej On 7/31/07, Carlos Pita [EMAIL

Re: DropDown within ModalWindow does not work in Camino

2007-08-03 Thread Matej Knopp
a ModalWindow exhibiting the exact same problem in Camino. On Aug 2, 2007, at 9:46 AM, Michael Day wrote: 1.2.5 and 1.2.6 On Aug 1, 2007, at 6:58 PM, Matej Knopp wrote: It's weird, what version of wicket are you testing it with? -Matej On 8/2/07, Michael Day [EMAIL PROTECTED] wrote

Re: Link on one frame modifying component on another

2007-08-03 Thread Matej Knopp
a slight indirection so that the top layer doesn't have to know exact id of the wicket link). And the onclick handler will update the tree and content frame. -Matej On 8/3/07, Watter [EMAIL PROTECTED] wrote: Matej Knopp-2 wrote: Hi, i think it should be possible to accomplish. Put

Re: wicket-event.js returning unreadable

2007-08-03 Thread Matej Knopp
application server, version 10.1, 32 bits? Apparently the classloader for the app server converts the getClass().getResourceAsStream(wicket-event.js) to use a code-source: protocol. I'm not sure, but it sounds like a security constraint in your setup. Martijn On 8/3/07, Matej Knopp [EMAIL

Re: {wicket 1.3 Beta 2} Adding panel via ajax...

2007-08-07 Thread Matej Knopp
The error looks like you are trying to render a component that is not attached to a page. You can add/remove components as much as you want, but when it comes to render, all components have to be attached to the page. -Matej On 8/7/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]

Re: resource reference vs resource

2007-08-07 Thread Matej Knopp
Yeah, ResourceReference is like global resource factory. That is for resources that don't belong to any component/page (they can't touch any component instance while they are served). -Matej On 8/8/07, Kent Tong [EMAIL PROTECTED] wrote: Matej Knopp matej.knopp at gmail.com writes: basically

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

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: Wicket-1.3-beta2 validation (conversion) bug?

2007-08-14 Thread Matej Knopp
I'm not sure if it's bug in wicket. So your input is disabled, but the TextField component is not? That's not good, you need to disable the TextField too in that case. -Matej On 8/14/07, Alex Objelean [EMAIL PROTECTED] wrote: After migrating from wicket-1.2.6 to wicket-1.3.0-beta2 I had the

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: 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: 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 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: 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: 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: 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: 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: 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: Why AJAX call resets the focus on the component?

2007-08-29 Thread Matej Knopp
just call AjaxRequestTarget.focuscomponent(null), that should prevent wicket from focusing the element. On 8/29/07, Gerolf Seitz [EMAIL PROTECTED] wrote: you can call AjaxRequestTarget#focusComponent(Component). either you pass the AjaxRequestTarget to the replacing panel and let it set the

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: 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: 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: 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: 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: 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: 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: Page state, undo and versioning?

2007-09-06 Thread Matej Knopp
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: no-store to other CacheControl flags

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: Strange bug in Wicket-1.3.0-beta2

2007-09-06 Thread Matej Knopp
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. -Matej On 9/6/07, Alex Objelean [EMAIL PROTECTED] wrote:

Re: Progressive Enhancement

2007-09-06 Thread Matej Knopp
You can have this kind of degradation with wicket. Just use AjaxFallbackLink and AjaxFallbackButton, they work both with or without Ajax, depending on user capabilities. -Matej On 9/6/07, bmarvell [EMAIL PROTECTED] wrote: Guys, While I'm ruffling the wicket feathers I thought I'd ask about

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
[EMAIL PROTECTED] wrote: I would prefer to use onBeforeRender, instead of onPopulate, since it is the I do in other components. Why would I use different life-cycle methods, depending on the component I'm using? Alex Matej Knopp-2 wrote: IMHO that's a bit wrong. You can subclass

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

  1   2   3   4   5   6   7   8   >