I wasn't too impressed by WADI's progress to be honest. Seems to be
yet another dead project.
Eelco
On 11/1/05, Dan Gould [EMAIL PROTECTED] wrote:
Thanks Eelco--
For anyone else who is looking, the param in web.xml is
session-config
session-timeoutTIME_IN_MINUTES/session-timeout
Haven't heared from him here since a long time. Just out of curiosity! :-)
Francis
Conversion is first done in Wicket itself.
So if you have a Field that gets its value from a map then you just have to type youre field first:
TextField datePropertyTextField = new TextField(map.property, Date.class);
I already thought about looking at the current key/index and then convert it
Hello,
I wonder if it is easily feasible to have functionality like
struts-nested, the struts extension made by the keyboardmonkey team
(
http://www.keyboardmonkey.com/pilotlight/next/Tutorial_partTwo.jsp?content=yesplease
)
This allows to create forms with nested elements : a monkey having
That's easy to do in Wicket. You can nest anyway you want in your
forms, including using listviews (though don't forget to set the
optimizeItemRemoval property to true).
Eelco
On 11/2/05, Laurent PETIT [EMAIL PROTECTED] wrote:
Hello,
I wonder if it is easily feasible to have functionality
So you just need to know when the item you're rendering is the last in
the list? Well, you have access to the list (getList()) and the item
(item.getModelObject()), so it should be pretty straight forward, if
not elegant, to find out if the item is the last in the list.
On 11/1/05, Eelco
On 11/2/05, Eelco Hillenius [EMAIL PROTECTED] wrote:
That's easy to do in Wicket. You can nest anyway you want in your
forms, including using listviews (though don't forget to set the
optimizeItemRemoval property to true).
I'll try to redo the struts monkey example in wicket, in order to
I never liked that name either. Other people did and we settled for
it. Just the way the world works sometimes :)
Eelco
On 11/2/05, Laurent PETIT [EMAIL PROTECTED] wrote:
On 11/2/05, Eelco Hillenius [EMAIL PROTECTED] wrote:
That's easy to do in Wicket. You can nest anyway you want in your
In that case, better would be to compare the current index of ListItem
(li.getIndex) with the ListView's size (lv.getViewSize()). That way
you won't have to touch the 'internal' model, and it'll work with
sizes that differ from the underlying model.
Eelco
On 11/2/05, Phil Kulak [EMAIL
Did you take a look at wicket-examples already? Compared to what is
explained on the page you pointed to, it is very easy in Wicket and
IMO much more flexibel.
Juergen
On 11/2/05, Laurent PETIT [EMAIL PROTECTED] wrote:
On 11/2/05, Eelco Hillenius [EMAIL PROTECTED] wrote:
That's easy to do in
/**
* If true, re-rendering the list view is more efficient if the window
* doesn't get changed at all or if it gets scrolled (compared to
paging).
* But if you modify the listView model object, than you must manually
call
* listView.removeAll() in
Kidding of course. He's doing fine. He's working on Wicket in the
background now and then, but is mostly focussing the zillion other
things he's doing with his life.
Eelco
On 11/2/05, Eelco Hillenius [EMAIL PROTECTED] wrote:
He abducted him and threw him into a river. That bastard just got too
He abducted him and threw him into a river. That bastard just got too vocal!
On 11/2/05, Francis Amanfo [EMAIL PROTECTED] wrote:
Haven't heared from him here since a long time. Just out of curiosity! :-)
Francis
---
SF.Net email is
Oh yea, that's much better.
On 11/2/05, Eelco Hillenius [EMAIL PROTECTED] wrote:
In that case, better would be to compare the current index of ListItem
(li.getIndex) with the ListView's size (lv.getViewSize()). That way
you won't have to touch the 'internal' model, and it'll work with
sizes
Yes I did, but maybe not too deeply I assume.
I'll try and do what I'm thinking of using Wicket, and then come back
to the list with questions, if any.
It seems to me that I haven't seen something as dynamic as what can be
done with nested (and the page I pointed to was not fair about the
Thanks for all your help! I have a basic example working now, and I am
trying to fix the last separator as per your suggestions. I put a link
object (actually a BookmarkablePageLink) in a list for every page to be
in the menu and use those in the populateItem(), like this:
<> public
Good to know he hasn't backslided but still believes in Wicket!
By the way, I could see from the onestat statistics that since
yesterday you've been hitting the 1000+ visitors. Has that mostly go to
do with the web frameworks poll hosted at about.com being discussed at
theserverside.com? Great
The fact that Wicket is an unmanaged framework means we put you, the
programmer, in power. If you look at nesting and the way IModel works
you are not limited in your options.
For full power, combine Forms with ListViews and Panels. With panels,
you can postpone any markup/ subcomponent decission
Yes,
I'm currently trying to translate the full powered version of monkey bean :
http://www.keyboardmonkey.com/StrutMonkey/monkey-action.do
( and also this slightly different version, with hide/show buttons :
http://www.keyboardmonkey.com/StrutMonkey/monkey-action-v2.do )
in Wicket.
Very
I got the console output:
09:53:35,497 INFO [STDOUT] wicket.WicketRuntimeException: Cannot replace a component which has not been added: id='detailMsg':[Page class = wicket.examples.navtree.ContentPage, id = 1]09:53:35,497 INFO [STDOUT] at
Let's say I have this code on a page:
add(new Label(label1, new Model() {
public Object getObject(Component c) {
// Return some interesting string...
}
});
add(new Label(label2, new Model() {
public Object getObject(Component c) {
// Return some other interesting string...
it is saying that you are trying to replace a component that hasnt been
added yet. you have to add a component before you can replace it,
otherwise you are replacing nothing.
so in your code you need to do this:
if (get(detailMsg)==null) {
add(new label(detailMsg))
} else {
replace(new
I tried wicket 1.1, with same code fragment, i got RunTimeException:
wicket.WicketRuntimeException: The component(s) below failed to render:
1. [Component id = detailMsg, page = wicket.examples.navtree.ContentPage, path = 1:detailMsg.Label, isVisible = true, isVersioned = true]
at
when you serialize from top to the bottom of the hierarchy only one instance is used.
ie. if you serialize the page both your models will point ot the same
page instance, but if you serialize the models indivudally, they will
each have a separate page instance. so if you call setModelObject and
That's what I was afraid of.
What do you think about having a special model that Component never
serializes. Like:
new Label(id, new StaticModel() {
...
});
Probably not any easier then just calling setVersioned(false), but
it's more readable and less of a pain..
On 11/2/05, Igor Vaynberg
Thanks, Igor. It resolved.
When replace a component, the path should be correct.
For my application, the Label detailMsg is child of Border navomaticBorder,
so thecode fragment must like this:
Page p = this.getPage();Label newlabel = new Label(detailMsg, Replaced);p.replace(new
Hi all, im new to Wicket, and a bit in java (have experience in other oo languages).I dont understand the populateItem construction. Who calls it? When? add(new ListView(rows, listData)
{ public void populateItem(final ListItem item) { final UserDetails user =
but if it never serializes it how is it going to restore it?
best way to create an inner static class. this is the same problem as
the dataprovider one. If you have an anonymous sorteddataprovider
class, it will serialize the page along with itself when you change
sorting and cause out of mem
it is a callback that is used by the listview itself. It calls it for
every object in the model list. Its there so you can inject your own
functionality into the listview, in this case it is used so that you
can populate each item with your own hierarchy of components.
-Igor
On 11/2/05, Paulo
im not that familiar with the tree component, so maybe someone else can answer this.
generally wicket components manage their own state, so when your page is refreshed the tree should look the same.
-Igor
On 11/2/05, Alex Chew [EMAIL PROTECTED] wrote:
Thanks, Igor. It resolved.
When replace a
I found this message
http://sourceforge.net/mailarchive/message.php?msg_id=12880137
formerly, i tested this kind of solution, but couldn't work.
It seems strange,Does wicket and iframe coexist?
31 matches
Mail list logo