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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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
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: 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: 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: 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: [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: [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
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] 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: 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: 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-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: 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: 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: 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: 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 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: 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: 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. &

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

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: 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: 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: 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: 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: 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
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: 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: 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: 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: 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: 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: 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: [PROPOSAL] Use path in URL when target is instance of BookmarkablePageRequestTarget

2008-07-02 Thread Matej Knopp
I'm not very eager about this. The interface listeners URLs are quite long, why making them even longer while bringing no additional benefit? Also are you sure thath your patch won't break under any circumstances relative urls? It took us a while to get relative URLs working reliably, I wouldn't wa

Re: generics

2008-07-03 Thread Matej Knopp
sacrifice any of the mentioned functionality. On Thu, Jul 3, 2008 at 5:32 AM, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Wed, 02 Jul 2008, Matej Knopp wrote: >> I still don't see what's wrong with GenericPanel. It's certainly much >> easier to type than ModelContainin

Re: generics

2008-07-03 Thread Matej Knopp
Ligther? Does it meen with no Compund and ComponentAssignedModel? Wouldn't that feel more like crippled? The default model slot doesn't take any runtime space when you don't use it, property would. And removing four methods from component will hardly make it much lighter. -Matej On Thu, Jul 3, 20

Re: generics

2008-07-03 Thread Matej Knopp
> > And there is some functionality in there that Wicket might > be better without. For example, onModelChanged / Changing > things become tricky when you share the same model between > different instances. And when using setModelObject() with an > object that is equal to the current model object,

Re: generics

2008-07-03 Thread Matej Knopp
On Thu, Jul 3, 2008 at 9:51 AM, Matej Knopp <[EMAIL PROTECTED]> wrote: >> >> And there is some functionality in there that Wicket might >> be better without. For example, onModelChanged / Changing >> things become tricky when you share the same model between >>

Re: generics

2008-07-03 Thread Matej Knopp
On Thu, Jul 3, 2008 at 10:02 AM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > On Thu, Jul 3, 2008 at 12:47 AM, Matej Knopp <[EMAIL PROTECTED]> wrote: >> Ligther? Does it meen with no Compund and ComponentAssignedModel? >> Wouldn't that feel more like crippled? &

Re: generics

2008-07-03 Thread Matej Knopp
Martijn > > On Thu, Jul 3, 2008 at 10:08 AM, Matej Knopp <[EMAIL PROTECTED]> wrote: >> On Thu, Jul 3, 2008 at 10:02 AM, Eelco Hillenius >> <[EMAIL PROTECTED]> wrote: >>> On Thu, Jul 3, 2008 at 12:47 AM, Matej Knopp <[EMAIL PROTECTED]> wrote: >>>&g

Re: generics

2008-07-03 Thread Matej Knopp
On Thu, Jul 3, 2008 at 10:02 AM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > On Thu, Jul 3, 2008 at 12:47 AM, Matej Knopp <[EMAIL PROTECTED]> wrote: >> Ligther? Does it meen with no Compund and ComponentAssignedModel? >> Wouldn't that feel more like crippled? &

Re: How to configure the max space used for all Session store on a WebApplication ?

2008-07-03 Thread Matej Knopp
Yeah, we don't shrink the files. We can't, that's not how DiskPageStore works. Anyway, what's the usecase? Are you trying to suggest that you're running out of disk space? :) -Matej On Thu, Jul 3, 2008 at 10:18 AM, Johan Compagner <[EMAIL PROTECTED]> wrote: > that wont work. > > Because pages are

Re: Register Session end

2008-07-08 Thread Matej Knopp
Holding a JDBC connection in session is hardly a good idea. Anyway, take a look at HttpSessionListener. -Matej On Tue, Jul 8, 2008 at 5:39 PM, Stefan Lindner <[EMAIL PROTECTED]> wrote: > How can I handle the end of a Session? I have a Session thet holds a > JDBC-Connection. Now I want to close th

Re: Modal window and resource request target

2008-07-08 Thread Matej Knopp
This is a bit tricky thing to do. You'd have to redirect from ajax request. so you could get URL for the request listener and then use RedirectRequestTarget. -Matej On Tue, Jul 8, 2008 at 10:23 PM, jwray <[EMAIL PROTECTED]> wrote: > > Hi, > > I have the situation in which an action applied to a

Re: Avoid page serialization

2008-07-10 Thread Matej Knopp
It is necessary as wicket uses serialization to make snapshot of page state to be able to revert it back on back button. -Matej On Thu, Jul 10, 2008 at 10:37 AM, Daniele Dellafiore <[EMAIL PROTECTED]> wrote: > I am wondering if page serialization in wicket is always necessary. I > have read this:

Re: ModalWindow PageCreator Bug?

2008-07-14 Thread Matej Knopp
I'm sorry about this. It should be fixed in trunk. Did the broken revision made it to 1.4m3? -Matej On Mon, Jul 14, 2008 at 7:31 PM, Matthew Hanlon <[EMAIL PROTECTED]> wrote: > I just updated my 1.4 SNAPSHOT to revision 676639 and I've started noticing > an error in ModalWindow when using ModalWi

Re: ModalWindow PageCreator Bug?

2008-07-14 Thread Matej Knopp
Looks like M3 should be fine. -Matej On Mon, Jul 14, 2008 at 7:51 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > I'm sorry about this. It should be fixed in trunk. > Did the broken revision made it to 1.4m3? > > -Matej > > On Mon, Jul 14, 2008 at 7:31 PM, Matthew Han

Re: Versioning Ajax Calls

2008-07-15 Thread Matej Knopp
Wicket does not support back button for ajax requests. The problem is that ajax request can not modify the URL without reloading the page (apart from changing the hash part (after #), bu that never makes to the server. There are solutions for enabling back button for ajax applications, but they are

Re: Error -channnel busy ..postponing

2008-07-21 Thread Matej Knopp
The postponing message should only be visible in ajax log. It only says that another request is in progress so the current one is postponed until the previous one finishes. -Matej On Mon, Jul 21, 2008 at 8:16 PM, Arun Wagle <[EMAIL PROTECTED]> wrote: > > Hello, > > I have a Modal dialog box which

Re: Error -channnel busy ..postponing

2008-07-21 Thread Matej Knopp
not able to invoke save the modified data > again. > It does nothing. > > How should I handle this if I have to do multiple submit one after another > immediately ? > > Can you suggest some solution ? > > > > Regards, > Arun Wagle > > Matej Knopp-2 wrote: &g

Re: "This time last year" .... is Wicket really a disappointment?

2008-07-24 Thread Matej Knopp
Too many constrains? Really? Just write a model that pull the image from whatever you want (even as static object property for that matter). Just because the model is serializable doesn't mean that the model object has to be serializable. That's a big differece. I've done a lot of JCR related work

Re: Strange behavior with inMethod DataGrid inside a Panel inside a ModalWindow

2008-07-24 Thread Matej Knopp
We use grid in modal window all the time. Can you be more specific about the setup (browser, grid version, wicket version)? -Matej On Thu, Jul 24, 2008 at 10:56 PM, Paul Logasa Bogen II <[EMAIL PROTECTED]> wrote: > Howdy, > > First of I'd like to say that I think Wicket is fantastic and after tr

Re: Strange behavior with inMethod DataGrid inside a Panel inside a ModalWindow

2008-07-25 Thread Matej Knopp
x27;t want to spam the list with too much info if I >>> didn't need to. >>> I'm using Firefox 3.0.1 under WinXP and Iceweasel 3.0.1 (rebranded >>> Firefox) under Debian i686 and Debian x86_64 >>> >>> I am using Wicket 1.3.4 and the inMethod D

Re: HybridURLs

2008-07-31 Thread Matej Knopp
Hi, mount the page using HybridUrlCodingStrategy. The url for page instance (you can use PageLink for that) will than look like /foo/document/21.5 (where .5 denotes page instance). Note that such url *is* bookmarkable, the page instance number doesn't matter. Unfortunately wicket has to store the

Re: Dynamically Making changes to Tree Node

2008-07-31 Thread Matej Knopp
You have to use different panel for each Tree item (depending on the tree node for that item). If you use BaseTree, implement the #newNodeComponent method accordingly. You can look at LinkTree or LabelTree for an example of how the implementation can look like. Or you can use LinkTree, override ne

Re: Refreshing a form inside a Modal Window

2008-07-31 Thread Matej Knopp
You need to show some code. -Matej On Fri, Aug 1, 2008 at 1:33 AM, vishy_sb <[EMAIL PROTECTED]> wrote: > > Is there anyone who has any clue about how this has to be done??? > > > > > vishy_sb wrote: >> >> Hi all, >> >> I have Modal Window which contains a panel. Inside the panel I am tryi

Re: HybridURLs

2008-08-01 Thread Matej Knopp
<[EMAIL PROTECTED]> wrote: > you have to encode the necessary state yourself into the page > parameters. There is no way for Wicket to be able how to serialize the > state in the URL in some magic way. > > Martijn > > On Fri, Aug 1, 2008 at 9:41 AM, Uwe Schäfer <[EMA

Re: HybridURLs

2008-08-01 Thread Matej Knopp
PageLink should create links like that if you put there existing page instance (the one you want to return tu). If it doesn't it's a bug. -Matej On Fri, Aug 1, 2008 at 11:00 AM, Uwe Schäfer <[EMAIL PROTECTED]> wrote: > Martijn Dashorst schrieb: > >> you have to encode the necessary state yourself

Re: Let us list the frameworks and tools we use together with Wicket!

2008-08-01 Thread Matej Knopp
On Fri, Aug 1, 2008 at 2:23 PM, Paul Logasa Bogen II <[EMAIL PROTECTED]> wrote: > I develop in Eclipse with SVN for source control. I user FFX3 with > WebDeveloper Toolbar to debug > CSS and Venkman to debug js (although if someone knows of a better js > debugger please tell me). > > My project use

Re: Dynamically Making changes to Tree Node

2008-08-01 Thread Matej Knopp
Panel("limitPanel"); >> add(limitPanel); >> limitPanel.setVisible(false); >> >> InstrumentLimitViewerPanel >> instrumentLimitViewerPanel = new >> InstrumentLimitViewerPanel("instrumentLimitViewerPanel",limitInputPanel, >> limitViewerFor

Re: LinkTree's overridden onNodeLinkClicked not being invoked after migrating from 1.3.3 to 1.4-m2

2008-08-04 Thread Matej Knopp
The method signature has changed. The TreeNode argument has been changed to Object. This you are probably not overriding the method. -Matej On Mon, Aug 4, 2008 at 10:09 PM, Goldstein, Jonathan A <[EMAIL PROTECTED]> wrote: > My tree behavior was working fine using Wicket 1.3.3, but after migrating

Re: LinkTree's overridden onNodeLinkClicked not being invoked after migrating from 1.3.3 to 1.4-m2

2008-08-04 Thread Matej Knopp
x Corporation > 800 Phillips Rd., 0300-12S > Webster, NY 14580 > > Phone 585.422.4161 > Internal 8*702-4161 > > Ease of Use Common Room 585.422.0731 > Internal 8*702.0731 > > Fax 585.422.8116 > > [EMAIL PROTECTED] > > > PSG.Workflow Business Unit.Workfl

Re: Escaping of strings containing & in attributes

2008-08-05 Thread Matej Knopp
I think for 1.5 we should escape the tag attributes automatically. -Matej On Tue, Aug 5, 2008 at 4:49 PM, Stefan Fußenegger <[EMAIL PROTECTED]> wrote: > > no comments here? > > > Stefan Fußenegger wrote: >> >> While validating some of my pages, I found out that some pages do not >> validate due t

Re: Customizing treeTable.

2008-08-11 Thread Matej Knopp
Hi, with current layout it is not possible for the TreeTable to have variable row height. -Matej On Mon, Aug 11, 2008 at 2:13 PM, kag1526 <[EMAIL PROTECTED]> wrote: > > I am using a tree table to display data from a database, however some of the > rows in the tree table needs to have multiple va

Re: Feedback messages disappearing before display

2008-08-11 Thread Matej Knopp
If you want to show messages on another page you need to use session feedback messages (getSession().info) -Matej On Mon, Aug 11, 2008 at 9:47 PM, insom <[EMAIL PROTECTED]> wrote: > > I have a submit button that adds a message to my FeedbackPanel, like so: > > if (isTestPassed()) { >... >

Re: Feedback messages disappearing before display

2008-08-11 Thread Matej Knopp
If you want to show messages on another page you need to use session feedback messages (getSession().info) -Matej On Mon, Aug 11, 2008 at 9:47 PM, insom <[EMAIL PROTECTED]> wrote: > > I have a submit button that adds a message to my FeedbackPanel, like so: > > if (isTestPassed()) { >... >

Re: Feedback messages disappearing before display

2008-08-11 Thread Matej Knopp
If you want to show messages on another page you need to use session feedback messages (getSession().info) -Matej On Mon, Aug 11, 2008 at 9:47 PM, insom <[EMAIL PROTECTED]> wrote: > > I have a submit button that adds a message to my FeedbackPanel, like so: > > if (isTestPassed()) { >... >

Re: Pretty URLs depending on a Page's state (not params)

2008-08-13 Thread Matej Knopp
On Wed, Aug 13, 2008 at 5:01 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > On Wed, Aug 13, 2008 at 12:38 AM, pixologe <[EMAIL PROTECTED]> wrote: >> but still I would be even happier with wicket if there was a hybrid solution >> which enabled a page to hold state beyond its pretty URL params > Ther

Re: feedback question

2008-08-17 Thread Matej Knopp
Hi, if you add those components in getDependentFormComponents() it probably won't work, because the validate method will only be called if all of those components are valid. Which kinda renders your validator useless :) So your approach with returning empty list is probably right. -Matej On Sun,

Re: Nested forms

2008-08-18 Thread Matej Knopp
Can't you just override isEnabled() on the inner form and return true/false depending on whether the inner form should be processed? -Matej On Mon, Aug 18, 2008 at 10:42 PM, John Krasnay <[EMAIL PROTECTED]> wrote: > Hi folks, > > I find myself occasionally using nested forms in my Wicket apps. Wi

Re: FeedbackPanel default outputMarkupId = true

2008-08-19 Thread Matej Knopp
Just making feedback panel write markup id doesn't mean your application has to be all ajaxy... -Matej On Tue, Aug 19, 2008 at 8:25 AM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > I still for one try to get ajax away for public(unauthorized) parts, for > seo and caching pur

Re: IndicatingAjaxLink with BaseTree appends after

2008-08-19 Thread Matej Knopp
Hi, This is caused by the fact that component border is rendered after/before behaviors. We can't really change this for 1.3 because it could break existing applications. I have changed the rendering order in trunk (1.4) though. -Matej On Mon, Aug 18, 2008 at 3:36 PM, Kaspar Fischer <[EMAIL PROT

Re: Wicket merchandise?

2008-08-21 Thread Matej Knopp
The Apache word needs some kerning adjustments :) -Matej On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten <[EMAIL PROTECTED]> wrote: > Thanks for the inspiration... black looks really nice! > > Imagine a black t-shirt or a black mug with this: > http://stuq.nl/media/image/apache-wicket-tshirt-blac

Re: TreeGrid and DataGrid open source

2008-08-21 Thread Matej Knopp
Hi, the source code is available in the Wicket Stuff SVN https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/inmethod-grid/ -Matej On Wed, Aug 20, 2008 at 5:09 PM, Fkleinko <[EMAIL PROTECTED]> wrote: > > Thank you but where can i download the jar or even beter the osgi bundle. >

Re: Wicket merchandise?

2008-08-21 Thread Matej Knopp
p://stuq.nl/media/image/apache-wicket-tshirt.png > http://stuq.nl/media/image/apache-wicket-tshirt-black.png > > Regards, > > Daan > > On 21 aug 2008, at 14:46, Matej Knopp wrote: > >> The Apache word needs some kerning adjustments :) >> >> -Matej >&g

Re: Jobs, opertunities and this mailing list

2008-08-21 Thread Matej Knopp
Go ahead, feel free to post the job ads, as long as they are wicket related. -Matej On Thu, Aug 21, 2008 at 4:07 PM, Wayne Pope <[EMAIL PROTECTED]> wrote: > Hi everyone, > > whats the policy here about advertising jobs or project/dev oppertunities? > I'm creating something new and I'm looking for

Re: url after form submit with redirect

2008-08-21 Thread Matej Knopp
Just mount the page with HybridUrlCodingStrategy. -Matej On Thu, Aug 21, 2008 at 3:50 PM, miro <[EMAIL PROTECTED]> wrote: > > > Assume I passed my instance in setResponse() method , in this case wicket > generates its own url basically from the session , so this means i cannot > expect to ha

Re: Page serialisation

2008-08-21 Thread Matej Knopp
That is right. -Matej On Wed, Aug 20, 2008 at 6:46 PM, James Carman <[EMAIL PROTECTED]> wrote: > Ahh, so the information is serialized in the same thread, but the > actual saving to disk goes on in another thread. Is that right? > > On Wed, Aug 20, 2008 at 12:38 PM, Johan Compagner <[EMAIL PROTE

Re: Page serialisation

2008-08-21 Thread Matej Knopp
Of course they do need to be saved. What if after the ajax request there is regular request that shows new page. User goes back and expects to see the previous page as it was after the *last* ajax request, so we need to save and serialize it. -Matej On Wed, Aug 20, 2008 at 7:29 PM, John Patterso

Re: Page serialisation

2008-08-21 Thread Matej Knopp
I was thinking about implementing it like this. But, it would make code that is already complicated even more complicated. What's worst, it wouldn't work in clustered environment where you need to send the page across cluster on every request. So the possible performance benefit of this would onl

<    1   2   3   4   5   6   7   8   9   >