Re: How to setup QuickStart project being able useYUI menubar from Wicket stuff

2009-07-12 Thread Petr Fejfar
On Sun, Jul 12, 2009 at 6:52 AM, James Carmanjcar...@carmanconsulting.com wrote: I thought someone said this was fixed in the latest version of the code.  Are you using the trunk version of YUI menu2?  I had the same issues as you. Yes, I downloaded wicketstuff from trunk. My revision is

weird stuff with TreeTable

2009-07-12 Thread Eyal Golan
Hello, I am having something very strange in my TreeTable. I've put the tree in a Dynamic Wizard Step. When I get to that step (which is the summary), the columns gets wider and wider. After looking at Firebug, I've noticed that the width of the header is increasing: div class=wicket-tree-table

Re: weird stuff with TreeTable

2009-07-12 Thread Eyal Golan
Below are the columns I add: treeColumns.add(new CustomPropertyTreeColumn(new ColumnLocation(Alignment.MIDDLE, 100, Unit.PROPORTIONAL), new ResourceModel(purge.wizard.analyzeDocumentsStep.treeTable.header), userObject.displayName)); treeColumns.add(new

Re: weird stuff with TreeTable

2009-07-12 Thread Eyal Golan
What I did, and for now it's working, is override one of the js functions:Wicket.TreeTable.attachUpdate It does nothing now. Wicket.TreeTable.attachUpdate = function(treeTableId) { //// get the object that contains ids of elements on which the update method was already attached //var

Re: How to setup QuickStart project being able useYUI menubar from Wicket stuff

2009-07-12 Thread James Carman
Actually, I think I was remembering incorrectly. They were telling me that they fixed a different issue I was having with YUI (something to do with a link taking me to a login page making my login page do nothing). On Sun, Jul 12, 2009 at 4:17 AM, Petr Fejfarpetr.fej...@gmail.com wrote: On Sun,

Re: Bug in BaseWicketTester ajax submit?

2009-07-12 Thread Martin Makundi
Hi! Actually the bug is that it is totally fine to call tester.executeAjaxEvent on a button that is not visible :) Nevertheless... just calling getForm() could be simpler? I reported bug in jira: https://issues.apache.org/jira/browse/WICKET-2363 ** Martin 2009/7/11 Martin Makundi

MixedHybridUrlCodingStrategy wanted

2009-07-12 Thread Vladimir Kovalyuk
Is there a worked combination of HybridUrlCodingStrategy and MixedParamUrlCodingStrategy? What is missed in the latter is ability to stay bookmarkable after reaction on actions.

Possible bug in interaction between FeedbackMessages and FeedbackMessagesModel

2009-07-12 Thread Per Lundholm
Hi! I've bumped into a problem with feedback messages not being rendered and given the warning about it in the log. While tracing down how this really works, it is complicated I think, I bumped into some code that looks a bit nasty to me. It may have effect on my problem. If the getObjcet

Re: getting child items of a ListView ListItem

