Re: java.lang.OutOfMemoryError: Java heap space

2007-12-17 Thread Matej Knopp
It's not possible to help you without knowing seeing more code. What are the items you are creating? It's probably the models itself that cause the outofmemory error, you are likely to be loading someting huge. -Matej On Dec 17, 2007 6:12 AM, kenixwong <[EMAIL PROTECTED]> wrote: > > hi, anyone ca

Re: Custom styles for trees

2007-12-12 Thread Matej Knopp
he super class. Are there any plans to change this? > > - > Loren > > > On Dec 12, 2007 3:28 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > > > You need to override the getImageResourceReference method of > > LabelIconPanel (or LinkIconPanel). Look at the default

Re: Wish list for 1.4

2007-12-12 Thread Matej Knopp
There is no reason why clustering support should have any additional runtime overhead in non-clustered environment. -Matej On Dec 12, 2007 9:44 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > I agree for full transparant clustering if that cost only 5% > performance compared to what we have now

Re: Custom styles for trees

2007-12-12 Thread Matej Knopp
You need to override the getImageResourceReference method of LabelIconPanel (or LinkIconPanel). Look at the default implementation in LabelIconPanel. -Matej On Dec 12, 2007 9:27 PM, Loren Cole <[EMAIL PROTECTED]> wrote: > I'd like to remove the folder and page icons from a LinkTree and I'm not >

Re: Can I remove and from my markup?

2007-12-08 Thread Matej Knopp
Application.getMarkupSettings().setStripWicketTags(boolean stripWicketTags); -Matej On Dec 8, 2007 4:36 PM, Thomas R. Corbin <[EMAIL PROTECTED]> wrote: > > I'm biulding YUI menus using wicket panels for composition. > But even though I use setRenderBodyOnly( true ) to get rid of the > element, Y

Re: vertical TabbedPanel

2007-12-08 Thread Matej Knopp
That's not really a wicket thing. It's about how you style it, optionally you can provide alternative markup by subclassing it and creating new markup file for the subclass. -Matej On Dec 7, 2007 11:42 PM, Beyonder Unknown <[EMAIL PROTECTED]> wrote: > > Hi All, > > Have anybody here implemented a

Re: Why is there no IHeaderResponse.renderCSS()?

2007-12-07 Thread Matej Knopp
Probably just avoiding api clutter. You can always use IHeaderResponse.renderString. -Matej On Dec 7, 2007 9:38 AM, Bart Molenkamp <[EMAIL PROTECTED]> wrote: > Hi, > > Is there a special reason why there is no IHeaderResponse.renderCSS() > to render a String of CSS inline? There is something simi

Re: Suckerfish dropdowns for wicket

2007-12-07 Thread Matej Knopp
Why don't you post a comment to the article? -Matej On Dec 7, 2007 9:13 AM, tsuresh <[EMAIL PROTECTED]> wrote: > > Dear wicketeers > Has any one tried Suckerfish dropdowns in wicket. I saw one examle of it in > http://javathoughts.capesugarbird.com/2007/11/suckerfish-dropdowns-for-wicket.html >

Re: Change: Tree has all nodes collapsed by default

2007-12-04 Thread Matej Knopp
On Dec 4, 2007 6:29 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > Hi, > > before today the default behavior for wicket Trees was that all nodes > were expanded by default. This caused problems with lazily initialized > modes (e.g. file system model or JSR model) where wicket at

Re: Ajax Memory Leak in IE

2007-12-04 Thread Matej Knopp
at this happens in IE only. I > am using wicket-1.3.0-rc1. > > > Regards, > Alex > > > > Matej Knopp-2 wrote: > > > > Doesn't seem so. Is it reproducable? How does it happen? > > > > -Matej > > > > On Dec 4, 2007 3:43 PM, Alex Objelean <[EM

Change: Tree has all nodes collapsed by default

2007-12-04 Thread Matej Knopp
Hi, before today the default behavior for wicket Trees was that all nodes were expanded by default. This caused problems with lazily initialized modes (e.g. file system model or JSR model) where wicket attempted to load the entire data during tree render. So I changed the default behavior to have

Re: Ajax Memory Leak in IE

2007-12-04 Thread Matej Knopp
.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) > > > Thank you! > > Regards, > Alex. &

Re: annoying alert message while closing modal window with wizard

2007-12-04 Thread Matej Knopp
You need to use ajax button to properly close the window. Alternatively, you can put this script to your page (only for 1.3): Wicket.Window.unloadConfirmation = false; -Matej On Dec 3, 2007 7:48 PM, narup <[EMAIL PROTECTED]> wrote: > > Hello All, > > I am using a custom wizard in a modal windo

