Re: IE/Safari - AjaxLink raises exception on Session-Expiry

2008-07-02 Thread Matej Knopp
Committed fix to trunk and 1.3. -Matej On Wed, Jul 2, 2008 at 7:10 PM, mfs <[EMAIL PROTECTED]> wrote: > > Can someone take a look into thisits a blocking issue for me > > > Thanks in advance > > mfs wrote: >> >> Guys, >> >> I am facing this issue (with Safari/IE) with the usage of AjaxLink wh

Re: generics

2008-07-02 Thread Matej Knopp
On Wed, Jul 2, 2008 at 4:28 AM, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Tue, 01 Jul 2008, Matej Knopp wrote: >> There is one thing that helped me quite a lot when migration the >> project I'm working out. I've created GenericPanel, >> GenericWebMarkup

Re: generics

2008-07-01 Thread Matej Knopp
There is one thing that helped me quite a lot when migration the project I'm working out. I've created GenericPanel, GenericWebMarkupContainer and GenericFragment classes. In most cases the only change was renaming Panel to GenericPanel. I was wondering, even though those classes were farily simpl

Re: Firefox 3 Back button and BaseTree

2008-06-27 Thread Matej Knopp
Firefox caches the wrong version of DOM with the page. Unfortunately the only workaround I know about is to force firefox reloading page on backbutton by sending the no-store header. Look at WebPage#setHeaders. -Matej On Fri, Jun 27, 2008 at 11:06 PM, Kaspar Fischer <[EMAIL PROTECTED]> wrote: > I

Re: How to add nodes to a tree using Ajax

2008-06-26 Thread Matej Knopp
Your model is either broken or just doesn't sent the correct notifications. You can try calling tree.invalidateAll() to make sure it's rebuilt after you add node. -Matej On Thu, Jun 26, 2008 at 11:44 AM, Kai Schubert-Altmann <[EMAIL PROTECTED]> wrote: > Hi, > > how can I add nodes to a wicket tr

Re: Tomcat 6 clustering problem

2008-06-25 Thread Matej Knopp
Any chance you can try it with latest trunk? -Matej On Wed, Jun 25, 2008 at 3:18 PM, Artem D. <[EMAIL PROTECTED]> wrote: > > Hi all, > I've got wicket 1.4-m2 based application running on two different network > hosts configured as Tomcat 6 Simple TCP cluster. > I try to simulate failover with ses

Re: DefaultAbstractTree or BaseTree?

2008-06-21 Thread Matej Knopp
DefaultAbstractTree is indeed still deprecated and will be removed in 1.5. Closest to DefaultAbstractTree in the terms of functionality comes LinkTree, that uses LinkIconPanel as content component. LinkIconPanel does contain node icons. Look at the LinkTree source code, it's really short. -Matej

Re: Contributing CSS with Panel components?

2008-06-17 Thread Matej Knopp
. If it does it might be problem with Ajax header contribution. -Matej On Wed, Jun 18, 2008 at 1:04 AM, Matej Knopp <[EMAIL PROTECTED]> wrote: > Mind showing us some code? The pattern you are describing here is very > common and it should work quite well. > > -Matej > > On

Re: Contributing CSS with Panel components?

2008-06-17 Thread Matej Knopp
Mind showing us some code? The pattern you are describing here is very common and it should work quite well. -Matej On Wed, Jun 18, 2008 at 12:55 AM, David Nedrow <[EMAIL PROTECTED]> wrote: > Hmm, Google is not being helpful. > > Is there a way to contribute CSS when a Panel is added to a page? >

Re: Localizer cache with 150.000+ entries causing OutOfMemory

2008-06-12 Thread Matej Knopp
I think that should be already fixed in SVN. We didn't remove the entries on session expiration. -Matej On Thu, Jun 12, 2008 at 2:26 PM, Juha Alatalo <[EMAIL PROTECTED]> wrote: > We are now using patched version of 1.3.X in a production environment and > usage of memory seems to be much more stab

Re: Making Component easier to Generify

2008-06-12 Thread Matej Knopp
Apart from the fact that this would be even more verbose than current generics approach this would probably also radically increase component memory footprint. -Matej On Thu, Jun 12, 2008 at 7:03 AM, cowwoc <[EMAIL PROTECTED]> wrote: > > > Have you considered moving from subclassing to compositio

Re: wicket generics

2008-06-10 Thread Matej Knopp
which is exactly what we are trying to avoid - having generics in Component. -Matej On Tue, Jun 10, 2008 at 6:19 PM, Ricky <[EMAIL PROTECTED]> wrote: > I don't know if i was clear enough, sorry about that. > > I meant if you have something like : > > public Component, ID extends Serializable>{ >

