ListView inside a ListView

2011-05-25 Thread kinnu410
Hello, I am trying for a ListView inside a Listview which are inter dependent. But, the error msg I am getting is WicketMessage: Unable to find component with id 'allocation' in [MarkupContainer [Component id = 0]]. This means that you declared wicket:id=allocation in your markup, bu

Re: ListView inside a ListView

2011-05-25 Thread Peter Karich
> add(new ListView("allocation", > allocationListModel) { shouldn't this be item.add ? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional comm

Re: ListView inside a ListView

2011-05-25 Thread Scott Swank
For clarity, I would rename the ListItems: protected void populateItem(final ListItem assetItem) { assetItem.add(new Label(...)); assetItem.add(new ListView(...) { protected void populateItem(ListItem allocationItem) { allocationItem.add(new Label(...)); } } } On

Re: ListView inside a ListView

2011-05-25 Thread kinnu410
Thank you so much!!! It worked Silly mistakes cost a lot!!! Thanks again!! On Wed, May 25, 2011 at 1:40 PM, Peter Karich [via Apache Wicket] < ml-node+3550472-1465528180-240...@n4.nabble.com> wrote: > > > add(new ListView("allocation", allocationListModel) { >

Re: ListView inside a ListView

2011-05-25 Thread kinnu410
tItem assetItem) { >assetItem.add(new Label(...)); > assetItem.add(new ListView(...) { > protected void populateItem(ListItem allocationItem) { > allocationItem.add(new Label(...)); > } >} > } > > > On Wed, May 25, 2011 at 10:39 AM, Peter Karich <[hidd

listview

2008-09-09 Thread Patel, Sanjay
Hi, I have a list of String that I want to display using ListView in three different columns of table. I don't want to split list into three lists and use three different ListViews. I just want to use only one ListView and display strings in three columns.

ListView

2018-05-23 Thread JavaTraveler
Hello, Does anyone know how to update a listView with an ajaxButton, after it's construction when it was empty ? For now, I have this : final ListView pieceView = new ListView("pieceVie

Problem with ListView embedded in another ListView

2009-04-23 Thread Thierry Leveque
Hi I have a ListView that is embedded inside another ListView. Both ListView are dynamic: Both have an Add and a Remove button. The ietms in both ListView are a series of form fields. The problem I have is only with my second ListView when I add more than one item without submitting the form

Orderable ListView

2009-12-16 Thread Jeffrey Schneller
I am trying to create what is easily described as the right half of the Palette. The following functionality needed is: 1. Add items to the list via AJAX 2. Move an individual item either up or down in the list 3. Persist the ordered list to the model so the form has the co

ListView Behavior

2010-01-04 Thread wic...@geofflancaster.com
Due to Wicket handling things in a weird order, would anyone mind giving me a hand in solving this issue? When I create a ListView, populateItem() is called for each item in the list which is passed into the ListView and then it goes back and creates the Label named "chart". The probl

ListView Validation

2009-08-17 Thread jpalmer1026
I'm trying to display a validation message for an item contained in a list view but the validation message isn't getting displayed. Is there something special that needs to be done to display validation messages for list view items?

Re: listview

2008-09-09 Thread Igor Vaynberg
use a gridview -igor On Tue, Sep 9, 2008 at 1:30 PM, Patel, Sanjay <[EMAIL PROTECTED]> wrote: > Hi, > > I have a list of String that I want to display using ListView in three > different columns of table. I don't want to split list into three lists > and use three d

RE: listview

2008-09-09 Thread Patel, Sanjay
Thanks. This is what I want. -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 09, 2008 5:01 PM To: users@wicket.apache.org Subject: Re: listview use a gridview -igor On Tue, Sep 9, 2008 at 1:30 PM, Patel, Sanjay <[EMAIL PROTECTED]> wrote

ListView broken?

2008-10-23 Thread pieter claassen
I am getting a classcast exception in ListView that is stumping me. This is the error message (top few lines) WicketMessage: Error attaching this container for rendering: [MarkupContainer [Component id = questioneditform]] Root cause: java.lang.ClassCastException

ListView magic

2010-11-14 Thread meduolis
Hello, I want to do with listview some things, like after removing one item, don't repaint other items. Or maby this component is not right for such a magic? What can I use instead of listview? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ListView-

Grouped ListView

2012-03-12 Thread Jeffrey Schneller
I am looking to create a grouped listview where each group only contains a specific number of items. For example: I have a list of 5 items and I want each group to have 3 items in it. I would expect the html to look something like the following

Dynamic listview

2013-05-28 Thread Martin Makundi
Hi! Is it possible to implement a listview that evaporates on detach and builds itself again whenever one iterates over its items? We have a huge page with thuge listview and the serialization/deserialization of the structure slows down the page. The models are detachable and maybe the

ListView - onComponentTag

2014-03-10 Thread Nick Pratt
Is there any reason why onComponentTag() wouldn't be invoked on a ListView: ListView users = new ListView( "team-members", usersModel ) { @Override protected void onComponentTag( ComponentTag tag ) { super.onComponentTag( tag ); int i = 0; } ... I set a breakpoint on 

Re: ListView

2018-05-23 Thread Maxim Solodovnik
You need to change your code a little: 1) pieceView.setOutputMarkupId(true); is not necessary 2) target.add(wmc); instead of target.add(wmc.add(pieceView)); should work as expected :) On Wed, May 23, 2018 at 9:19 PM, JavaTraveler wrote: > Hello, > > Does anyone know how to update a

Re: ListView

2018-05-23 Thread Sven Meier
Hi, pass a model with the pieces to the listView, this way it will always renderContexrRelative an up-to-date list. new ListView("pieceView", piecesModel) Have fun Sven Am 23. Mai 2018 16:19:11 MESZ schrieb JavaTraveler : >Hello, > >Does anyone know how to update a listView

Re: ListView

2018-05-24 Thread JavaTraveler
Ok, so I managed to pass the piecesModel ! Thank you, it seems to be working :) -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: ListView

2018-05-24 Thread JavaTraveler
Hello ! So no sorry, it does not work. The solution of Maxim does nothing different. And the one from Sven makes a mistake since my ListView needs a list of pieces, and pieceModel is just a Piece. Any other solutions ? -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum

Re: ListView

2018-05-24 Thread Maxim Solodovnik
Could you share quickstart? WBR, Maxim (from mobile, sorry for the typos) On Thu, May 24, 2018, 17:28 JavaTraveler wrote: > Hello ! > > So no sorry, it does not work. > The solution of Maxim does nothing different. > And the one from Sven makes a mistake since my ListView

AW: ListView

2018-05-24 Thread Drummer, Matthias
Hi, here some example code for refreshing a listView via an AjaxButton if I understood you right. Perhaps it will help you. Things to note: - add the WebMarkupContainer to the AjaxRequestTarget (target.add(..)) not the ListView itself because this will not work. You tried something like that

Re: ListView

2018-05-24 Thread JavaTraveler
Quickstart ? -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: ListView

2018-05-24 Thread Martin Grigorov
On Thu, May 24, 2018 at 2:01 PM, JavaTraveler wrote: > Quickstart ? > a mini application showing the problem https://wicket.apache.org/start/quickstart.html > > -- > Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum- > f1842947.html > > -

RE: ListView

2018-06-18 Thread Chris Colman
by nesting them like this? > -Original Message- > From: Martin Grigorov [mailto:mgrigo...@apache.org] > Sent: Friday, 25 May 2018 8:12 AM > To: users@wicket.apache.org > Subject: Re: ListView > > On Thu, May 24, 2018 at 2:01 PM, JavaTraveler > wrote: > > > Qu

Re: ListView

2018-06-18 Thread Sven Meier
rom: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Friday, 25 May 2018 8:12 AM To: users@wicket.apache.org Subject: Re: ListView On Thu, May 24, 2018 at 2:01 PM, JavaTraveler wrote: Quickstart ? a mini application showing the problem https://wicket.apache.org/start/quickstart.html -- Sent fr

RE: ListView

2018-06-18 Thread Chris Colman
Yes, the missing cells show up fine after an F5 page reload. > -Original Message- > From: Sven Meier [mailto:s...@meiers.net] > Sent: Tuesday, 19 June 2018 5:42 AM > To: users@wicket.apache.org > Subject: Re: ListView > > Hi Chris, > > I don't see a rea

RE: ListView

2018-06-18 Thread Chris Colman
esday, 19 June 2018 5:42 AM > To: users@wicket.apache.org > Subject: Re: ListView > > Hi Chris, > > I don't see a reason why your challenge shouldn't work. > > What happens if you reload the page (F5) after adding via > Ajax? Do the missing cells show up? >

Re: ListView

2018-06-18 Thread Sven Meier
From: Sven Meier [mailto:s...@meiers.net] Sent: Tuesday, 19 June 2018 5:42 AM To: users@wicket.apache.org Subject: Re: ListView Hi Chris, I don't see a reason why your challenge shouldn't work. What happens if you reload the page (F5) after adding via Ajax? Do the missing cells show up?

RE: ListView

2018-06-18 Thread Chris Colman
model persistence and not an issue with the best Java UI framework in the world! Regards, Chris > -Original Message- > From: Sven Meier [mailto:s...@meiers.net] > Sent: Tuesday, 19 June 2018 5:42 AM > To: users@wicket.apache.org > Subject: Re: ListView > > Hi Chris, >

RE: ListView

2018-06-18 Thread Chris Colman
detachment of these model objects was nor occuring. Thanks for your help Sven. > -Original Message- > From: Sven Meier [mailto:s...@meiers.net] > Sent: Tuesday, 19 June 2018 6:25 AM > To: users@wicket.apache.org > Subject: Re: ListView > > Adding the outer one shou

Re: Problem with ListView embedded in another ListView

2009-04-23 Thread Igor Vaynberg
is your "add" button submitting the form? is setreuseitems turned on on both listviews? -igor On Thu, Apr 23, 2009 at 8:45 AM, Thierry Leveque wrote: > Hi > > I have a ListView that is embedded inside another ListView. Both ListView > are dynamic: Both have an Add and

Re: Problem with ListView embedded in another ListView

2009-04-23 Thread Thierry Leveque
No, it is an AjaxFallbackLink Both ListView use AjaxFallbackLink to Add or Remove item. Thierry Sent from Montreal, Quebec, Canada On Thu, Apr 23, 2009 at 12:44, Igor Vaynberg wrote: > is your "add" button submitting the form? > > is setreuseitems turned on on both lis

Re: Problem with ListView embedded in another ListView

2009-04-23 Thread Igor Vaynberg
is the link repainting the entire listview? in that case all values will be lost because they are not submitted. either use ajaxsubmitlink, or only repaint the new row. there is an article on wicketinaction.com that shows how to do it. -igor On Thu, Apr 23, 2009 at 9:57 AM, Thierry Leveque

Re: Problem with ListView embedded in another ListView

2009-04-23 Thread Thierry Leveque
:28, Igor Vaynberg wrote: > is the link repainting the entire listview? in that case all values > will be lost because they are not submitted. either use > ajaxsubmitlink, or only repaint the new row. there is an article on > wicketinaction.com that shows how to do it. > > -igor

Listview in a listview refresh with AjaxLink don't work

2009-11-14 Thread pieter claassen
I am trying to follow wicket in action advice P263 but I have a ListView in a ListView with a panel added to my inner listview. On that panel, I have an AjaxLink and I want to move items in the order of the listview around. But to display them, I need to refresh my "matrix". Nothin

Listview in a listview refresh with AjaxLink don't work

2009-11-15 Thread pieter claassen
ion);        }    } I think that the listview is being redrawn in HTML but the matrix of data underlying it (that I retrieve here in the main page) List> rows = QuestionProcessor.getQuestionMatrix(templateWebModel.getEntity().getQuestions(),true); does not get refreshed. I think I need to find a way to