Re: wicket cluster on tomcat 6

2007-12-04 Thread Matej Knopp
Hi, at this point back button will not work across cluster (it's planned though). However, the failover for last accessed page should work anyway. If it doesn't, you have probably problem in your configuration. -Matej On Dec 4, 2007 11:26 AM, michalb_cz <[EMAIL PROTECTED]> wrote: > > Lo, > > I h

Re: Wicket Trees - presentation/diagram

2007-12-03 Thread Matej Knopp
hether to > subclass BaseTree (from core) or DefaultAbstractTree (from extensions) for > one's own tree implementation, by just looking quickly at the APIs, code or > the javadoc. > > Regards - Cemal > http://jWeekend.co.uk http://jWeekend.co.uk > > > > >

Re: Wicket Trees - presentation/diagram

2007-12-03 Thread Matej Knopp
Hi, the diagram looks ok, however it covers a lot of internal tree state, which is something the users shouldn't be botherered with. Are you sure you want to go into such details? -Matej On Dec 2, 2007 9:39 PM, jweekend <[EMAIL PROTECTED]> wrote: > > I'm preparing a presentation on Trees in Wick

Re: Gzip filter and resource problem

2007-12-01 Thread Matej Knopp
use httpservletresponsewrapper and intercept setHeader. -Matej On Dec 1, 2007 10:47 PM, Artur W. <[EMAIL PROTECTED]> wrote: > > > > Matej Knopp-2 wrote: > > > > Check the response headers. > > > > Sorry for the stupid question but how can i do tha

Re: Serialized pages location on the disk ?

2007-12-01 Thread Matej Knopp
ill work across cluster. -Matej > > FArhan. > > > > > > Matej Knopp-2 wrote: > > > > Sorry, that will not work anyway. The files stored on disk are not > > self-contained. The index required to interpret the files is stored in > > memory and is spe

Re: Serialized pages location on the disk ?

2007-12-01 Thread Matej Knopp
? can u give me an idea..? > > Farhan. > > > > Matej Knopp-2 wrote: > > > > Sorry, that will not work anyway. The files stored on disk are not > > self-contained. The index required to interpret the files is stored in > > memory and is specific for each node

Re: Gzip filter and resource problem

2007-12-01 Thread Matej Knopp
Check the response headers. -Matej On Dec 1, 2007 12:08 PM, Artur W. <[EMAIL PROTECTED]> wrote: > > Hi! > > > Matej Knopp-2 wrote: > > > > Yes. Your filter should check if the resource is already compressed. > > Wicket compress javascripts and css

Re: Serialized pages location on the disk ?

2007-11-30 Thread Matej Knopp
Sorry, that will not work anyway. The files stored on disk are not self-contained. The index required to interpret the files is stored in memory and is specific for each node. The DiskPageStore at this point doesn't support session replication (thus no back button for replicated session). However,

Re: Gzip filter and resource problem

2007-11-30 Thread Matej Knopp
Yes. Your filter should check if the resource is already compressed. Wicket compress javascripts and css files already. Your filter probably compresses it again. -Matej On Nov 30, 2007 3:51 PM, Artur W. <[EMAIL PROTECTED]> wrote: > > Hi! > > I added Gzip Filter because my pages are really huge ;)

Re: Ajax Memory Leak in IE

2007-11-30 Thread Matej Knopp
failure handler(s)... > Antoine Angénieux a écrit : > > > Just updated and rebuilt from the trunk, and now Ajax the pager > > component in AjaxFallbackDefaultDataTable do not work any more... (IE6 > > and IE7) > > > > Cheers, > > > > Antoine. > > > >

Re: Re[2]: AjaxSelfUpdatingTimerBehavior does not work when replaced into a page

