Re: ListView color background lineitem dinamically not working

2017-03-17 Thread ganea iulia
background-color:green"); > else if (line.getIdLn() == 4 ) > tag.put("style", "background-color:red"); > > // continue with default behavior > super.onComponentTag(tag); > }; > item.add(firstRow); > > firstRow.add(

Re: ListView color background lineitem dinamically not working

2017-03-16 Thread ganea iulia
Thank you so much for you explanation. I had to put the two inside the because I need to repeat every two rows. Do you have any hint on how to do it and still be able to change the color? On Thu, Mar 16, 2017 at 12:36 PM, ganea iulia <superbiss...@gmail.com> wrote: > Thank yo

Re: ListView color background lineitem dinamically not working

2017-03-16 Thread ganea iulia
tag, which cannot be styled. > > Change your markup to: > > > > > Have fun > Sven > > > On 16.03.2017 09:58, ganea iulia wrote: > >> Hello, >> >> I have a listview and I want to dinamically color some of the rows >> (items).

ListView color background lineitem dinamically not working

2017-03-16 Thread ganea iulia
Hello, I have a listview and I want to dinamically color some of the rows (items). But it is not working, nothing gets colored when it should. *Here is the markup:* [item1] [item2] [item3] [item4] [item5] [item6] [item7] [item8] [item9] [item10] Area *Here is the code:* @Override

Free library for barcode

2016-12-21 Thread ganea iulia
Hello, I need to generate barcodes. Do you know what is the best way in wicket? Or can you indicate any good commercially free libraries? Thank you

Re: Form with backing loadabledetachable model

2016-12-19 Thread ganea iulia
the backing > >model of the form is null. > > how does your LDM load its model object? > > Show us some code or better create a quickstart so someone can take a look > at it. > > Sven > > > > On 16.12.2016 16:24, ganea iulia wrote: > >> Hell

Form with backing loadabledetachable model

2016-12-16 Thread ganea iulia
Hello, I have a list of items in a Refreshing View. When I click on a link inside the Refreshing View, a form in the same page should get populated with the values from the line. I have managed to do this, by having inside the Form a LoadableDetacheableModel and then use this model as backing

Re: Reading Image from absolute path

2016-12-16 Thread ganea iulia
um 13:14 schrieb Ernesto Reinaldo Barreiro < > reier...@gmail.com>: > > > > I think this example > > > > http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ > > > > will do if you implement the getBytes method to read image from file > system. >

Re: Reading Image from absolute path

2016-12-16 Thread ganea iulia
Hello, Do you have any link for a tutorial? On Fri, Dec 16, 2016 at 1:04 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Mount a resource that readi image form that folder > > On Fri, Dec 16, 2016 at 11:54 AM, ganea iulia <superbiss...@gmail.com> > wrote: &

Reading Image from absolute path

2016-12-16 Thread ganea iulia
Hello, Wicket 7. I have been struggling to read an image from absolute path but with no luck. I have a folder with some images inside catalina base directory from where I need to display images in my web page. However, this does not work. Could you please guide me on how to do this? Thank

Iterate through lines from datatable with editable columns

2016-11-15 Thread ganea iulia
Hello, I m using wicket 7.5. I have a datatable, where some of the columns contain editable components: -dropdownchoices -checkboxes -TextFields After I edit some of the editable cells, when hitting a process button, I need to iterate through all lines from the datatable and save the changes.

Datatable with drop down choice

2016-11-11 Thread ganea iulia
Hello, Could you please advise what would be the best option to have in my DataTable, a column, where the cells contain a drop down choice? Thank you

Re: DataTable with input columns, refresh values shown in other columns

2016-11-10 Thread ganea iulia
> > Hope this helps > Sven > > > > > Am 10.11.2016 um 10:55 schrieb ganea iulia: > >> Hello, thank you for the help. >> It did solve some of the situations, but not all of them. >> Here is where I still face issues. >> >> In my table row, I have a

Re: DataTable with input columns, refresh values shown in other columns

2016-11-10 Thread ganea iulia
t; > @Override > protected void onUpdate(AjaxRequestTarget target) { > RowItem row = findParent(RowItem.class); > target.addComponent(row); > } > > Alternatively you can use Wicket event bubbling to notify the rowItem to > update itself. > >

DataTable with input columns, refresh values shown in other columns

2016-11-09 Thread ganea iulia
Hello, I'm using wicket 7.5. I have a DataTable, where one of the columns is an input textfield with a clickable icon near it. When providing data for the input field, and clicking the icon, some validations are done, and the fields for other columns should be updated accordingly. However they

Re: How to access wicket parent page wicket:message

2016-11-01 Thread ganea iulia
and Consulting > https://twitter.com/mtgrigorov > > On Tue, Nov 1, 2016 at 9:39 AM, ganea iulia <superbiss...@gmail.com> > wrote: > > > Hello, > > > > Could you please provide an example? > > > > I have added the below line in my constructor, b

Re: How to access wicket parent page wicket:message

2016-11-01 Thread ganea iulia
> Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Tue, Nov 1, 2016 at 9:02 AM, ganea iulia <superbiss...@gmail.com> > wrote: > > > [pageTitle] > > > > Hi, > > I'm using wicket 7.5. > > > > I have a parent page, and c