AjaxFallBackLink updating a listview in a listview (blog entry)

2009-11-18 Thread pieter claassen
Hi Guys, Here is a blog entry on how I update listviews in listviews with Ajax. http://skeptical-inquirer.blogspot.com/2009/11/updating-listview-in-listview-with-ajax.html I would appreciate any comments to help me improve this pattern. Cheers, Pieter

Form components in ListView cleared if ListView is refreshed

2022-07-06 Thread Arunachalam Sibisakkaravarthi
Hi guys, I have a form that has a text field with Email validator in a ListView (I want get list of email addresses from user) When invalid email is entered and listview is refreshed then Text field is cleared whereas Text field is not cleared when valid email is entered and listview is refreshed

Sorting and ListView

2008-04-04 Thread mnwicket
I'm using a ListView to display contents of a List of a domain object. Pretty simply. However, the domain has a name on it that is internationalized, ie it will used a key value from a dot properties file. The issue is is that the List of object must be sorted based on the internationa

Form ListView validator

2008-04-21 Thread Milan Křápek
Hi, I encountered a problem with wicket form validation, that I am not able to solve myself. The situation is that I have some form with some TextFields. These TextFields are generated from a ListView and represents ordering of user applications. I added to each TextField the NumberValidator

ListView and Threading

2008-04-21 Thread Edvin Syse
Hi, I've created a "domain search" panel for Wicket. It consists of a ListView that lists all the TLD's, and a checkbox so you can order if the domain is available. To make it a bit fancy, I iterate over the list after construction, and set a "TldChecker" to wo

