I will do that if it is still a problem when we start using 1.3 or 2.0.
Caching is ok so far.
- Juha
Johan Compagner wrote:
if you can get a nice test where i can see those hotspots (but then in
1.3 or 2.0)
then i will look at it to optimize that.
johan
On 2/1/07, *Juha Alatalo *
I think you can't. It is a one way only field: the field contents
aren't what is submitted: the field name is just the filename, but the
contents of that file are also submitted. You can't upload file
contents to the field.
Probably you can try to set the filename using JavaScript.
Martijn
On
Hi Igor,
My bad, I had extended the pageexpiry page from my base page and it checks
for @Authorized. Though the page expired page came in the background it gets
navigated to login page. The issue is fixed now. I have changed it from
BasePage to WebPage. Your questions really helped me to debug
On Sun, 04 Feb 2007, Dmitry Kandalov wrote:
I tried this one. It doesn't work either. I wonder how autocompletion
can work for you because I couldn't find any notion of wicket tags in
this dtd. Guess you put them in custom tags. Don't you?
Most probably yes.
--
Timo Rantalaiho
Reaktor
I was able to test some ajax functionality by firing events
with WicketTester, but something related to forms not. The
problematic form thing I just tested with Wicket Bench then.
If anyone is interested I can cook up a quickstart
representing the WicketTester-with-ajaxified-form problem.
The application I work with will send a email to user to activate his
account after registration. The activate message is something like
==
Registration completed, here is your login detail:
username: carfield
password: carfield
Please go to
I need to obtain the rendered HTML dump of a WebPage or Component as String,
is there a way to pull out that from onAfterRender() call?
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff
On Mon, 05 Feb 2007, Ayodeji Aladejebi wrote:
I need to obtain the rendered HTML dump of a WebPage or Component as String,
is there a way to pull out that from onAfterRender() call?
I don't know if you can do that in production code, but in
WicketTester there is assertContains(String pattern)
Hello,
I'm just picking up Wicket and I'm really enjoying it. However I'm
having a slight problem. I want to unit test a page that requires some
information from the session. How do I set up a session within a unit
test and make it available when I call
e.g.
Hi,
I have some javascript with initialization code that needs functions
from wicket-ajax.js. However, my javascript is loaded (and run) before
wicket-ajax.js.
The javascript is added in a component as follows:
add(HeaderContributor.forJavaScript(this.getClass(),
AutoLogout.js));
Is
We're currently using wicket 1.2.4. When wicket built-in ajax refreshes an
entire table, we kept getting this js error on the client : t has no
properties (thanks firebug).
You can reproduce it on
Hi Alexis,
This is a firebug bug.
Wicket has been changed to prevent the bug from appearing in the
upcoming 1.2.5 release.
Regards,
Erik.
Alexis schreef:
We're currently using wicket 1.2.4. When wicket built-in ajax refreshes an
entire table, we kept getting this js error on the client
i think we can wait for the 1.2.5 release :)
Thanks for the quick answer !
Erik van Oosten wrote:
Hi Alexis,
This is a firebug bug.
Wicket has been changed to prevent the bug from appearing in the
upcoming 1.2.5 release.
Regards,
Erik.
--
View this message in context:
Hi all, thanx for your help so far and apologies for getting back so late... to
the problem now:
To what you suggested, I didn't get something useful from yourkit and
tmsMserver is not wicket related.
If the problem appears, it happens by clicking the datepicker icon (in a
monkey testing
On Mon, 05 Feb 2007, Srdjan Marinovic wrote:
I'm just picking up Wicket and I'm really enjoying it. However I'm
having a slight problem. I want to unit test a page that requires some
information from the session. How do I set up a session within a unit
test and make it available when I call
Handling the session directly sounds very un-wickety.
Normally you should keep state in your components. They are
all(?) stateful in Wicket.
I suppose I should elaborate a little bit:) I've got the following session class
public final class UserSession extends WebSession{
private
You shouldn't need to. With recent beta version of firebug the error
message is still there, but the ajax works anyway.
-Matej
Alexis wrote:
i think we can wait for the 1.2.5 release :)
Thanks for the quick answer !
Erik van Oosten wrote:
Hi Alexis,
This is a firebug bug.
Wicket
Oh, and euh, I am using a Wicket pre-1.2.5 snapshot from 2007-01-23.
Erik van Oosten wrote:
Hi,
I have some javascript with initialization code that needs functions
from wicket-ajax.js. However, my javascript is loaded (and run) before
wicket-ajax.js.
The javascript is added in a
On Mon, 05 Feb 2007, Srdjan Marinovic wrote:
So now I want to unit test rendering of WelcomePage. However I need to
have a UserSession object with the username set up. I have no idea how
to this via WicketTester.
Is there any way to this?
I think that by providing your own Application
Last night I finished the very, very initial version of something I've been
working on mentally for a while now. Its my first Wicket based project.
Its a web application fragment, for lack of a better word, that provides a
tasklist and customizable task screen router for Jboss' Jbpm framwork.
Looks great!
Does anyone know, is there a way to provide consistent navigation
throughout the site, like a nav panel on the left hand side? I have
zero experience with confluence so I thought i would ask first.
thx,
jim
On 2/3/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Nice Al, thanks. I'll
Erik van Oosten wrote:
Is there a way to force header contributions to load in a certain order?
Sort of. HeaderContributors are designed so that if you add them twice,
they only render once (so you can have multiple components on the page
share the same contributor).
Unfortunately,
Vielen Dank für Ihre Nachricht.
Ich bin zwischen dem 6. und 17. Februar im Urlaub und werde mich danach
umgehend mit Ihnen in Verbindung setzen.
Bitte wenden Sie sich in der Zwischenzeit an meinen Kollegen Herrn Sascha
Hamann ([EMAIL PROTECTED]).
Mit herzlichen Grüßen,
Alexander Lohse
Al Maw wrote:
Unfortunately, wicket-ajax.js is rendered as a kind-of composite
HeaderContributor, so you can't just go like this:
add(HeaderContributor.forJavaScript(AbstractDefaultAjaxBehavior.JAVASCRIPT);
...as you'll get two of them. :-(
Yes, I noticed and saw the code. Are functions
On 2/4/07, Al Maw [EMAIL PROTECTED] wrote:
Hi all,
I've given http://wicketstuff.org a bit of love.
Let me know what you think. Better yet, all you wicket stuff
contributors please contribute to the wiki. :)
Al, thank you for your contribution!
WicketStuff looks really nice now... really
I'm also really interested in how people model tables and lists in Wicket.
I had a very similar problem in JSF. Specifically the issue that arises
when you have a table type of component with links, backed by index instead
of ID. That's an issue I have to look into. Any thoughts? I'm using
On 2/5/07, Carfield Yim [EMAIL PROTECTED] wrote:
The application I work with will send a email to user to activate his
account after registration. The activate message is something like
==
Registration completed, here is your login detail:
That was the general impression I got. Repeaters. Harder to grasp, but
better overall.
I didn't know they indexed by id. Sweet.
I have the Pro Wicket book. For the most part I thought it was well
written. The section on ListView, however, brought on a level of confusion
that almost landed
what you can do is substitute a stringresponse into the requestcycle instead
of the webresponse, then switch back after render
-igor
On 2/5/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
I need to obtain the rendered HTML dump of a WebPage or Component as
String, is there a way to pull out
Yeah, that little hack is the closest you're going to get. The reason is
that Wicket components don't generally compose markup. It's the other way
around: the markup a component is attached to is consumed by the component
as it renders itself. In other words, the tag stream of the page drives
On 2/5/07, Erik van Oosten [EMAIL PROTECTED] wrote:
Yes, I noticed and saw the code. Are functions in wicket-ajax.js not
intended for public use?
if you asked me i would say no. these are our internal javascript functions.
what out of there were you using exactly?
-igor
On 2/6/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 2/5/07, Carfield Yim [EMAIL PROTECTED] wrote:
The application I work with will send a email to user to activate his
account after registration. The activate message is something like
I think this issue is fixed in mustang ...
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6349735
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated
Yes , it is, and if I remove the mount and just use the long
bookmarkable link, it work ok.
The other issue I just found is after I click this link, whatever long
or mounted one, the add(HeaderContributor.forCss()) fail to add the
link rel like
link rel=stylesheet type=text/css
On 2/5/07, Timo Rantalaiho [EMAIL PROTECTED] wrote:
I think that by providing your own Application implementation to
WicketTester you can do that by overriding
Session newSession(Request request).
Yes and in 1.2 you extend WicketTester and override getSessionFactory()
Frank
then that fix is really hidden or internal because i can't find anything
what to call then in java 6
johan
On 2/5/07, Tom Desmet [EMAIL PROTECTED] wrote:
I think this issue is fixed in mustang ...
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6349735
By the way, is there a central page somewhere that explains the repeater
package, or should I just dig through the javadocs and code? I figured I'd
ask before I get too involved with the latter.
On 2/5/07, Kevin Galligan [EMAIL PROTECTED] wrote:
That was the general impression I got.
I also had hair-pulling moments at first trying to understand static vs.
dynamic models. It was one of my principal motivations for re-writing
the wiki page.
Scott Swank wrote:
Read it? I have it printed off sitting on my desk. The key point I was
missing was that a static model for,
This http://cwiki.apache.org/WICKET/tables-and-grids.html for a
shallow start, and for the rest please take a look at the javadocs and
the example code. The wicket-examples project is where we hope to make
up for the fact that we don't have a fancy tutorial :)
Eelco
On 2/5/07, Kevin Galligan
My sign in panel does this in its onSubmit():
if (signIn(getUsername(), getPassword(), shouldRememberMe())) {
if (!continueToOriginalDestination()) {
setResponsePage(getApplication().getSessionSettings().getPageFactory().newPage(
However, when I do this in
Application.init():
getRequestCycleSettings().setGatherExtendedBrowserInfo(true);
The continueToOriginalDestination() does not return the correct value. I
think it has something to do with the way that extended info is gathered
(something about posting data to
Hello,
I stumbled upon a deprecated example in the wicket.util.convert.Converter
example. Method newConverter() on the ConverterFactory seems to be gone in
the Wicket 1.2.5.
final IConverter converter = new ConverterFactory().newConverter();
converter.setLocale(Locale.US);
how about a patch to the javadoc? :)
-igor
On 2/5/07, Robert Novotny [EMAIL PROTECTED] wrote:
Hello,
I stumbled upon a deprecated example in the wicket.util.convert.Converter
example. Method newConverter() on the ConverterFactory seems to be gone in
the Wicket 1.2.5.
final IConverter
On 2/5/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
i believe (not sure) method invocation a.foo()
yes thats also supported
seet the PropertyResolverTest for pretty much all the things that are
supported
johan
-
Using
Vielen Dank für Ihre Nachricht.
Ich bin zwischen dem 6. und 17. Februar im Urlaub und werde mich danach
umgehend mit Ihnen in Verbindung setzen.
Bitte wenden Sie sich in der Zwischenzeit an meinen Kollegen Herrn Sascha
Hamann ([EMAIL PROTECTED]).
Mit herzlichen Grüßen,
Alexander Lohse
Today I looked at WebbyDB, it's a 'PHP-type-of-dump-classes-on-webpage' app,
hibernate handles the persistency side. It depends on webby, wicket,
databinder and hibernate. It can handle associations as well. Webby can
generate a decent starterapp for you if you have done your upfront design
On 2/4/07, Frank Bille [EMAIL PROTECTED] wrote:
Or a good wiki page/blog entry on the subject. That would be nice to have
:)
Ok, I will spend some time on this over the weekend.
Frank
-
Using Tomcat but need to do
I am building a web application with Wicket 1.3 and I want to be able
determine the number of
bytes in the HTML response.
I know that I can inspect document.fileSize on the client, but what I'm
looking for is to have access
to this information on the server.
Does Wicket's RequestCycle or
see IResponseFilter and its javadoc
-igor
On 2/5/07, Sean Sullivan [EMAIL PROTECTED] wrote:
I am building a web application with Wicket 1.3 and I want to be able
determine the number of
bytes in the HTML response.
I know that I can inspect document.fileSize on the client, but what I'm
Sean Sullivan wrote:
I am building a web application with Wicket 1.3 and I want to be able
determine the number of bytes in the HTML response.
I know that I can inspect document.fileSize on the client, but what I'm
looking for is to have access to this information on the server.
Does
On 2/6/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Yes , it is, and if I remove the mount and just use the long
bookmarkable link, it work ok.
The other issue I just found is after I click this link, whatever long
or mounted one, the add(HeaderContributor.forCss()) fail to add the
I added an empty filterPath to my web.xml via:
init-param
param-namefilterPath/param-name
param-value/param-value
/init-param
and it seems to have fixed the problem.
Thanks!
Aaron
Igor Vaynberg wrote:
you should probably specify the filterpath param as well,
yep, its a temporary fix i myself had to use until al foreward-ports the
relative url refactor
-igor
On 2/5/07, Aaron HIniker [EMAIL PROTECTED] wrote:
I added an empty filterPath to my web.xml via:
init-param
param-namefilterPath/param-name
param-value/param-value
Gladly. I enclose it in the attachment. (Shall I create an JIRA issue?)
R. N.
how about a patch to the javadoc? :)
-igor
On 2/5/07, Robert Novotny wrote:
gt;
gt;
gt; Hello,
gt; I stumbled upon a deprecated example in the wicket.util.convert.Converter
gt; example. Method newConverter() on the
Try to add the feedback panel to AjaxRequestTarget in the onError method
of AjaxSubmitLink.
-Matej
Scott Swank wrote:
I have a form in a ModalWindow. I can add
AjaxFormComponentUpdatingBehavior to relevant fields to get immediate
feedback about the fields, but I would like to have
a jira issue would be awesome, we would need one for our 1.2.5 changelog
anyways :)
-igor
On 2/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Gladly. I enclose it in the attachment. (Shall I create an JIRA issue?)
R. N.
how about a patch to the javadoc? :)
-igor
On 2/5/07, Robert
there is also an example that does this in ajax examples, albeit not in the
modal window.
-igor
On 2/5/07, Matej Knopp [EMAIL PROTECTED] wrote:
Try to add the feedback panel to AjaxRequestTarget in the onError method
of AjaxSubmitLink.
-Matej
Scott Swank wrote:
I have a form in a
57 matches
Mail list logo