Re: AjaxEditableLabel in 1.3.0

2009-03-05 Thread wch2001
Dear all, How can you solve the problem? I used wicket1.3.5, also have the problem: can not save with the error: java.lang.IllegalAccessError: tried to access method org.apache.wicket.Component.onModelChanging()V from class org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel$1 any

Re: Help: AjaxEditableLabel error

2009-03-05 Thread wch2001
ot;, new PropertyModel(fileObj, "description")) wch2001 wrote: > > Dear all, > > I am using AjaxEditableLabel, with the following codes, > it is ok to show the description, but when i clicked it, error happened. > "onEdit ..." is on the console , so it al

Help: AjaxEditableLabel error

2009-03-05 Thread wch2001
Dear all, I am using AjaxEditableLabel, with the following codes, it is ok to show the description, but when i clicked it, error happened. "onEdit ..." is on the console , so it already call onEdit() method, how to implement the method? how to solve the question? thanks a lot.

how to hide parameter in URL? for parameters

2009-02-19 Thread wch2001
Dear all, I am doing a project , there is one url with some parameters as below http://localhost:8080/dira/?wicket:bookmarkablePage=%3Asg.sphsearch.dira.web.wicket.pages.company.CompanyDetail&originPage=company&organizationId=191834 If I set mountBookmarkablePage in webApplication for Company

Re: I also have the question