How to access wicket parent page wicket:message

2016-11-01 Thread ganea iulia
[pageTitle] Hi, I'm using wicket 7.5. I have a parent page, and child pages that extend it: In my child .properties pages, I always had the pageTitle=My Titile. I now need to dinamically change the title of the page, inside my child page constructor. Could you please advise? Thank you

AutocompleteTextField on submit : The value of .. is not a valid ...

2016-10-27 Thread ganea iulia
Hi, Please help me with following issue: I'm using wicket 7. I have a form with a AutocompleteTextField. The autocompletion works ok until I need to submit the form, when I get following message: - The value of 'test' is not a valid TestBean. Here is my component:

Re: Check Group selected items called from other form loses the checked values

2016-10-26 Thread ganea iulia
t > TestPage.html > http://pastebin.com/gFa6Z5ZS > ModelForForm > http://pastebin.com/EhjezBWJ > Wrapper > http://pastebin.com/8B7n68VH > > > François > > > > > > Le 20 oct. 2016 à 08:38, ganea iulia <superbiss...@gmail.com> a écrit : > > > >

Re: Check Group selected items called from other form loses the checked values

2016-10-20 Thread ganea iulia
Meillet < francois.meil...@gmail.com> wrote: > Have a look at > > https://cwiki.apache.org/confluence/display/WICKET/ > Listview+with+checkboxes <https://cwiki.apache.org/ > confluence/display/WICKET/Listview+with+checkboxes> > > https://www.mkyong.com/wicket/wicket-multiple

Re: Check Group selected items called from other form loses the checked values

2016-10-19 Thread ganea iulia
()); But it did not change a thing for me. Please guide on how to have a Check for every item of the RepeatingView, that can be checked. Thank you. On Tue, Oct 18, 2016 at 1:28 PM, ganea iulia <superbiss...@gmail.com> wrote: > Hi, > I have 2 forms. > > Bottom form = testForm >

Check Group selected items called from other form loses the checked values

2016-10-18 Thread ganea iulia
Hi, I have 2 forms. Bottom form = testForm - I have a listview with checkboxes. As I needed a checkAll control also, I have uses CheckGroup, CheckGroupSelector and Check wicket components. Top form = testForm0 -I have only an link The use case is the following: I check one item (or all) in

Re: Clear input form values

2016-10-15 Thread ganea iulia
Hello, Do you have any new advise on this? Thank you. On Fri, Oct 14, 2016 at 11:02 AM, ganea iulia <superbiss...@gmail.com> wrote: > Hello, > But that was it. > The code contained both the > txtName.setOutputMarkupId(true) and the > txtName.add(new AjaxFormComponentUpd

Re: DropDownChoice with ChoiceRenderer

2016-10-14 Thread ganea iulia
t; Hope that helps > Per > > Am 14.10.2016 um 14:52 schrieb ganea iulia: > >> @Override >> public String getObject(String paramString, IModel> extends >> String>> para

DropDownChoice with ChoiceRenderer

2016-10-14 Thread ganea iulia
Hello, I'm using Wicket 7. I have this simple use case where I need to have a dropdownchoice, where to display some values, but the model should retain other values. I have done the following, however, the model always retains null. So my dropdownchoice should display Code1 and Code2 but save in

Re: Repeat every 2 rows in a table

2016-10-14 Thread ganea iulia
Thank you, works great. On Fri, Oct 14, 2016 at 12:06 PM, Peter Henderson < peter.hender...@starjar.com> wrote: > Hi > > Change your markup to > > ... > > .. > > > > > > > > > > > > > > > >

Re: Repeat every 2 rows in a table

2016-10-14 Thread ganea iulia
rg/repeater > > The user guide can you find here > https://ci.apache.org/projects/wicket/guide/7.x/ > Repeaters are explained here > https://ci.apache.org/projects/wicket/guide/7.x/guide/repeaters.html > > You can add a markup container to a list view item and add the required > row

Re: Clear input form values

2016-10-14 Thread ganea iulia
ete copies of it we have no idea what is wrong. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Oct 14, 2016 at 9:33 AM, ganea iulia <superbiss...@gmail.com> > wrote: > > > Hello, > > > > The txtName field has

Re: Clear input form values

2016-10-14 Thread ganea iulia
hange") {...} If I comment out this part, the clear is done. But I need to have this behaviour kept. Could you please advise? Thank you On Fri, Oct 14, 2016 at 10:10 AM, Martin Grigorov <mgrigo...@apache.org> wrote: > On Fri, Oct 14, 2016 at 9:01 AM, ganea iulia <superbiss

Repeat every 2 rows in a table

2016-10-14 Thread ganea iulia
Hello, I have in the html file, a table where I need to repeat every two rows. So, my table is backed by a bean, where the bean values fill 2 rows of the table. When new bean instance is created, I need to add new 2 rows to the table. Thank you

Clear input form values

2016-10-14 Thread ganea iulia
Hello, I'm using Wicket 7. Please help me with the following. I have a test form, with only one input text field on it. When pressing on a link, I need to have the values in the form cleared out. This is the html and java code, but I could not make it work, the input field just won't clear.