2007-11-30 Thread Matej Knopp
Could be caused by https://issues.apache.org/jira/browse/WICKET-745 (read the last comment) -Matej On Nov 30, 2007 9:37 AM, Johan Maasing <[EMAIL PROTECTED]> wrote: > On Nov 30, 2007 6:41 AM, Иванов Дмитрий <[EMAIL PROTECTED]> wrote: > > Everybody hello. > > > > As far as i know: > > - if ypu a

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Matej Knopp
something new every day. > > Do you also serve the HTML gzipped? > > > Regards, > Sebastiaan > > Matej Knopp wrote: > > We do also serve javascript gzipped, so there is no reason for using > > mod_gzip either. > > > > -Matej > > > > On No

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Matej Knopp
tra complexity, with no real gain. Wicket markup can already be > "minimified" (see Matej's other mail), and I really think using > something like mod_gzip is a much better option: separation of concerns > and you get compression on other stuff as well. > > Regards, >

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Matej Knopp
But that would mean maintaining two files for every script. Which means at least a compilation time dependency. And I still don't see good reason for this. -Matej On Nov 29, 2007 1:26 PM, Alex Objelean <[EMAIL PROTECTED]> wrote: > > Sebastiaan, Matej, I think you get me wrong. > I do not suggest

Re: [RFE] HeaderContributor.forFavicon(Reference)

2007-11-29 Thread Matej Knopp
You can do this by directly using IHeaderResponse.renderString(). e.g. make a custom behavior that implements IHeaderContributor and call this from it's renderHead. I don't think we need this in HeaderContributor itself. But others might have different opinion. -Matej On Nov 29, 2007 11:08 AM, Al

Re: [RFE] packed JS in DEPLOYMENT mode.

2007-11-29 Thread Matej Knopp
Wicket already strips whitespace and comments in deployment mode. Using another tool to pack the javascript doesn't gives much advantage and introduces another dependency. -Matej On Nov 29, 2007 11:17 AM, Alex Objelean <[EMAIL PROTECTED]> wrote: > > It would be nice to have 2 versions of each js:

Re: wicketAjaxGet is not defined.. javascript error

2007-11-28 Thread Matej Knopp
Looks like a bug in 1.2.6. Can you upgrade to 1.3? -Matej On Nov 28, 2007 9:29 PM, narend <[EMAIL PROTECTED]> wrote: > > Hi folks > I use AjaxSubmitLink & AutoCompleteTextField on my wicket page. The > AjaxSubmitLink works fine when I first access the page, but when I navigate > away from the pag

Re: Ajax Memory Leak in IE

2007-11-27 Thread Matej Knopp
Hi, should be fixed in latest trunk. -Matej On Nov 26, 2007 5:24 PM, picknick <[EMAIL PROTECTED]> wrote: > > Here's the jira issue. Currently i can't say anything about IE7. > > https://issues.apache.org/jira/browse/WICKET-1186 > https://issues.apache.org/jira/b

Re: Floating Column

2007-11-27 Thread Matej Knopp
On Nov 27, 2007 3:23 PM, Alex Objelean <[EMAIL PROTECTED]> wrote: > > It is up to you how to style the markup. A little of CSS can do all you need. little CSS? for a floating column that says on screen while other scroll? Heh, I doubt it :) At least if you want to work it across different browsers.

Re: problems adding nodes to a BaseTree

2007-11-27 Thread Matej Knopp
t the changes and updates itself properly. -Matej > > Again, thank you very much I think I got it now :-) > > > Greetings > > Thomas > > 2007/11/27, Matej Knopp <[EMAIL PROTECTED]>: > > Hi, > > > > problem is that you rebuild the entire tree in onBefore

Re: Leaf menus stop responding after collapse and expand

2007-11-27 Thread Matej Knopp
It might be a bug, can you please make a quickstart that shows the behavior? Thanks. -Matej On Nov 14, 2007 12:31 AM, yadubi <[EMAIL PROTECTED]> wrote: > > I have an application which is modeled on ajax SimpleTreePage example. > Navigation is handled by overriding > the onNodeLinkClicked of the L

Re: problems adding nodes to a BaseTree

2007-11-27 Thread Matej Knopp
tuff and that's why it is failing. > > Greetings > > Thomas > > 2007/11/27, Matej Knopp <[EMAIL PROTECTED]>: > > > It's hard to tell without any code. Basically, if you have proper > > listeners fired in your model the tree should update itse

Re: problems adding nodes to a BaseTree

2007-11-26 Thread Matej Knopp
It's hard to tell without any code. Basically, if you have proper listeners fired in your model the tree should update itself. Alternatively, you can try calling invalidateAll() in your page onBeforeRender() (before calling super.onBeforeRender). Can you post a quickstart? -Matej On Nov 26, 2007

Re: ModalWindow Positioning

2007-11-26 Thread Matej Knopp
Hi, there is currently no way to alter the position. It's always centered first time it shows. -Matej On Nov 26, 2007 9:12 PM, Clay Lehman <[EMAIL PROTECTED]> wrote: > Hey everyone, > > > > I was wondering if there is a way to specify ModalWindow's initial > positioning. I have left the cookie

Re: Ajax Memory Leak in IE

