{wicket 1.3 rc1}testing ajaxbutton...

2007-12-14 Thread Nino Saturnino Martinez Vazquez Wael
Hi How do I test the ajaxbutton? If I try to execute the event I just get an null pointer exeception like this: wicketTester.executeAjaxEvent(form:ajaxButton, onclick); Should I just check if theres ajax present? And the process the form using the formtester? -- Nino Martinez Wael

Re: Using Spring beans with session scope

2007-12-14 Thread Daniel Stoch
Have you defined RequestContextListener in your web.xml? It is required for request scope and session scope beans: listener listener-class org.springframework.web.context.request.RequestContextListener /listener-class

Re: {wicket 1.3 rc1}testing ajaxbutton...

2007-12-14 Thread Nino Saturnino Martinez Vazquez Wael
Hmm didnt help me though.. calling this wicketTester.submitForm(form); just gives a NPE... Hmm using form tester and wicketTester.executeAjaxEvent works after upgrading. Very nice:) Thanks :) Nino Saturnino Martinez Vazquez Wael wrote: Ohh hold on for a minute.. I saw the *WICKET-1199

How to dynamic load a HTML file

2007-12-14 Thread qinyi lai
Hi I wanne to dynamic load a HTML file to mapping a JAVA class page! a JAVA class file will have many HTML files(1:n mapping), and in the running time, the JAVA class file will select a HTML file to display a different Page layout to User! How to carry it out? I found a article about this,

Re: How to dynamic load a HTML file

2007-12-14 Thread wicket user
override getVariation() in your page to get the appropriate html/markup picked. regards -dipu On Dec 14, 2007 9:43 AM, qinyi lai [EMAIL PROTECTED] wrote: Hi I wanne to dynamic load a HTML file to mapping a JAVA class page! a JAVA class file will have many HTML files(1:n mapping), and in

RE: How to dynamic load a HTML file

