Re: Weird Ajax non-English characters encoding problem.

2007-10-21 Thread Matej Knopp
I don't know tbh. I believe the request body is encoded in UTF-8. People usually use UTF-8, so no-one was complaining before. Can't you just use UTF-8? It's much safer than latin1. -Matej On 10/20/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > are you configuring wicket and you appserver correc

Re: Out of order requests

2007-10-20 Thread Matej Knopp
Johan? -Matej On 10/20/07, jan_bar <[EMAIL PROTECTED]> wrote: > Hi, > > my question was probably unclear, I will try to post more details: > > When I leave a page, let's say id=40, wicket gets request to render new page > id=41 but flash on previous page still lives and send request to wicket > (

Re: ClassCastException with MetaDataEntry

2007-10-18 Thread Matej Knopp
This should be fixed already in the latest trunk. -Matej On 10/18/07, RĂ¼diger Schulz <[EMAIL PROTECTED]> wrote: > Hello Johan, > > yes, this worked for me. Thanks a lot for such a quick fix! > > However, I had to build with maven tests disabled. And there was an > error on some of my pages, where

Re: Trunk stability

2007-10-18 Thread Matej Knopp
Well, that was a joint effort with Johan! -Matej On 10/18/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > I've commited bunch of memory optimization that significantly reduce > > memory usage. On the pages I've tested it the consumption was reduced > > by up to 40% (live objects size). > > You

Re: Simple Tree question

2007-10-18 Thread Matej Knopp
I believe the isLeaf() method of TreeNode is what determines whether the node displays as leaf or not. -Matej On 10/18/07, Doug Leeper <[EMAIL PROTECTED]> wrote: > > How does one get a Tree node that allows children but has no children display > as a folder rather than a leaf node? > > I thought

Trunk stability

2007-10-18 Thread Matej Knopp
Hi all, I've commited bunch of memory optimization that significantly reduce memory usage. On the pages I've tested it the consumption was reduced by up to 40% (live objects size). The downside is that the changes touches component internals and there might be some issues with it, so if you spot

Re: Ajax question

2007-10-18 Thread Matej Knopp
You should make your component implement IHeaderContributor. Or your behavior, depends on how you implement your menu. Then you don't have to worry about AjaxRequestTarget. -Matej On 10/18/07, Doug Leeper <[EMAIL PROTECTED]> wrote: > > I just found this. > > With a AjaxRequestTarget, you can get

Re: Ajax question

2007-10-18 Thread Matej Knopp
Hi, what wicket version are you using and how do you re-invoke the javascript on ajax update? if you are using wicket 1.3 the best way to do invoke the javascript is using IHeaderResponse.renderOnDomReadyJavascript (works on regular page refresh and also on ajax update). -Matej On 10/18/07, Doug

Re: ClassCastException with MetaDataEntry