2007-11-26 Thread Matej Knopp
Does it happen for IE6 only or also for IE7? Can you create a jira issue and attach a quickstart? -Matej On Nov 26, 2007 12:19 PM, picknick <[EMAIL PROTECTED]> wrote: > > I'm using a DataView-Table with an AjaxPagingNavigator listing 100 items per > page. Each item has an AjaxLink to a detail vi

Re: Trigger client machine program

2007-11-22 Thread Matej Knopp
What you want to do is probably not possible, unless you create an applet with will run with proper security manager settings (thus requiring proper certificate, etc.). Generally, anything that runs in browser can not really touch user's computer, as it would be a high security risk. -Matej On No

Re: PageSavingThread keeps running after undeploy

2007-11-22 Thread Matej Knopp
Please create a jira entry, it's a bug probably. -Matej On Nov 22, 2007 11:17 AM, Francis De Brabandere <[EMAIL PROTECTED]> wrote: > Hi all, > > We are deploying our wicket application to Glassfish (V2). After undeploying > and deploying a few times the PageSavingThread's of each deploy keeps > r

Re: AjaxSelfUpdatingTimerBehavior and AbstractAjaxTimerBehavior no longer able to be added via Ajax

2007-11-22 Thread Matej Knopp
Hi, there is no easy workaround I'm affraid. It's a bug that needs to be fixed. I've reopened the issue. -Matej On Nov 22, 2007 2:10 AM, Matt Clark <[EMAIL PROTECTED]> wrote: > Hi all, > > > > I posted an update to a ticket tonight > (https://issues.apache.org/jira/browse/WICKET-745), which poi

Re: ModalWindow setResponse

2007-11-19 Thread Matej Knopp
You have to close the modal window and call setResponsePage from within the WindowClosedCallback. -Matej On Nov 19, 2007 11:22 PM, Tim Lantry <[EMAIL PROTECTED]> wrote: > Is there any way to forward to a page outside of a modal window from within > a modal window? The typical behavior when using

Re: Deployment mode Javascript error

2007-11-19 Thread Matej Knopp
Are there still compression problems with current trunk? I've been testing that with YUI and DOJO and had no problem. -Matej On Nov 19, 2007 2:34 PM, Al Maw <[EMAIL PROTECTED]> wrote: > Frank Bille wrote: > > The easy solution is to disable javascript cleanup: > > > > INIT: > > getResourceSetting

Re: Matt Raible's ApacheCon presentation

2007-11-17 Thread Matej Knopp
On Nov 15, 2007 9:06 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > for me, pros would be: > > trully object oriented: allows great encapsulation/extension/reuse > code centric: easier refactoring, maintenance > trivial component creation: awesome reuse of high level functionality > inter/intra pro

Re: Second Level Cache

2007-11-17 Thread Matej Knopp
When user presses the back button, wicket need to reconstruct the previous page instance. And the previous page instance is stored in second level cache. Wichet is a statefull framework, it maintains page instances. Most of the time the url only contains page id and page version. This is used to pu

Re: ModalWindow: open on page construction

2007-11-17 Thread Matej Knopp
No, there is no such thing as having ajax request target during page load. What would it do, anyway? What we could do is making ModalWindow.getWindowOpenJavascript public, so that you could use the resuling javascript in IHeaderResponse.renderOnDomReadyJavascript(). -Matej On Nov 16, 2007 7:50 P

Re: more back button fun

2007-11-15 Thread Matej Knopp
Yeah, don't you by any chance refresh the dataview usign ajax? Browser seem to be caching old DOM tree. Try adding cache-control: no-store header in Page.configureResponse. -Matej On Nov 14, 2007 8:54 PM, Evan Chooly <[EMAIL PROTECTED]> wrote: > Using rc1 when I click on a link in a DataView, cli

Re: Doubleclicking on a refreshable Ajax button

2007-11-14 Thread Matej Knopp
Err. These exception shouldn't happen anymore with latest wicket. Anyone who can reproduce this with latest wicket please file a jira issue, preferred with quickstart. It's a bug. Thanks. -Matej On Nov 14, 2007 4:22 PM, jweekend <[EMAIL PROTECTED]> wrote: > > Can you try using something like set

Re: data tables and debugging session serialization

2007-11-13 Thread Matej Knopp
You have something transient in your model. Or something implementing Externalizable without properly serializing the properties. -Matej On Nov 13, 2007 3:59 PM, Evan Chooly <[EMAIL PROTECTED]> wrote: > I'm having some strange behavior with a DataTable and the back button. > When I back up to th

Re: TreeModel error

