Dear Wicket gurus,
Suppose I have two Wicket page, let's say page A and B,
with the following simple navigation rule A -- B using something like
A. setResponsePage( new B() )
At compiles time A know B , but B does not know A.
It there a way to get - at runtime - from page B the reference to
Why do you want to avoid this?
If you're going to be using the previous page in your new page (for
example, to provide a link back to it) then you need a reference to it.
You may as well pass this in the constructor.
Alastair
Paolo Di Tommaso wrote:
Yes, but I would to avoid this,
and not forget to call feedback.setOutputMarkupId(true)
On 8/3/07, Damian Mendez Romera [EMAIL PROTECTED] wrote:
You must override the onError method and add a
target.addComponent(feedback) :)
Gohan wrote:
I cannot seem to get the Feedback panel to be displayed on a Form submit.
I have
Hi everyone!
I just migrated to 1.3.0-beta2 from 1.2.6, and I'm trying to replace
DatePicker's with DateField's, but I'm having a problem because the backbean
of the CompoundPropertyModel of the containing form uses a Calendar field, not
a Date one, so I'm receiving a conversion exception..
I
Users are able to open multiple ModalWindows by clicking a link more
than once. To prevent this, the mask should be applied in the link's
onclick. What's the easiest way for me to achieve that? Ideally,
the entire ModalWindow should open before the server call. Then the
server call
Thanks for the tip...learn something new every day. BTW...the doc is has
been updated.
--
View this message in context:
http://www.nabble.com/Obfuscating-URLs-in-1.3---Can-it-be-done--tf4208915.html#a11985633
Sent from the Wicket - User mailing list archive at Nabble.com.
You must override the onError method and add a
target.addComponent(feedback) :)
Gohan wrote:
I cannot seem to get the Feedback panel to be displayed on a Form submit.
I have a custom form component that extends Form to which I'm adding an
AjaxSubmitButton using:
add(new
In that case it's quite possible that it is camino's fault. Maybe the
dropdowns just don't work if they are placed on something with
position:absolute/fixed ?
-Matej
On 8/3/07, Michael Day [EMAIL PROTECTED] wrote:
I am cross-posting this on the new list. I also found that Yahoo
Mail has a
Hi Doug,
First I would make sure your TreeNode implementation creates children
lazily. You probably should only create children when children() is
actually called and provide logic for isLeaf and getChildCount() that
don't require creating the children.
You can create the initial state for the
Yep, Camino is probably at fault. I will just use Safari instead,
but I did want to document the problem just in case a workaround exists.
On Aug 3, 2007, at 11:12 AM, Matej Knopp wrote:
In that case it's quite possible that it is camino's fault. Maybe the
dropdowns just don't work if they
Hi,
Seeing that Wicket depends on SLF4J got me interested - so I just tried to
switch to it from commons-logging. My pages / panels extend from a base
class that holds a org.slf4j.Logger instance. But now I get a whole lot of
serialization problems in the log:
=
2007-08-03
Peter Thomas wrote:
Seeing that Wicket depends on SLF4J got me interested - so I just tried to
switch to it from commons-logging. My pages / panels extend from a base
class that holds a org.slf4j.Logger instance. But now I get a whole lot of
serialization problems in the log:
[...]
Make your
Fabio Fioretti wrote:
On 8/3/07, Al Maw [EMAIL PROTECTED] wrote:
If you're going to be using the previous page in your new page (for
example, to provide a link back to it) then you need a reference to it.
You may as well pass this in the constructor.
But is it the only way to do this really?
Hi,
I have 2 problems with DateValidator' error messages.
I understand how to configure the text message for validation error (eg :
xxx must be between {min} and {max}), but my problems are with the value
of dates minimum and maximum, that are allways displayed in the EN
locale style and are
On 8/3/07, Al Maw [EMAIL PROTECTED] wrote:
Peter Thomas wrote:
Seeing that Wicket depends on SLF4J got me interested - so I just tried
to
switch to it from commons-logging. My pages / panels extend from a base
class that holds a org.slf4j.Logger instance. But now I get a whole lot
of
a quick workaround, although maybe not a proper solution would be the
following:
... // somewhere in constructor
form.add(new DateField(myId, new PropertyModel(this, calendarDate)));
...
}
private void setCalendarDate(Date date) {
myCalendar.setTime(date);
}
private Date getCalendarDate() {
I just updated to 1.3 to test. Same problem persists.
On Aug 3, 2007, at 11:15 AM, Matej Knopp wrote:
This should be already fixed in current 1.3.
-Mate
On 8/3/07, Michael Day [EMAIL PROTECTED] wrote:
Users are able to open multiple ModalWindows by clicking a link more
than once. To
this is pretty simple, but there are a few things to consider
a) the obvious: create a form and put the pageable listview into it. instead
of adding labels add textfields for each row.
b) call setreuseitems(true) on the pageable listview
c) override links in the navigator with submit links
i
Actually, you are overcomplicated things a bit i guess.
For the top frame, you don't need wicket at all, you just put there
regular link with javascript in onclick handler. That will invoke
parent.nav.clickNextLink(), which will in turn invoke the onclick
handler of wicket component (this is just
I'm still having trouble getting wicket-event.js to return anything but junk.
Even though I thought it might have something to do with compression, I
doubt that now, because I have my homegrown compression filter turned off.
Does anyone know what this error means:
DEBUG 2007-08-03 15:42:34,452
Well, oracle app server doesn't have a good reputation exactly for
messing the output. Try disabling the compression of wicket resources
completely,
Application.getResourceSettings.setDisableGZipCompression(true).
-Matej
On 8/3/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
Seems like Oracle
maybe this is something for you:
at
http://wicketstuff.org/confluence/display/STUFFWIKI/Script.aculo.us+SortableListView
what you could also do is the following:
+ add two ajaxbuttons up and down (or images)
+ change the position of the row-data in the backing list in the onSubmit
method of the
if the last suggestion is too costly (rendering the whole listview), you
could just change the order of the backing list without redrawing it and add
some javascript to the requesttarget (target.appendjavascript) which does
the dom manipulation...
On 8/4/07, Gerolf Seitz [EMAIL PROTECTED] wrote:
23 matches
Mail list logo