2007-10-18 Thread Matej Knopp
Hi, we are experimenting a little with component data representation right now in order to improve memory consumption, so the trunk might be a little unstable though. But so far I am unable to reproduce your exception. Sorry for inconvenience. -Matej On 10/18/07, RĂ¼diger Schulz <[EMAIL PROTECTED

Re: VisitChildren + IComponentResolver broken in beta 4?

2007-10-17 Thread Matej Knopp
gt;> Just a wild guess here - maybe the processing of IComponentResolver stuff > >> was done earlier in beta3 than in beta4. Not getting this fixed can be > >> pretty annoying > >> for us - we have a couple of hundreds of pages done with wicket which rely > >>

Re: VisitChildren + IComponentResolver broken in beta 4?

2007-10-17 Thread Matej Knopp
back in time with svn to see which change > has broken this, but I don't know how much sense it will make unless > developers are not going to admit that this is a problem. > > Ari S. > > > - Original Message - > From: "Matej Knopp" <[EMAIL PROT

Re: VisitChildren + IComponentResolver broken in beta 4?

2007-10-17 Thread Matej Knopp
Shouldn't those functions work also for > components that are added using IComponentResolver as long as those are > visible? > > - Juha > > Juha Alatalo wrote: > > https://issues.apache.org/jira/browse/WICKET-1077 > > > > - Juha > > > > Matej Knop

Re: Dot ( . ) in the URL !

2007-10-17 Thread Matej Knopp
e a reproducible > > bug, please create an issue in JIRA. > > > > Eelco > > > > > > On 10/15/07, chickabee <[EMAIL PROTECTED]> wrote: > > > > > > The page was mount using HybridUrlCodingStrategy > > > > > >

Re: CryptedUrlWebRequestCodingStrategy breaks ajax fallback link in beta4

2007-10-16 Thread Matej Knopp
It should be resolved shortly. -Matej On 10/16/07, Brandon Fuller <[EMAIL PROTECTED]> wrote: > > Discussed here: > > http://www.nabble.com/Wicket-Beta4-and-Ajax-Links-tf4616750.html > -- > View this message in context: > http://www.nabble.com/CryptedUrlWebRequestCodingStrategy-breaks-ajax-fallba

Re: Session Objects Approach

2007-10-16 Thread Matej Knopp
Well, detachable models are mostly used for something you can relatively easily reconstruct. If you are building a complex object (multi-step wizard etc.) then you don't what to use a detachable object for it. -Matej On 10/16/07, Sam Hough <[EMAIL PROTECTED]> wrote: > > I found another con with d

Re: how to use LinkTree in frame

2007-10-16 Thread Matej Knopp
But then you have to use custom javascript, because you want to both update the tree and the right frame. -Matej On 10/16/07, Kevin Liu <[EMAIL PROTECTED]> wrote: > Thank Igor :-) > But if I wanna change the tree behavior, such as expanding the Node when > the node is clicked as the junction l

Re: Dot ( . ) in the URL !

2007-10-15 Thread Matej Knopp
How did you mount the page? -Matej On 10/15/07, chickabee <[EMAIL PROTECTED]> wrote: > > Hi Guys, It seems that wicket has the special meaning of a dot ( . ) in the > URL. Wicket expects anything after a dot to be a number and throws Number > format exception if it is not, Is there is a way to us

Re: Wicket Article on DevX

2007-10-15 Thread Matej Knopp
Well, I guess you can. Still you need to have tomcat installed, whereas with jetty you only need a 300kb jar in project. Also as stated above, you don't need JSP support (compiler, etc) so the footprint is really small. -Matej On 10/15/07, Sam Hough <[EMAIL PROTECTED]> wrote: > > Still can't see

Re: safari and ajax (issue 938)

2007-10-15 Thread Matej Knopp
Unless you submit a quickstart I can't really help with this. -Matej On 10/15/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > Hmm changing it OnChangeAjaxBehavior, makes it stop working if using it > in conjuction with datepicker on safari and FF.. > > BTW, i am using an tex

Re: Wicket Article on DevX

2007-10-15 Thread Matej Knopp
We mostly use jetty as embedded in the project itself. Then starting a web application is as simple as starting any other java application. Also debugging is much simpler. No need to configure remote debug connection, not to mention that you need to configure separate ports if you want to debug e.g

Re: Ajax paging navigation link exception