2007-11-13 Thread Matej Knopp
Thanks for the issue. Looks like a bug in AbstractTree. -Matej On Nov 12, 2007 5:47 AM, Doug Leeper <[EMAIL PROTECTED]> wrote: > > JIRA issue created ( http://issues.apache.org/jira/browse/WICKET-1148 > WICKET-1148 ) > -- > View this message in context: > http://www.nabble.com/TreeModel-error-tf

Re: Serialization of pages in a cluster/load-balancer environment ?

2007-11-13 Thread Matej Knopp
No. The old pages (serialized to disk) are only saved on one node, unless you have some kind of distributed page store. In the (possibly near) future we might support automatic replication of page store. It's on my todo list :) -Matej On Nov 13, 2007 10:17 AM, mfs <[EMAIL PROTECTED]> wrote: > > S

Re: question about HybridUrlCodingStrategy

2007-11-12 Thread Matej Knopp
If the page is stateless, why are you using hybrid url coding strategy for it? You should just mount it. Also, even more important thing, is the page really stateless? Stateless pages don't have versions. Link is not a stateless component so if you use it on a page, it will make it statefull. As f

Re: onUnload event

2007-11-10 Thread Matej Knopp
Hi, It's because it only worked in IE and Firefox. As far as I know there is no way to get that event in Safari on Opera. And we can't have thing in wicket core which doesn't consistently across supported browsers. -Matej On Nov 10, 2007 6:01 PM, John Patterson <[EMAIL PROTECTED]> wrote: > HI, >

Re: beforeRender() - Cannot modify component hierarchy during render phase?

2007-11-09 Thread Matej Knopp
I am affraid you can't modify a component from a behavior before render. Unline onBeforeRender in component, the behavior's beforeRender is called right before component rendering, i.e. during the rendering process. In the next verion we will probably rename the before/afterRender methods in behavi

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Matej Knopp
Yeah, something like this could be done, but then we would probably have to user separate folder for each pagestore / application, just to make sure that one page store doesn't touch other pagestore files. Still, the question is whether we should do this at all. If you kill your container (don't b

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Matej Knopp
> We could read the session timeout from web.xml and delete what is older. But should we really do that? When session timeouts, the data is deleted anyway. These "dangling" files seem to be a caused by something else. -Matej > > Not a high priority thing for me tbh, but I think it can be done. >

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Matej Knopp
On Nov 8, 2007 6:43 PM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > Guys I am on the same project so I can speak a bit more. The real issue is > > that on Redhat the default max directories is something like 32K. We ran > > out of file descriptors. Basically for every unique session there is

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Matej Knopp
gt; > > > But 50 is nothing (at least i think it is nothing) and linux should be > > able > > to handle that just fine > > Can somebody peak how many handles we take on those session files? Maybe > > we > > leak somewhere > > or do take more then we think.

Re: How To Change Page Store Size in DiskPageStore?

2007-11-07 Thread Matej Knopp
There is a constructor parameter in DiskPageStore constructor (the last int parameter) that says how many handles DiskPageStore will keep opened. But the default number of file handles is 50. If this is causing your server file handle problems than you should consider changing the configuration. A

Re: Problem closing a ModalWindow when used through an IFrame

2007-11-04 Thread Matej Knopp
; > > > http://www.wicket-library.com/wicket-examples/ajax/modal-window.1"; > > width="100%" height="100%"> > > > > > > > > And then open "Show modal dialog with panel" and try to close the dialog. > > > > Mahavishnu >

Re: Jira issue moved to the list: constructors and init of components

2007-11-03 Thread Matej Knopp
Ever heard of constructor chaining? -Matej On 11/3/07, Brill Pappin <[EMAIL PROTECTED]> wrote: > Moving to the list as suggested by Gwyn. > > From Jira issue: > https://issues.apache.org/jira/browse/WICKET-1108 > > Maybe I wasn't clear on what my problem with it was. > > 1) doing any extensive am

Re: Localizing title of ModalWindow

2007-11-02 Thread Matej Knopp
Sorry, that is just a typo. Will be fixed in a second. -Matej On 11/2/07, Per Newgro <[EMAIL PROTECTED]> wrote: > Is it correct that the jira entry says it is fixed in beta4? Because we use > beta4 and the title still needs a Model instead of an IModel. > > Cheers > Per > > --

Re: wicket:enclosure and authorization

2007-11-02 Thread Matej Knopp
I think this should wait after 1.3. And I'm not the one who's usually hesitating what it comes to breaking stuff :) -Matej On 11/2/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > On 11/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > if we rename it then we should also rename Component.RENDER

Re: BUG: Ajax Panel Replacement Issue on Fireforx only (Kind of Complex Scenario)

