Re: newbie question about using WizardStep, help! thanks!

2007-09-25 Thread raybristol
Great! that's what I want, thanks so much and sorry for my stupid questions :) Eelco Hillenius wrote: Hi experts, I want to implement a wizard, user need to input some data, I can do it with a single page using form, but I don't know how to do it in wizard, I put a couple of input

hi questions about Wizard again, thanks!

2007-09-26 Thread raybristol
Hi, sorry to ask questions again I have a WizardPage, got 2 questions don't really know how to solve, My WizardPage is like public class AddDeliveryWizardPage extends AbstractExamplePage{ public AddDeliveryWizardPage(){ super();

Re: hi questions about Wizard again, thanks!

2007-09-26 Thread raybristol
Thansk very much, love this forum! got a reply so prompt! Andrew Klochkov wrote: raybristol wrote: My WizardPage is like public class AddDeliveryWizardPage extends AbstractExamplePage{ public AddDeliveryWizardPage(){ super

DropDownChoice - how to get the current selected value and I can't use OnSelected event as well :(

2007-10-15 Thread raybristol
Hi, I am quite new to wicket and got 2 questions about DropDownChoice don't know how to solve even after some googling as well from this forum so need some helps again: 1. I want to get the current selected item's value from DropDownChoice, I was looking for something like

hi questions about DateField, thanks!

2007-10-16 Thread raybristol
Hi, I try to add a datefield to my page, accroding to the examples in http://www.wicketstuff.org/wicket13/index.html but I get a error and then I try to do it on a sperate page just for testing but getting the same error: type Exception report message description The server encountered an

Re: hi questions about DateField, thanks!

2007-10-17 Thread raybristol
to me. We really need to see that stack trace. Eelco On 10/16/07, raybristol [EMAIL PROTECTED] wrote: Hi, I try to add a datefield to my page, accroding to the examples in http://www.wicketstuff.org/wicket13/index.html but I get a error and then I try to do it on a sperate page just

Re: hi questions about DateField, thanks!

2007-10-17 Thread raybristol
I found the problem, it's because my Tomcat has confict severlet jar files... thanks very much! raybristol wrote: Hi, I try to add a datefield to my page, accroding to the examples in http://www.wicketstuff.org/wicket13/index.html but I get a error and then I try to do it on a sperate

how to change format in DateTimeField?

2007-10-18 Thread raybristol
there is a good example about use DateTextfield in : http://www.wicketstuff.org/wicket13/dates/?wicket:bookmarkablePage=sources%3Aorg.apache.wicket.examples.dates.DatesPage however, I want to add the time field as well, so I found DateTimeField which is working, however i don't know how to

Re: how to change format in DateTimeField?

2007-10-18 Thread raybristol
: DateTextField(String id, IModel model, String datePattern) where datePattern can be: dd/MM/. Alex raybristol wrote: there is a good example about use DateTextfield in : http://www.wicketstuff.org/wicket13/dates/?wicket:bookmarkablePage=sources%3Aorg.apache.wicket.examples.dates.DatesPage

question about 'isInstantiationAuthorized' method, thanks!

2007-10-23 Thread raybristol
Hi, I am using isInstantiationAuthorized method in a application class for some simply security check, which is working fine, if the user doesn't have the right to access a page, page display: Access Denied You do not have access to the page you requested. Return to home page However, I can't

Re: question about 'isInstantiationAuthorized' method, thanks!

2007-10-23 Thread raybristol
Thanks everyone, I will try it now :) Gerolf Seitz wrote: you can set your own AccessDeniedPage in Application.init(): getApplicationSettings.setAccessDeniedPage( MyAccessDeniedPageWithLinkToJspPage.class); Gerolf On 10/23/07, raybristol [EMAIL PROTECTED] wrote: Hi, I am

dummy question, how to set wicket in Deloyment mode?

2007-10-23 Thread raybristol
dummy question, how to set wicket in Deloyment mode? There is a Application#getConfigurationType() but I expect something like Application#setConfigurationType() which does not exist so I thing I must miss something here... Many thanks -- View this message in context:

how to add a confirm window to a Link button?

2007-10-26 Thread raybristol
I use PageableListView to make a table and there is a column called 'delete', which works fine but I want to add a confirm window so when people click 'delete' a window will pop up asking 'yes' or 'no', in html, this can be done use javascript, but with wicket control link button, how to add to

Re: how to add a confirm window to a Link button?

2007-10-26 Thread raybristol
That's great sample, thanks so much Jan, I will try that soon! Jan Kriesten wrote: just add a behavior to the link which ads a javascript 'onclick': public class JavascriptEventConfirmation extends AttributeModifier { private static final long serialVersionUID = 1L;

problem of updating a panel

2007-11-06 Thread raybristol
Hi chaps, I am using a panel in a page, and I actually using a DataView with paging enable in the panel for show some data, I pass the datasource from the webpage to that panel, something Like final Panel p = new BoxListPanel(boxListView,boxList);, everything is fine, but now the data getting too

DataView question, please help, thanks!

2007-11-08 Thread raybristol
I am using DataView to show a list, in my html page, I got: table border='1' class=ms-prof-main tr th class=ms-prof-topBox ID/th th

working with JSP problem, thanks!

2007-11-14 Thread raybristol
Hi, my wicket pages need to be worked with some other jsp pages, and for some reason I need two startup place so in xml conf files I got: servlet servlet-nameAdminPagesApplication/servlet-name servlet-classorg.apache.wicket.protocol.http.WicketServlet/servlet-class init-param

Re: required field in a form, help :)

2007-11-14 Thread raybristol
=yforum=13974 Martijn On 11/14/07, raybristol [EMAIL PROTECTED] wrote: Hi, I have some inputs in a form, some are required field, they work fine when I press 'submit' button, however, I also include a cancel button, in which onclick event my code is like: add(new Button(cancel

Re: working with JSP problem, thanks!

2007-11-14 Thread raybristol
-nameAdminPagesApplication2/servlet-name url-pattern/Admin2/*/url-pattern /servlet-mapping -dipu On Nov 14, 2007 12:23 PM, raybristol [EMAIL PROTECTED] wrote: Hi, my wicket pages need to be worked with some other jsp pages, and for some reason I need two startup place so in xml conf

how to call a javascript function?

2007-11-15 Thread raybristol
Hi, I have a form in a page, after user fill some data in and press 'Save' I want to call/or not to call a javascript function, in my code I was try to do like: Form form = new Form(form, new CompoundPropertyModel(this)){ protected void onSubmit(){

Trigger client machine program

2007-11-22 Thread raybristol
Hi, I need to trigger a program which installed on client machine when use press a button from a web page, I wonder what's the best way to do it? Any links? Many thanks, Ray -- View this message in context: http://www.nabble.com/Trigger-client-machine-program-tf4855543.html#a13894375 Sent