Re: How to remove css class from a component?

2010-06-16 Thread Zoltan Luspai
Hi, Two alternative solutions: - If you want the CSS class be appened only in one response then set the AttributeAppender as temporary ...new AttributeAppender(...) { @Override isTemporary() { return true} } }... - Or disable/enable AttributeAppender as needed by overriding

Re: How to remove css class from a component?

2010-06-16 Thread David Chang
Use a model like it's intended? You mean I should use AbstractReadOnlyModel? protected void onBeforeRender() { super.onBeforeRender(); inputComponent.add(new SimpleAttributeModifier(class, true, new AbstractReadOnlyModelString() { public String getObject() { return

Re: How to remove css class from a component?

2010-06-16 Thread Jeremy Thomerson
On Wed, Jun 16, 2010 at 1:05 AM, David Chang david_q_zh...@yahoo.comwrote: Use a model like it's intended? You mean I should use AbstractReadOnlyModel? protected void onBeforeRender() { super.onBeforeRender(); inputComponent.add(new SimpleAttributeModifier(class, true, new

Making rows of DefaultDataTable into links

2010-06-16 Thread Ray Weidner
Hi all, Forgive my ignorance if this is too obvious. I'm using DefaultDataTable to display search results, and that's working fine. What I'd like to do is make each row of the table a hyperlink to the view/edit page of the record in question. How can I do this? I was able to add links to a

Re: How to remove css class from a component?

2010-06-16 Thread David Chang
Zoltan, thanks for your input. The isTemporary works for me! Best. --- On Wed, 6/16/10, Zoltan Luspai zlus...@gmail.com wrote: From: Zoltan Luspai zlus...@gmail.com Subject: Re: How to remove css class from a component? To: users@wicket.apache.org Date: Wednesday, June 16, 2010, 1:59 AM

Re: How to remove css class from a component?

2010-06-16 Thread David Chang
Thanks for the explanation! All the best. --- On Wed, 6/16/10, Jeremy Thomerson jer...@wickettraining.com wrote: From: Jeremy Thomerson jer...@wickettraining.com Subject: Re: How to remove css class from a component? To: users@wicket.apache.org Date: Wednesday, June 16, 2010, 2:10 AM On

Re: Making rows of DefaultDataTable into links

2010-06-16 Thread Jeremy Thomerson
On Wed, Jun 16, 2010 at 1:17 AM, Ray Weidner ray.weidner.develo...@gmail.com wrote: Hi all, Forgive my ignorance if this is too obvious. I'm using DefaultDataTable to display search results, and that's working fine. What I'd like to do is make each row of the table a hyperlink to the

Re: Wicket and mobile browsers

2010-06-16 Thread Martin Funk
Thank you for the hint, mobileaware wasn't on my radar so far. 2010/6/15 Joachim F. Kainz j...@jolira.com Martin, WURFL is a great solution, but there are some problems with keeping it up-to-date for commercial applications. http://www.mobileaware.com/ is a good commercial vendor I have

Re: is this a bug in ModelT?

2010-06-16 Thread Wilhelmsen Tor Iver
it is a bug, open a jira issue Or a feature? Either it should use getObject() internally or Model.getObject() should be declared final to prevent the programmer from thinking he can override it - both will solve the issue. - Tor Iver

RE: Wicket and mobile browsers

2010-06-16 Thread Chris Colman
Should a Motorola E51 be able to use a stock standard wicket site with a bit of AJAX? Apparently its browser has javascript support (and it is enabled) but I can never get any parts of our wicket website that require AJAX to work on this phone. Any idea why not? -Original Message- From:

Re: wiQuery components with server side state - live demo

2010-06-16 Thread Cemal Bayramoglu
Theis, It has just been brought to my attention that we have not responded on this thread yet - thanks for your patience. This has never been an open source project - it was just a show case of what can be achieved with Wicket, wiQuery, and various jQuery components (like grids, growls,

Re: gmail like file upload

2010-06-16 Thread fachhoch
Please suggest me how to integrate google like fileupload in wicket -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/gmail-like-file-upload-tp2251270p2257580.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Frustrating behavior ... same browser, same war, same tomcat version - different behavior!!!

2010-06-16 Thread Bryan Montgomery
I haven't got to the bottom of it exactly, but it's related to our (my) attempt to integrate jcifs and ntml SSO in to the application. It's gone back now to our main software vendor to figure out from here. Bryan. On Tue, Jun 8, 2010 at 8:46 AM, Bryan Montgomery mo...@english.net wrote:

Re: Show/hide form components best practice

2010-06-16 Thread Iain Reddick
I looked at this again today and realised that my examples are basically broken (also typos in the last one :) ). Obviously, you can't use the converted input of a FormComponent before validation has happened. This means that using the CheckBox converted input to determine whether another form

Encoding for wicket:message tag

2010-06-16 Thread Martin Makundi
Hi! We are using wicket:message tag to generate content for WAP. Wap is strict XML so it does not allow special characters. Is there a way to force wicket:message tag to escape encode its message? ** Martin - To unsubscribe,

url params with ExternalLink

2010-06-16 Thread jgormley
In looking at the source code for ExternalLink (wicket 1.4.6), I see that all urls have '' converted to 'amp;' // generate the href attribute tag.put(href, Strings.replaceAll(url, , amp;)); How can I link to an external url and still pass url parameters? I want to do something

Re: url params with ExternalLink

2010-06-16 Thread Igor Vaynberg
and whats the problem with that? the browser should convert the amp; back into when you hit the link. -igor On Wed, Jun 16, 2010 at 2:10 PM, jgormley josh.gorm...@networkedinsights.com wrote: In looking at the source code for ExternalLink (wicket 1.4.6), I see that all urls have '' converted

RE: Wicket and mobile browsers

2010-06-16 Thread Chris Colman
Whoops! That should have read 'Nokia E51' - I accidentally mixed the brand name of my previous phone with the model number of my current phone. Should a Motorola E51 be able to use a stock standard wicket site with a bit of AJAX? Apparently its browser has javascript support (and it is enabled)

Re: url params with ExternalLink

2010-06-16 Thread jgormley
Ok then, color me ignorant. I was writing my unit tests and noticed that this was happening and thought it would cause issues (I'm not yet testing in the browser -- just writing up-front tests of the app as I build it). I never really paid attention to the fact that you could encode those

Re: url params with ExternalLink

2010-06-16 Thread Igor Vaynberg
in fact you *should* encode it to be xhtml compliant... -igor On Wed, Jun 16, 2010 at 8:14 PM, jgormley josh.gorm...@networkedinsights.com wrote: Ok then, color me ignorant.  I was writing my unit tests and noticed that this was happening and thought it would cause issues (I'm not yet testing