Form ListView Validator

2008-04-21 Thread Milan Křápek
Hi, I encountered a problem with wicket form validation, that I am not able to solve myself. The situation is that I have some form with some TextFields. These TextFields are generated from a ListView and represents ordering of user applications. I added to each TextField the NumberValidator

ListView + SubmitLink + RequiredTextField

2008-04-25 Thread nanotech
Hi All, I have a Required TextField and SubmitLink inside a ListView (which is dynamic). When I click the submit link for a row...it validates all the text fields in List View rather than the textfield against that link (and shows that field is required .) Is there a way to get around this

ClassCastException with ListView()

2008-05-30 Thread David Nedrow
I'm getting a cast exception when I attempt to pull a list element from the model. I may be mishandling how I'm using the model, but this is basically based on several tutorials I've looked at. (Note, as people have pointed out here, I use the "old fashioned" naming style for my interfaces

enclosure around listview

2008-06-11 Thread Matthijs Wensveen
Hi, Is there a way to hide a listview with an enclosure when there are no items to display? One way to get it working is to toggle the visibility of the listview based on wheter or not the list is empty or not. I was expecting this would work out-of-the-box though... Thanks, Matthijs

beginning with Listview

2009-12-16 Thread marioosh.net
I'm starting with ListView and i like it, but... code: add(new ListView("list", new LinkDAO().allLinks()){ @Override protected void populateItem(ListItem arg0) { Link l = (Link)arg0

