-Igor
On 3/17/06, Mats Norén <[EMAIL PROTECTED]> wrote:
I've got a page with a ajaxified form and two listviews updated with ajax.
The two listviews works like the palette-component in wicket which
allows a user to add / remove items. The difference is that I do it
with AjaxFallbackLinks:
ListView selectedItems = new PCMListView("selectedItems", selectedItemsModel) {
public void addUserComponents(ListItem item) {
final PartyContactMechanism pcm =
(PartyContactMechanism) item.getModelObject();
AjaxFallbackLink link = new AjaxFallbackLink("removeLink") {
public void onClick(AjaxRequestTarget ajaxRequestTarget) {
removeSelectedItem(pcm);
ajaxRequestTarget.addComponent(selectedItemsContainer);
}
};
item.add(link);
}
};
My problem is this, if I add/remove items in the list more than 5
times (the default session?) the page expires when I post the form.
I'm guessing there is a really simple solution to this, but I'm
stomped at the moment... :)
Suggestions?
(increasing the pages in session is one, but to what? The user could
add/remove items from the list x number of times....)
/Mats
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
