Re: page load timer

2009-06-14 Thread Adrian Merrall
Milliseconds according to WIA Cheers, Adrian On 6/13/09, Igor Vaynberg igor.vaynb...@gmail.com wrote: dont remember offhand, look in the source. -igor On Fri, Jun 12, 2009 at 9:29 AM, Steve Swinsburgs.swinsb...@lancaster.ac.uk wrote: Thats the one I was after. A question though, what

Fwd: [ANN] Maven Eclipse Plugin 2.7 Released

2009-06-14 Thread Martijn Dashorst
The Maven Eclipse plugin version 2.7 has been released, fixing the regression in functionality of 2.6 where Wicket resources (*.html, *.js, *.properties, etc) were not copied to the classpath. This release fixes that, and we can now all relax ;) Thanks to Barrie and other Maven devs for

DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Alexander Elsholz
Hi, i use dojo menues in my application and mostly it works fine. but when an other ajax-call refreshed menu's target component the menu will not be displayed. it seams, that the markup-id of wicket-component changed after ajax-refresh and so the dojo-js cannot find the menu item for this

AW: DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Stefan Lindner
Yes! the markup-id of wicket-component changed after ajax-refresh as you wrote. I' looking for a solution for another javaxript library. Any hints from the Wicket gurus? -Ursprüngliche Nachricht- Von: news [mailto:n...@ger.gmane.org] Im Auftrag von Alexander Elsholz Gesendet: Sonntag,

Re: DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Igor Vaynberg
new markup id means you created new component instances. wicket does its best to try to preserver markup id - eg when you use replace or replacewith wicket will transfer new markupid of the component being replaced into the component it is being replaced with. if you need stable ids call

wicket:message on an attribute

2009-06-14 Thread Luther Baker
Is there a way to use wicket:message on markup attributes? Pseudo something like this? li title='wicket:message key=category/' Thanks, -Luther

Re: wicket:message on an attribute

2009-06-14 Thread Maarten Bosteels
http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%27sXHTMLtags-Attributewicket:message *wicket:message=attribute:resource_identifier* - Used on any tag that we want Wicket to provide an attribute with a value that's the result of a resource lookup. Maarten On Sun, Jun 14, 2009 at

Re: wicket:message on an attribute

2009-06-14 Thread Luther Baker
That did it - thank you, -Luther On Sun, Jun 14, 2009 at 10:14 AM, Maarten Bosteels mbosteels@gmail.comwrote: http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%27sXHTMLtags-Attributewicket:message *wicket:message=attribute:resource_identifier* - Used on any tag that we

RE: DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Stefan Lindner
Just playing around with current wicket 1.4 trunk. Having a a page with HTML like div wicket:id=someContainer.../div a wicket:id=triggerTest/a and java like final WebMarkupContainer container = new WebMarkupContainer(someContainer ); container.addMarkupID true;

Re: DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Alexander Elsholz
hi, i don't remove/add the components. the hierarchy is constant. its a very simple app: - add an ajaxlink and change the attributemodifier of a panel - add a menu item to the same panel after rerendering the panel (after link clicked) the menu will no more be displayed. i've the same problem

Re: DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Igor Vaynberg
well if the id doesnt change - eg you called setmarkupid and you do not replace the component then i do not see what else wicket can do. perhaps dojo keeps a direct reference to a dom node instead of just the id - repainting the component will replace the dom node itself which i guess may break

Re: DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Igor Vaynberg
your custom ajaxbehavior can implement iheadercontributor where you can do response.appendjavascript to output a script that will be processed in both regular requests and ajax requests alike. -igor On Sun, Jun 14, 2009 at 8:44 AM, Stefan Lindnerlind...@visionet.de wrote: Just playing around

RE: Re: DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Stefan Lindner
Yes, that's what I wrote. The ID does not change but the response of the Ajax call replaces the original Wicket Component in THE DOM with a new Component WITH THE SAME ID but fresh on... events. So the original event behavior (e.g. menu display) gets lost. It needs tob e re-established in the

RE: DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Stefan Lindner
Yes Igor, we do this. But this seems not tob e sufficient for some java libraries. The first time (after the initial page load) everything works. But after an Ajax call (where the head section is present in the Ajax response) the behavior is broken. Wat seems to work is to put the javascript

Re: changing choices component in Palette

2009-06-14 Thread Eyal Golan
any 1 ? Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary On Fri, Jun 12, 2009 at 7:13 AM, Eyal Golan egola...@gmail.com wrote: BTW, we use Wicket

Re: inmethod datagrid with a DropDownChoice cell

2009-06-14 Thread zeljko
Hello Will! Have you solved this problem? I also need to have a data grid component with dropdown column and can not find any examples. Thanks in advance! //Zeljko -- View this message in context: http://www.nabble.com/inmethod-datagrid-with-a-DropDownChoice-cell-tp22068863p24025546.html Sent

EmailAddressValidator does not conform RFC'

2009-06-14 Thread Harrie Hazewinkel
Hi all, The EmailAddressValidator is not conform RFC' and commonly used forms. The RFC' to look at are 5322 and 3696 (this RFC explains the details in a readable way). Has anyone else experienced this as well? regards, Harrie

Re: EmailAddressValidator does not conform RFC'

2009-06-14 Thread Igor Vaynberg
see org.apache.wicket.extensions.validation.validator.RfcCompliantEmailAddressValidator -igor On Sun, Jun 14, 2009 at 1:54 PM, Harrie Hazewinkelhar...@tipspot.com wrote: Hi all, The EmailAddressValidator is not conform RFC' and commonly used forms. The RFC' to look at are 5322 and 3696