Re: ListView Behavior

2010-01-04 Thread Martin Makundi
Hi! Why do you need to count items? You can refer to different components using their markupid. ** Martin 2010/1/4 wic...@geofflancaster.com : > Due to Wicket handling things in a weird order, would anyone mind giving me > a hand in solving this issue? > > When I create a ListView,

Re: ListView Behavior

2010-01-04 Thread wic...@geofflancaster.com
Very good point. Didn't think about that. Thanks, I've solved my problem! Original Message: - From: Martin Makundi martin.maku...@koodaripalvelut.com Date: Mon, 4 Jan 2010 18:19:46 +0200 To: users@wicket.apache.org Subject: Re: ListView Behavior Hi! Why do you nee

ListView and Serialization

2010-03-26 Thread Michael Gottschalk
Hi, I have a question concerning the serialization of subcomponents of ListView. If I understand correctly, then the components that are added to a ListView in the populateItem method should be stateless, since they are removed in the onPopulate method each time the list view is rendered (as

TextField in ListView

2009-05-11 Thread Chris
I have a ListView that contains a TextField and Checkbox. The model is properly populating the components in populateItem(), however onSubmit() in not seeing changes. Do I have to do anything special to make changes to FormComponents in a ListView make it back into the Model? add(new

Re: ListView Validation

2009-08-17 Thread jWeekend
see setReuseItems on ListView. Regards - Cemal jWeekend OO & Java Technologies, Wicket Training and Development http://jWeekend.com jpalmer1026 wrote: > > I'm trying to display a validation message for an item contained in a list > view but the validation message isn&#

Re: ListView Validation

2009-08-17 Thread jpalmer1026
I have setReuseItems set to true but I'm still only seeing the generic Wicket validation messages and not the custom validation messages that I created. Is there a way to display custom validation messages to items in a ListView? jWeekend wrote: > > see setReuseItems on ListView. &

Re: ListView Validation

2009-08-17 Thread Major Péter
Peter 2009-08-17 17:51 keltezéssel, jpalmer1026 írta: I have setReuseItems set to true but I'm still only seeing the generic Wicket validation messages and not the custom validation messages that I created. Is there a way to display custom validation messages to items in a ListView? jWeeken

RadioChoice and ListView

2007-08-29 Thread Alex Pine
Hi all, I'm trying to use a Radio Choice component inside a Listview so that each list item has one RadioGroup with three choices. When the form submit button is pressed, each selected choice should set a field in the model object of each list item. The code below should explain the problem

Update a ListView

2007-08-30 Thread juliez
ot;, messages, 5) { protected void populateItem(ListItem item) { Message message = (Message)item.getModelObject(); item.add(new Label("messageContent", message.getMessage())); }

AjaxFallbackLink inside ListView

2007-09-05 Thread pokkie
I have a listView with several rows, each row has a AjaxFallbackLink associated with it. I am using the getAjaxIndicatorMarkupId() method to determine which row was selected, it returned the following in my case

How Dynamic ListView

2007-09-11 Thread Edi
How to display the dynamic Listview. for e.g, I have a dynamic query like select * from tablename, I want to display the table values into ListView. Is it possible. Please remember, table name is dynamic. I don't have setter and getter method for table name/class name. All suggestions we

Unit testing ListView

2007-09-12 Thread pokkie
I am trying to write a test case for my listView that contains some links. When the user clicks on a link, a certain action should be performed, and it is for this action that I wish to write a test case for. I can get a handle on the ListView by using the wicketTester.getLastRenderedPage

ListView multiple windows

2007-11-16 Thread wheleph
user successfully logs in with IE. 2. The user presses Ctrl+N 3. Static html-page containing info that my app doesn't support multiple windows gets displayed in a new window. 4. The user clicks on a link that is located within ListView in the initial window and 5. Gets the following exception:

ListView in Forms

2008-08-06 Thread Markus Haspl
hi, first, i'm a very newbie to wicket... I want to add a ListView in a Form. The ListView has two Texfields and one Checkbox each row. When i submit the form the values are still the old ones. here the code: private class InputForm extends Form { IModel pluginPropertiesModel; p

ListView and Serialization

2008-09-21 Thread Alexander Anguiano
ListView and Serialization First i like to say it was the framework that I was waiting for years. Great job guys! I did buy the wicket in action book which I did find very helpful but it didn't help me solve this problem. I have problems with the ListView and Serialization. I'm

OnChangeAjaxBehavior in ListView

2008-09-29 Thread Anders Peterson
Hi, I'm using OnChangeAjaxBehavior with a TextField. The TextField is in a table cell that is repeated using a ListView. When I change the value of one of the TextFields more than one of the underlying models get updated - the one that was supposed to be updated and all following in the

Re: ListView broken?

2008-10-23 Thread Dipu
getting a classcast exception in ListView that is stumping me. > > This is the error message (top few lines) > > WicketMessage: Error attaching this container for rendering: > [MarkupContainer [Component id = questioneditform]] > > Root cause: &g

Re: ListView broken?

2008-10-23 Thread Serkan Camurcuoglu
QuestionAndAnswer instance to a List. Everyone is using ListView and it cannot be broken this way :) Pieter Claassen wrote: > > I am getting a classcast exception in ListView that is stumping me. > > This is the error message (top few lines) > > WicketMessage: Error attach

Re: ListView broken?

2008-10-23 Thread pieter claassen
using ListView and it cannot be broken this way :) Pieter Claassen wrote: I am getting a classcast exception in ListView that is stumping me. This is the error message (top few lines) WicketMessage: Error attaching this container for rendering: [MarkupContainer [Component id

Re: ListView broken?

2008-10-23 Thread pieter claassen
with items in it which is not of the type QuestionAndAnswer try iterating through the list and logging the class name of each item in it Dipu On Thu, Oct 23, 2008 at 9:46 AM, pieter claassen <[EMAIL PROTECTED] >wrote: I am getting a classcast exception in ListView that is stump

Re: ListView broken?

2008-10-23 Thread Dipu
mplate.getQuestions() is returning a list with items in it >> which is not of the type QuestionAndAnswer >> >> try iterating through the list and logging the class name of each item in >> it >> >> Dipu >> >> >> >> On Thu, Oct 23, 2008 at 9:

Re: ListView broken?

2008-10-23 Thread pieter claassen
ROTECTED] wrote: I am getting a classcast exception in ListView that is stumping me. This is the error message (top few lines) WicketMessage: Error attaching this container for rendering: [MarkupContainer [Component id = questioneditform]] Root cause: java.lang.ClassCastException: com.musma

Re: ListView broken?

2008-10-23 Thread Dipu
t; looks like template.getQuestions() is returning a list with items in it >>> >>>> which is not of the type QuestionAndAnswer >>>> >>>> try iterating through the list and logging the class name of each item >>>

Re: ListView broken?

2008-10-23 Thread Martijn Dashorst
The classcastexception happens on retrieving the N-th item from the list. The class cast tries to cast the model object of the listview to a List. Apparently the argument to the listview is not a List, but somethign that returns a QuestionAndAnswer. Are you looking at the correct ListView (i.e

Re: ListView broken?

2008-10-23 Thread pieter claassen
} private class QuestionEditForm extends Form { private Template template; public QuestionEditForm(String id, TemplateWebModel templatemodel) { super(id); template = (Template) templatemodel.getObj

Re: ListView broken?

2008-10-23 Thread James Carman
ion(qanda); > > WicketApplication.get().getTemplateFactory().store(template); >setResponsePage(new TemplateEditPage(new > TemplateWebModel(template))); > } >} > >private class QuestionEditForm extends Form { >

Re: ListView broken?

2008-10-23 Thread Serkan Camurcuoglu
I suspect there may be a strange interaction with compound property models, since the name of your listview is questions and you also have a getQuestions() method in your upper level model object.. I'm just guessing but can you try to change the name of your listview to "questionList&q

Re: ListView broken?

2008-10-23 Thread Johan Compagner
What are you doing there? You get a model object from the listitem And then you are calling setmodel(compound) on the listview itself? Why is that then you are changing the model of the listview inside the loop that it goes over them creating listitems! On 10/23/08, pieter claassen <[EM

Re: ListView broken?

2008-10-23 Thread Jeremy Thomerson
> And then you are calling setmodel(compound) on the listview itself? > Why is that then you are changing the model of the listview inside the > loop that it goes over them creating listitems! > > On 10/23/08, pieter claassen <[EMAIL PROTECTED]> wrote: > > I am getting

Re: ListView broken?

2008-10-23 Thread pieter claassen
Johan Compagner <[EMAIL PROTECTED]>wrote: What are you doing there? You get a model object from the listitem And then you are calling setmodel(compound) on the listview itself? Why is that then you are changing the model of the listview inside the loop that it goes over them creating li

Re: ListView broken?

2008-10-23 Thread James Carman
ohan Compagner >> <[EMAIL PROTECTED]>wrote: >> >>> What are you doing there? >>> You get a model object from the listitem >>> And then you are calling setmodel(compound) on the listview itself? >>> Why is that then you are changing the model of

LoadableDetachableModel in Listview

2008-12-08 Thread Benjamin Ernst
Hi everybody, I have a little Problem with LDMs: I have a page with a ListView and for each item in the ListView the user can open a modalWindow to edit the item. My Problem is, that I don't want to persist the item to the DB from the modalWindow. Only after the User confirms the changes i

DataView vs ListView

2009-01-06 Thread Dane Laverty
I've been trying to understand when DataView would come in handy. I have a SQL database table with about 1,000,000 rows. The user can enter a search string, and my application returns a list of all the rows that match the search string. This list might be over 10,000 rows. At first I thought th

DropDownChoice in ListView

2009-03-21 Thread Alexander Lohse
Hi, I am encountering a strange problem when adding DropDownChoices to a ListView. Displaying and retrieving values works fine, BUT the values are lost during errorous form submission. The following ListView is added to a form. When the form is submitted successful all ModelObjects are

Scriptaculous and ListView

2009-04-08 Thread Curtis Cooley
I'm having a hard time find an example on how to add scriptaculous effects to a list view. Here is what I've tried: tableContainer.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(5)) { @Override protected void onPostProcessTarget(AjaxRequestTarget target) {

listview and windowmodal

2009-05-02 Thread pickeu
hi, i'm a beginner in Wicket and i'm trying this framework. first i'm building un CRUD application for users. I have a UserBasePage listing all users using a listView. each line is made of the name of the user and an edit link. All i want to do is to edit the user properties in

CheckGroup and ListView

2010-04-12 Thread Mohammad Salman
I use a ListView to populate a CheckGroup with Check objects. It works fine and all the check boxes are displayed properly. But when I try to add a new check box to the ones previously added, I keep getting the new one along with the previous ones in duplicate. Here is my code. (I apologize

Size of ListView

2010-07-21 Thread Danny van Bruggen
Items of each ListView still accounted for about 100k. Since all the data in the tables is read only, we're wondering if we can skip serializing the ListItems. Is this possible? Is there another approach? Danny van Bruggen --

Re: Listview excel

2010-08-30 Thread Martin Makundi
Hi! Just change the mime type of the page to "application/vnd.ms-excel". ** Martin 2010/8/30 Altuğ Bilgin Altıntaş : > Hi all; > > Is it possible to export a ListView to excel. Should i use always Datat

Re: Listview excel

2010-08-30 Thread Altuğ Bilgin Altıntaş
n/vnd.ms-excel". > > ** > Martin > > 2010/8/30 Altuğ Bilgin Altıntaş : > > Hi all; > > > > Is it possible to export a ListView to excel. Should i use always > Datatable > > ? > > > > Thanks. > > > > -

Re: ListView magic

2010-11-14 Thread Martin Makundi
You can set row hidden if you want, no problem: ajaxRequestTarget.addComponent(listItem.setVisible(false)); ** Martin 2010/11/14 meduolis : > > Hello, I want to do with listview some things, like after removing one item, > don't repaint other items. Or maby this component is

Re: Grouped ListView

2012-03-12 Thread Andrea Del Bene
Hi, you could use two nested ListView. You can write something like this in your markup: then in your code you can use component RepeatingView and WebMarkupContainer: RepeatingView view = new RepeatingView("groupRepeater"); List itemList = Arrays.asList("a&q

IMarkupResourceStreamProvider for ListView

2010-12-03 Thread alex shubert
Hello I got the following error trying to provide custom render for ListView >> WicketMessage: The component(s) below failed to render. A common problem is >> that you have added a component in code but forgot to reference it in the >> markup (thus the component will never

Re: Dynamic listview

2013-05-28 Thread Martin Grigorov
Hi, You can use ListView#removeAll() in #detach() but then this ListView should not have any action components like Link/Button and any FormComponents in its items, because they won't be reachable. It can have pretty much only Labels inside. On Tue, May 28, 2013 at 10:01 AM, Martin Ma

Re: Dynamic listview

2013-05-28 Thread Martin Makundi
Is it possible to have the listview rebuild itself upon form processing to allow formcomponents? ** Martin 2013/5/28 Martin Grigorov : > Hi, > > You can use ListView#removeAll() in #detach() but then this ListView should > not have any action components > like Link/Button and any

Re: Dynamic listview

2013-05-28 Thread Ernesto Reinaldo Barreiro
, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > Hi! > > Is it possible to implement a listview that evaporates on detach and > builds itself again whenever one iterates over its items? > > We have a huge page with thuge listview and the > serialization/deser

Re: Dynamic listview

2013-05-28 Thread Martin Makundi
gt; > > On Tue, May 28, 2013 at 11:01 AM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > >> Hi! >> >> Is it possible to implement a listview that evaporates on detach and >> builds itself again whenever one iterates over its items? >> &g

Re: Dynamic listview

2013-05-28 Thread Martin Grigorov
You can try to do this in org.apache.wicket.markup.html.form.Form#process(IFormSubmitter) { rebuild(); super.process(formSubmitter); } On Tue, May 28, 2013 at 10:29 AM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > Is it possible to have the listview rebuild itself

Re: Dynamic listview

2013-05-28 Thread Ernesto Reinaldo Barreiro
, 2013 at 11:01 AM, Martin Makundi < > > martin.maku...@koodaripalvelut.com> wrote: > > > >> Hi! > >> > >> Is it possible to implement a listview that evaporates on detach and > >> builds itself again whenever one iterates over its items? > >&

Re: Dynamic listview

2013-05-28 Thread Martin Makundi
evaporates its body on detach. >> >> ** >> Martin >> > >> > >> > On Tue, May 28, 2013 at 11:01 AM, Martin Makundi < >> > martin.maku...@koodaripalvelut.com> wrote: >> > >> >> Hi! >> >> >> >> Is it poss

Re: Dynamic listview

2013-05-28 Thread Martin Grigorov
th serverside and html ;) > > > You can try to do this in > > org.apache.wicket.markup.html.form.Form#process(IFormSubmitter) { > > rebuild(); > > super.process(formSubmitter); > >} > > Ok. Will try something along these lines. > You will need to call #inp

  1   2   3   4   5   6   7   8   9   10   >