Hi,
Could any one please help me fixing this panel refresh issue.
first time the panel is refreshed. and that too with (setResponsePage() as
workaround).
Afterwards it is not getting refreshed at all. Always retains the previous
value...
1.I have an Ajaxbutton, on click of it- opens a
Could any one help me in solving this issue
Jamuna.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Panel-not-refreshed-from-ModalWindow-via-Ajax-Button-tp2235354p2238945.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Hi,
I am having a panel with labels and textfields. I am reusing this panel
twice next to each other on the form.
Is there a way to turn off the rendering of labels only, while displaying
the panel for the second time in order to avoid repetition of labels on the
form.
Please suggest.
Jamuna
Thanks for your reply. I first went in the direction of changing the model
object which did not work. Then I started using replacewith which is still
a issue.
Jamuna.
--
View this message in context:
Hi,
How to get the value of the textfield on onBlur event? The below code
always prints null for shipIdTf.getInput()
final TextField shipIdTf = new TextField(ship.id);
shipIdTf.setOutputMarkupId(true);
mawbForm.add(shipIdTf);
Thanks for your reply. It worked. But I ran into another problem.
Instead of getting the value of textfield value getInput(), I tried getting
it from my model as dtoModel.getObject().getShipId().
This gives me the correct value(the value entered in the text field) for the
first time. If I
I wrote my own class MilitaryDateTimeField extends TextFieldDateTime
implements AbstractTextComponent.ITextFormatProvider
which displays both date and time in a single text field in the format
mentioned above.
But the problem is, if I select a different date, the textfield renders with
Could anybody suggest how to create a popup button. I read in the forum that
a link can be attached to a button. But it did not help me.
Not sure, where is the mistake in the below code.
html code
--
//having a link id inside a button..
input type=button wicket:id=mawbNotes
Hi,
If the setRequired is set to true, then the println statement is not
called, otherwise it is called.
Not sure, where I am doing wrong. Please suggest.
final TextFieldString name= new TextFieldString(name);
name.setRequired(true);
Thanks for your input. It was very useful.
J.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AjaxFormComponentUpdatingBehavior-is-not-called-when-the-textfield-is-set-as-required-field-tp2263486p2264933.html
Sent from the Wicket - User mailing list archive at
Hi,
I have a dropdown box and a text field as below
//dropdownbox
final DropDownChoice typeOption=new DropDownChoice(type,
dataList){
protected boolean
wantOnSelectionChangedNotifications() {
return true;
Hi,
I am looking to submit the selected value from the dropdown to the server ,
on the onblur of the textfield component. Is there a way to do it, though I
have attached the AjaxFormComponentUpdatingBehavior to the textfield but not
to the dropdown box.
Appreciate your help in this regard.
Thank you so much for your reply. I tried using getCallbackScript on my
dropdown box. But it is never been called and also the fetch value on the
wicket side returns null for the dropdown box.
Not sure where I am doing wrong. Please suggest.
My code is as below..
Hi,
The page loads address panel with couple of text fields . When the search is
made for a particular address id, the address panel is rendered twice (one
panel with the data, the second panel without the data). Not sure how to
avoid re-rendering of panel twice,
setResponsePage(getPage())
Ed,
Thanks for your reply. I already tried this. But still the problem exists.
:(
setResponsePage(getPage(this)) seems to be the work around for this issue.
But the problem is, the other inputfields that have values on this page are
lost when the panel is re-rendered.
I am not sure how to
Ed,
Thank you so much for the reply. Could you please send me the link to the
working example. I would like to compare with the one I have.
Btw, thanks for pointing out the improper usage of table fragment as
panel. I have modified to div
Appreciate your help in this regard.
J.
--
View this
Why is getCallbackScript(boolean onlyTargetActivePage) is not called in the
below code. I realized that it is not a @Override method. Not sure what is
wrong here
Instead of using typeOption.add(new AbstractDefaultAjaxBehavior(), I also
tried using typeOption.add(new
PageParameters parameters = new PageParameters(swfParameters);
This is how the hashmap is constructed in PageParameters..
Thanks,
J
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/passing-a-map-into-PageParameters-tp2271341p2271351.html
Sent from the Wicket - User
Hi,
I figured out the issue for panel being rendered twice :)
The addresspanel.html was not started with table tag... It directly has a
tr tag..
It worked fine, when I constructed the tags with proper
tabletrtd../td/tr/table.
Thanks a lot...
J
--
View this message in context:
Hi,
I have a list view that displays 5 blank rows. When I click the add blank
row button, it adds 5 more rows to the existing 5 blank rows. Likewise, my
listview may grow.
Is there a possibility to add a scrollbar to my listview.
Appreciate your help in this regard.
Thanks
J
--
View this
20 matches
Mail list logo