DataTable : Write direct HTML in cells?

2010-02-09 Thread Ashika Umanga Umagiliya
Greetings all, I want to write direct HTML content in DataTable cells. Something like like : public abstract class AbstractWidthChangableColumnE extends AbstractColumnE{ public void populateItem(ItemICellPopulatorE cellitem, String id, IModelE model) { .. .. ..

Re: DataTable : Write direct HTML in cells?

2010-02-09 Thread Igor Vaynberg
use a label, call setoutputmodelstrings(false) on it -igor On Tue, Feb 9, 2010 at 12:16 AM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Greetings all, I want to write direct HTML content in  DataTable cells. Something like like : public abstract class AbstractWidthChangableColumnE

RE: AbstractAjaxTimerBehavior#onTimer() doesn't work in deployment mode

2010-02-09 Thread Andreas Lüdtke
Can someone please confirm if this is a bug? If yes, I will create a JIRA issue if I'm allowed to do that. Thanks Andreas -Original Message- From: Andreas Lüdtke [mailto:sam.lued...@t-online.de] Sent: Saturday, February 06, 2010 7:43 PM To: users@wicket.apache.org Subject:

Re: DataTable : Write direct HTML in cells?

2010-02-09 Thread Ernesto Reinaldo Barreiro
Use a Label? E.g. @Override public void populateItem(ItemICellPopulatorBroker item, String componentId, IModelBroker rowModel) { Label label =new Label(componentId, new AbstractReadOnlyModelString() { private static final long

Re: DataTable : Write direct HTML in cells?

2010-02-09 Thread Ashika Umanga Umagiliya
Thanks Igor ,Ernesto ! That helped alot! Ernesto Reinaldo Barreiro wrote: Use a Label? E.g. @Override public void populateItem(ItemICellPopulatorBroker item, String componentId, IModelBroker rowModel) { Label label =new Label(componentId, new

Re: [announce] better look modern css for wicket examples contest

2010-02-09 Thread nino martinez wael
you've been added. 2010/2/8 Peter Jones peteorpe...@gmail.com My username is superpaj. I think I'm following you. I'll holler if I have any questions. Thanks Pete On Mon, Feb 8, 2010 at 12:50 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: as long as whatever it is you do can be

FileUploadField selection event

2010-02-09 Thread Mihai Dinca
Is there any way to see when user selects a file through the browse button? I want that after selection , to get the text from text field. Mike - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: FileUploadField selection event

2010-02-09 Thread Anantha Kumaran
This may help http://old.nabble.com/Where-is-the-full-client-filename-during-FileUpload--p27439835.html On Tue, Feb 9, 2010 at 1:51 AM, Mihai Dinca dpmi...@yahoo.com wrote: Is there any way to see when user selects a file through the browse button? I want that after selection , to get the

Re: CryptedUrlWebRequestCodingStrategy + WebRequestCodingStrategy = resource URLs are not encrypted (bug?).

2010-02-09 Thread Antoine van Wel
ok, added WICKET-2731 Antoine On Thu, Jan 21, 2010 at 4:52 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: not sure that is possible currently. the aliasing only works on a per class level. see SharedResources.putClassAlias(). you can add an rfe to have it enhanced. seems like a

Re: FileUploadField selection event

2010-02-09 Thread dpmihai
What I really want is that after file selection automatically set the text of another TextField (inside my form) with a string derived from selected file name. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: How reRender a component from parent page?

2010-02-09 Thread Rangel Preis
I try this again using only setOutputMarkupId without modelChanged and onModelChange, and don't work. I just setOutputMarkupId on my component and in the ajaxEvent i put: target.addComponent(getPage().get(header:counter)); header is a panel and counter is a Label in this panel. Thanks All.

Re: FileUploadField selection event

2010-02-09 Thread Anantha Kumaran
form input id=test type=file onchange= document.getElementById('secondBox').value = document.getElementById('test').value; /input input id=secondBox type=text / /form On Tue, Feb 9, 2010 at 3:22 AM, dpmihai dpmi...@yahoo.com wrote: What I really want is that after file selection automatically

Re: Wicket Layout

2010-02-09 Thread Cemal Bayramoglu
Ernesto, The link to ODLabs' WiQuery layout demo (from our last London Wicket Event) showing WiQuery layout was mentioned on another thread [1] so I didn't repeat it here. Also note a subsequent post there stating the fact that you need to change the POM to point at 1.0 (not 1.0=m2) of WiQuery

Re: How reRender a component from parent page?

2010-02-09 Thread Wilhelmsen Tor Iver
The problem are in HomePage.java in the onClick... this don't reRender my componente in the header. Are you sure? The real problem seems that your itens label uses an implicit model based on the constructor-time value of getAmount(), and which is never changed. Look into using a model

Re: How reRender a component from parent page?

2010-02-09 Thread Cemal Bayramoglu
Rangel, The is a common problem people encounter while they get their head aroung Wicket models. In your Header class, the label's data is only ever calculated once, on construction of the Header and is therefore is fixed. Try something like: final Label itens = new Label(itens, new

Re: How reRender a component from parent page?

2010-02-09 Thread Rangel Preis
Yes, it's make sense. I change to ptopertyModel and now thinks works. Thanks Cemal. 2010/2/9 Cemal Bayramoglu jweekend_for...@cabouge.com: Rangel, The is a common problem people encounter while they get their head aroung Wicket models. In your Header class, the label's data is only ever

Re: AbstractAjaxTimerBehavior#onTimer() doesn't work in deployment mode

2010-02-09 Thread Igor Vaynberg
feel free to open a jira issue attaching a quickstart that reproduces the problem. -igor On Tue, Feb 9, 2010 at 12:37 AM, Andreas Lüdtke sam.lued...@t-online.de wrote: Can someone please confirm if this is a bug? If yes, I will create a JIRA issue if I'm allowed to do that. Thanks Andreas

@SpringBean injection expensive - a bug?

2010-02-09 Thread Nikita Tovstoles
Wicket's SpringWebApplication is deprecated and the javadoc advocates using @SpringBean to inject dependencies at component level. However, that appears to be an expensive proposition: I have a listView component that renders a (new) ExternalLink subclass per item. That subclass uses a service (a

Re: [announce] better look modern css for wicket examples contest

2010-02-09 Thread Peter Jones
Thanks! (Don't expect any activity for a while) 2010/2/9 nino martinez wael nino.martinez.w...@gmail.com you've been added. 2010/2/8 Peter Jones peteorpe...@gmail.com My username is superpaj. I think I'm following you. I'll holler if I have any questions. Thanks Pete On Mon,

Changes of html-files are not directly available - need to re-deploy

2010-02-09 Thread Joachim Rohde
First of all: I asked this question already at http://www.coderanch.com/t/481846/Application-Frameworks/Application-Frameworks/Wicket-Changes-html-files-are where no one could help me. To my problem: I have here a little bug which is completly weird in my opinion. Usually when you are

Re: Changes of html-files are not directly available - need to re-deploy

2010-02-09 Thread Riyad Kalla
Joachim, Troubleshooting redeployment issues can be maddening. The *very first* thing you have to rule out is that the file is actually getting placed on disk in the deployed location. I don't know how NetBeans handles it's deployments, if it points Tomcat at the internal project and runs in

wicket 1.2.6 - multi-site reusable components

2010-02-09 Thread Burton, Tom F (DOR)
Hello, I have a pair of wicket 1.2.6 sites, I'm about to build a third. They all share look/feel/auth source. Before making #3 I decided to put AppBasePage and my Auth routines into their own maven projects. The QuickStartSession, QuickStartApplication, and user objects are different though. I'm

RE: Form#anyComponentError change in 1.4 breaks validation

2010-02-09 Thread Russell Morrisey
Created JIRA issue w/quickstart (includes junit test): https://issues.apache.org/jira/browse/WICKET-2734 RUSSELL E. MORRISEY Programmer Analyst Professional Mission Solutions Engineering, LLC | russell.morri...@missionse.com | www.missionse.com 304 West Route 38, Moorestown, NJ 08057

[1.4.6] inconsistent setResponsePage behavior in AjaxButton , with 1.4.5

2010-02-09 Thread smallufo
Suppose inside a BookmarkablePage which is mounted to CurrentPage , there is an AjaxButton , when clicked , it will setResponsePage(CurrentPage.class , pps) If a user is browsing http://foo.bar/app/CurrentPage/key/value , and submit the AjaxButton , In 1.4.5 , he will be redirect to

Re: [1.4.6] inconsistent setResponsePage behavior in AjaxButton , with 1.4.5

2010-02-09 Thread smallufo
I've submitted it to JIRA https://issues.apache.org/jira/browse/WICKET-2735 https://issues.apache.org/jira/browse/WICKET-2735 2010/2/10 smallufo small...@gmail.com Suppose inside a BookmarkablePage which is mounted to CurrentPage , there is an AjaxButton , when clicked , it will

Re: [1.4.6] inconsistent setResponsePage behavior in AjaxButton , with 1.4.5

2010-02-09 Thread vineet semwal
i think it's issue 2717 in 1.4.6 which has been fixed,you can confirm the correct behaviour in 1.4.x. On Wed, Feb 10, 2010 at 10:19 AM, smallufo small...@gmail.com wrote: Suppose inside a BookmarkablePage which is mounted to CurrentPage , there is an AjaxButton , when clicked , it will

Re: [announce] better look modern css for wicket examples contest

2010-02-09 Thread nino martinez wael
No problem, I just set the deadline to have one.. 2010/2/9 Peter Jones peteorpe...@gmail.com Thanks! (Don't expect any activity for a while) 2010/2/9 nino martinez wael nino.martinez.w...@gmail.com you've been added. 2010/2/8 Peter Jones peteorpe...@gmail.com My username is

Listening key pressings on server side

2010-02-09 Thread Roland
Hello, I'd like to know whether there is a way to listen certain key pressings (key a,,1,...) on server side in wicket. I've tried .html: body wicket:id =body/body .java body = new WebMarkupContainer(body); body.add(new AjaxEventBehavior(onkeypress){ protected void onEvent(final

Re: [announce] better look modern css for wicket examples contest

2010-02-09 Thread Vijay Kiran
Can you add me as well, I'm interested in participating.. My sf.net username: vijaykiran ./Vijay On 10-Feb-2010, at 7:52 AM, nino martinez wael wrote: No problem, I just set the deadline to have one.. 2010/2/9 Peter Jones peteorpe...@gmail.com Thanks! (Don't expect any activity for a

removing validators

2010-02-09 Thread Tony Wu
In total I have 4 DropDownChoices: I have a DropDownChoice which allows a user to select whether they are an adult or minor. I have another FormComponentPanel with 3 DropDownChoices representing their birthdate (year, month, day) with a setConvertedValue set to how old they are. I have 2