2007-11-02 Thread Matej Knopp
; Please let me know as I might done something incorrectly like filling the > correct values for the properties of the Issue. Example: it is not major, it > is minor. things like that. > > > f(t) > > > On 11/1/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > > >

Re: communication between frames and customizing LinkTree

2007-11-01 Thread Matej Knopp
Why do you use frames anyway? If you want to pass things between frames javascript is the only way, but I don't see what's the point of using frames when you have framework capable of Ajax partial page updates. -Matej On 11/1/07, Devin Venable <[EMAIL PROTECTED]> wrote: > I posted a question a fe

Re: Best practice question

2007-11-01 Thread Matej Knopp
Yourkit really works pretty darn well. Btw. What wicket version are you using? And are you sure it's Wicket / Web that is leaking? -Matej On 11/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > i use yourkit, it seems to work pretty darn well > > -igor > > > On 11/1/07, Doug Leeper <[EMAIL PROTECT

Re: BUG: Ajax Panel Replacement Issue on Fireforx only (Kind of Complex Scenario)

2007-11-01 Thread Matej Knopp
that show the issue. > > Now what? > > Do I Zip the root project folder with all inside and attach it to a JIRA? > > thanks, > > f(t) > > > On 10/31/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > > > Well, it's the last resort for you, but first

Re: Problem closing a ModalWindow when used through an IFrame

2007-11-01 Thread Matej Knopp
The modal window probably won't work well when paced in a page that is loaded in iframe. Still, if you can provide a quickstart assigned to a JIRA entry I will take a look if there is a quick fix for your problem. -Matej On 11/1/07, Deepak Mahavishnu <[EMAIL PROTECTED]> wrote: > Hello! > > I'm do

Re: wicket:enclosure and authorization

2007-11-01 Thread Matej Knopp
I'd say more like the enclosure should check is the component will render rather than a simple isVisible check. -Matej On 11/1/07, Maurice Marrink <[EMAIL PROTECTED]> wrote: > On Oct 31, 2007 9:58 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > there seems to be a bit of a disconnect between "re

Re: BUG: Ajax Panel Replacement Issue on Fireforx only (Kind of Complex Scenario)

2007-10-31 Thread Matej Knopp
art the last resort. > > I'll get right on it. Jira + QuickStart. > > We must all contribute. > > :-) > > f(t) > > > On 10/31/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > > > So even better than html page would be a quickstart attched to jira

Re: Stateless page and Pragma no-cache

2007-10-31 Thread Matej Knopp
Override Page.configureResponse() and add the flags you want there. -Matej On 10/31/07, John Patterson <[EMAIL PROTECTED]> wrote: > Hi, > > I notice that Pragma no-cache is set for every WebPage and I cannot > see how I can turn it off for my bookmarkable stateless pages could > would benefit fro

Re: BUG: Ajax Panel Replacement Issue on Fireforx only (Kind of Complex Scenario)

2007-10-31 Thread Matej Knopp
So even better than html page would be a quickstart attched to jira issue that you create about this problem :-) Cheers, -Matej On 10/31/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > Hi, > > I got your point. But I need a complete html file to be able to > reproduce it with a

Re: BUG: Ajax Panel Replacement Issue on Fireforx only (Kind of Complex Scenario)

