I have a dropdownchoice populated from a database call. When a user selects
an item from the drop down, I want to load the values of the drop down
object into the form.
I can't seem to be able to just get the form to reload with the chosen
object. But I can change the form fields individually by
Also, the drop down is not part of the form. Here's the HTML:
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-selection-won-t-update-form-fields-tp4413980p4414035.html
Sent from the Users forum mailing list archive at Nabble.com.
--
That worked. Thanks!
The only downside is that the wicket plugin for netbeans is throwing a bunch
of errors at me due to the way it's now set up.
It's saying that everything I add to the form is a child in Java and not in
HTML.
--
View this message in context:
http://apache-wicket.1842946.n4.n
I jumped the gun on that one. It didn't work.
I was still calling the old page from my menu. Once I fixed that and I am
now calling a new page with your suggestions, the form objects never get
updated. Here's the code:
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com
Once again, you make it simpler than I thought it would be. Thanks again.
Finally, how do I reset the form from the onSubmit button of the form? I
tried this:
But it doesn't work. The form never gets reset. I'm able to get the updated
list from the DB and repopulate the list. And the list is up
I got it working, but I'm not sure if the way I did it is correct. Here's the
final code:
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-selection-won-t-update-form-fields-tp4413980p4417640.html
Sent from the Users forum mailing list archive at Nabble
Let's say we want to have a number of widgets on the page. But we want to be
able to dynamically define what widgets are shown, and in what order they
appear on the page.
So I can create a bunch of panels, each with their own html, and add those
panels to a container to display on the screen. But
If everything is in panels, and all panels have proper CSS, wouldn't they
automatically wrap properly, no matter what order they were in?
So if I added the panels to the container in the order I wanted, isn't it
just ensuring the css for those panels is correct and that they will line up
properly
Ahijah wrote
>
> Martin Grigorov-4 wrote
>> On Thu, Apr 12, 2012 at 7:38 AM, Ahijah <
>> darren.greer@
>> > wrote:
>>
>> mountResource("/Feed2", new MyResourceReference());
>>
>> class MyResourceReference extends ResourceReference {
>> public IResource getResource() { return new MyResource()
Any suggestions on how I might roll my own? I tried a few things like
injecting the Feed class and annotating it, but I suspect it's too late at
that point.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-Generic-JSON-Response-tp4550807p4652442.html
Sent
10 matches
Mail list logo