2007-10-15 Thread Matej Knopp
I've tried to reproduce this with latest trunk but I just can't. The error would mean that for some reason the precondition that checks for element presence in markup is not evaluated for some reason. Can you please provide a quickstart/testcase for this? Thanks. -Matej On 10/14/07, kent lai <[E

Re: VisitChildren + IComponentResolver broken in beta 4?

2007-10-15 Thread Matej Knopp
Please create a JIRA entry and assign the example to it. Thanks. -Matej On 10/15/07, Juha Alatalo <[EMAIL PROTECTED]> wrote: > Hi, > > If the components are added on the page using ComponentResolver, > visitChildren() method seems to be working incorrectly. Created > following example which wor

Re: Why is the session ID reused even when session is expired? Can I force a new JSESSIONID?

2007-10-14 Thread Matej Knopp
That's not a wicket problem. It's your container problem. Wicket can't force container to use certain session ID. -Matej On 10/15/07, Chris Lintz <[EMAIL PROTECTED]> wrote: > > Hi all, > I have noticed that even when my session expires, Wicket decides to reuse > the same JSESSSIONID found in the

Re: RFE: DataTable && colgroup

2007-10-14 Thread Matej Knopp
We might add this to Wicket, can you please open a RFE and attach the appropriate classes? Thanks.. -Matej On 10/14/07, Kent Tong <[EMAIL PROTECTED]> wrote: > > > Jan Kriesten wrote: > > > > might be, but it's a nice feature for just styling col-width and > > col-alignment. > > actually, this wou

Re: No Page found for component in AjaxRequestTarget.detach()

2007-10-13 Thread Matej Knopp
Please create a jira issue, looks like a wicket bug to me. -Matej On 10/13/07, MattClark <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm running into an issue, and have described the problem below. Am I doing > something invalid? > > * Assume the following hierarchy: > > Page > - Panel >- Re

Re: RFE: DataTable && colgroup

2007-10-13 Thread Matej Knopp
I was thinking of implementing colgroup support, but I decided not to. Colgroup as far as i can tell has serious styling limitation, which only allows to specify very reduced subset of css to the colgroup. -Matej On 10/13/07, Jan Kriesten <[EMAIL PROTECTED]> wrote: > > [https://issues.apache.org/

Re: HOWTO - update models in chain (push or pull)

2007-10-12 Thread Matej Knopp
Well, most of the time in wicket you don't update models. You pull data from models, and that's also how you need to implement them. The exception is of course when you process a form, in that case you push data into models, which in turn update your beans, etc. But most of the time (when rendering

Re: TreeTable, invisble cells and headersand

2007-10-12 Thread Matej Knopp
ropriate class attribute does not > fix the problem (but it does make the TreeTable look slightly prettier ;-). > > > > Matej Knopp-2 wrote: > > > > Didn't you forget the appropriate floats? > > > > -Matej > > > > On 10/12/07, jweekend <[EMAIL PROTE

Re: TreeTable, invisble cells and headersand

2007-10-12 Thread Matej Knopp
Didn't you forget the appropriate floats? -Matej On 10/12/07, jweekend <[EMAIL PROTECTED]> wrote: > > (1.3.0-SNAPSHOT as of 2007-10-11) > > In a three column TreeTable (the "LEFT" column holds/renders the tree) the > header text and non-tree-column values are not visible (IE6.0.29 & FF2.0.7). > >

Re: DataTable FilterToolbar Shifted After AJAX Call

2007-10-11 Thread Matej Knopp
That's a problem of DataTable producing invalid markup, that the browser is not able to replaced by ajax call (but it is able to process it on regular request). I'm afraid there is no solution currently for your problem. Please add a JIRA entry, possibly with a quickstart to reproduce the problem.

Re: Stateless page creating session

2007-10-10 Thread Matej Knopp
Yeah, it's a bug introduced by me recently. Will look at it ASAP. -Matej On 10/11/07, John Patterson <[EMAIL PROTECTED]> wrote: > Also, the example application "stateless" is doing the same. > > When I go to this page > > http://localhost:8080/wicket-examples/stateless/public/Index/ > > after re

Re: PopupDatePicker + AjaxButton + IE 7 + visibility

2007-10-10 Thread Matej Knopp
Looks like there's a problem with header contribution? Please create a JIRA entry and attach the example to it. -Matej On 10/10/07, Juha Alatalo <[EMAIL PROTECTED]> wrote: > Hi, > > we are still using old DatePicker (PopupDatePicker in > wicket-contrib-datepicker) and found an error in following

Re: Subclassing WebRequestCodingStrategy

2007-10-09 Thread Matej Knopp
te there. > > > On 9 Oct 2007, at 16:01, Matej Knopp wrote: > > > Thinking about it, probably better (and more solid) approach would be > > for you to copy the entire class (unless it references some package > > protected classes). > > > > -Matej > > &

Re: Subclassing WebRequestCodingStrategy

2007-10-09 Thread Matej Knopp
Thinking about it, probably better (and more solid) approach would be for you to copy the entire class (unless it references some package protected classes). -Matej On 10/9/07, John Patterson <[EMAIL PROTECTED]> wrote: > Just a bit more info on the problem... encoding allows me to override > the

Re: Subclassing WebRequestCodingStrategy

2007-10-09 Thread Matej Knopp
I don't see why targetForRequest(RequestParameter) couldn't be non-final. Anyone objects? Matej On 10/9/07, John Patterson <[EMAIL PROTECTED]> wrote: > Hi, > > I seem to be making progress with my custom URL scheme but have hit a > small wall. I have subclassed WebRequestCodingStrategy because I

Re: Custom URL strategy

2007-10-09 Thread Matej Knopp
is handled by WebRequestCodingStrategy. > > Maybe a good approach would be to iterate through all registered > handlers for each request until one can handle it. The default > handling done in WebRequestCodingStrategy could simply be the last > handler in the chain.

Re: ModalWindow serialization problem

2007-10-09 Thread Matej Knopp
More then 3 nested ModalWindows? Wow. Does this happen with the latest trunk? Also each modal window is supposed to by in own pagemap. Can you provide a quickstart? -Matej On 10/9/07, Benjamin Ernst <[EMAIL PROTECTED]> wrote: > Hi guys, > > we have a problem with some ModalWindows. We are using a

Re: Custom URL strategy

2007-10-09 Thread Matej Knopp
IIRC WebRequestCodingStrategy is used for non-mounted pages only and it delegates the encoding/decoding for mounted pages to IRequestTargetUrlCodingStrategy. -Matej On 10/9/07, John Patterson <[EMAIL PROTECTED]> wrote: > Hi, > > I want to build a custom url encoder fro bookmarkable pages and have

Re: body onload contribution

2007-10-08 Thread Matej Knopp
What wicket version are you using? In 1.3 there's much better way to do this. Just use renderOnLoad/renderOnDomReady javascript on IHeaderResponse. -Matej On 10/8/07, Evan Chooly <[EMAIL PROTECTED]> wrote: > I used the following in my page constructor, but I'm not seeing the change > in the HTML

Re: Wicket Ajax Debug window - font color

2007-10-03 Thread Matej Knopp
Sure, please add a issue to JIRA. thanks. -Matej On 10/3/07, Daniel Stoch <[EMAIL PROTECTED]> wrote: > Hi, > > The Wicket Ajax Debug (WAD) window has a background color set to white > but the font color is not set (in wicket-ajax-debug.js) - it uses the > base page defaults. So when I have in css

Re: substitute same value in several places

2007-09-30 Thread Matej Knopp
You don't need BoundCompoundPropertyModel for this anymore. In fact, we should deprecate it if we already didn't. CompoundPropertyModel can do this too (in 1.3). -Matej On 9/30/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > look at BoundedCompoundPropertyModel (i could type the name a bit > wro

Re: auto dirty and widget factory

2007-09-29 Thread Matej Knopp
> > so if you have page.dirty() which contracts is now update in the session > then we also suddenly bump up the version number?? > of course component.setVersioned() can't be ditched because developers > should be able to disable versioning (backbutton support) for a page >

Re: auto dirty and widget factory

2007-09-29 Thread Matej Knopp
ROTECTED]> wrote: > But the second level cache session store is not the only viable > option: we still have the HTTP session store, which clearly is much > more performant than any other store, especially if you don't have to > cluster. > > Martijn > > On 9/29/0

Re: auto dirty and widget factory

2007-09-28 Thread Matej Knopp
ng such thing for thoof to suppress page serialization for ajax polling, but that was rather trivial to do. -Matej > > -igor > > > On 9/28/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > > but then still we have the event.. > > > > johan > > > >

Re: auto dirty and widget factory

2007-09-28 Thread Matej Knopp
> but then still we have the event.. > > johan > > > > On 9/29/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > > > newVersion(); > > looks much better to me than addStateChange(new > > ChangeThatIsNotUsedAnyway() { public void undo() }); > >

Re: auto dirty and widget factory

2007-09-28 Thread Matej Knopp
e still uses it to > bump up the versions > else how can we do that? > > johan > > > > On 9/29/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > > > On 9/27/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > the problem is that that still not re

Re: auto dirty and widget factory

2007-09-28 Thread Matej Knopp
On 9/27/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > the problem is that that still not really does auto dirty.. > Because where does it end? just add/remove/visitble/enable? > The nice thing is we have already something like that: thats page versioning > with the undo/change map. Don't get to

Re: Clustering Question - Can the 2nd Level Page Cache be shared in a clustered filesystem configuration?

2007-09-28 Thread Matej Knopp
Ah, I guess i understood the question a bit wrong then. Sticky mode is preferred with wicket, as we use redirect to buffer render strategy by default. Also from a performance standpoint, I'd recommend sticky mode. As for the page store, what i suggested was a merely performance improvement. Since

Re: Presented Wicket to my Company...

2007-09-28 Thread Matej Knopp
Just search around the mailing list, Vegas.com did an evaluation of jsf vs wicket, and the results were quite interesting. -Matej On 9/28/07, Jonathan Locke <[EMAIL PROTECTED]> wrote: > > > i don't know if it helps, but my funded startup (austin ventures) is using > wicket, as well as people at w

Re: Clustering Question - Can the 2nd Level Page Cache be shared in a clustered filesystem configuration?

2007-09-27 Thread Matej Knopp
Hi, if I understand correctly, you want to disable page serialization on session replication, as the filesystem where the page store stores temporary pages is accessible from each node in cluster? There is a way to achieve it, just create your own page store extending from DiskPageStore and make

Re: Form behaviour...

2007-09-27 Thread Matej Knopp
I don't think there's an easy solution for what you want. You can try putting in two buttons, set one button as form default and hide it using css. That one should be submitted when you press enter on the text field. -Matej On 9/27/07, Gwyn Evans <[EMAIL PROTECTED]> wrote: > Hi, > > I've got a fo

Re: ModalWindow JS error

2007-09-26 Thread Matej Knopp
the same time I did some major refactoring of how I do > modals in my project. I blamed my code for the first part of the day... > then I found out it was you. > > Thanks... I will watch for an update. > > > Matej Knopp-2 wrote: > > > > Shoot. Sorry, that wa

Re: ModalWindow JS error

2007-09-26 Thread Matej Knopp
Shoot. Sorry, that was indeed my fault. Will fix ASAP. -Matej On 9/27/07, donhass <[EMAIL PROTECTED]> wrote: > > I had the same problem today after getting an updated snapshot from today. > None of my Modal Windows that had panel with Forms on them would close any > longer. > > My investigation f

Re: Page Expired Clustering?

2007-09-26 Thread Matej Knopp
Also, are you sure everything on you page and in session is serializable? -Matej On 9/26/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > I am having trouble with a wicket application returning page expired when > > any > > link or button is clicked on. When the application is deployed on a s

Re: wicket-ajax.js not added

2007-09-25 Thread Matej Knopp
I believe that's a known bug that should be fixed in 1.2.7. It's definitely fixed in 1.3. -Matej On 9/25/07, John Carlson <[EMAIL PROTECTED]> wrote: > Eelco, > > I'm using 1.2.5 > > John > > On 9/24/07, John Carlson <[EMAIL PROTECTED]> wrote: > > I have had several pages that will not initially l

Re: DOM changes via JavaScript get lost

2007-09-25 Thread Matej Knopp
This is normal, if you replace the part of page using wicket ajax, it will generate the markup and won't preserve your changes. You can either not replace the affected parts of page, or notify server and generate markup with the image. -Matej On 9/25/07, Michael Preiss <[EMAIL PROTECTED]> wrote:

Re: No cursor in Modal Window in FF

2007-09-25 Thread Matej Knopp
It's a bug in firefox most probably. But i've only seen it when the modal window was position:fixed. Therefore in firefox the modal window is position:absolute; I was not able to reproduce it after that, neither it happens in wicket-examples. -Matej On 9/25/07, Eelco Hillenius <[EMAIL PROTECTED]>

Re: onNewBrowserWindow is not called

2007-09-25 Thread Matej Knopp
"Page-expired"-Error. > > Benjamin > > 2007/9/19, Matej Knopp <[EMAIL PROTECTED]>: > > > > Application.getPageSettings().setAutomaticMultiWindowSupport(true); > > > > -Matej > > > > On 9/19/07, Benjamin Ernst <[EMAIL PROTECTED]> wr

Re: Label associated with an open/close tag

2007-09-24 Thread Matej Knopp
Yeah, I agree with this too. Please submit a RFE. -Matej On 9/24/07, Kent Tong <[EMAIL PROTECTED]> wrote: > > Hi, > > I think this is one of the most common gotcha's in Wicket: a Label > associated with > an open/close tag like will silently output nothing. As I really can't > think of > a use c

Re: sessionstore is too big

2007-09-24 Thread Matej Knopp
If you upgrade Wicket, there's new page store called DiskPageStore. for this pagestore you can set limits for pagemap file size and limit for entire session (so the session never grows beyond that limit) -Matej On 9/24/07, Benjamin Ernst <[EMAIL PROTECTED]> wrote: > Because our Application in an

Re: sessionstore is too big

2007-09-24 Thread Matej Knopp
Jetty cleans the temp dir on startup automatically, Tomcat probably doesn't do it. Still, this shouldn't happen on production, because we clean the files when session is unbound. But when you just kill tomcat, there is no way we can clean sessions. Unless we check on startup if the folder is empty

Re: [RFE] getMarkupId()

2007-09-23 Thread Matej Knopp
On 9/24/07, Maris Orbidans <[EMAIL PROTECTED]> wrote: > > is it a joke ? In that case web design templates would need a unique > class attribute for each element that is going to be used via Ajax. > And in some cases it's not possible at all. For example, odd rows in a > table might have a differe

Re: Stripping Javascript comments breaks application

2007-09-22 Thread Matej Knopp
wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.3.0-SNAPSHOT/ > > > On 9/19/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > > > Well, there is one unit test failing > > > > http://wicketstuff.org/bamboo/browse/WICKET1X-WICKET-985/test/org.apache.

Re: [RFE] getMarkupId()

2007-09-21 Thread Matej Knopp
Ryan Sonnek <[EMAIL PROTECTED]> wrote: > > > > On 9/21/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > > > > > I dont' understand. You rely on the way how wicket generates IDs? Then > > > your code is bound to break. If you really need a wicket

Re: [RFE] getMarkupId()

2007-09-21 Thread Matej Knopp
I dont' understand. You rely on the way how wicket generates IDs? Then your code is bound to break. If you really need a wicket component's id in javascript, you either override getMarkupId(), or pass the Id using javascript (e.g. label component assigning another component's id into javascript var

Re: [RFE] getMarkupId()

2007-09-21 Thread Matej Knopp
Can you please submit a bug report. -Matej On 9/21/07, Alex Objelean <[EMAIL PROTECTED]> wrote: > > This is about how wicket generates dynamically markupID. > > I have, for instance, the following markup component: > > > > The generated markupId for this component looks like the following: > qua

Re: LinkTree lazy loading possible?

2007-09-21 Thread Matej Knopp
Well, actually, I'm not sure how this would work, as you'd have to load the children asynchronously and then update the tree. That certainly isn't a trivial thing. I guess it would be better to replace the link with an indicatingajaxlink or something like that. -Matej On 9/21/07, swaroop belur <[

Re: threading issues - continued

2007-09-21 Thread Matej Knopp
warm beer? eew :) -Matej On 9/21/07, Sam Hough <[EMAIL PROTECTED]> wrote: > > Doh. Owe you a pint. My build from trunk didn't work because I had wrong > version of logger... So I was running older code that was hanging about. > > Can't break it now :) > > Many thanks. If you are in London lots of

Re: LinkTree lazy loading possible?

2007-09-21 Thread Matej Knopp
Heh, sorry, didn't read the entire question. This seems to be the right approach. -Matej On 9/21/07, swaroop belur <[EMAIL PROTECTED]> wrote: > > > Initially when building the tree , just add a single child node to each > first level of nodes u show > You can mark this node as a "indicator node"

Re: LinkTree lazy loading possible?

2007-09-21 Thread Matej Knopp
Of course. You just need to implement proper TreeModel that lazily loads children. -Matej On 9/21/07, pixotec <[EMAIL PROTECTED]> wrote: > > I want to use LinkTree to represent a very very large hierarchy (the loading > of the whole thing is expensive...). > Is there an AJAX way of loading the ch

Re: threading issues - continued

2007-09-21 Thread Matej Knopp
ody is not just serialized from content, but it's a method that returns serialized form content. This method gets evaluated right before submitting the form, which means the previous ajax request must have been finished. -Matej On 9/21/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > So you trie

Re: threading issues - continued

2007-09-21 Thread Matej Knopp
OS did you use? Did you let the form get nice and big so it > takes a while to render? > > Thanks for looking into it. Hope I'm not raising another red herring. > > > Matej Knopp-2 wrote: > > > > Hi, I'm unable to reproduce this with latest trunk. I believe th

Re: threading issues - continued

2007-09-21 Thread Matej Knopp
Hi, I'm unable to reproduce this with latest trunk. I believe this has been already fixed by delaying the actual form serialization until the previous request finishes. Can you please test this with latest trunk? Unfurtunately, there are no current snapshots available so you'd have to build it from

Re: Stripping Javascript comments breaks application

2007-09-19 Thread Matej Knopp
like most recent successful build was two days ago: > http://wicketstuff.org/bamboo/browse/WICKET1X-WICKET-979 > > On 9/19/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > > > Hmm. This makes me thing how recent the snapshots are, we seem to have > > one failing unit test

Re: onNewBrowserWindow is not called

2007-09-19 Thread Matej Knopp
Application.getPageSettings().setAutomaticMultiWindowSupport(true); -Matej On 9/19/07, Benjamin Ernst <[EMAIL PROTECTED]> wrote: > Hi, > thanks for your help. I will try that, but I have one last question > (hopefully): How do I turn on the multiwindow support? > > Benjamin

Re: Stripping Javascript comments breaks application

2007-09-19 Thread Matej Knopp
g/getting-wicket.html > > Martijn > > On 9/19/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote: > > Just curious how I can get these changes. are there 1.3.0-SNAPSHOTS being > > published or do I need to wait for beta4/rc1 to be published? > > > > On 9/19/07, Matej K

Re: threading issues - continued

2007-09-19 Thread Matej Knopp
> Maybe I'll have a look at how selenium waits for the browser to "settle". > Think this is a common problem for browser based robot testing. > > > Matej Knopp-2 wrote: > > > > What exact wicket version are you using? With the current trunk the > > cl

Re: threading issues - continued

2007-09-19 Thread Matej Knopp
> >> > >> >> org.apache.wicket.markup.html.form.Form.visitFormComponentsPostOrder( > >> >> >>> >> Form.java:1004) > >> >> >>> >> at > >> >> >>> >> > >> org.apache.wicket.markup.html.form.Form.u

Re: onNewBrowserWindow is not called

2007-09-19 Thread Matej Knopp
You can use pagemap metadata for it, providing you have recent enough wicket version. And, of course, you have to turn on the multiwindow support. -Matej On 9/19/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > On 9/19/07, Benjamin Ernst <[EMAIL PROTECTED]> wrote: > > Hi > > I store some context-

Re: threading issues - continued

2007-09-19 Thread Matej Knopp
t;> >>> >> at > >> >>> >> > >> >>> org.apache.wicket.ajax.AjaxEventBehavior.respond( > >> AjaxEventBehavior.java > >> >>> >> :163) > >> >>> >> at > >> >>

Re: onNewBrowserWindow is not called

2007-09-19 Thread Matej Knopp
You need to turn on multi window support. But this is not really user overridable callback. Also, what do you mean by "start new session"? -Matej On 9/19/07, Benjamin Ernst <[EMAIL PROTECTED]> wrote: > Hi, > > when a new Browser-Window is opened, I want to start a new Session for this > window. >

Re: Stripping Javascript comments breaks application

2007-09-19 Thread Matej Knopp
Hi, should be fixed in trunk. -Matej On 9/19/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote: > It's been a while since this topic was brought up, but I've been able to > verify that wicket 1.3 *breaks* applications using the prototype javascript > library. Anytime I enable "strip javascript comments

Re: "Wicket Employers" page on the wiki

2007-09-18 Thread Matej Knopp
rs > > You know, it's lovely in Las Vegas this time of year. :) > > - Scott > > > On 9/18/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > Sounds like a good idea to me. > > > > -Matej > > > > On 9/18/07, Scott Swank <[EMAIL PR

Re: Wicket consulting/contracting/outsourcing

2007-09-18 Thread Matej Knopp
Sounds like a good idea to me. -Matej On 9/18/07, Scott Swank <[EMAIL PROTECTED]> wrote: > Would it be appropriate to add a "Companies Hiring Wicket Developers" page? > :) > > - Scott > > On 9/18/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > > there is a wiki page dedicated to that topic: > > h

Re: threading issues - continued

2007-09-18 Thread Matej Knopp
org.apache.catalina.core.StandardContextValve.invoke( > >> StandardContextValve.java:174) > >> at > >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java > >> :127) > >> at > >> org.apache.catalina.valves.ErrorReportVa

