Hi,
I want to create a form which contains textareas and radiobuttons line by
line like;
Textarea Radiobutton
Textarea Radiobutton
My object to fill via a form contains two fields;
public Class Line () {
private String textInput;
private Boolean isSelected;
}
My aim is to take some in
Thanks but still couldnt figure out how will i set the boolean values
according to the selected radiobutton in List? Can I do something with the
index value? Is it stored in radiogroup that I attached my List into?
Accessing the cell/row index:
protected void populateItem(ListItem item) {
Hi manuelbarzi,
Thanks for the usefull websites I reviewed all of them and
I tried the following. I created a radiogroup but still i can select all
radiobuttons right now..I just want to be able to select one radiobutton and
set the boolean attribute true in related NameWrapper object. And also r
It is getting weird. I got your point. You are right, it is more logical to
give boolean true or false value.
I tried your suggestion but this time I had four radiobutton and all of them
appeared as checked. How is it possible? And When I give Boolean.TRUE, this
time all of them are displayed as un
Oh ok I got it right now. In each listitem we should create at least two
radio item to get true or false values for that field. I thought creating
one radiobutton in each iteration, after 4 iteration, will give me 4
radiobuttons which all of them reacts as one group. And so, i wanted to be
able to
I tried the following but couldnt get into "onUpdate" method while debugging.
I need to use checkgroup to be able to use
AjaxFormChoiceComponentUpdatingBehavior. So I created a checkgroup and added
the checkboxes into it. So I guess in each iteration I am creating one text
area, one check group and
Thanks a lot. I wish I have seen the obvious solution by myself but anyway
everything is clear now..I should have iterated the Listview not the list
item. My plan was iterating the list component and updating the model value
in it. But you are right, iterating "item" wont give me the all the item
l
BTW, i just figured out that changing selected checkbox removed the data in
the textareas.
First you need to save and then change the selected checkboxes. Rendering
form in each ajax update behaviour deletes the model value..How can we solve
this?
Thanks
--
View this message in context:
http://a
Hi all,
I want to remove the form component after hitting submit button and display
a loading animated gif.
After ajax submit operation finished, i want to display a new panel instead
of form component which has a button to generate a new form page..I think I
can swap the panels into onSubmit butt
Thanks guys..I overrided the methots and it worked. When I submit the form,
animated gif appears until ajax request is completed. But I dont know
javascripting so much so I couldnt
remove animated gif and fade out form div block at the same time..I want to
fade out the form area slowly and display
Any comment or documentation to learn how to call jquery function inside of
this methot?
Thanks
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/ajax-form-submit-loading-gif-and-swap-panels-tp3876326p3881810.html
Sent from the Users forum mailing list archive at Nab
Hi Manuelbarzi,
I still cant figure out why the texts in the textareas are removed when I
unset the checkbox that I selected.
I think the following line is used to prevent this problem but it doesnt
work. Do you have any idea?
listView.setReuseItems(true);
Thanks
--
View this message in con
I think you forgot to close the following
link.add(new Label(""+count)*)*;
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Bookmarkable-link-within-AjaxLazyLoadPanel-tp3943587p3943617.html
Sent from the Users forum mailing list archive at Nabble.com.
---
Hi,
I want to make a filter to update a table according to selected user.
I am filling a hashmap to retrieve some data from database. To accomplish
that
I overrided "wantOnSelectionChangedNotifications" method. But the problem
is;
when I choose the user1, the model value is updated as it is exptec
Thanks for the quick response Sven...But eclipse gives error for the code you
suggested
I changed it as below;
@Override
protected void onSelectionChanged(Object criteria) {
criteriaMap.put("user",((Criteria) criteria).getUserCriteria());
}
But using onSelec
Ok I am overriding the both methods but still cannot update the
userCriteria..It always contains the
the value that I selected first..
new PropertyModel(criteria, "userCriteria")
The whole code is as following;
public class ListQuestionsPage extends AdminBasePage {
@SpringBean
UserDao
I think I am doing something wrong or there is a bug..newSelection is not
contain the new selected user..like model value..
If I dont override any methods, selectbox model value is updated as it is
expected..
But the the both of them always show the first selection...
new PropertyModel(criteria,
Any suggestion?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-model-is-not-updated-when-wantOnSelectionChangedNotifications-is-overriden-tp4031368p4033965.html
Sent from the Users forum mailing list archive at Nabble.com.
-
Yes I checked the FormInput example..The only difference is that example has
custem dropwdown component which stated in the same class..Also it uses the
following in onSelectionChanged method..
// force re-render by setting the page to render to the bookmarkable
// instance, so that the page will
19 matches
Mail list logo