Sorry that I am new to Wicket and may not know what the greatest values of
wicket are supposed to be.
We are evaluating different web frameworks right now and Wicket is one of
them.
One good and attracting point of Wicket to us is that it can separate
html/design and logic at a good way.
The
1.3 is what i would look at, the current trunk in our svn. we just had a
1.3.0-beta release in apache incubator. 1.2.x doesnt have stateless support.
there are numerous threads on this list that try to disprove the session is
evil myth. so i would search the list for those first, before i made
in 1.3 you still can use getSession() and set the locale
But then you need to set it everytime because the session is created
everytime
if the pages are all stateless. So then you still can work with the normal
Wicket session object
Creating a wicket session object doesn't mean you create a http
Also remember to have the wicket source code attached to
your IDE (easy with e.g. mvn -Declipse.downloadSources=true
eclipse:eclipse or idea:idea), and to have wicket-examples
project open in another IDE window. With this + working on a
real live project and with a little help from my friends and
It's quite tricky as to know how to best do this, although there's
certainly scope for people to keep track of threads on the mailing
list and create articles or update for the Wiki from them.
Anyone should be able to edit most pages on the wiki, though a signup
is required.
/Gwyn
On Thursday,
in 1.3 you still can use getSession() and set the locale
But then you need to set it everytime because the session is created
everytime
if the pages are all stateless. So then you still can work with the normal
Wicket session object
Creating a wicket session object doesn't mean you create a
yes, quite outdated, it references the old package structure, i'll take care
of it.
/syca
On 5/3/07, Apaar Trivedi [EMAIL PROTECTED] wrote:
Hey all, I am trying to get a TinyMCEPanel jar for Wicket 1.3. I've
gotten the tinymce contrib. from the wicketstuff trunk, and attempted to
compile
I have a text field called 'dateField' on a form that has an
associated DatePicker control. When someone selects a date in the
picker, I want to do an ajax call to refresh another component on the
page. I need the dateField model to be updated in the ajax call.
I originally assumed the model
Hi,
In my wicket page I have a AjaxSubmitLink(which is a a link in html
template) beside the textfield in a form.
And when I press enter after entering data in textfield, the form is getting
submitted but the onSubmit() function of AjaxSubmitLink is not getting
callled.
when I debug in to the
see ajaxformcomponentupdatingbehavior, that will update the model for you
-igor
On 5/4/07, Tauren Mills [EMAIL PROTECTED] wrote:
I have a text field called 'dateField' on a form that has an
associated DatePicker control. When someone selects a date in the
picker, I want to do an ajax call
this is a general html form thing. when you have a single textfield and you
press enter, the form is submitted. sometimes it happens even when you have
more then one textfield. to fix it you need to capture the enter keypress on
the field and return false so the event is discarded.
-igor
On
Thanks Igor, I had already tried that route but I ran into problems
finding a way to capture the select event.
But after you confirmed that this is the route to go, I discovered
'appendToInit' in DatePicker that allowed me to insert my custom
javascript.
Cheers,
Dragos
Igor Vaynberg wrote:
Note to future generations (that is, those who only care about FireFox and
IE7+): just add tr:hover to your CSS, for example:
tr.even {
background-color: #d6ddee;
}
tr.even:hover {
background-color: #8fa4d1;
}
tr.odd {
}
tr.odd:hover {
background-color: #8fa4d1;
}
But
Great, thanks!
Ivo
On 5/4/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
See https://issues.apache.org/jira/browse/WICKET-529
Fine by me too.
Eelco
On 5/3/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
fine by me
-igor
On 5/3/07, Johan Compagner [EMAIL PROTECTED] wrote:
i think we
notice there is also a new ibehavior.istemporary. read the javadoc, it might
be what you want.
-igor
On 5/4/07, Ivo van Dongen [EMAIL PROTECTED] wrote:
Great, thanks!
Ivo
On 5/4/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
See https://issues.apache.org/jira/browse/WICKET-529
Fine by me
Hello, I have two panels, one that is mostly a form for login (user/pass
+button) and the other panel is just a link (onClick==logou).
Now I changed the button for the login form to an ajax button. Everythig
works fine.
The thing is that I had a code something like this in the logout panel.
or just keep a field
class mypage extends webpage {
private panel a;
private panel b;
public mypage() {
a=new MyLoginPanel(...) {
protected void onLogout(AjaxRequestTarget target) {
target.add(b);
target.add(a);
}
}
b=new MyLogoutPanel(...);
}
-igor
On 5/4/07,
That looks about right, I'll tested right away.
On 5/4/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
or just keep a field
class mypage extends webpage {
private panel a;
private panel b;
public mypage() {
a=new MyLoginPanel(...) {
protected void onLogout(AjaxRequestTarget target) {
Igor,
I had a feeling that was the situation. I'll take a closer look at my
code with that in mind and if I can come up with a clear follow up
question, I'll post some relevant excerpts.
Thanks very much for your help,
James.
Igor Vaynberg wrote:
the short answer is: you cant do that.
Passing it in the constructor works, but you would have to call
setOutputMarkupPlaceHolderTag(true) on the logout panel otherwise it won't
be in the dom before the user logs in, and therefore can't be updated. This
is also why toggling the css attribute with script client side won't work
with
since you probably don't want to show the login form after a successful
login,
you could replace the login panel with the logout panel (and vice versa)
this could look something like the following:
// constructor of class LoginPanel
public LoginPanel(final String id) {
super(id);
So although clearly AJAX is supposed to be mostly asynchronous. it looks
like the underlying XMLHttpRequest object _can_ be synchronous.
If I modify wicket-ajax.js and set 'Wicket.Ajax.Request.async' to
*false* -- suddenly my code works... i.e. I can code an
AjaxFormSubmitBehavor.onSubmit so
if you change wicket-ajax.js in the way you showed below then all ajax
requests will become synchronous. while you wont break anything foundamental
you will make parallel ajax requests impossible. not a good thing imho. i
guess we need to add a parameter so that you can set the request to
Good point. What I'm planning on is to inject my own ResourceReference
version with the async set to false, but only for the one page where I
need it to be synchronous. Since I'm overriding
onRenderHeadInitContribution, I can just choose not to call super and
the default .js files won't get
feel free to add an rfe into our jira for the extra param.
-igor
On 5/4/07, James Renfro [EMAIL PROTECTED] wrote:
Good point. What I'm planning on is to inject my own ResourceReference
version with the async set to false, but only for the one page where I
need it to be synchronous. Since I'm
it does not even require core committers to participate, what core
committers can do is break wicket into pieces of headings in a linear manner
and have non-core who understand start to contribute. wiki is not enough,
there has to be a line of thought set by the creators of wicket. answering
If someone takes it up to create a structure (project in wicket-stuff
maybe, or just the wiki?) I'll be glad to help out a bit, certainly
with the foundational stuff. However, I don't have time to do much
else than that, and I'm sure the other comitters have the same
problem.
Also note that I've
another problem is the evolution speed of wicket. its just very fast and
with 1.3 coming, am not even so keen on reharsing with 1.2.x again. the
framework still needs to properly evolve from my thinking cuz yu might start
ebook process and before you know it so many stuffs are deprecated
yu know
Hi,
I'm getting errors when deploying my application, which I have just migrated
from wicket 1.2 to 1.3.
The first one is this:
00:52:22,421 ERROR [PasswordTextField] Problem applying encryption; go on
without for now
org.apache.wicket.WicketRuntimeException: Unable to decrypt the text
'[EMAIL
Wicket's i18n is nice and I can follow the example easily here:
http://cwiki.apache.org/WICKET/i18n-and-resource-bundles.html
Is it possible to have Wicket load i18n messages from sources like DB or
etc? As we want the messages to be dynamically updated for real time if
necessary.
I have looked
remove is a good addition, but what about isEnabled()? that might be a nice
way to conditionally apply a behavior instead of removing it.
Johan Compagner wrote:
i think we should be thinking of a remove(IBehavior)
It is pretty in line with the rest (think about Swing listeners)
And it
Should I be concerned that the numbers in the following URLs jump so much?
This is on a page signed in as an admin, where I do have some callback links
that are stateful.
On one page view, here is an admin link:
see IStringResourceLoader
and
IResourceSettings.addStringResourceLoader
-igor
On 5/4/07, ywtsang [EMAIL PROTECTED] wrote:
Wicket's i18n is nice and I can follow the example easily here:
http://cwiki.apache.org/WICKET/i18n-and-resource-bundles.html
Is it possible to have Wicket load i18n
that is actually the page id not component id. so either you create 1500
pages in between, or stateless pages generate random ids - which it didnt
look like from the code...
-igor
On 5/4/07, Jeremy Thomerson [EMAIL PROTECTED] wrote:
Should I be concerned that the numbers in the following
34 matches
Mail list logo