2007-10-31 Thread Matej Knopp
basically call the *Wicket.replaceOuterHtml=function(){ blah, > blah* to replace the one in the framework with the fixed one. And we call > the replacement on a window.setTimeOut() on the specific page in which we > have the panel with subpanels. > > thanks, > > f(t) > >

Re: Wicket Session Management?

2007-10-30 Thread Matej Knopp
Pen wrote / napísal(a): I have a few question regarding the wicket usage. we are trying to Implement wicket as our next MVC framework, Can please someone answer the questions below Hi - about session support - wicket stores the render state of most renderer's in session for different users o

Re: BUG: Ajax Panel Replacement Issue on Fireforx only (Kind of Complex Scenario)

2007-10-30 Thread Matej Knopp
IREBUG toolbar or something of the sort. If everything else fails I'll provide a QuickStart. Thanks, f(t) On 10/23/07, Matej Knopp <[EMAIL PROTECTED]> wrote: Can you provide a quickstart? -Matej On 10/23/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]> wrote: Hi. I&#x

Re: ModalWindow does not close

2007-10-30 Thread Matej Knopp
No idea. The javascript has nothing to do with wicket. -Matej On 10/30/07, Cristi Manole <[EMAIL PROTECTED]> wrote: > Hello, > > I have a problem with ModalWindow. > > No matter what I do I cannot manage to close it. Although the method for > closing it IS INDEED called (and then the focus set to

Re: AutoCompleteTextField excessive serialisation

2007-10-29 Thread Matej Knopp
s. John On 29 Oct 2007, at 17:27, Matej Knopp wrote: I doubt it would prevent the page from being serialized. Versioning doesn't spot all changes to page (e.g. setting a property) so we can't rely on it, therefore we serialize it on every request. However, if you really want to ge

Re: AutoCompleteTextField excessive serialisation

2007-10-29 Thread Matej Knopp
or autocomplete requests. -Matej Eelco Hillenius wrote / napísal(a): On 10/29/07, Matej Knopp <[EMAIL PROTECTED]> wrote: I doubt it would prevent the page from being serialized. Versioning doesn't spot all changes to page (e.g. setting a property) so we can't rely on it, the

Re: AutoCompleteTextField excessive serialisation

2007-10-29 Thread Matej Knopp
I doubt it would prevent the page from being serialized. Versioning doesn't spot all changes to page (e.g. setting a property) so we can't rely on it, therefore we serialize it on every request. However, if you really want to get around the serialization for certain cases, you need to call Ses

Re: updating components on Page from ModalWindow's internal Page's components

2007-10-29 Thread Matej Knopp
Are you sure that the newly added image has different src attribute (e.g. adding a timestamp) than the old one? No-cache and no-store headers on the image itself don't prevent the browser from caching images on one page. -Matej Kirk Israel wrote / napísal(a): I'm still having the fundamenta

Re: 1.3.0-beta4: updateFeedback() gone?

2007-10-29 Thread Matej Knopp
It is indeed a bug in FormComponentFeedbackBorder. Should be fixed soon though :) -Matej On 10/29/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > in 1.3.0-beta4, Page.renderPage() doesn't call the updateFeedback() on its > > children any more. Because of this change the FormComponentFeedbackBo

Re: Is Beta5 coming soon? Beta4 has caused these issues for us....

2007-10-29 Thread Matej Knopp
Looks like the FormComponentFeedbackBorder is not fixed yet. Will fix today. -Matej On 10/29/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > 4) Pages are stateful now because of - > > http://www.nabble.com/Stateless-page-creating-session-tf4604432.html#a13147396 > > Ah, I missed this. I fixed

Re: disabling of AjaxSubmitLink

2007-10-29 Thread Matej Knopp
It is already fixed in 1.3. -Matej On 10/29/07, wheleph <[EMAIL PROTECTED]> wrote: > > Hello everyone! > > I use Wicket 1.2.6 and when I try to disable AjaxSubmitLink via > link.setEnabled(false) call it really doesn't react on clicks but it still > looks like a regular link in browser. I mean th

Re: Checkbox tree component

2007-10-26 Thread Matej Knopp
I think this shouldn't be difficult to accomplish with BaseTree and AjaxCheckBox. -Matej On 10/27/07, Doug Leeper <[EMAIL PROTECTED]> wrote: > > I was just about to tackle this. If I get something together I will forward > the code. > > - Doug > -- > View this message in context: > http://www.n

Re: Component autorefresh with Ajax

2007-10-25 Thread Matej Knopp
Wicket doesn't track dirty components (because there are lot of different ways you can consider a component "dirty"). But you can mark your dirty dirty yourself (e.g. setting some flags) and then use a visitor (MarkupContainer.visitChildren()) to find dirty components and add them to AjaxReques

Re: Back button and AjaxLazyLoadPanel

2007-10-25 Thread Matej Knopp
you can try to add cache-control: no-store header to your page. If that doesn't help, fill a jira issue with attached quickstart. -Matej On 10/25/07, Evan Chooly <[EMAIL PROTECTED]> wrote: > I'm having issues using the ALLP and the back button. I'm getting the > following error: > > java.lang.Il

Re: How do I dynamically populate TreeTable nodes

2007-10-25 Thread Matej Knopp
It's about how you implement the TreeModel. You need to roll your own TreeNode implementation that loads the children lazily when then children() method is called. That way you don't have to populate the whole tree upfront. -Matej On 10/25/07, lubosp <[EMAIL PROTECTED]> wrote: > > I use extension

Re: LoadableDetachableModel and anonymous inner classes - unwanted serialization overhead?

2007-10-25 Thread Matej Knopp
Where do you have your LoadableDetachableModel declared? And what kind of IDataProvider are you talking about? If it is wicket's IDataProvider than it has to be serializable, because DataView/Table keep it's reference. LoadableDetachableModel is usually declared as anonymous class inside component

