I assume you meant to do this:
AjaxLink favLink = new AjaxLink("fav")
{
@Override
protected IAjaxCallDecorator getAjaxCallDecorator()
{
tdelesio wrote:
>
>
> final DropDownChoice downChoice = new DropDownChoice("name", new
> CompoundPropertyModel(playerModel), playersModel, new
> ChoiceRenderer("username", "id"));
>
> This would work fine w/o serialization except that t
Thanks for the response. How do I bind the playerModel to the DDC? If I did
the below extract the object out of the playerModel it would probably work.
Player player = (Player)playerModel.getObject();
final DropDownChoice downChoice = new DropDownChoice("name", new
Model(Player), playersModel,
Just to updateI read in another forum thread that using
LoadableDetachabeModels is not the desired model type for mutliple page
forms (wizards). I guess compoundproperty model is the correct approach.
tdelesio wrote:
>
> Hi,
>
> I have a couple of forms which "share&quo
Hi,
I have a couple of forms which "share" the same model. On the first page I
create the model and pass it to the rest of the pages. On each page a
little more information is stored in the model. At the end of the process I
want to write it to a database. Currently I'm trying to use
Detachab
I solved the problem. In order to get it to work I had to remove the
mountBookmarkablePage("watchVideo.html", WatchVideoPage.class);
in the Application. I can't mount to a url but at least it works. Is this
possibly a bug?
Tim
tdelesio wrote:
>
> Hi,
>
> I
Hi,
I'm trying to add a flash file to a bookmarkablepage. I used the
ShockwaveComponent and Objectcomponent from the following link:
http://cwiki.apache.org/WICKET/object-container-adding-flash-to-a-wicket-application.html
The BookmarkablePage is being passed a parm in the url to identify whic
Is it possible to use two objects in a dropdown choice. For instance in the
below code I want to use the class Pizza for the model of the form but load
it with a list of toppings. When I do it the model of the form is getting
set to Topping when I expect it to be Pizza. Thanks for the help.
pu
get target)
{
target.addComponent(weeksDropDown);
}
});
tdelesio wrote:
>
> Hi,
>
> I have two dropdowns. Once you select a value from the first dropdown the
> second dropdown is populated using ajax. I got this to work based on the
> example on wic
Hi,
I have two dropdowns. Once you select a value from the first dropdown the
second dropdown is populated using ajax. I got this to work based on the
example on wicketstuff. But when I submit the form the model is null-ed
out. I tried to remove the ajax call and then re-submit the form and t
10 matches
Mail list logo