Re: building tons of ajax links

2009-12-10 Thread Douglas Ferguson
well the specs are for ajax. they want the controls to not get redrawn just the data table. which looks awesome when they click on the controls and see the list change quickly. I made the links external links and applied the same behavior to all of them using

Re: building tons of ajax links

2009-12-10 Thread zoltan luspai
Hi, Do something like this: * create a form with hidden field(s) and a hidden submit-button, and configure this button to be ajax-submitted. * on page onload scan the DOM, and attach an onclick event handler to all the tons of links you want to do something on ajax. I'd use some

Canoo WebTest

2009-12-10 Thread Per-Olof Norén
Hi all, Has anyone experience with using canoo webtest for testing wicket applications? I´m currently working on a project where we run JUnit, Wicket-Tester and canoo web tests on a wicket-spring application. The application is to a large degree ajax-based and as far we can tell canoo is

CachingPage

2009-12-10 Thread Xavier López
Hi, I'm trying to adapt the 'CachingPanel' strategy from JL's '26 Wicket Tricks' to a Page, in order to cache an entire HomePage. It is a requirement that this Page (it is a HomePage) should be rendered like it was static HTML (actually the application generated that static html at some moment by

Refresh resources in deployment mode

2009-12-10 Thread Witold Czaplewski
Hello, In deployment mode, is it possible to refresh resources like html- or property-files without reloading the context or server? For example if you have a simple typo which you want to fix. Regards, Witold - To unsubscribe,

Re: Refresh resources in deployment mode

2009-12-10 Thread Martijn Dashorst
Set the resource poll frequency to something other than null in your init() method Martijn On Thu, Dec 10, 2009 at 12:08 PM, Witold Czaplewski witold-mail...@cts-media.eu wrote: Hello, In deployment mode, is it possible to refresh resources like html- or property-files without reloading the

Re: Refresh resources in deployment mode

2009-12-10 Thread Witold Czaplewski
Hmm...i thought this only work in development mode? Am Thu, 10 Dec 2009 12:10:25 +0100 schrieb Martijn Dashorst martijn.dasho...@gmail.com: Set the resource poll frequency to something other than null in your init() method Martijn On Thu, Dec 10, 2009 at 12:08 PM, Witold Czaplewski

Re: Refresh resources in deployment mode

2009-12-10 Thread Witold Czaplewski
Oh...I test it. You were right. Sorry and thanks a lot martijn. :) Am Thu, 10 Dec 2009 12:29:04 +0100 schrieb Witold Czaplewski witold-mail...@cts-media.eu: Hmm...i thought this only work in development mode? Am Thu, 10 Dec 2009 12:10:25 +0100 schrieb Martijn Dashorst

Re: Refresh resources in deployment mode

2009-12-10 Thread Ernesto Reinaldo Barreiro
Take a look at method Application.configure() Ernesto On Thu, Dec 10, 2009 at 12:29 PM, Witold Czaplewski witold-mail...@cts-media.eu wrote: Hmm...i thought this only work in development mode? Am Thu, 10 Dec 2009 12:10:25 +0100 schrieb Martijn Dashorst martijn.dasho...@gmail.com: Set

Re: Refresh resources in deployment mode

2009-12-10 Thread Martijn Dashorst
This is the recommended way to deploy: use deployment mode and enable stuff you need. Never deploy a wicket application in development mode on your production servers. Martijn On Thu, Dec 10, 2009 at 12:34 PM, Witold Czaplewski witold-mail...@cts-media.eu wrote: Oh...I test it. You were right.

Re: CachingPage