2009-07-12 Thread Steve Swinsburg
Ah so you attach the callback to the modal in the Link onClick, not in the item itself? pseudocode: init modalwindow(); listview { populate item { link { onClick { get item set

Re: getting child items of a ListView ListItem

2009-07-12 Thread Martin Makundi
Yes. Why make it more complex :)? ** Martin 2009/7/12 Steve Swinsburg steve.swinsb...@gmail.com: Ah so you attach the callback to the modal in the Link onClick, not in the item itself? pseudocode: init modalwindow(); listview {        populate item {                link {              

Re: getting child items of a ListView ListItem

2009-07-12 Thread Martin Makundi
BTW::: SHOW AFTER initializing callback. ** Martin 2009/7/12 Martin Makundi martin.maku...@koodaripalvelut.com: Yes. Why make it more complex :)? ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: MixedHybridUrlCodingStrategy wanted

2009-07-12 Thread Erik van Oosten
It is fairly easy to construct it yourself. Just look at the code of MixedParamUrlCodingStrategy, copy it and replace the class you're extending to the corresponding HybridUrlCodingStrategy. Its also on the mailing list, search the archives. Lastly, the annotation based mounting project

Is it possible to register multiple behaviors for a field?

2009-07-12 Thread Kenneth NA
I want to register two behaviors for a textfield, is this possible, as I only see the result and call to one of them? This is what I am trying to do: textfield.add(new ComponentVisualErrorBehavior(onblur, tf)); textfield.add(new AjaxFormComponentUpdatingBehavior(onblur) { ... }

Re: Is it possible to register multiple behaviors for a field?

2009-07-12 Thread Martin Makundi
You could use ajax decorator which sort of appends callers.. I am not exactly sure how in your particular situation, but you can try it out and see how it works: public static final IAjaxCallDecorator BLUR_DECORATOR = new IAjaxCallDecorator() { public CharSequence decorateOnFailureScript(

AjaxUpdate FeedbackPanel And window.open popup

2009-07-12 Thread Martin Makundi
Hi! Is it possible to simultaneously AjaxUpdate FeedbackPanel And window.open popup ? I need to open a popup (external site) and simultaneously give instructions on feedback panel. Anyone done this before? ** Martin - To

Re: AjaxUpdate FeedbackPanel And window.open popup

2009-07-12 Thread Juan Carlos Garcia M.
Hi, You can append a javascript to the AjaxRequestTarget something like: ajaxRequestTarget.add(myPanelToUpdate); ajaxRequestTarget.appendJavascript(alert('hello');); Check: http://www.mkyong.com/wicket/how-to-call-javscript-after-ajax-update-wicket/ Hope this is what you looking for.

RE: AjaxUpdate FeedbackPanel And window.open popup

2009-07-12 Thread Russell Simpkins
You could over-ride getAjaxCallDecorator() on your AjaxButton. e.g. protected IAjaxCallDecorator getAjaxCallDecorator() { return new AjaxCallDecorator() { public CharSequence decorateScript(CharSequence script) { return window.open('http://www.google.com','newwindow'); + script; }};}

Re: intercept security check in wicket-auth-roles

2009-07-12 Thread Brill Pappin
Thanks for the heads up. I'll have to look at the security project again, but one thing I really like about auth-roles is that is so amazingly simply to deploy... however, I don't use spring (I'm a detractors of frameworks that use metadata where code should be) so I don't think its going

Dropdownchoice missing (only when the page with Tinymce component) while scrolling the vertical scroll bar

2009-07-12 Thread 彭光裕
I find my Dropdownchoice missing while scrolling the vertical scroll bar. After I look into the codes and compare with other web pages, I find the dropdownchoice component only dispeared with Tinymce component in the same page. Both Dropdownchoice and Timymce can work well without a small

Re: Rewrite page parameter to Login_page when session's expired

2009-07-12 Thread glooorrryyy
I want to get the page parameter from an expired_page... Is it possible? Mathias Nilsson wrote: The application class -- View this message in context: http://www.nabble.com/Rewrite-page-parameter-to-Login_page-when-session%27s-expired-tp24403797p24455752.html Sent from the Wicket - User

Re: model detached many times

2009-07-12 Thread Ian MacLarty
On Fri, Jul 10, 2009 at 6:00 PM, Martijn Dashorstmartijn.dasho...@gmail.com wrote: If you share a model between components, then yes–each component will call detach on the model. That's encapsulation for you: one component doesn't know about another component, so it can't know that its model

Re: AjaxUpdate FeedbackPanel And window.open popup

2009-07-12 Thread Martin Makundi
Hi! What about PopupSettings, will I lose that? ** Martin 2009/7/13 Juan Carlos Garcia M. jcgarc...@gmail.com: Hi, You can append a javascript to the AjaxRequestTarget something like: ajaxRequestTarget.add(myPanelToUpdate); ajaxRequestTarget.appendJavascript(alert('hello');); Check: