strange issues in SUSE, please have a look, many thanks!

2008-03-18 Thread raybristol
My wicket application was developed in windows and it runs fine in my windwos, however after deploying it to SUSE, I got this message: java.lang.IllegalStateException: Request processing executed 100 steps, which means it is probably in an infinite loop. 09:33:17,109 ERROR RequestCycle:1255 - Ma

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 fro

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(){ activity.setRefere

Re: working with JSP problem, thanks!

2007-11-14 Thread raybristol
; >AdminPagesApplication >/Admin/* > > > > AdminPagesApplication2 > /Admin2/* > > > -dipu > > On Nov 14, 2007 12:23 PM, raybristol <[EMAIL PROTECTED]> wrote: >> >> Hi, my wicket pages need to be worked with

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: AdminPagesApplication org.apache.wicket.protocol.http.WicketServlet applicationClassName apto.umbrella.wicketInterface.AdminPagesAp

Re: required field in a form, help :)

2007-11-14 Thread raybristol
chives: > > http://www.nabble.com/forum/Search.jtp?query=skip+form+validation+button&local=y&forum=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 >

required field in a form, help :)

2007-11-14 Thread raybristol
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"){ public void onClick() { setResponsePage(new A

DataView question, please help, thanks!

2007-11-08 Thread raybristol
I am using DataView to show a list, in my html page, I got: Box ID Client name

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

Re: how to remove 'choose one' from dropdownlist?

2007-10-31 Thread raybristol
Thanks everyone! igor.vaynberg wrote: > > put an option into your model, that way it will be selected... or > override getdefaultchoice() and return "" > > -igor > > > On 10/30/07, raybristol <[EMAIL PROTECTED]> wrote: >> >> how to

how to remove 'choose one' from dropdownlist?

2007-10-30 Thread raybristol
how to remove 'choose one' from dropdownlist? I can use the dropdownlist alright, populate data etc. but wicket always put a 'choose one' option on the top, I wonder if I can get rid of it? Many thanks! -- View this message in context: http://www.nabble.com/how-to-remove-%27choose-one%27-from-d

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

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 it

Re: dummy question, how to set wicket in Deloyment mode?

2007-10-23 Thread raybristol
Thanks very much everyone! swaroop belur wrote: > > Put this in ur web.xml > > > configuration > development > > > > On 10/23/07, raybristol <[EMAIL PROTECTED]> wrote: >> >> >> dummy question, how to s

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: http://www.nabble.com/dumm

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, raybristo

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: how to change format in DateTimeField?

2007-10-18 Thread raybristol
nstructor: > 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.wicke

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 change

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

Re: hi questions about DateField, thanks!

2007-10-17 Thread raybristol
looks fine 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 &g

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 int

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

2007-10-15 Thread raybristol
Gwyn wrote: > > On Monday, October 15, 2007, 1:54:32 PM, raybristol <[EMAIL PROTECTED]> > wrote: > >> 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

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 DropDownChoiceObject.

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(){ &g

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: 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 >> coupl

newbie question about using WizardStep, help! thanks!

2007-09-24 Thread raybristol
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 textfield etc. then I get a error: java.lang.IllegalStateException: Attempt to set model object on null model of com