2009-12-10 Thread McIlwee, Craig
So you want your page to output some content that doesn't live in HomePage.html, but from memory/db/etc instead? If that's the case, overrride hasAssociatedMarkup() and return false (tells wicket there's no HomePage.html to look for) and then in onRender() write your content using

DateField default id

2009-12-10 Thread Maximiliano Gomez Vidal
I'm using DateField with the beautiful YUI DatePicker in a form with a ComponentFeedbackPanel associated to each field. To my surprise, the date validation errors are not being shown in the corresponding panel. By browsing the classes I came across: @Override protected void onBeforeRender() {

Hello World applet Here it goes again

2009-12-10 Thread Shamil
I posted the same question in this forum yestoday ... and it did work (i hope i was not dreaming at that time, coz it was really late).. This is what i was asked to do .. Create a quickstart wicket project and add an applet. the applet can be found

Re: WicketStuff and wicket-contrib-javaee

2009-12-10 Thread Major Péter
Hi guys, I now have commit rights to wicketstuff, but first I need to finish my thesis and take some exams, but hopefully soon, the javaee-inject project (had to rename the project) will appear in wicketstuff-core. ;) Also because the rename, some package-renaming will happen too. As soon as I'm

Re: Getting Page Expired in Glassfish but not in Jetty

2009-12-10 Thread Early Morning
Heh, I feel a bit silly now; turns out it was a serialization error, and the reason why it was happening at every page was because it was occurring in the MenuHelper ^^ Thanks all! Regards, Ces On Thu, Dec 10, 2009 at 12:14 PM, zlus...@gmail.com zlus...@gmail.comwrote: Hi, Check that

Wicket-Stuff YUI

2009-12-10 Thread Corbin, James
I have been using the Wicket Wrapper around the YUI library for a while and wondered if there is an api for including a css only file. It appears that all the apis in the YuiHeaderContributor and companion classes only support js files and their dependencies. My use case is that I am

Re: CachingPage

2009-12-10 Thread Igor Vaynberg
or do it properly by letting your homepage implement IMarkupResourceStreamProvider and IMarkupCacheKeyProvider :) -igor On Thu, Dec 10, 2009 at 4:59 AM, McIlwee, Craig craig.mcil...@openroadsconsulting.com wrote: So you want your page to output some content that doesn't live in

Re: DateField default id

2009-12-10 Thread Igor Vaynberg
you may need to wrtie your own ComponentFeedbackPanel that also allows messages from any descendants of the component it is given. -igor On Thu, Dec 10, 2009 at 5:31 AM, Maximiliano Gomez Vidal mvi...@gmail.com wrote: I'm using DateField with the beautiful YUI DatePicker in a form with a

addfing additional html attributes to PropertyColumn

2009-12-10 Thread tubin gen
I use property Column for my AjaxFallbackDefaultDataTable. here the code new PropertyColumnFindAuditDTO(new ModelString(Audit Resolution),audit_review_code, stgAuditGeneral.auditResolution) this is a sortable column ,the second parameter is sort property , wicket creates a link for this

autocomplete error after upgrade to 1.4.3

2009-12-10 Thread Douglas Ferguson
I'm getting this error from autocomplete after upgrading.. ... java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy.decode(BookmarkablePageRequestTargetUrlCodingStrategy.java:91)

Re: autocomplete error after upgrade to 1.4.3

2009-12-10 Thread Douglas Ferguson
I traced through this and there appears to be 2 items in the pagemap and I think it is related to getPageSettings().setAutomaticMultiWindowSupport(true); wicket:pageMapName = [people, resources] org.apache.wicket.markup.html.WicketEventReference = wicket-event.js On Dec 10, 2009, at 12:36

Wicket/Web Developer Position: Berlin, Germany

2009-12-10 Thread Martin Makundi
Hi! We are looking for a Wicket web UI Javascript-expert to work for a fixed 3-6 months period at our client's premises in Berlin, Germany. You will be building state-of-the-art mobile and web applications, and your task is the UI / Javascript part of the development. Required Skills: *

RE: CachingPage

2009-12-10 Thread Craig McIlwee
Not familiar with this approach, sounds interesting. So the page would return null from IMarkupCacheKeyProvider method when it wants to force a reload of the of the content, which then calls the IMarkupResourceStreamProvider to get the content? Does the page have to register itself with the

Re: CachingPage

