please apart from web.xml config of deployment mode, any other settings
from getApplicationSettings() that can optimize wicket performance when
deploying on the internet fully
On 1/15/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Strange error. Did you try running in deployment mode in case
On 1/15/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
The licence header test fails. If you provide parameter
-Dmaven.test.skip=true, the project builds and works fine.
Frank, if you are reading this, wouldn't
licenseHeader = url.getFile();
work better than
licenseHeader = new
Martijn,
it would be great to meet up.
I have developed a complex online booking application for the travel
company I work for (with Ajax and all).
It went live last November and has been working great! I'd love to talk
about it at Apachecon (if I'll be able to attend, that is).
I think a big
Hmm I seem to be lost too. We JUST used the page map to give us previous
pages by having a back button, that worked fine.
But if we clear the pagemap and request the previous page that will give and
page expired exception.
Hmm In order to track expired sessions you could attach a
Ding, that worked thanks:) Gotta look a bit closer to the details of the
examples...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik van Oosten
Sent: 15. januar 2007 16:23
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user]
This is OT, but how come the website for the conference of a group which
main focus is web technologies is so ugly?
And I get a blank page when I click on Registry
Martijn Dashorst wrote:
As you all probably know, the Apache conference Apache Con Europe 2007
is getting closer (read more
Thanks Jürgen, thats the one.
I added a link to the Wicket wiki.
Erik.
Juergen Donnerstag wrote:
http://cwiki.apache.org/WW/how-to-support-utf-8-uriencoding-with-tomcat.html
Juergen
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
Thanks but I am using tomcat 4.1.18... and the setting does not seem to apply
when adding it to coyote:
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8080 minProcessors=5 maxProcessors=75
enableLookups=true redirectPort=8443
On 1/16/07, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
This is OT, but how come the website for the conference of a group which
main focus is web technologies is so ugly?
Not very OT. Try filling in a CfP. The workflow is appalling, empty
pages are abundant, I once got a screen where I could
On 1/16/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
On 1/16/07, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
This is OT, but how come the website for the conference of a group which
main focus is web technologies is so ugly?
Not very OT. Try filling in a CfP. The workflow is appalling,
s/Martijn/Alexandru/ and we have exactly the same dialog.
Martijn
On 1/16/07, Alexandru Popescu [EMAIL PROTECTED] wrote:
On 1/16/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
On 1/16/07, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
This is OT, but how come the website for the conference of
But this seems to me like the problem
Did you change the default page encoding??
Default it is all in UTF-8
see
WebApplication.getRequestCycleSettings().getResponseRequestEncoding()
johan
On 1/15/07, Nino Wael [EMAIL PROTECTED] wrote:
Page encoding reported by FF are ISO-8859-1.
Me and Fillippo are working on BeanPanels project on Wicket-Stuff.
The idea, nothing new but just a shortcut in some situation, is to render a
form/panel dynamically based on the bean properties content.
The code is available, but I cannot guarantee on api breaks because we are
really in a
In onClick you call modalWindow.setVisible(true), why is that? Do you
hide it somewhere (you shouldn't do that). Also I'm not sure it's a good
idea to create modal window for every item. Just create one modal window
and in the onClick handler set the page creator.
-Matej
Paul
Hello all i used a datepicker along with other form
components and i have used a clear button to clear out
the form components values when it is clicked.
Here is small portion of what i did:
form wicket:id=testForm
input type=text wicket:id=date /span
wicket:id=datePicker/span
input type=submit
I'm running wicket-2.0 from a recent svn checkout and i'm seeing a *lot* of
page expired exceptions when using ajax behaviors. I'm wondering where I
can start digging to see why this is happening. Any ideas?
-
Take Surveys.
Yes the idea i mentioned above
Don't think in javascript!
javascript is not importand here. Just generated ONE callback to the server.
but call BOTH behaviors after each other.
Handle duplicated behaviors one the server side not client
johan
On 1/15/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
I though Nick already did that with eventful? :)
Eelco
On 1/16/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
lets rewrite it in wicket
-igor
On 1/16/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
s/Martijn/Alexandru/ and we have exactly the same dialog.
Martijn
On 1/16/07, Alexandru
lets rewrite it in wicket
-igor
On 1/16/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
s/Martijn/Alexandru/ and we have exactly the same dialog.
Martijn
On 1/16/07, Alexandru Popescu [EMAIL PROTECTED] wrote:
On 1/16/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
On 1/16/07, Johannes
I have, actually. :)
On 1/16/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
I though Nick already did that with eventful? :)
Eelco
On 1/16/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
lets rewrite it in wicket
-igor
On 1/16/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
so what you want is an ajaxified gridview
what you need is AjaxPagingNavigator which we already have, and
AjaxFallbackOrderByBorder which we also already have.
then you just need to create a panel that encapsulate and connects the
gridview and the aforementioned two components - just like
but the thing is you might not want it ignored sometimes
if (!confirm('delete?')) return false; foo();
-igor
On 1/16/07, Johan Compagner [EMAIL PROTECTED] wrote:
yes this can only be done for the calls where we generated the callback.
(so mostly ajax things)
else we should generate
and what if i add an attributemodifer that sets some javascript for the same
attrs, then it overrides the callback completely. you cant not think in
javascript without a good abstraction from it.
-igor
On 1/16/07, Johan Compagner [EMAIL PROTECTED] wrote:
Yes the idea i mentioned above
Don't
yes this can only be done for the calls where we generated the callback. (so
mostly ajax things)
else we should generate functions and call the functions one by one.
(then return false; will be ignored...)
johan
On 1/16/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
and what if i add an
yeah but he doesnt want to share!
-igor
On 1/16/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
I though Nick already did that with eventful? :)
Eelco
On 1/16/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
lets rewrite it in wicket
-igor
On 1/16/07, Martijn Dashorst [EMAIL PROTECTED]
Definitively not the easiest task! Cool you are picking it up; I'll be sure
to give it a look every now and then :)
Will it be 2.0 only?
Eelco
On 1/16/07, Paolo Di Tommaso [EMAIL PROTECTED] wrote:
Me and Fillippo are working on BeanPanels project on Wicket-Stuff.
The idea, nothing new but
On 1/16/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Definitively not the easiest task! Cool you are picking it up; I'll be sure
to give it a look every now and then :)
Will it be 2.0 only?
Hi Eelco, no, we're developing with Wicket 1.X. And we are on heavy
development right now, so expect *a
what version of wicket are you using? i remember something like this being
fixed. matej?
-igor
On 1/16/07, Prashant Khanal [EMAIL PROTECTED] wrote:
Hello all i used a datepicker along with other form
components and i have used a clear button to clear out
the form components values when it is
Ah, ok. In that case, you should move the project from trunk to the
1.3branch in the wicket-stuff project. Trunk is reserved for
2.0 projects. I regularly update those projects (like last weekend) when
there are API breaks.
Eelco
On 1/16/07, Filippo Diotalevi [EMAIL PROTECTED] wrote:
On
I try to find something to help me but I haven't found what was needed for
now.
I want to update a Panel via ajax. When you click on an array, it will
display some information. You click back on the arrow and it will mask the
thing. You click again, everything is back.
You know, like when you
For individual elements, where you don't mind having all markup
already in the source of the page:
Hiding:
ajaxrequesttarget.appendJavaScript(document.getElementById(' +
component.getMarkupId() + ').style.display = 'none';);
Showing:
ajaxrequesttarget.appendJavaScript(document.getElementById(' +
lets say you have a component that you want to make invisible via ajax
wrap that component in a webmarkupcontainer, toggle the visibility of the
component - but repaint the webmarkupcontainer
that way wicket always knows where the markup needs to go even if the
component is invisible
-igor
first!
On 1/16/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
lets say you have a component that you want to make invisible via ajax
wrap that component in a webmarkupcontainer, toggle the visibility of the
component - but repaint the webmarkupcontainer
that way wicket always knows where the
Another option is to:
- attach a AjaxFallbackLink to the arrow,
- override the onClick method,
- in the method replace the component you want to hide with the one you
want to show:
compToHide.replaceWith(compToShow);
- then finish the method with:
if (target != null) {
Every one of you seem's to have a different answer, but I'm not sure which
one is the best...
So, the solution I decided to use is a mix. I still use my fragment,
override the isVisible method. (So it can be used to know if it is visible
or not.) I can't override setVisible(), but created a
I have created a BaseForm class which extending Form class. I have overrided
Form.process() function but when I run the application I have seen that, the
process() function running and terminating before reaching onSubmit() function.
Because of that if I create the connection on process()
Martijn's example works only with JavaScript but needs no server roundtrip.
Igor's and my version also works without JavaScript but does need to
make a call to the server.
My version is probably more useful when you need to switch more things
in and out. Now I reread your question, this does
Did you attach a component to the submit button?
If you read the class comment of Form you can see that this may change
form processing quite a bit.
Otherwise your code looks ok to me.
Regards,
Erik.
Ramazan Pekin wrote:
I have created a BaseForm class which extending Form class. I have
Just to let know a possible reader, do not override isVisible. It is what
make me search a long time about this to find out that if you say in
isVisible something that you don't want, it will make your
fragment/panel/whateverContainer disapear like before.
So, thats it, don't override isVisible
why do this around form processing though? why not do this around the
request cycle?
-igor
On 1/16/07, Erik van Oosten [EMAIL PROTECTED] wrote:
Did you attach a component to the submit button?
If you read the class comment of Form you can see that this may change
form processing quite a bit.
Hi igor
Thanks again, but I tried it but to no success.
In fact, my issue is that I currently have something like :
tr wicket:id=repeating
tdimg wicket:id = image1 //td
tdimg wicket:id = image2 //td
tdimg wicket:id = image3 //td
/tr
ah! thats easy! throught you were using datatable, not dataview
tr wicket:id=repeating
td wicket:id=td1img wicket:id=image1//td
...
/tr
populateitem(item) {
WebMarkupContainer td1=new WebMarkupContainer(td1) {
oncomponenttag(tag) { tag.put(background, foo.jpg); }
}
item.add(td1);
I'm working on this now, and have a few questions:
When would you use StringResourceModel instead of getting a string from
Localizer
and creating a model from that?
What's the attach and detach behavior of the property models?
Why does IModel extend IDetachable? One might expect only
On 1/16/07, Loren Rosen [EMAIL PROTECTED] wrote:
I'm working on this now, and have a few questions:
When would you use StringResourceModel instead of getting a string from
Localizer
and creating a model from that?
the two operations are equivalent, however the StringResourceModel pulls the
the StringResourceModel pulls the
data, where as if you do new Model(getLocalizer()..) the value will never
change.
This reinforces my thinking that the page needs to discuss dynamic vs.
static models.
StringResourceModel also uses the localizer of the component it is attached
to, so depends
On 1/16/07, Loren Rosen [EMAIL PROTECTED] wrote:
all models are detachable.
This is true in the sense that they all implement IDetachable. But some
models
don't do anything interesting when detached. It would be nice to be able
to
give some simple direction to developers who have a large
You are right. The problem is with the version of
wicket library i was using. I am now using the newer
version and the problem is fixed.
Thanks
--- Igor Vaynberg [EMAIL PROTECTED] wrote:
what version of wicket are you using? i remember
something like this being
fixed. matej?
-igor
On
Anybody here knows if wicket can be extended to process Multi-part HTTP POST
streams in a custom way?
It can, though not very obvious. Look at
wicket.extensions.ajax.markup.html.form.upload.UploadWebRequest, which
is a custom WebRequest. That works for the case where you want all of
your
On 1/16/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
And, if not, may be the respected members of the wicket team
could consider simply making that method
private final boolean handleMultiPart()
protected and not private final in the next version...
That sounds fine by me: +1. Other
+1, however we do need to consider how this will effect the contract with
fileuploadfield. if this is overridden then you can no longer count on the
fileuploadfield's model to be properly populated and since the form is the
intermediary it may not be obvious as to why.
Yeah. Boris, you kind
what i meant is that if someone overrides handlemultipart() on the form,
unless they do what we do they will break fileuploadfields
-igor
On 1/16/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
+1, however we do need to consider how this will effect the contract
with
fileuploadfield. if this
Yeah, I got that. And they also likely break the contract of
WebRequest#newMultipartWebRequest, as they probably won't honor
calling that. Boris mentioned he wasn't happy about the
file-centric-ness of the current API, and I was wondering whether he
has suggestions to improve that.
Eelco
On
I think this message got lost under the appall for the ApacheCon website ;-)
What kinds of real world applications did you have in mind? How are you
planning to go about presenting them?
- Johannes
Johannes Fahrenkrug wrote:
Martijn,
it would be great to meet up.
I have developed a complex
53 matches
Mail list logo