Re: Question about notifyComponentOnBeforeRenderListeners

2007-09-18 Thread Matej Knopp
dding > automatic validators to components? I'm a little bit confused, because I use > it for updating (initializing) the model by calling service methods and now > I doubt that I do it right way. > > Thank you! > Alex. > > > Matej Knopp-2 wrote: > > > &g

Re: Refresh a page from an AjaxButton?

2007-09-17 Thread Matej Knopp
You can use setResponsePage(getPage()) to refresh the window from Ajax(Submit)Button inside the window. The only problem is that you can't close the window "regular" way then, so you'll get the confirmation message. To get rid of the message put this javascript somewhere in your page: Wicket.Windo

Re: Question about notifyComponentOnBeforeRenderListeners

2007-09-17 Thread Matej Knopp
late. > > PS: if you think that this is not a good idea, then never mind :) > > Alex. > > > Matej Knopp-2 wrote: > > > > Could you please specify what it is that you can't do now? The thread > > is rather long and I don't have time to go throug

Re: Question about notifyComponentOnBeforeRenderListeners

2007-09-17 Thread Matej Knopp
Could you please specify what it is that you can't do now? The thread is rather long and I don't have time to go through it all. I don't think we should reverse the other. What exactly do you mean by "own logic" ? -Matej On 9/17/07, Alex Objelean <[EMAIL PROTECTED]> wrote: > > I've noticed that t