Re: Setting charset of javascript includes?

2007-10-25 Thread Matej Knopp
I see, well, in that case you can use IHeaderResponse.renderText() to render the entire script tag on your own (you can look at the implementation of renderJavascriptReference to do something similiar just put the encoding attribute in there) -Matej On 10/25/07, kent lai <[EMAIL PROTECTED]> wrote

Re: Ajax Bug when using CryptedUrlWebRequestCodingStrategy ???

2007-10-24 Thread Matej Knopp
I believe this is already fixed in trunk, so it will also be part of beta 5. -Matej On 10/24/07, marcus dickerhof <[EMAIL PROTECTED]> wrote: > Thanks for the reply, but does apply to all ajax features? > I am not using an Ajax Link explicitly.I add an AjaxEventBehavior to a radio > component. > >

Re: Setting charset of javascript includes?

2007-10-24 Thread Matej Knopp
Why do you want to append the charset attribute? Why do you need it? AFAIK if the charset is ommited the browser should use document charset for the javascript as well. I don't understand the usecase here. -Matej On 10/24/07, kent lai <[EMAIL PROTECTED]> wrote: > Hmm, or maybe even subclassing do

Re: FormComponentFeedbackIndicator not triggered with 1.3b4?

2007-10-24 Thread Matej Knopp
No, there shouldn't be as far as I know. This might be a regression though, could you file a jira issue and attach a quickstart that demonstrates the problem? Thanks. -Matej On 10/24/07, Thies Edeling <[EMAIL PROTECTED]> wrote: > Hi all, > > For validation purposes I've added a class exending Abs

Re: Configuring AJAX tree

2007-10-24 Thread Matej Knopp
Hi, unfortunately the Tree class is not able to grow horizontally, neither it is possible for it to have a horizontal scrollbar. If you need this features, you have to use the new LinkTree (or it's superclass BaseTree) from wicket 1.3. -Matej On 10/24/07, David Struck <[EMAIL PROTECTED]> wrote: >

Re: Button component bug - all uses of a Button cause a 302 redirect

2007-10-24 Thread Matej Knopp
You can call setRedirect(false) during the request in the onSubmit handler, that should prevent wicket from redirecting in that particular case. -Matej On 10/24/07, Chris Lintz <[EMAIL PROTECTED]> wrote: > > Ok. Its a good thing.. I didnt know it was the default setting. I guess i > should than

Re: retrieving page from ModalWindow's setPageCreator(ModalWindow.PageCreator)

2007-10-23 Thread Matej Knopp
Modal window doesn't keep the reference to the page. What prevents you from keeping the reference inside the page creator instance if you need to? -Matej On 10/23/07, Kirk Israel <[EMAIL PROTECTED]> wrote: > I looked at the JavaDoc and inspected the class, but couldn't find a > clear way of getti

Re: javascript settimeout on ajaxeventtarget

2007-10-23 Thread Matej Knopp
What you want to accomplish needs a little bit more of javascript, it's not a simple timeout. Problem is that you need to make sure that after the timeout the mouse is still over the element. Anyway, you can use AjaxEventBehavior.getAjaxCallDecorator() to return your own decorater which decorates t

Re: Ajax Panel Replacement Issue on Fireforx only (Kind of Complex Scenario)

2007-10-23 Thread Matej Knopp
Can you provide a quickstart? -Matej On 10/23/07, Francisco Diaz Trepat - gmail <[EMAIL PROTECTED]> wrote: > Hi. I'm going to try to explain the best that I can and without posting code > at first the issue that is happening. > > I have the following panels A and C. A has two instances of B neste

Re: updating components on Page from ModalWindow's internal Page's components

2007-10-23 Thread Matej Knopp
Problem is that AjaxRequestTarget only applies to one page. If you want to update the outer page (assuming that you have another page inside modal window, not a panel), the only way to do it is from within WindowClosedCallback registered to modal window. So you have to mark somehow dirty components

Re: Refreshing components with new data w/o altering the backing model

2007-10-23 Thread Matej Knopp
I think what you could try (though it would be a nasty hack :) ) is to set rawInput property on FormComponent. However, you'll need some introspection to do that, as it is private and we don't plan to provide an accessor for it :) -Matej On 10/23/07, karthik Guru <[EMAIL PROTECTED]> wrote: > I ha

Re: Out of order requests

2007-10-21 Thread Matej Knopp
1.3 doesnt have this problem. > > On 10/20/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > Johan? > > > > -Matej > > > > On 10/20/07, jan_bar <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > my question was probably unclear

<    1   2   3   4   5   6   7   8   9   >