2009-12-10 Thread Igor Vaynberg
there are instanceof checks at render time, and returning a null simply means dont cache my markup -igor On Thu, Dec 10, 2009 at 1:27 PM, Craig McIlwee craig.mcil...@openroadsconsulting.com wrote: Not familiar with this approach, sounds interesting.  So the page would return null from

Re: autocomplete error after upgrade to 1.4.3

2009-12-10 Thread nino martinez wael
have you tried with the latest from trunk? That way you can see quickly if it's fixed there... 2009/12/10 Douglas Ferguson doug...@douglasferguson.us I traced through this and there appears to be 2 items in the pagemap and I think it is related to

Limiting PageStore size

2009-12-10 Thread Neil Curzon
Hi all, We're in the process of going live with our wicket app, so we're trying to figure out certain details, currently PageStore size. I notice that by looking at the page store on disk, typically our pages add 10-20kb each to the pagemap. The default 10mb limit would store a lot of pages, but

Re: Limiting PageStore size

2009-12-10 Thread Matej Knopp
Are you sure you have been testing it correctly? The pagestore is cyclic. That means once it reaches it's limit it's the oldest pages get overwritten. -Matej On Thu, Dec 10, 2009 at 11:56 PM, Neil Curzon neil.cur...@gmail.com wrote: Hi all, We're in the process of going live with our wicket

Re: ModalWindow on Firefox plus IE tab

2009-12-10 Thread Bernard Lupin
Hi, On line 1129 in modal.js, I replaced iframe src='\/\/:' frameborder=... with iframe src='about:blank' frameborder=... and this solved the problem. I don't know which browser do not understand about:blank, but both my IE and my firefox does... Bernard Lupin wrote: Hi, My web site as

Re: addfing additional html attributes to PropertyColumn

2009-12-10 Thread fachhoch
In other words org.apache.wicket.extensions.markup.html.repeater.data.table.PorpertyColumn creates a anchor tag , I want to add tittle attribute to this anchor tag , I donot know how I can do , Please help me add this . fachhoch wrote: I use property Column for my

class cast exception when using setAutomaticMultiWindowSupport(true)

2009-12-10 Thread Douglas Ferguson
The problem exists on the trunk. Has anybody else seen this? If nobody has seen this I will try to make a quickstart. D/ On Dec 10, 2009, at 4:11 PM, nino martinez wael wrote: have you tried with the latest from trunk? That way you can see quickly if it's fixed there... 2009/12/10

Re: class cast exception when using setAutomaticMultiWindowSupport(true)

2009-12-10 Thread Jonas
I think there was a message on this list reporting the same String/String ClassCastException a few days ago, but I don't remember if it was related to autocomplete. On Fri, Dec 11, 2009 at 4:05 AM, Douglas Ferguson doug...@douglasferguson.us wrote: The problem exists on the trunk. Has anybody

Getting rid of wicket:pageMapName

2009-12-10 Thread Ted Vinke
Hi! Haven't got a great deal of experience with Wicket, so following question may seem dumb. When my site at somedomain.com loads my HomePage.class (somedomain.com/home) as the default homepage it immediately redirects to somedomain.com/home/wicket:pageMapName/wicket-1 - where wicket-1

Re: Getting rid of wicket:pageMapName

2009-12-10 Thread Igor Vaynberg
turn off auto-mutli-window-support in settings and dont open any links in non-default pagemap - once you do the pagemap name has to be carried in the url. -igor On Thu, Dec 10, 2009 at 11:47 PM, Ted Vinke tvi...@first8.nl wrote: Hi! Haven't got a great deal of experience with Wicket, so

Re: addfing additional html attributes to PropertyColumn

2009-12-10 Thread Ernesto Reinaldo Barreiro
Maybe overriding HeadersToolbar protected WebMarkupContainer newSortableHeader(String headerId, String property, ISortStateLocator locator) { return new OrderByBorder(headerId, property, locator) { private static final long serialVersionUID = 1L; @Override protected void onSortChanged() {