2007-12-14 Thread qinyi lai
Thanks, I will try it! But any example for this! I find in the wicket.Component.java public String getVariation() { return null;//how to override it, return the HTML file path+filename? } and any one have wicket offline API, documents! From: [EMAIL PROTECTED] To:

Re: How to dynamic load a HTML file

2007-12-14 Thread wicket user
You don't have to worry about the path. You should name your file like YourWebPage_variation.html and place the file where you would place it in normal case. For example If the variants of the page are YourWebPage_1.html, YourWebPage_2.html, YourWebPage_n.html ,.,YourWebPage_n.html String

Re: {wicket 1.3 rc1}testing ajaxbutton...

2007-12-14 Thread Nino Saturnino Martinez Vazquez Wael
Hmm Can any confirm that wicketTester.assertComponentOnAjaxResponse(component) are working properly. I get an error event though my component are on response. Seems as it are checking for ?xml in the begining of the document and mine comes after the html document... regards Nino Nino

RE: Trouble Localizing Validator Messages

2007-12-14 Thread Shelli D. Orton
Can anyone help me set up my properties file correctly? Thanks in advance! Shelli -Original Message- From: Shelli D. Orton [mailto:[EMAIL PROTECTED] Sent: Thursday, December 13, 2007 9:13 AM To: users@wicket.apache.org Subject: RE: Trouble Localizing Validator Messages Hi, I'm using

Modal window problem in IE 6 (6.0.2900.2180.xpsp_sp2_gdr.070227-2254)

2007-12-14 Thread marcus dickerhof
Hi everybody, I implemented a page that makes use of the ModalWindow component (displays a details-panel). I tested it in different browsers including IE 6, and it works fine. Now I deployed it on our test-server so our client can view the site. He has got a very tricky problem: The modal window

Re: Getting Error Field not serializable on one of the constructor attrib ?

2007-12-14 Thread Igor Vaynberg
On Dec 14, 2007 9:54 AM, mfs [EMAIL PROTECTED] wrote: hmm..but should it do that?...its not an instance within the form, i mean we'll be invoking the service layer from within the form.onsubmit (most of the times) event, and that would require all the service or other classes invoked to be

Using SignInPanel throws FormComponent class org.apache.wicket.markup.html.form.PasswordTextField does not support cookies

2007-12-14 Thread Per Newgro
Hi *, I build an out of the box quickstart project with 1.3.0-rc2. Then i copied from wicket examples (template http://www.wicketstuff.org/wicket13/authentication/) to my own pages. So far everything seems to be correct. But if i start the application i get the bottom exception. Maybe

Re: Using SignInPanel throws FormComponent class org.apache.wicket.markup.html.form.PasswordTextField does not support cookies

2007-12-14 Thread Johan Compagner
I think we did support of passwords being stored as a cookie before, is that changed? On 12/14/07, Per Newgro [EMAIL PROTECTED] wrote: Hi *, I build an out of the box quickstart project with 1.3.0-rc2. Then i copied from wicket examples (template

Re: Using SignInPanel throws FormComponent class org.apache.wicket.markup.html.form.PasswordTextField does not support cookies

2007-12-14 Thread Frank Bille
No it's just been disabled per default, because it's not safe. I'll take a look at it. Frank On Dec 14, 2007 11:06 PM, Johan Compagner [EMAIL PROTECTED] wrote: I think we did support of passwords being stored as a cookie before, is that changed? On 12/14/07, Per Newgro [EMAIL PROTECTED]

Writing to the output buffer in wicket web pages

2007-12-14 Thread Haritha Juturu
Hi Everyone I can use 'out' object towrite to the JSP's output stream. Is there an equivalent in Wicket framework. I need to write some content to the output buffer. Thanks Haritha Never miss a thing.

Re: Using SignInPanel throws FormComponent class org.apache.wicket.markup.html.form.PasswordTextField does not support cookies

2007-12-14 Thread Gerolf Seitz
On Dec 15, 2007 12:37 AM, Frank Bille [EMAIL PROTECTED] wrote: Read this: http://cwiki.apache.org/WICKET/migrate-13.html#Migrate-1.3-PasswordTextFieldnolongersupportscookiesbydefault i added the reason (security issues) for throwing the exception. Gerolf

The Textis incomprehensible

2007-12-14 Thread JohnSmith333
My wicket code in xp show normally. The text isn't incomprehensible. But when I deploy the code to linux os and in weblogic ap server. The text from db table date also OK. The text code in html also OK. But the text code in wicket program all are incomprehensible. I am use the Chinese

Styled TabbedPanel in ModalWindow, cannot apply style to page

2007-12-14 Thread dtoffe
Hi !! I'm trying to put a TabbedPanel like the one shown in the Wicket examples within a ModalWindow. The ModalWindow is ok, the style of the ModalWindow is ok, the page contained in the ModalWindow is ok but the style of the TebbedPanel is broken, the tabs are rendered as a bulleted list.

Session.invalidate()

2007-12-14 Thread NateRedding
Hello, I am writing a web application that has a need to log the user out when a certain action is performed. So, I do a Session.invalidate(). This takes me to the Page Expired Error Page that I set in my application settings. However, when this particular action is performed, I simply want to

SOLVED ! Re: Styled TabbedPanel in ModalWindow, cannot apply style to page

2007-12-14 Thread dtoffe
OK, I've found the source of the modal window frame with the help of Web Developer Firefox extension. Then solved the stylesheet issue with a header contributor. Cheers ! Daniel dtoffe wrote: I'm trying to put a TabbedPanel like the one shown in the Wicket examples within a

Re: Session.invalidate()

2007-12-14 Thread Igor Vaynberg
session.invalidate(); setresponsepage(new mypage()); requestcycle.setredirect(true); === -igor On Dec 14, 2007 8:14 PM, NateRedding [EMAIL PROTECTED] wrote: Hello, I am writing a web application that has a need to log the user out when a certain action is performed. So, I do a