Re: Add image to DropDownChoice

2007-09-16 Thread Matej Knopp
Yeah, you can do it but afaik it doesn't work with IE. -Matej On 9/16/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > which you can apply with css and offset the text so it looks like > has an icon asociated with it ala jira. > > -igor > > > On 9/16/07, Matej

Re: Add image to DropDownChoice

2007-09-16 Thread Matej Knopp
Images inside drop down choices? I don't think any browser supports such thing. Maybe some could support background-image attribute of ... -Matej On 9/16/07, bebetu <[EMAIL PROTECTED]> wrote: > > I am trying to embed images into options of a DropDownChoice but I haven't > succeeded so far nor I c

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 b

Re: Too many open Files

2007-09-14 Thread Matej Knopp
s/ajax/markup/html/modal/res/frame-blue-1-ie.pngfailed: > > /home/fips/webapps/WEB-INF/lib/wicket- > > extensions-1.3.0-beta2.jar (Too many open files) > > > > does suggest that the app is checking for last modified dates, while > > for bundled resources the last modifi

Re: Too many open Files

2007-09-14 Thread Matej Knopp
It doesn't look like the jars are issue. What is your file handle limits? Maybe it's just set too low. -Matej On 9/14/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > Is this only at your client's site? Why doesn't this show on your own > test servers? It seems like a configuration issue. > > On

Re: Centering ModalWindow during scroll?

2007-09-14 Thread Matej Knopp
y. I > have been looking around 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" <[

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 aga

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:

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

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

2007-09-14 Thread Matej Knopp
sorry, I could 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. > > > > -M

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 co

<    2   3   4   5   6   7   8   9   >