Re: AbstractTree expandAll is missing

2008-06-10 Thread Matej Knopp
Looks like you are using the old tree... -Matej On Tue, Jun 10, 2008 at 8:40 AM, Dimedrol <[EMAIL PROTECTED]> wrote: > > > jwcarman wrote: >> >> getTreeState().expandAll()? >> > > Hmmm, seems like I dont' have this procedure. > See screenshot - http://i27.tinypic.com/30sg3t4.gif > http://i27.tin

Re: wicket generics

2008-06-07 Thread Matej Knopp
The decoupling doesn't have to be extremely painful. We could leave support for the default slot in component, something like this: class Component { protected void setDefaultModel(IModel model); protected IModel getDefaultModel(); } class MyComponent extends Component { public void setModel(

Re: strange links

2008-06-06 Thread Matej Knopp
The "dots" are there for a reason. Wicket generates relative URLs. -Matej On Fri, Jun 6, 2008 at 8:44 AM, Tomasz Prus <[EMAIL PROTECTED]> wrote: > I have links like this > > > > in page source. My boss wants i remove these dots. > > Can anyone help me ? > ---

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

2008-06-04 Thread Matej Knopp
We should definitely discuss this after 1.4. -Matej On Wed, Jun 4, 2008 at 7:30 PM, Patrick Angeles <[EMAIL PROTECTED]> wrote: > > > igor.vaynberg wrote: >> >> component.detach() { >> for (field:fields) { >> if (imodel.class.isassignablefrom(field.gettype)) { >> ((imodel)field.get(t

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

2008-06-04 Thread Matej Knopp
I was talking about the model slot. If you don't have a model in component it doesn't cost you anything. -Matej On Wed, Jun 4, 2008 at 6:49 PM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: >> Having multiple models is rare, however, having one model that can >> (but doesn't have to) be used is more

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

2008-06-04 Thread Matej Knopp
I don't really think this is the right discussion we should be having now :) Maybe 1.5 would be the right release for changes like that (if they are justified, which i'm not really convinced it is. Anyway, as I said before, storing (single) model in component has no overhead, so I don't really see

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

2008-06-04 Thread Matej Knopp
There are also implementation issues that need to be considered. Currently the model is stored in a way that it doesn't take any place when not used. Having multiple models is rare, however, having one model that can (but doesn't have to) be used is more common imho. Wicket is kinda optimized for t

Re: Inmethod grid: Paging calls DataSource.query twice

2008-06-04 Thread Matej Knopp
Hi, it shouldn't be called twice. I'll take a look into it. -Matej On Wed, Jun 4, 2008 at 9:36 AM, RUMikeP <[EMAIL PROTECTED]> wrote: > > Hi > > Please can someone let me know if it is bug or if there is a reason why when > paging using the inmethod data grid, two calls are made to the datasourc

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

2008-06-02 Thread Matej Knopp
You really have to use it to appreciate the benefits. Quick glance will just be scary :) -Matej On Mon, Jun 2, 2008 at 6:45 PM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: >> Question is, how many of those users actually use generified wicket on >> day-to-day basis. > > Common, a quick glance and

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

2008-06-02 Thread Matej Knopp
On Mon, Jun 2, 2008 at 5:22 PM, Jan Kriesten <[EMAIL PROTECTED]> wrote: > > Hi, > >> I'm not sure I like where this discussion is going. I don't see anyone >> having any particular objections against current state. > > @matej_k: > > ugh - you should count again... if I counted right, most of the re

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

2008-06-02 Thread Matej Knopp
I'm not sure I like where this discussion is going. I don't see anyone having any particular objections against current state. I think before we even think of (partially) reverting generics we have to discuss what's wrong (except the verbosity of course, but that's not something we can really do ab

Re: Memory leak in DiskPageStore

2008-06-02 Thread Matej Knopp
Hi, about not removing the entries, can you please create jira issue? I will try to look into it ASAP. -Matej On Mon, Jun 2, 2008 at 11:38 AM, Stefan Fußenegger <[EMAIL PROTECTED]> wrote: > > Recently, I had 2 memory related crashes of my Wicket app. Thanks to the > priceless -XX:+HeapDumpOnOutO

Re: Problem with Stress

2008-05-30 Thread Matej Knopp
Property files are always ISO 8859-1. Try escaping the string in property file or use eclipse plugin that does that for you. Or try xml property files. -Matej On Fri, May 30, 2008 at 1:32 PM, Fabien D. <[EMAIL PROTECTED]> wrote: > > Hi everybody, > > I'm french and unfortunately in french we have

Re: (Class>) casting troubles

2008-05-25 Thread Matej Knopp
> Yes, that's fine as long as you're aware of the GenericLink > alternative, but if you're not, then when you auto-complete > L[i[n[k]]], if you use LinkGeneric, it'll show up whereas if > GenericLink, it won't. > > /Gwyn > > On Sat, May 24, 2008

Re: (Class>) casting troubles

2008-05-24 Thread Matej Knopp
I don't buy the autocompletion as argument. Not with eclipse. It might be difference when you do it first time and don't know the classes, but every other time you just write GLink and eclipse autocompletes it just fine. -Matej On Sat, May 24, 2008 at 3:17 PM, Gwyn Evans <[EMAIL PROTECTED]> wrote

Re: (Class>) casting troubles

2008-05-24 Thread Matej Knopp
Or maybe I took it too far and GenericLink and GenericButton would suffice :) -Matej On Sat, May 24, 2008 at 11:33 AM, Matej Knopp <[EMAIL PROTECTED]> wrote: > +1 on that too, except that I'd prefer the name GenericLink. > > one problem though, suppose we have Gener

Re: (Class>) casting troubles

2008-05-24 Thread Matej Knopp
+1 on that too, except that I'd prefer the name GenericLink. one problem though, suppose we have GenericWebMarkupContainer, GenericPanel, GenericForm (maybe) etc, things like findParent(Form.class) will no longer work, as it will have to be findParent(GenericForm.class). -Matej On Sat, May 24, 2

Re: Wicket and inline JavaScript

2008-05-23 Thread Matej Knopp
Hi, I don't think current wicket output is that bad, just look at what some JSF implementation produce :) Seriously, we might consider different approach (the one like you suggest) for 1.5. But I don't think current wicket approach is something that desperately needs to be fixed, though there cert

Re: Possible BUG - discrepancy in component.onBeforeRender and IBehavior.beforeRender.

2008-05-23 Thread Matej Knopp
Hi, beforeRender on behavior has different semantics than onBeforeRender on component. I agree that this is confusing and it i think it should be improved in 1.4. beforeRender and afterRender can be used to render markup before component and after component output. Currently there is no method in

Re: (Class>) casting troubles

2008-05-22 Thread Matej Knopp
Although I'm not sure how many people call getModel/getModelObject anyway. I think it's mostly about ListItems etc an i doubt anyone would subclass it just because of getModel/getModelObject... -Matej On Thu, May 22, 2008 at 10:04 AM, Matej Knopp <[EMAIL PROTECTED]> wrote:

Re: (Class>) casting troubles

2008-05-22 Thread Matej Knopp
rmal casts are handled. >> >> I don't think Johan's all or nothing proposition is very pragmatic one. >> Without generic IModel we do not get any API discoverability and our >> APIs continue to suck. For instance, how can API user know what kind of >> mode

Re: (Class>) casting troubles

2008-05-21 Thread Matej Knopp
Well, maybe it really is a hack that's too ugly. We might have two methods, default getModel() that doesn't cast it and alternative convenience one that does. -Matej On Wed, May 21, 2008 at 10:10 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > class Component { >

Re: (Class>) casting troubles

2008-05-21 Thread Matej Knopp
class Component { private IModel model; public IModel getModel() { return (IModel) model; } } I like this. Even with the possible class cast exception. Because without generics, it doesn't leave you no other option than to cast it to your model, which isn't

Re: Page pooling (for stateless pages)

2008-05-18 Thread Matej Knopp
Hi, first of all, I don't really think it's worth pooling pages. I can't imagine that page instance creation would have that much overhead. Also stateless pages doesn't mean they don't contain any state. The page is stateless because it's not kept between requests, but during request there's lot

Re: Not rendering DataGrid if empty

2008-05-16 Thread Matej Knopp
setVisible is possible, but you have to call setOutputMarkupPlaceholderTag(true) on it. -Matej On Fri, May 16, 2008 at 6:44 PM, nitinkc <[EMAIL PROTECTED]> wrote: > > Currently the DataGrid outputs a datatable with column headers and a message > 'No Records Found' if the datalist is empty. Does a

Re: Back button retrieving cached data even with proper headers.

2008-05-16 Thread Matej Knopp
Unfortunately that's not how it works now. So if you have ajax application and don't want to get weird problems on back button the only way now is to send the no-store header. -Matej On Fri, May 16, 2008 at 3:15 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > i think that is more a problem of th

Re: Back button retrieving cached data even with proper headers.

2008-05-16 Thread Matej Knopp
Mount your page using HybridUrlCodingStrategy. -Matej On Fri, May 16, 2008 at 11:01 AM, gumnaam23 <[EMAIL PROTECTED]> wrote: > > Adding "no-store" to the "Cache-Control" header did the trick. > > According to Page.setHeaders() javadoc , Wicket already adds cache related > headers > response.setHe

Re: Back button retrieving cached data even with proper headers.

2008-05-15 Thread Matej Knopp
Are you sure you also send the cache-control: no-store header? (no-cache is not enough). Also for opera there's no way to force the reload. -Matje On Thu, May 15, 2008 at 9:40 PM, gumnaam23 <[EMAIL PROTECTED]> wrote: > > My back button, doesn't send request back to the server. > I can see that th

Re: [inmethod-grid] javascript error closing modal window containing grid

2008-05-13 Thread Matej Knopp
Hi, I'll look at it as soon as I get some spare time. In the meanwhile, can you try putting the modal window in a wicket form and see if that helps? -Matej On Tue, May 13, 2008 at 5:23 PM, ChuckDeal <[EMAIL PROTECTED]> wrote: > > I am experiencing a javascript error when closing a ModalWindow t

Re: Inmethod Grid patch for Wicket 1.4-m1

2008-05-13 Thread Matej Knopp
Grid trunk is 1.4 of course. But it's kept in sync with 1.4 trunk. Why would Your patch basically reverses that, why would I want to apply it? :) -Matej On Tue, May 13, 2008 at 3:31 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > i guess Matej wil gladly apply it for you > Except that Matej the

Re: Wicket 1.4 and generics

2008-05-07 Thread Matej Knopp
I usually just use in such case. -Matej On Wed, May 7, 2008 at 11:40 PM, Doug Donohoe <[EMAIL PROTECTED]> wrote: > > I'm just now using 1.4. What type of thing is expected for T in WebPage ? > > It looks like what your model object is. But if your page doesn't use > models (perhaps just it'

Re: Modal window and height

2008-05-04 Thread Matej Knopp
You have specified the cookie name. Thus it should remember the last size - that takes precedence over the specified initial size. -Matej On Tue, Apr 29, 2008 at 3:29 PM, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Hi! I can't set initial height and width on my modal window. It's always t

Re: What is session.dirty() for?

2008-05-04 Thread Matej Knopp
;[EMAIL PROTECTED]>: > > > > Nop thats the best thing todo > > > > > > > > On 5/3/08, Michael Allan <[EMAIL PROTECTED]> wrote: > > > Matej Knopp wrote: > > > > Martin Makundi wrote: > > > > > > > > > >

Re: What is session.dirty() for?

2008-05-02 Thread Matej Knopp
y? If you subclassed the Session class and your attributes are properties of the subclass. But you are required to call session.dirty() only if your pages are stateless and your application is deployed on cluster. -Matej > > ** > Martin > > 2008/5/2 Matej Knopp <[EMAIL PROTECT

Re: What is session.dirty() for?

2008-05-02 Thread Matej Knopp
Hi, session.dirty() should be invoked when the session object has changed, so that wicket changes the http session attribute to make cluster replicate the session object (assuming you're running in clustered environment). I think the only case when you need to call dirty() yourself is when your a

Re: A few clustering questions

2008-05-01 Thread Matej Knopp
Hi, On Thu, May 1, 2008 at 12:38 PM, richardwilko <[EMAIL PROTECTED]> wrote: > > Hi, > > Im looking into clustering our wicket app and have a few questions. We are > using jetty 6. > > 1) We have to use the SecondLevelCacheSessionStore (default in 1.3) for > clustering to work correctly, is

Re: Is it kosher to have "wicket-event.js" and "wicket-ajax.js" contributed on every ajax update?

2008-04-27 Thread Matej Knopp
ow load event. Lightbox doesn't work if > lightbox.js is loaded via ajax because there is no window load event to hook > itself up. In that case lightbox needs to be fixed. Dynamically loaded javascript is a common thing. -Matej > > > > On Sun, Apr 27, 2008 at 2:15 AM, Mat

Re: Is it kosher to have "wicket-event.js" and "wicket-ajax.js" contributed on every ajax update?

2008-04-27 Thread Matej Knopp
Wicket filters the contributions on client side (according to the URL). Can you please elaborate on scriptaculous not working? -Matej On Sun, Apr 27, 2008 at 9:43 AM, Matthew Young <[EMAIL PROTECTED]> wrote: > >filter out the duplicates on the client side > > How do you do that? Would it be po

Re: VOTE: Generics of IDataProvider

2008-04-24 Thread Matej Knopp
> VOTE: > > [ ] IDataProvider > [ ] Iterator> , drop model > [X] Leave as is. > > -Matej - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Page / WebPage Generics

2008-04-22 Thread Matej Knopp
Hi, Of course page will be generified, it's just a matter of time that Johan can invest in it :) -Matej On Tue, Apr 22, 2008 at 5:03 PM, Jeremy Thomerson <[EMAIL PROTECTED]> wrote: > Maybes it's simple and I missed it, but why don't Page and WebPage implement > generics? (Or maybe it's just co

Re: Sortable(DnD) editable TreeTable

2008-04-21 Thread Matej Knopp
The meaning of tree.updateTree(target) is to refresh changed parts of the tree during ajax request (assuming the model fired proper listeners). The problem with DnD tree is that it's more complicated than just reordering DOM entries and then notifying the server. Anyway, if you want to make sure th

Re: AjaxLink doesn't work for Wicket 1.3.3 ?

2008-04-14 Thread Matej Knopp
Please create a jira issue and attach a page source code that doesn't work. -Matej 2008/4/14 Tomasz Prus <[EMAIL PROTECTED]>: > I have AjaxLink which works good in Wicket 1.3.2 but doens't work whe i > change version to 1.3.3. > > package pl.mainseek.car.wicket.components; > > import java.util

Re: Ajax postcall handler does not get called every time

2008-04-12 Thread Matej Knopp
Apache mailing list doesn't support attachments. You need to create JIRA issue and attachethe quickstart there. -Matej On Sun, Apr 13, 2008 at 4:12 AM, Matthew Young <[EMAIL PROTECTED]> wrote: > Where is the attachment? > -- Resizable and reorderable grid components. http://www.inmethod.com

Re: Migrating to 1.4-SNAPSHOT: how to rid of generic warnings?

2008-04-11 Thread Matej Knopp
neric, maybe they should > >>> extend > >>> (Web)MarkupContainer or something? > >>> > >>> > >>> MYoung wrote: > >>> > > >>> >> public class HomePage extends WebPage { > >>> > >

Re: Migrating to 1.4-SNAPSHOT: how to rid of generic warnings?

2008-04-10 Thread Matej Knopp
Problem is that WebPage is generic class but your instance doesn't have the type specified. Since you page doesn't have a model object the type is not really necessary, but the compiler doesn't know that. You can try this: public class HomePage extends WebPage { This should get rid of the wanin

Re: Modal Window onSubmit prevent closing

2008-04-10 Thread Matej Knopp
You can use regular submit button only if you have a modal window with page. If you have modal window with panel you are bound to using ajaxbutton. -Matej On Thu, Apr 10, 2008 at 5:21 PM, Cristi Manole <[EMAIL PROTECTED]> wrote: > Hello, > > Is it possible to prevent the modal window from closin

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-08 Thread Matej Knopp
sorry, this was supposed to go off the list, please don't reply here :) -Matej On Tue, Apr 8, 2008 at 11:19 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > Hi, > > We (Johan and me - wicket committers) can look at your application as > this problem seems to be quite ser

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-08 Thread Matej Knopp
Hi, We (Johan and me - wicket committers) can look at your application as this problem seems to be quite serious. What would be the best way to get the application running so that we can see it also we would need to see some source code. -Matej On Tue, Apr 8, 2008 at 10:53 PM, Edvin Syse <[EMAIL

Re: java.io.StreamCorruptedException: invalid type code: 29

2008-04-07 Thread Matej Knopp
x. > > Does that mean the TextField(String wickedId) constructor stopped working > with CompoundPropertyModel? > > > > > On 4/7/08, Matej Knopp <[EMAIL PROTECTED]> wrote: > > > > Is this a new error? Looks like your models are unable to provide > >

Re: java.io.StreamCorruptedException: invalid type code: 29

2008-04-07 Thread Matej Knopp
ve in are set to null. > > What is the common cause of this message? > > > > > > > On 4/7/08, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > > what do you mean? > > that fix is no in the 1.3.3 release but will be in 1.3.4 > > > > &

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-07 Thread Matej Knopp
Is you application running in clustered environment? Are you storing the session reference anywhere? -Matej On Mon, Apr 7, 2008 at 10:47 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > is it really the wicket session or a page? > > > > On Mon, Apr 7, 2008 at 10:40 PM, Edvin Syse <[EMAIL PROTECT

Re: java.io.StreamCorruptedException: invalid type code: 29

2008-04-07 Thread Matej Knopp
Actually, it seems that I'm wrong about this... -Matej On Mon, Apr 7, 2008 at 9:26 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > Wicket 1.3.3 was released before april 06. The overflow fix is not > part of the release. > > -Matej > > > > On Mon, Apr 7,

Re: java.io.StreamCorruptedException: invalid type code: 29

2008-04-07 Thread Matej Knopp
Wicket 1.3.3 was released before april 06. The overflow fix is not part of the release. -Matej On Mon, Apr 7, 2008 at 9:13 PM, Daniel Wu <[EMAIL PROTECTED]> wrote: > I've updated to the released Wicket 1.3.3, but I'm having the stackoverflow > there, but it wasn't happening on the snapshot of ap

Re: WebMarkupContainer multiplicated markup when using AjaxLink

2008-04-07 Thread Matej Knopp
What wicket version are you using? -Matej On Mon, Apr 7, 2008 at 2:38 PM, Daniel Stoch <[EMAIL PROTECTED]> wrote: > Hi, > > There is a strange behaviour when I'm trying refresh > WebMarkupContainer component using AjaxLink. I have a simple page: > > public HomePage(final PageParameters paramet

Re: java.io.StreamCorruptedException: invalid type code: 29

2008-04-06 Thread Matej Knopp
ej > > > > On 4/2/08, Matej Knopp <[EMAIL PROTECTED]> wrote: > > I'm affraid we won't be able to help here without a testcase. We > > already have a tests for this they pass, so it must be something we > > didn't cover. > > &

Re: Cannot add wicket component to

2008-04-05 Thread Matej Knopp
You should try to add WebMarkupContainer to the style instead of label.. Apart fomr that I don't see why it shouldn't be resolved. -Matej On Sat, Apr 5, 2008 at 2:08 PM, Daniel Walmsley <[EMAIL PROTECTED]> wrote: > Hi there, > > I'm writing a wicket template that produces a KML document, and it

Re: java.io.StreamCorruptedException: invalid type code: 29

2008-04-04 Thread Matej Knopp
passing 0 instead of -1 is definitely not the solution. This can result in wrong page version set to other page references. I wish you could provide a quickstart that reproduces the problem. It looks like a bug in wicket but so far I'm not able to reproduce this behavior. -Matej On Fri, Apr 4, 20

Re: Tomcat dying with Wicket 1.3.2 (Windows / JDK 1.5.0_10)

2008-04-03 Thread Matej Knopp
This is really weird. Do you have any inter-page references in your application? -Matej On Thu, Apr 3, 2008 at 9:35 PM, Jeremy Thomerson <[EMAIL PROTECTED]> wrote: > The oddness is what baffles me: Tomcat has no output anywhere. I have > grepped and tailed the entire Tomcat logs directory, stdo

Re: Removing the jsessionid for SEO

2008-04-03 Thread Matej Knopp
On the other hand, crawling non-bookmarkable pages is not very useful anyway, since ?wicket:interface url will always get page expired when you click on the result. However, preserving session makes lot of sense with hybrid url. Google remembers the original url (without page instance) while index

Re: java.io.StreamCorruptedException: invalid type code: 29

2008-04-02 Thread Matej Knopp
I'm affraid we won't be able to help here without a testcase. We already have a tests for this they pass, so it must be something we didn't cover. Also that reminds me, there's problem with wicket tester, the page reference serialization test (don't remember the exact name now) is not running pro

Re: Multiple TreeTables: wrong table expanded

2008-04-01 Thread Matej Knopp
That's really weird. Can you create a JIRA issue for it and maybe attach a quickstart that demonstrates the behavior? -Matej On Tue, Apr 1, 2008 at 10:54 AM, Jaap Bos <[EMAIL PROTECTED]> wrote: > On my ModalWindow I have a number of (about 6) TreeTables, all using > Ajax, generated in a ListView

Re: Bug on modal window

2008-04-01 Thread Matej Knopp
You can use display:inline for the div. -Matej On Tue, Apr 1, 2008 at 2:36 PM, Wouter Huijnink <[EMAIL PROTECTED]> wrote: > Marco Aurélio Silva wrote: > > My point is: It doesn't work if the is inside the . And I can't > > put a div (with div works) because the div has a line break. > > > >

Re: Bug on modal window

2008-03-31 Thread Matej Knopp
: > Actually, it works with span also on IE, it only not works if the span is > inside the tag > > > On Mon, Mar 31, 2008 at 5:35 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > > > > > It can not be . Span is an inline element so you can't put block > >

Re: Maven and InMethod Grid

2008-03-31 Thread Matej Knopp
> > Maurice > > > > On Mon, Mar 31, 2008 at 9:33 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > > Sorry, I don't think the grid components are available in any public > > repo. I'd add it to bamboo on wicketstuff but somehow i can't access > > t

Re: Bug on modal window

2008-03-31 Thread Matej Knopp
It can not be . Span is an inline element so you can't put block element such as divs inside span. That is invalid markup and it confuses browsers. -Matej On Mon, Mar 31, 2008 at 10:22 PM, Marco Aurélio Silva <[EMAIL PROTECTED]> wrote: > Hi all > > I found a bug in ModalWindow of wicket 1.2.6. I

Re: Maven and InMethod Grid

2008-03-31 Thread Matej Knopp
Sorry, I don't think the grid components are available in any public repo. I'd add it to bamboo on wicketstuff but somehow i can't access the server. -Matej On Mon, Mar 31, 2008 at 9:27 PM, Pinger <[EMAIL PROTECTED]> wrote: > > Got a Noob questions here. I want to use the InMethod Grid for wick

Re: Copenhagen Meetup

2008-03-27 Thread Matej Knopp
Well, since I'm leaving the day after tomorrow, we could could maybe have a beer tomorrow somewhere if any of the Copenhagen Wicket users are interested. Flemming? Frank? -Matej On Thu, Mar 27, 2008 at 9:58 AM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > Only problem is, th

Re: Bug in order of rendered links within ?

2008-03-25 Thread Matej Knopp
I agree that we should. But I'm not sure why the order is like this. Juergen? -Matej On Tue, Mar 25, 2008 at 7:43 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > matej? do we guarantee the order? looks like we should? > > -igor > > > > > On Tue, Mar 25, 2008 at 11:36 AM, Justin Morgan - Logic Se

Re: clustering failover error

2008-03-24 Thread Matej Knopp
Couldn't missing SerialVersionUUID cause this? Doesn't seem likely though, I'd expect much saner exception in that case. -Matej On Tue, Mar 25, 2008 at 3:24 AM, Scott Swank <[EMAIL PROTECTED]> wrote: > Seemingly yes. If we write the session to disk, stop the jvm, restart > the jvm, and then rea

Re: Showing Wicket AJAX Debug Window for certain users...

2008-03-21 Thread Matej Knopp
Unfortunately there is not a straightforward way to do this. You can add a feature request. In the meantime you can override application#getDebugSettings and proxy the IDebugSettings interface so that isAjaxDebugModeEnabled() method returns falue specific for current session. -Matej On Fri, Mar 2

Re: How to get error message register in IModel.getObject() to show up in FeedbackPanel?

2008-03-20 Thread Matej Knopp
This doesn't work because the model.getObject method is only called when the value is pulled out of the model, which is on label render. Even if you refresh it on ajax request, it might be too late because the feedback panel retrieves the feedback messages in onBeforeRender (before actual rendering

Re: How to get error message register in IModel.getObject() to show up in FeedbackPanel?

2008-03-20 Thread Matej Knopp
It depends on the kind of error. Sometimes when it's xmlhttprequest error we get no notification of it. -Matej On Thu, Mar 20, 2008 at 9:21 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > On Thu, Mar 20, 2008 at 12:59 PM, Matthew Young <[EMAIL PROTECTED]> wrote: > > Small wish: in GMail, when th

Re: setEscapeModelStrings to false as default

2008-03-19 Thread Matej Knopp
I think the point here is not to call setEscapeModelString at all. Unless I'm missing something the call is completely redundant in this case and only results in invalid markup generated when user enters a xml entity. -Matej On Wed, Mar 19, 2008 at 9:48 PM, Per Newgro <[EMAIL PROTECTED]> wrote: >

Re: setEscapeModelStrings to false as default

2008-03-19 Thread Matej Knopp
Yes. < should never make it into your model object. -Matej On Wed, Mar 19, 2008 at 7:26 PM, Marco Aurélio Silva <[EMAIL PROTECTED]> wrote: > What do you mean? If wicket escapes and unescapes it on database should be > saved ">" instead ">" ? > > &g

Re: setEscapeModelStrings to false as default

2008-03-19 Thread Matej Knopp
What you are saying makes little sense. Wicket escapes and unescapes the field value transparently, so your model object will never contain the > -Matej On Wed, Mar 19, 2008 at 6:57 PM, Marco Aurélio Silva <[EMAIL PROTECTED]> wrote: > Hi all > > Is there a way to set EscapeModelStrings to false

Re: Pretty DataView urls

2008-03-19 Thread Matej Knopp
first page still gets that interface listener url. Why would > HybridUrlCodingStrategy make it any different? > > > -----Original Message- > From: Matej Knopp [mailto:[EMAIL PROTECTED] > Sent: Monday, March 17, 2008 11:12 AM > To: users@wicket.apache.org > Subject:

Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-19 Thread Matej Knopp
if my > contextpath="/"? HybridUrlCodingStrategy doesn't allow mapping "/". > > > > On Tue, Mar 18, 2008 at 11:52 AM, Matej Knopp <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > you can mount your page using HybridUrlCodingStrategy.

Re: TreeTable with ajax markupId problem

2008-03-18 Thread Matej Knopp
Node changed event tells the tree that the node has been changed and rebuilts the actual tree item component. Are you sure that you need to refresh tree item component? Btw. Why are you callind focusComponent on component that has just been blurred? -Matej On Tue, Mar 18, 2008 at 8:30 PM, Lars B

Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-18 Thread Matej Knopp
Hi, you can mount your page using HybridUrlCodingStrategy. Then it should automatically redirect to URL that has page instance information in it. -Matej On Tue, Mar 18, 2008 at 7:48 PM, Matthew Young <[EMAIL PROTECTED]> wrote: > Thank you Matej and Igor. I learned several new things. IAjaxCall

Re: ModalWindow (component based) + form submit = can't close

2008-03-18 Thread Matej Knopp
You have to use AjaxSubmitButton if you put panel into modal window. -Matej On Tue, Mar 18, 2008 at 12:16 PM, Kai Mütz <[EMAIL PROTECTED]> wrote: > > > > Serzhas wrote: > > > > Hi. I am complete newby to Wicket, and currently making my way through the > > "forest" if Wicket API :) > > Today

Re: Wicketstuff source pages - can we make them stateless?

2008-03-18 Thread Matej Knopp
Not everything in wicket can be bookmarkable and not everything can be statelesss. None of the ajax examples could work on stateless pages for example. -Matej On Tue, Mar 18, 2008 at 10:52 AM, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote: > Matej Knopp wrote: > > Why can&#x

Re: Wicketstuff source pages - can we make them stateless?

2008-03-18 Thread Matej Knopp
Why can't we just put a 5 minute timer on each page which would casuse active sessions never expire? -Matej On Tue, Mar 18, 2008 at 8:52 AM, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote: > Martijn Dashorst wrote: > > Making the source code viewing pages stateless won't help: next > > question:

Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-17 Thread Matej Knopp
Hi, that's certainly a very nice tutorial! You could consider IAjaxCallDecorator instead of directly modyfing the onclick attribute. See AjaxButton#getAjaxCallDecorator(); -Matej On Mon, Mar 17, 2008 at 9:04 PM, Matthew Young <[EMAIL PROTECTED]> wrote: > Hi, I am new to Wicket and to help me lea

Re: LinkTree Node Refresh

2008-03-17 Thread Matej Knopp
That's really weird. updateTree() should work in all supported browsers. -Matej On Mon, Mar 17, 2008 at 6:34 PM, jeredm <[EMAIL PROTECTED]> wrote: > > One more note. The updateTree() call did work in Firefox, but not in IE6 or > IE7. > > > > > Matej Knopp-2

Re: Pretty DataView urls

2008-03-17 Thread Matej Knopp
Creating new page version every time... -Matej On Mon, Mar 17, 2008 at 7:17 PM, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > the following works for me: > > // in your callback method > PageParameters params = new PageParameters(); > params.put("page", getPageNumber()); > setResponsePage(MyPage.

Re: Pretty DataView urls

2008-03-17 Thread Matej Knopp
You can mount your page using HybridUrlCodingStrateg. The resulting url won't carry the currently selected page information, but it will be much nicer than a interface listener url you are having now. -Matej On Mon, Mar 17, 2008 at 7:07 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote: > Hello, > > > >

Re: LinkTree Node Refresh

2008-03-17 Thread Matej Knopp
Tree(target); > > // Adding back in to get the node to display in the tree > target.addComponent(tree); > > > I appreciate your help. I don't think I am going to be able to build a > quickstart any soon as I am swamped with work right now. I think that a > qu

Re: Page Serialization/Deserialization

2008-03-15 Thread Matej Knopp
model is already gone. > > johan > > > > On Sat, Mar 15, 2008 at 12:53 PM, James Carman <[EMAIL PROTECTED]> > wrote: > > > > > On 3/15/08, Matej Knopp <[EMAIL PROTECTED]> wrote: > > > Not wit url like http://localhost:

<    1   2   3   4   5   6   7   8   9   >