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
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
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
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,
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
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:
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
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
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
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
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
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
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
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]
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.
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
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
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.
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
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
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
21 matches
Mail list logo