2009-01-15 Thread wch2001
a, String fileName) { > super(Constants.PDF_MIME_TYPE, data, fileName+".pdf"); > } > } > > To use the class, you do something like this: > > new Button(buttonId, new Model("My Button") ) { > public void onSubmit() { >

how to let my class being checked for class instantiation?setStrategyFactory

2009-01-14 Thread wch2001
Dear all, from http://wicketstuff.org/confluence/display/STUFFWIKI/Swarm+FAQ#SwarmFAQ-q4, the 2 Why is my component (not) being checked for class instantiation? I have 3 classes(Aaa.class, Bbb.class, Ccc.class), extends from Panel, I need it to be checked for class instantiation. According the

I also have the question

2009-01-13 Thread wch2001
UPBrandon, Did u find any solution for it? anyone can help? thanks UPBrandon wrote: > > It's not that I necessary want to see the page refreshed with updated form > values. In fact, I would prefer that the user not leave the page at all. > All the form contains is a checkgroup of "things" t

Re: thanks ur help,withe the zipoutputstream,

2009-01-13 Thread wch2001
er java list (this is part of java.util api) > > wch2001 a écrit : >> with http://letmegooglethatforyou.com/?q=java+zip+files, I can get the >> zipoutputstream, >> >> How can i export it ? >> >> Need to use the following AbstractResourceStreamWriter , r

anyone can give me some suggestion?thanks

2009-01-13 Thread wch2001
anyone can give me some suggestion?thanks wch2001 wrote: > > Dear all, > > For some reason, I have 2 dropdownchoice(year and month) , according to > year and month to decide the filename , then click button to download > file. > > for the ajaxsubmitLink, my cod

thanks ur help,withe the zipoutputstream,

2009-01-12 Thread wch2001
ncerns is very usual on today's days. > > Peter Ertl a écrit : >> how is this wicket? >> >> >> Am 12.01.2009 um 11:36 schrieb Michael Sparer: >> >>> >>> http://www.google.com/search?&q=java+zip ;-) >>> >>> >

Re: Help,How to download all files in one folder ?

2009-01-12 Thread wch2001
thanks , Pills. How can I zip it ? thanks Pills wrote: > > Zip them on the fly, then download the zip. > > wch2001 a écrit : >> in the folder: c:/cw/adsmart, there are 3 files: aa.txt, bb.txt, cc.txt, >> >> how can i download it ? if it possible that wh

Re: Help,How to download all files in one folder ?

2009-01-12 Thread wch2001
in the folder: c:/cw/adsmart, there are 3 files: aa.txt, bb.txt, cc.txt, how can i download it ? if it possible that when clicking button/link and so on to download those 3 files? thanks PSkarthic wrote: > > I am also a newbie but i will try > could u be please more specific or elabrate >

Help,How to download all files in one folder ?

2009-01-12 Thread wch2001
Deal all, I need to download all files in one folder(for example: c:/dw/adsmart), How can I do ? Thanks a lot, Wu -- View this message in context: http://www.nabble.com/Help%2CHow-to-download-all-files-in-one-folder---tp21411355p21411355.html Sent from the Wicket - User mailing list archive a

Help,How to download all files in one folder ?

2009-01-12 Thread wch2001
-- View this message in context: http://www.nabble.com/Help%2CHow-to-download-all-files-in-one-folder---tp21411338p21411338.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-

Re: sorry, what do u mean for that?

2009-01-06 Thread wch2001
> > -- > Jeremy Thomerson > http://www.wickettraining.com > > On Wed, Jan 7, 2009 at 1:35 AM, wch2001 wrote: > >> >> >> >> >> I use DownloadLink, when file is not existed, there is not any info >> message. >> >> how to sol

Re: sorry, what do u mean for that?

2009-01-06 Thread wch2001
question in your > question. Maybe a little more code and an accurate description of your > problem would help us give you a more sane answer, which we'd happily do. > > On Wed, Jan 7, 2009 at 12:19 AM, wch2001 wrote: > >> >> My question is >> >> I a

Re: sorry, what do u mean for that?

2009-01-06 Thread wch2001
> problem would help us give you a more sane answer, which we'd happily do. > > On Wed, Jan 7, 2009 at 12:19 AM, wch2001 wrote: > >> >> My question is >> >> I am doing downloadLink , when the file is existed, it is ok to download >> it, >> b

Re: sorry, what do u mean for that?

2009-01-06 Thread wch2001
xist!')"); John Krasnay wrote: > > It was a bad joke. You asked for suggestions but didn't explain what > your problem was. > > jk > > On Tue, Jan 06, 2009 at 07:51:25PM -0800, wch2001 wrote: >> >> >> -- >> View this message in c

sorry, what do u mean for that?

2009-01-06 Thread wch2001
-- View this message in context: http://www.nabble.com/Help%2CDownloadLink%2C-when-file-is-not-existed%2C-not-error-message-tp21307695p21324403.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubsc

anyone has some suggestion? thanks a lot

2009-01-06 Thread wch2001
-- View this message in context: http://www.nabble.com/Help%2CDownloadLink%2C-when-file-is-not-existed%2C-not-error-message-tp21307695p21323395.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubsc

Help,DownloadLink, when file is not existed, not error message

2009-01-06 Thread wch2001
Dear all, I am doing downloadLink , when the file is existed, it is ok to download it, but when the file is not existed, no any error message "No file exist!" to popup! According to debug, i can see it already go to the line: target.appendJavascript("alert('No file exist!')"); the codes is bel

why AjaxSubmitLink calling getRequestCycle().setRequestTarget(new RedirectRequestTarget(url)) later , can not run the form again?

2009-01-02 Thread wch2001
Dear all, For some reason, I have 2 dropdownchoice(year and month) , according to year and month to decide the filename , then click button to download file. for the ajaxsubmitLink, my code is below, now once the file is existed, that mean after running: getRequestCycle().setRequestTarget(new

How to get DropDownChoice value without commit form?

2008-12-29 Thread wch2001
Dear all, I have a project to have year dropdown choice (2008,2009, 2010 and so on), I need its value after it changed but b4 commit the form. How can i do ? thanks, Wch2001 -- View this message in context: http://www.nabble.com/How-to-get-DropDownChoice-value-without-commit-form

Re: how Checkbox can be showed with "checked" when it value is matched?

2008-12-29 Thread wch2001
ReceiveEmailOnDeals; > } > > public void setPersonReceiveEmailOnDeals(boolean > personReceiveEmailOnDeals) { > this.personReceiveEmailOnDeals = > personReceiveEmailOnDeals; > } > } >

how Checkbox can be showed with "checked" when it value is matched?

2008-12-29 Thread wch2001
Dear all, CheckBox checkBoxPersonReceiveEmailOnDeals = new CheckBox("personItem.personReceiveEmailOnDeals", new PropertyModel(this, "personItem.personReceiveEmailOnDeals")) ; Now personItem.personReceiveEmailOnDeals is true. but it also show it is not "checked", how can i do ? Thank you for you

Help,How to load and display the file(csv) with popup window?

2008-12-15 Thread wch2001
Dear all, How can i do to click button to load/dispaly a file (csv) with pop up window? like the below, click the image,btn_statistics to dispaly one file (csv) . # /btn_statistics.gif The below is my java codes, but it can not work, Please help me. Thank you a lot.

Re: Help, why the loginpage has the whole package name?

2008-11-24 Thread wch2001
sorry, Martjin, Can u tell me more clear? change the mountBookmarkablePage? thanks Martijn Dashorst wrote: > > Mount your page with one of the URL coding strategies. 1000 examples > on the list or wiki. > > Martijn > > On 11/24/08, wch2001 <[EMAIL PROTECTED

Help, why the loginpage has the whole package name?

2008-11-23 Thread wch2001
Dear all, why My application run with the whole package name? like https://apps.rednano.sg/peopleupdate/?wicket:bookmarkablePage=%3Asg.sphsearch.people.selfupdate.wicket.page.LoginPage the below is my web application: package sg.sphsearch.people.selfupdate.wicket.application; import java.

Help: webApplication can not go to loginPage,directory go to HomePage

2008-11-10 Thread wch2001
Dear all, Can you help me to look at my webapplication, it can not call loginpage(LoginPage.class) first, but directly call homepage(IndexPage.class), thanks a lot package sg.sphsearch.people.selfupdate.wicket.application; import java.net.MalformedURLException; import org.acegisecurity.Authent

Re: Hi, How to set one url(www.cnn.com..../abc.gif) to Image

2008-10-10 Thread wch2001
it works well, thanks you very much wch2001 wrote: > > Dear all, > > I want to show Image based on one url like www.cnn.com/abc.gif, the > string is in pictureLocation, > i mean pictureLocation = "www.cnn.com/abc.gif". > > how can I do with I

Help, Radio value can not be displyed in HTML

2008-09-04 Thread wch2001
Help, Radio value can not be displyed in HTML Click to flag this post by wch2001 Sep 04, 2008; 03:43pm :: Rate this Message: - Use ratings to moderate (?) Reply | Reply to Author | Edit | Delete | Print | View Threaded | Show Only this Message This message was accepted by the [EMAIL PROTECTED