Your welcome! I will try to publish this snippet somewhere in the guide.
> Thanks Andrea,
>
> I was trying what you sent in your previous message and I was having
> trouble figuring out how to get the value set on the target property model.
>
> Your code here, especially this line:
>
> ta
Thanks for the suggestions. Regrettably the spec requires a vertical list of
labels and specifically not a multi choice list as used in the extensions
Palette component otherwise yes it would be trivial to make the right hand
side a one row drop down as you mention...
--
View this message in conte
Btw, Select2 demos are at:
http://ivaynberg.github.io/select2/
Its Wicket integration at:
https://github.com/ivaynberg/select2
That's Igor's baby (you might have seen Igor's name in Wicket's API
JavaDocs :)
On Thu, Feb 13, 2014 at 11:34 AM, Paul Bors wrote:
> I don't think you need to go nuts
I don't think you need to go nuts and worry much about a ListView. Use a
Select2 instead of the drop-down and have a custom panel instead of the
plain old option. You can place an Add button or something or better yet,
check boxes and then you won't need the second list.
Suppose you do stick to ol
Hello,
I'd like to create a hybrid 'palette'. First there's a DropDownChoice with
an 'Add' link and next to this a vertical list of selected items, each with
a 'remove' link. Of course, adding an item removes it from the
DropDownChoice and adds it to the list and vice-versa for item 'removal'.
I
Hi,
Thanks for the tip. I have almost done it.
Just one annoying problem. I can't set filter fields' markup up. Not the td
where the input field resides but the input tag itself.
I have five filter fields on my filtertoolbar. To use javascript trick I
have to set id for every filter fields.(Now wi
Okay, so I was able to try some more scenerios, and it looks like if I have
one instance of the application open in one tab, and open a modal window and
now do anything.. Then open another instance of the application but not even
click on anything, and go back to the first intance and just hit canc
Hi,
CompoundPropertyModel (CPM) works by using the component path between the
component with the model and its children.
I.e. if you set CPM to the DataView then you must make sure its object has
the same structure as the items in the dataview. This could be challenging
to setup and to maintain!
C
Hi everyone, is there any example or explanation of using
CompundPropertyModel for wciket output component (like table).
I implemented a Search for a simple ListView but could be used also for any
DataView.
This solution also highlights the found String if you add the class
'highlighted' to you CSS.
The table part:
final WebMarkupContainer table = new WebMarkupContainer("table");
table.setOutputMarkupId(t
Yes, I use TextFilteredPropertyColumn and FilterToolbar.
So it might better to use js to solve this.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AjaxFormSubmitBehavior-and-FilterForm-problem-tp4664422p4664429.html
Sent from the Users forum mailing list archive at N
Do you
use
org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilteredPropertyColumn
?
Where is the filtering text input field ? Is it in the table ? If YES, then
rerendering the table will rerender the input field too.
See the JS solution or move the filtering text field out of t
Hi Martin,
Thanks for the prompt answer. First I try to not re-render filterform's
field.
How could I do that ? My panel looks like this:
I changed target.add from container to table to refresh table only but that
did not help.
Regards., Sandor
--
View this message in context:
http://apache
Thanks!
Martin Grigorov-4 wrote
> https://github.com/ReginaldasR/wicket-modular/pull/1
>
> Martin Grigorov
> Wicket Training and Consulting
>
>
> On Wed, Feb 12, 2014 at 5:51 PM, IowA <
> reginaldasr@
> > wrote:
>
>> Hello, I was not using annotations, so after removing it from pom.xml I
>>
Hi,
It seems the text input field is re-rendered with Ajax after typing a
character.
Try to not re-render the input field.
Or you can use target.appendJavaScript("...") and use something like
http://bytes.com/topic/javascript/answers/429209-how-unselect-text-input-box
Martin Grigorov
Wicket Train
Hi,
I have a datatable inside a filterform. Everything works fine but I need to
filter table on every single typed characters in my filterform. To achieve
this I added an AjaxFormSubmitBehavior to my filterform.
There is one small problem with it. If I type one char it works fine but if
I type one
16 matches
Mail list logo