hi igor,
thanx a lot for this clarification!
cheers,
martin
On Sun, 2007-04-29 at 18:05 -0700, Igor Vaynberg wrote:
in reality this isnt how its supposed to work.
usually you would have something like this:
searchpage {
private criteria crit;
searchpage() {
add(new
Hi,
at actually looks like the bug. What you can try to do is to enable
versioning on the link. What's the URL the link generates? Does it
contain IUnversionedBehaviorListener? If it does you should have the
AbstractDefaultAjaxBehavior.getCallbackScript called with first
parameter = true.
-Matej
Safest solution is to do
item.setOutputMarkupId(true);;
and then
target.appendJavascript(selectRow(document.getElementById('+item.getMarkuipId()+'));
-Matej
On 4/29/07, Tauren Mills [EMAIL PROTECTED] wrote:
Hi,
It appears that the javascript this object is different when I
hardcode the
Ahh, that makes sense. I'll give that a try tomorrow. Thanks!
Tauren
On 4/30/07, Matej Knopp [EMAIL PROTECTED] wrote:
Safest solution is to do
item.setOutputMarkupId(true);;
and then
target.appendJavascript(selectRow(document.getElementById('+item.getMarkuipId()+'));
-Matej
On
I am trying to model a hashset in a wicket webpage that allows to edit an
user's details. I have a hashset of the user's roles however I cannot model
them using the CheckBoxMultipleChoice component. How can I model this
hashset so roles can selected and deselected.
Thanks in advance,
- James
imho all he should do is extend a panel, and make sure that panel is always
inside a form.
there is no need to have a form to group a few fields together.
Thanks, that's how I was thinking it should be a Fieldset so to speak. Have
progressed a bit
down that route but still have a couple of
On 4/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Second question is whether Wicket provides support for creating unique id's
for elements.
My html for the PostalAddressFieldset includes things like:
input wicket:id=addressLine id=addressLine type=text size=40/
Obviously this is no
hi,
i just want to mentioned that there were a nasty bug in 1.3 nested
form processing that was fixed today, so if you have any issues with
it i suggest you upgrading wicket to see if it helps.
-Matej
On 4/30/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
As for your first question, I think the
igor.vaynberg wrote:
if you use wicket validators and the component is invalid the onerror()
will
be called instead of onupdate()
the value is available via getformcomponent().getmodelobject() inside
onupdate()
-igor
On 4/27/07, wicket0123 [EMAIL PROTECTED] wrote:
I want to use
Nice, I thought this should be easy - and it is!
Derek
-Original Message-
From: [EMAIL PROTECTED] on behalf of Martijn Dashorst
Sent: Mon 4/30/2007 2:01 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Nested Forms and onSubmit()?
As for your first question, I think
Ok, but name != id in xhtml and the value of xhtml id attributes on the page
must be unique
or it isn't valid.
Do I need to ensure that any custom components do not include an xhtml id
attribute?
Derek
-Original Message-
From: [EMAIL PROTECTED] on behalf of Martijn Dashorst
Sent:
Ta, I've just upgraded and prefixed all wicket imports with org.apache.
Only problemo seems to be that
wicket.extensions.markup.html.datepicker.DatePicker
has disappeared.
Any idea where it went?
Derek
-Original Message-
From: [EMAIL PROTECTED] on behalf of Matej Knopp
Sent: Mon
ok, found it:
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-datepicker
-Original Message-
From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent: Mon 4/30/2007 3:52 PM
To: wicket-user@lists.sourceforge.net
Subject: from 1.2.6 to 1.3.0 snapshot
Ta, I've just
Hi
I was having a little problem with back-button and versioning... I am using
1.3 snapshot from trunk. (as of today)
I have a few wicket pages :- ParentPage contains a form and a submit button
without form components. ChildPage(s) of this ParentPage calls
getForm().add(some component).
The
On 4/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Ok, but name != id in xhtml and the value of xhtml id attributes on the page
must be unique
or it isn't valid.
Do I need to ensure that any custom components do not include an xhtml id
attribute?
Yes you do, but you can let Wicket
I've complained about custom serialization being the default before,
and I've had it with that thing. I've reported at least two instances
of problems before in threads on I believe the dev list, and they
haven't been fixed so far either. I really want to set the default to
Hey guys,
I'm a newbie with wicket so it may be my fault but I tried to debug this
error and I couldn't find any solutions.
I build a simple page with an editable ajax label, everything works fine
except when I try to cancel the changes (using the Esc key). After that
all AJAX features stop
seeing how slow we were at fixing issues with this i dont have any
objections.
i did fix the error reporting though. before the exceptions were swallowed
and just did e.printstacktrace(). now a proper rte is thrown.
-igor
On 4/30/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
I've complained
I'm considering different ways to implement a Forgot Password
feature. I normally see it done one of two ways.
1. On registration, get a Question and Answer from user. Ask them
this question when they forget their password. On correct answer, let
them change password. I don't have any
class resetpage extends webpage {
public resetpage(pageparameters params) {
string key=params.get(0);
...
}
public static urlfor(string key) {
pageparameters params=new pageparameters();
params.put(0, key);
return requestcycle.get().urlfor(resetpage.class,
Igor,
Thanks so much!
Tauren
On 4/30/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
class resetpage extends webpage {
public resetpage(pageparameters params) {
string key=params.get(0);
...
}
public static urlfor(string key) {
pageparameters params=new
I've just noticed that the behaviour is specific to Firefox 2.0. In
Internet Explorer 7 everything works fine.
Thanks,
Dragos
Dragos Bobes wrote:
Hey guys,
I'm a newbie with wicket so it may be my fault but I tried to debug this
error and I couldn't find any solutions.
I build a simple
Sorry Eelco for beeing such a pain ;-)
but unless I missed something, wicket-datetime's DateField is still
throwing NPE's, making it somewhat hard to use.
Martin
Eelco Hillenius schrieb:
yeah. And there's a separate project with a new datepicker now as
well: wicket-datetime.
Eelco
On
hi igor,
i'm trying to implement your advice, but don't really know
how to do this.
what would the SearchForm then look like? does the form itself
use the model and how is the input field added to the form?
and how can the ResultsView access the value of the PropertyModel?
the model has a
i suggest you read here:
http://cwiki.apache.org/confluence/display/WICKET/Working+with+Wicket+models
the idea is pretty simple:
the form submits its data into a bean, and the view renders according to
that bean. this is accomplished by having the form and the view's models
connected to the same
The issue you reported doesn't make sense to me atm, but I'm sure it's
not bug free yet. However, it'll be someday (and hopefully that is
soon), and the issue is not related to the datepicker I think. The
datetime project is still new, and the datepicker more limited than
the old one, but we can
hi igor,
i hope i got the idea now. i post my beans here, it would be nice
if could tell me if anything's not following the right path :)
// the start page, simply with the search form
public Index(final PageParameters parameters) {
LOG.debug( Creating new Index page with params +
http://video.google.com/videoplay?docid=6068447410873108038q=user%3A%22Google+engEDU
This might be of interest to Wicket and its users. I personally like
their design :)
Gili
signature.asc
Description: OpenPGP digital signature
On Mon, 2007-04-30 at 23:55 +0200, Martin Grotzke wrote:
hi igor,
i hope i got the idea now. i post my beans here,
aehem, sorry - forgot to include SearchResultsView:
public SearchResultsView(String id, PropertyModel model ) {
super( id, model );
final String query =
On 4/30/07, Martin Grotzke [EMAIL PROTECTED] wrote:
On Mon, 2007-04-30 at 23:55 +0200, Martin Grotzke wrote:
hi igor,
i hope i got the idea now. i post my beans here,
aehem, sorry - forgot to include SearchResultsView:
public SearchResultsView(String id, PropertyModel model ) {
On Mon, 2007-04-30 at 15:07 -0700, Igor Vaynberg wrote:
On 4/30/07, Martin Grotzke [EMAIL PROTECTED] wrote:
On Mon, 2007-04-30 at 23:55 +0200, Martin Grotzke wrote:
hi igor,
i hope i got the idea now. i post my beans here,
aehem, sorry - forgot to
One more thing on this. I have it working so that my URL looks like this:
/sa/app/reset/1/4xYD6JctlSPwU23eN%2Fm1isA5Cf8%3D/0/tauren
The key is the PageParameter #1. I'm encoding a value using Base64,
which appears to include slashes, =, etc. When this string is used in
a browser, the value is
if you want to maintain the bookmarkable url then no. but this is atypical
of how wicket lifecycle usually works. the model i showed is better because
if you reuse the searchresultsview outside of this lifecycle you are
creating it will still work properly, but if you have no plans on reusing it
On Mon, 2007-04-30 at 15:23 -0700, Igor Vaynberg wrote:
if you want to maintain the bookmarkable url then no. but this is
atypical of how wicket lifecycle usually works.
ok. do I have to take anything in acount if i use wicket in this
atypical way?
however, until now it feels very good to work
On 4/30/07, Martin Grotzke [EMAIL PROTECTED] wrote:
On Mon, 2007-04-30 at 15:23 -0700, Igor Vaynberg wrote:
if you want to maintain the bookmarkable url then no. but this is
atypical of how wicket lifecycle usually works.
ok. do I have to take anything in acount if i use wicket in this
On Mon, 2007-04-30 at 15:42 -0700, Igor Vaynberg wrote:
On 4/30/07, Martin Grotzke [EMAIL PROTECTED] wrote:
On Mon, 2007-04-30 at 15:23 -0700, Igor Vaynberg wrote:
if you want to maintain the bookmarkable url then no. but
this is
atypical of how wicket
is there anyone from the wicket-bench team out there that can provide
info on a new version for the upcoming 1.3 release? now that the
package names have changed, my wicket bench tests are totally hosed
up...
-
This SF.net
I'm trying to use a wicket Button on an html button tag instead of
an input tag, but wicket keeps throwing this error:
WicketMessage: Component deleteSlideButton must be applied to a tag of
type 'input', not 'button wicket:id=deleteSlideButton'
Is this possible, or is there a different wicket
use link or submitlink.
-igor
On 4/30/07, Ryan Sonnek [EMAIL PROTECTED] wrote:
I'm trying to use a wicket Button on an html button tag instead of
an input tag, but wicket keeps throwing this error:
WicketMessage: Component deleteSlideButton must be applied to a tag of
type 'input', not
There's org.apache.wicket.util.crypt.Base64UrlSafe
Tauren Mills-2 wrote:
Is there a built-in way in Wicket to url-encode the string again,
making it doubly encoded? Or is there a different solution? Perhaps
using something besides Base64, but I don't know what would be good to
use.
40 matches
Mail list logo