inmethod grid / contributing?

2010-04-29 Thread nino martinez wael
Hi I have a deletecolumn and a editabledropdownpropertycolumn i'd like
to contribute.. So how should I do it? Are Matej still project lead
or?

regards Nino

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Bench

2010-04-29 Thread Martin Grigorov
Take a look at http://sourceforge.net/projects/stump/

I don't use it so I cannot tell anything about it.

On Wed, 2010-04-28 at 14:50 -0700, Igor Vaynberg wrote:
 if it was still supported i would recommend it.
 
 -igor
 
 On Wed, Apr 28, 2010 at 12:44 PM, Brian Mulholland
 blmulholl...@gmail.com wrote:
  Would you say those conveniences are worth it?  In other words, would
  you recommend Wicket Bench (or any other plugins)?
 
  Brian Mulholland
 
  On Wed, Apr 28, 2010 at 3:36 PM, Igor Vaynberg igor.vaynb...@gmail.com 
  wrote:
  wicket does not require any tooling because it is 90% java code and
  10% markup. so none of ide plugins provide must have features, only
  conveniences
 
  -igor
 
  On Wed, Apr 28, 2010 at 12:17 PM, Brian Mulholland
  blmulholl...@gmail.com wrote:
  Hi,
 
  Wicket n00b here.  How good is Wicket Bench?  I read on the site that
  it lacks maintainers and it didn't seem like it had alot of powerful
  features, just some nice convenience things.  Is it a must have?
  Also, is it compatible with the latest Wicket release?  I didn't see
  anything on the wicket bench site saying what version of wicket it was
  compatible with.
 
  Brian Mulholland
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: DropDownChoice problem

2010-04-29 Thread Josh Kamau
Thanks all for your response.

It worked after i override the equals Method on my beans

Thanks again

Regards
Josh

On Wed, Apr 28, 2010 at 5:28 PM, Ernesto Reinaldo Barreiro 
reier...@gmail.com wrote:

 I remember having a similar problem because missing the equal on some
 bean. Could that be the case?

 Ernesto

 On Wed, Apr 28, 2010 at 4:20 PM, Josh Kamau joshnet2...@gmail.com wrote:
  Hi team
 
  I need your help
 
  I am using a DropDownChoiceT in a form as follows:
 
  DropDownChoiceNationality lstNationality = new
  DropDownChoiceNationality(nationality,getNationalities());
 
   The form has a CompoundPropertyModel
 
  After adding the dropdown to the form, i am able to save the record
  properly. However, when i display a  form with an existing record,
 
  the DropDownChoice is not showing the current 'nationality' and it is
 only
  showing Choose One;
 
  When i replace is with a textfield, the correct record is displayed. Is
  where could i be going wrong?
 
  Regards.
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




RE: Wicket Bench

2010-04-29 Thread Stefan Lindner
Stump does not build with maven. Stump provides no downloadable plugin at this 
time. I was in contact with the programmer and he told me that he has not much 
time to support it but he wants to provide a first version in the next few 
weeks.

there is another litte plugin qwickie hat has currently much less support 
than Bench/Stump but provides a plugin-update-location for an early version 
0.2.2.
this version supports clicking onto a wicket:id tag and opening the .java/.html 
file vice versa.

Stefan


-Ursprüngliche Nachricht-
Von: Martin Grigorov [mailto:mcgreg...@e-card.bg]
Gesendet: Do 29.04.2010 08:56
An: users@wicket.apache.org
Betreff: Re: Wicket Bench
 
Take a look at http://sourceforge.net/projects/stump/

I don't use it so I cannot tell anything about it.

On Wed, 2010-04-28 at 14:50 -0700, Igor Vaynberg wrote:
 if it was still supported i would recommend it.
 
 -igor
 
 On Wed, Apr 28, 2010 at 12:44 PM, Brian Mulholland
 blmulholl...@gmail.com wrote:
  Would you say those conveniences are worth it?  In other words, would
  you recommend Wicket Bench (or any other plugins)?
 
  Brian Mulholland
 
  On Wed, Apr 28, 2010 at 3:36 PM, Igor Vaynberg igor.vaynb...@gmail.com 
  wrote:
  wicket does not require any tooling because it is 90% java code and
  10% markup. so none of ide plugins provide must have features, only
  conveniences
 
  -igor
 
  On Wed, Apr 28, 2010 at 12:17 PM, Brian Mulholland
  blmulholl...@gmail.com wrote:
  Hi,
 
  Wicket n00b here.  How good is Wicket Bench?  I read on the site that
  it lacks maintainers and it didn't seem like it had alot of powerful
  features, just some nice convenience things.  Is it a must have?
  Also, is it compatible with the latest Wicket release?  I didn't see
  anything on the wicket bench site saying what version of wicket it was
  compatible with.
 
  Brian Mulholland
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




RE: Wicket Bench

2010-04-29 Thread Stefan Lindner
Stump does not build with maven. Stump provides no downloadable plugin at this 
time. I was in contact with the programmer and he told me that he has not much 
time to support it but he wants to provide a first version in the next few 
weeks.

there is another litte plugin qwickie hat has currently much less support 
than Bench/Stump but provides a plugin-update-location for an early version 
0.2.2.
this version supports clicking onto a wicket:id tag and opening the .java/.html 
file vice versa.

Stefan


Re: GAE serialization issues

2010-04-29 Thread Joe Fawzy
Hi
Any ideas?
please i need these info asap ,i appreciate your help
thanks
Joe


On Wed, Apr 28, 2010 at 1:45 AM, Joe Fawzy joewic...@gmail.com wrote:

 Hi everybody
 i am developing an application on the GAE/J platform using wicket
 as i read through this list ,it seems that it is not a recommended
 combination due to some issues , specially the serialization issue
 BUT i have to deploy on appengine, so what is there any recommendations?

 OK, the real question is:
does anyone used the custom PageStore implementation described in:
 http://letsgetdugg.com/2010/02/07/clustering-wicket-for-fun-and-profit/
 or in:
 http://www.mail-archive.com/users@wicket.apache.org/msg46421.html

 in production and  found that of real help?
 if so which one is better?
 what are the side effects of using each?
 can i have an implementation that fallback to normal sessionStore?

 Another question
 as its related to seialization,  can using JBoss serialization lib make
 difference in GAE case? as it is much faster
 if so where are the hooks , or the interfaces to replace the default
 serialization
 BTW. i know it cannot be used in the core wicket due to its LGPL lic.

 Thanks
 Joe





Re: reload a tab from TabbedPanel

2010-04-29 Thread Ernesto Reinaldo Barreiro
Use AbstractTab for the tab(s) you want to be reloaded every-time? Or
roll your own implementation of ITab doing exactly what you need?

Ernesto

On Wed, Apr 28, 2010 at 7:26 PM, tubin gen fachh...@gmail.com wrote:
 I am using AjaxTabbedPanel and it contains   several tabs all  of them are
  PanelCachingTab  , can I reload  any one  tab  through ajax ?


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: reload a tab from TabbedPanel

2010-04-29 Thread Ernesto Reinaldo Barreiro
OT.

By the way, on wicket-extensions-1.4.7.jar I see there is file
PanelCachingTab.java.orig file that seems o be a copy of
PanelCachingTab source code? What is this file needed for? Is this the
unintended result of a copy and paste?

Best,

Ernesto

On Thu, Apr 29, 2010 at 9:45 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
 Use AbstractTab for the tab(s) you want to be reloaded every-time? Or
 roll your own implementation of ITab doing exactly what you need?

 Ernesto

 On Wed, Apr 28, 2010 at 7:26 PM, tubin gen fachh...@gmail.com wrote:
 I am using AjaxTabbedPanel and it contains   several tabs all  of them are
  PanelCachingTab  , can I reload  any one  tab  through ajax ?



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicket:message attribute in regular html tags with child components

2010-04-29 Thread Xavier López
Oh, now I think I got your point... I don't know how wicket treats markup
internally, I could expect some markup substitution on the attribute
wicket:message='summary:myResource'  by summary='This table'

In fact, I have tried using another tag, without any child Wicket Component

input type=text wicket:message=title:myresource/input

And Wicket is treating it correctly...

input type=text wicket:message=Test Title/input

Thanks,
Xavier


2010/4/28 Igor Vaynberg igor.vaynb...@gmail.com

 i meant where do you expect the localized message to be rendered into?
 if wicket:message is attached to the table tag?

 -igor

 On Wed, Apr 28, 2010 at 9:52 AM, Xavier López xavil...@gmail.com wrote:
  Hi, I'd expect it to lie in the ContainerComponent's folder, assuming
  ContainerComponent is the the Page or Panel associated with that
 markup...
  In other words, getString(myresource) from that component would find
 it.
 
  Does this have something to do with that error ?
 
  Thanks,
  Xavier
 
  2010/4/28 Igor Vaynberg igor.vaynb...@gmail.com
 
  when you have markup like:
 
  table wicket:message=summary:myresource
   trtdspan wicket:id=myComponent/span/td/tr
   /table
 
  where do you expect your localized message to go?
 
  -igor
 
  On Wed, Apr 28, 2010 at 2:51 AM, Xavier López xavil...@gmail.com
 wrote:
   Hi,
  
   I have just bumped into a particular situation, I think I know what's
   happening but I'd like to share and, if possible, have it confirmed
 here.
   Additionally, some info on this subject could be added to the wiki
 page
  
 
 https://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%27sXHTMLtags-Attributewicket:message
  
   In a regular table html tag (wicket:id-less), I'd like to have a
   wicket:message attribute (for the 'summary' attribute) in order to
 take
   advantage from wicket's localization mechanism. Under this tag, I have
 a
   number of wicket components. My surprise came when I found the
 following
   error:
  
   table wicket:message=summary:myresource
   trtdspan wicket:id=myComponent/span/td/tr
   /table
  
   org.apache.wicket.markup.MarkupException: Unable to find component
 with
  id
   'myComponent' in [MarkupContainer [Component id =
 _message_attr_303]].
  This
   means that you declared wicket:id=myComponentin your markup, but that
  you
   either did not add the component to your page at all, or that the
  hierarchy
   does not match.
  
  
  
   The first suspicious thig I noticed here was the _message_attr_303
 in
  the
   component hierarchy. Digging through the code, I found in
   WicketMessageTagHandler that this id is given to components with
   wicket:message attributes and without wicket:id's.
  
   So, maybe what's happening here is that the table tag is being
 assigned
  a
   wicket:id and Wicket expects me to add 'myComponent' to the
 automatically
   generated _message_attr_303... Should it be fixed by modelling the
  table
   tag with a webmarkupcontainer and adding 'myComponent' to it ?
  
   Cheers,
   Xavier
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Klein bottle for rent--inquire within.


SV: wicket:message attribute in regular html tags with child components

2010-04-29 Thread Wilhelmsen Tor Iver
 i meant where do you expect the localized message to be rendered into?
 if wicket:message is attached to the table tag?

Well, since he is using the attribute version of wicket:message, I guess he 
expects the output from

  table wicket:message=summary:myresource

to be

table summary=localized message with key myresource

- Tor Iver



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Wickets in China

2010-04-29 Thread aaron.wang
Hello guys,

Any body here from China? Would like to know if there is anybody interesting in 
translate some book/docs into Chinese, if you are interested, please drop me a 
message.

Thanks
Aaron
IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged.  If it is not
intended for you, please delete it immediately unread.  The internet
cannot guarantee that this communication is free of viruses, interception
or interference and anyone who communicates with us by email is taken
to accept the risks in doing so.  Without limitation, OOCL and its affiliates
accept no liability whatsoever and howsoever arising in connection with
the use of this email.  Under no circumstances shall this email constitute
a binding agreement to carry or for provision of carriage services by OOCL,
which is subject to the availability of carrier's equipment and vessels and
the terms and conditions of OOCL's standard bill of lading which is also
available at http://www.oocl.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicket:message attribute in regular html tags with child components

2010-04-29 Thread Xavier López
Yes, you are right, Wilhelmsen, and that's what Wicket is doing, I
understand that correctly. The problem is, when I have a wicket component
attached to that table tag. Wicket seems to treat that table as a
component, with autogenerated wicket:id, and logically, expects the child
components (in markup) to be added to it. I suppose I have to manually model
that table into a wicket component (i.e. WebMarkupContainer) in order to
be able to add those child components to it and let Wicket process the
component hierarchy correctly...


BTW, I just noticed I wrote the last message incorrectly:

input type=text wicket:message=title:myresource/input

Turns into

input type=text title=Test Title/input


Thanks,
Xavier

2010/4/29 Wilhelmsen Tor Iver toriv...@arrive.no

  i meant where do you expect the localized message to be rendered into?
  if wicket:message is attached to the table tag?

 Well, since he is using the attribute version of wicket:message, I guess he
 expects the output from

   table wicket:message=summary:myresource

 to be

 table summary=localized message with key myresource

 - Tor Iver



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



Re: DataView disappearing after AJAX update

2010-04-29 Thread Reinout van Schouwen

Replying to myself.

I've worked around the problem by not using the AJAX method to update my
DataView but by reloading the page with different pageparameters after a
selection instead. Far from ideal, but the best I could come up with.

Alternative solutions still welcome!

Op maandag 26-04-2010 om 14:20 uur [tijdzone +0200], schreef Reinout van
Schouwen:
 I'm having trouble figuring out the following problem.
 
 I have a div (coupled to a WebMarkupContainer) containing a form and a
 list. The list is populated with a DataView, which gets its data from a
 SortableDataProvider that I have implemented according to the repeater
 examples provided on wicket-library.com.
 
 What I want to do is to change the sort order based on a user selection
 from a DropDownChoice in the form. I've used an
 AjaxFormComponentUpdatingBehavior to listen to the dropdown's onchange
 event. In the onUpdate() method I change the sortparam in the
 dataprovider according to the selection and then add the container div
 to the AjaxRequestTarget.
 
 What I expect to happen is that the DataView updates to reflect the new
 sort order. What actually happens is that the DataView completely
 disappears from the page! (The Wicket Ajax Debug window shows me that
 the spot where the list should be in the HTML within the ajax-response
 is indeed empty.)
 
 I've already set the outputmarkupid and the outputmarkupplaceholdertag
 properties on the container to true but that makes no difference. 
 
 Any ideas are appreciated!
 
 regards,
 



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: DataView disappearing after AJAX update

2010-04-29 Thread Robert Kimotho
I have experienced the same issue, the only difference is that
when there was no data in the database the dropdown crashed and could
not display any
values, I'm also using AjaxFormComponentUpdatingBehavior onchange
Still trying to find a solution.

Kimotho.

On Thu, Apr 29, 2010 at 12:21 PM, Reinout van Schouwen
rein...@gmail.com wrote:

 Replying to myself.

 I've worked around the problem by not using the AJAX method to update my
 DataView but by reloading the page with different pageparameters after a
 selection instead. Far from ideal, but the best I could come up with.

 Alternative solutions still welcome!

 Op maandag 26-04-2010 om 14:20 uur [tijdzone +0200], schreef Reinout van
 Schouwen:
 I'm having trouble figuring out the following problem.

 I have a div (coupled to a WebMarkupContainer) containing a form and a
 list. The list is populated with a DataView, which gets its data from a
 SortableDataProvider that I have implemented according to the repeater
 examples provided on wicket-library.com.

 What I want to do is to change the sort order based on a user selection
 from a DropDownChoice in the form. I've used an
 AjaxFormComponentUpdatingBehavior to listen to the dropdown's onchange
 event. In the onUpdate() method I change the sortparam in the
 dataprovider according to the selection and then add the container div
 to the AjaxRequestTarget.

 What I expect to happen is that the DataView updates to reflect the new
 sort order. What actually happens is that the DataView completely
 disappears from the page! (The Wicket Ajax Debug window shows me that
 the spot where the list should be in the HTML within the ajax-response
 is indeed empty.)

 I've already set the outputmarkupid and the outputmarkupplaceholdertag
 properties on the container to true but that makes no difference.

 Any ideas are appreciated!

 regards,




 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: DataView disappearing after AJAX update

2010-04-29 Thread Ernesto Reinaldo Barreiro
Can you post the code that was failing somewhere? Maybe someone can
spot what is happening;-)

Best,

Ernesto

On Thu, Apr 29, 2010 at 11:21 AM, Reinout van Schouwen
rein...@gmail.com wrote:

 Replying to myself.

 I've worked around the problem by not using the AJAX method to update my
 DataView but by reloading the page with different pageparameters after a
 selection instead. Far from ideal, but the best I could come up with.

 Alternative solutions still welcome!

 Op maandag 26-04-2010 om 14:20 uur [tijdzone +0200], schreef Reinout van
 Schouwen:
 I'm having trouble figuring out the following problem.

 I have a div (coupled to a WebMarkupContainer) containing a form and a
 list. The list is populated with a DataView, which gets its data from a
 SortableDataProvider that I have implemented according to the repeater
 examples provided on wicket-library.com.

 What I want to do is to change the sort order based on a user selection
 from a DropDownChoice in the form. I've used an
 AjaxFormComponentUpdatingBehavior to listen to the dropdown's onchange
 event. In the onUpdate() method I change the sortparam in the
 dataprovider according to the selection and then add the container div
 to the AjaxRequestTarget.

 What I expect to happen is that the DataView updates to reflect the new
 sort order. What actually happens is that the DataView completely
 disappears from the page! (The Wicket Ajax Debug window shows me that
 the spot where the list should be in the HTML within the ajax-response
 is indeed empty.)

 I've already set the outputmarkupid and the outputmarkupplaceholdertag
 properties on the container to true but that makes no difference.

 Any ideas are appreciated!

 regards,




 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Form, panel and model reuse (newbie)

2010-04-29 Thread Iain Reddick

In reply to (6) and (7):

6) Do your construction in the constructor.

7) If the JFreeChartImage component implementation is the one seen 
here:  http://wiki.github.com/tita/tita/wicket-jfreechart-tutorial , 
then it needs re-worked, as it only supports a static image. Instead, 
the constructor should take a model that returns the JFreeChart, which 
should be generated from your data list each time getObject() is called 
(e.g. a dynamic model).


Anatoliy Knyazev wrote:

Dear Wicket users,

I'm seeking your advice on designing a small Wicket application. I'm new to
the list, hope I'm not violating any rules with such newbie questions. I've
studied the examples, the sample phonebook app and the mailing list archive
on Nabble, yet I haven't find the best practices for what I'm trying to
achieve. Please feel free to point me to an appropriate example if I'm
asking too much questions.

Basically, I'd like to have one form, used to search POJOs, shared
by several pages, each showing the set of POJOs in a different way, e.g. as
a number of JFreeChart images, as a ListView with limited number of items,
as a DataView with paging.

The Form seems pretty straightforward:

 public class TasksFilterForm extends FormTasksFilter
  

{

 public TasksFilterForm(String id, IModelTasksFilter tasksFilterModel)

 {

 super(id, new CompoundPropertyModelTasksFilter(tasksFilterModel));



 add(new DateTimeField(beginDate));


 add(new DateTimeField(endDate));

/*skipped the rest of fields

 }

}




In order to reuse it, I've created a Panel:

public class TasksFilterPanel extends Panel

{

 private IModelArrayListCleoTask tasksModel;


  

 public TasksFilterPanel(String id, final TasksDAO tasksDAO,
IModelTasksFilter tasksFilterModel, final IModelArrayListCleoTask
tasksModel)



 {

 super(id, tasksModel);

 this.tasksModel = tasksModel;

 add(new TasksFilterForm(tasksform, tasksFilterModel) {

 @Override

 protected void onSubmit()

 {

 tasksModel.setObject(tasksDAO.findByFilter(getModelObject()));

 }

 });

 }


1)I'm passing the IModelArrayListCleoTask tasksModel as the constructor
argument for the panel, is this correct?
2)And what is the most appropriate model for a list of POJOs? Can you show
me an example with an LDM, perhaps? What if I'd like to access it from the
DataView?
3)I'm not using any ORM, just simple DAOs. Which is the most elegant way to
inject them? I've checked the Spring+Wicket entry in the wiki, the approach
described there works for pages, not for panels.

The TasksFilterPanel is in turn used in a number of pages like this one:

  

 public class ClusterPage extends SVAStartPage

{

 private TasksFilter tasksFilter = new TasksFilter();

 ArrayListCleoTask tasks;

 private PropertyModelArrayListCleoTask tasksModel;




 public ClusterPage() throws SQLException
  

 {

 ArrayListString users = getDB().getCleoUsersArray();

 tasksFilter.setUsers(users);




 tasksModel = new PropertyModelArrayListCleoTask(this, tasks);
  

 add(new TasksFilterPanel(tasksformpanel, new TasksDAO(getDB()), new


PropertyModelTasksFilter(this, tasksFilter), tasksModel));
  

 add(new TasksChartPanel(taskschartpanel, tasksModel));

 }

}

4)Should I hold a reference to the tasksModel and tasksFilter from the


TasksPage (declare it as a field, as above) ?
5)Where should I populate the tasksFilter with default values (e.g. existing
users) - in the page? But then I'd have to copy/paste the code across
pages...

In order to display the POJOs, I've created a Panel that shows JFreeChart
images.

  

public class TasksChartPanel extends Panel



{

 private IModelArrayListCleoTask tasksModel;

 private JFreeChartImage cImage;


  

 public TasksChartPanel(String id, IModelArrayListCleoTask tasksModel)



 {

 super(id, tasksModel);

 this.tasksModel = tasksModel;

 }


  

 @Override



 protected void onBeforeRender()

 {

 super.onBeforeRender();


  

 ArrayListCleoTask tasks = tasksModel.getObject();




  

 IntervalXYDataset ds = ... /* produce a dataset from tasks */



 JFreeChart chart = ChartFactory.createScatterPlot(/* plot parameters */)

 if (cImage != null) remove(cImage);


  

 cImage = new JFreeChartImage(cImage, chart, 1500, 550);



 add(cImage);

 }


  

 @Override



 public boolean isVisible()

 {

 return tasksModel.getObject() != null;

 }

}

 6) I don't have a solid understanding of the request cycle yet, so I'm
doing all the processing in the onBeforeRender - is this correct?
7)With this approach, I have to manually remove and re-add the image every
time the set of POJOs changes - perhaps Wicket can take care of this, I just
didn't find a way?

That's it for now, I've tried to pinpoint the questions and not be too
vague.

Thank you in advance!
Anatoliy.

  



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: 

RE: Notice: PDF Creator toolbar causes modal window onShow redirect

2010-04-29 Thread Martin Asenov
Can someone assist?

Thanks in advance!

Best,
Martin

-Original Message-
From: Martin Asenov [mailto:mase...@velti.com] 
Sent: Wednesday, April 28, 2010 2:14 PM
To: users@wicket.apache.org
Subject: Notice: PDF Creator toolbar causes modal window onShow redirect

Hello everyone!

I noticed that the PDF Creator toolbar, installed on the browser, causes 
ModalWindows to get closed and the page to be immediately redirected to some 
other page (usually a search engine page).

Please advice...

Best,
Martin



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: DataView disappearing after AJAX update

2010-04-29 Thread Robert Kimotho
I have experienced the same issue, the only difference is that
when there was no data in the database the dropdown crashed and could
not display any
values, I'm also using AjaxFormComponentUpdatingBehavior onchange

Here is a section of my code:-

final WebMarkupContainer commentListContainer = new
WebMarkupContainer(commentListContainer);
commentListContainer.setOutputMarkupId(true);

final DropDownChoiceString cats = new DropDownChoiceString(cat_select,
new PropertyModelString(new VComment(), category)
, category.getCategoriesByType(vcomment), new ChoiceRendererString());
cats.setOutputMarkupId(true);
add(cats);

final AbstractDataProviderVComment dataProvider = (VCommentDataProvider)
getDataProvider(params);

final DataViewVComment commentView = new DataViewVComment(commentList,
dataProvider, 10) {

@Override
protected void populateItem(ItemVComment item) {.}
  }
commentListContainer.add(commentView);

cats.add(new AjaxFormComponentUpdatingBehavior(onchange) {
@Override
protected void onUpdate(AjaxRequestTarget target) {
params.put(cat, cats.getModelObject());
getDataProvider(params);
target.addComponent(commentListContainer);
target.addComponent(cats);
}
});

Kimotho.

On Thu, Apr 29, 2010 at 12:42 PM, Ernesto Reinaldo Barreiro 
reier...@gmail.com wrote:
 Can you post the code that was failing somewhere? Maybe someone can
 spot what is happening;-)

 Best,

 Ernesto

 On Thu, Apr 29, 2010 at 11:21 AM, Reinout van Schouwen
 rein...@gmail.com wrote:

 Replying to myself.

 I've worked around the problem by not using the AJAX method to update my
 DataView but by reloading the page with different pageparameters after a
 selection instead. Far from ideal, but the best I could come up with.

 Alternative solutions still welcome!

 Op maandag 26-04-2010 om 14:20 uur [tijdzone +0200], schreef Reinout van
 Schouwen:
 I'm having trouble figuring out the following problem.

 I have a div (coupled to a WebMarkupContainer) containing a form and a
 list. The list is populated with a DataView, which gets its data from a
 SortableDataProvider that I have implemented according to the repeater
 examples provided on wicket-library.com.

 What I want to do is to change the sort order based on a user selection
 from a DropDownChoice in the form. I've used an
 AjaxFormComponentUpdatingBehavior to listen to the dropdown's onchange
 event. In the onUpdate() method I change the sortparam in the
 dataprovider according to the selection and then add the container div
 to the AjaxRequestTarget.

 What I expect to happen is that the DataView updates to reflect the new
 sort order. What actually happens is that the DataView completely
 disappears from the page! (The Wicket Ajax Debug window shows me that
 the spot where the list should be in the HTML within the ajax-response
 is indeed empty.)

 I've already set the outputmarkupid and the outputmarkupplaceholdertag
 properties on the container to true but that makes no difference.

 Any ideas are appreciated!

 regards,




 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: AjaxFormComponentUpdatingBehavior breaking wicket's convention ? Which alternatives then?

2010-04-29 Thread Douglas Ferguson
I use it all the time.

In order to get the cancel button and back buttons to work, I do of these 
things:

1) I back my model with an evicted hibernate proxy, and I only save the proxy 
when the user submits the form. Therefore any change made to the model are 
transient unless i specifically persist.
2) I back my model with a custom model object specifically for the form, when 
the form is submitted I copy the values to my persisted object. If they hit 
cancel then I reload a new model object, or clear the current one...

On Apr 28, 2010, at 5:24 PM, Joseph Pachod wrote:

 
 hi
 
 I was quite surprised, recently, by the AjaxFormComponentUpdatingBehavior, 
 which directly updates the model. At the time it seemed pretty  odd but I 
 moved on. 
 
 then I recently read this article from Igor, Building a ListEditor form 
 component 
 (http://wicketinaction.com/2008/10/building-a-listeditor-form-component/comment-page-1/)
  which states in order to be a good citizen in Wicket’s form processing a 
 component should Implement atomic form updates – this is perhaps the most 
 important  feature. If the user moves an item up or down in the list this 
 change  should not be reflected in the model object until the form is  
 submitted.
 
 However, the AjaxFormComponentUpdatingBehavior completely breaks this 
 important aspect, by going directly at the model. Furthermore, the javadoc 
 doesn't illustrate how dangerous it is. For example, setting 
 setDefaultFormProcessing on some cancel button won't work anymore. Neither 
 does the javadoc hint at some ways to avoid this.
 
 Among the way to avoid this, I currently mostly see the 
 AjaxFormValidatingBehavior or writing an ad hoc form component copying his 
 initial state and implementing IFormModelUpdateListener.
 
 Thinking back on my initial issue, a Behavior which would only update the 
 input of the component would have been resolved it (issue was a listview 
 where adding a line would loose non submitted input on textfields). 
 
 A such AjaxFormComponentConvertingBehavior is in fact easy to do, it's a 
 copy of AjaxFormComponentUpdatingBehavior with a shortened onEvent: 
 @Override
protected final void onEvent(final AjaxRequestTarget target) {
final FormComponent? formComponent = getFormComponent();
 
if (getEvent().toLowerCase().equals(onblur)  disableFocusOnBlur()) 
 {
target.focusComponent(null);
}
 
try {
formComponent.inputChanged();
onUpdate(target);
} catch (RuntimeException e) {
onError(target, e);
 
}
}
 
 Such a behavior would resolve some of the use case currently  wrongly 
 addressed by the AjaxFormComponentUpdatingBehavior. It could even be its 
 parent class and be spoken of in its javadoc. 
 
 What your feelings on that ?
 
 sorry for this long post and thanks in advance for your answers (which most 
 likely will show I've missed something obvious there!).
 
 ++
 joseph


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: DataView disappearing after AJAX update

2010-04-29 Thread Ernesto Reinaldo Barreiro
Just some questions... How does DataView's dataProvider get's affected
by the code on onUpdate? Does  getDataProvider(params); recreate it?
Then the instance stored on DataView is different from the one you
retrieve with getDataProvider(params)? Why not implement a
SortableDataProvider, keep a local copy of it, pass it to DataView and
update it's sort state on the onUpdate method?

Ernesto

On Thu, Apr 29, 2010 at 1:51 PM, Robert Kimotho kimot...@gmail.com wrote:
 I have experienced the same issue, the only difference is that
 when there was no data in the database the dropdown crashed and could
 not display any
 values, I'm also using AjaxFormComponentUpdatingBehavior onchange

 Here is a section of my code:-

 final WebMarkupContainer commentListContainer = new
 WebMarkupContainer(commentListContainer);
        commentListContainer.setOutputMarkupId(true);

 final DropDownChoiceString cats = new DropDownChoiceString(cat_select,
 new PropertyModelString(new VComment(), category)
 , category.getCategoriesByType(vcomment), new ChoiceRendererString());
 cats.setOutputMarkupId(true);
 add(cats);

 final AbstractDataProviderVComment dataProvider = (VCommentDataProvider)
 getDataProvider(params);

 final DataViewVComment commentView = new DataViewVComment(commentList,
 dataProvider, 10) {

 @Override
 protected void populateItem(ItemVComment item) {.}
  }
 commentListContainer.add(commentView);
 
 cats.add(new AjaxFormComponentUpdatingBehavior(onchange) {
 @Override
 protected void onUpdate(AjaxRequestTarget target) {
 params.put(cat, cats.getModelObject());
 getDataProvider(params);
 target.addComponent(commentListContainer);
 target.addComponent(cats);
 }
 });

 Kimotho.

 On Thu, Apr 29, 2010 at 12:42 PM, Ernesto Reinaldo Barreiro 
 reier...@gmail.com wrote:
 Can you post the code that was failing somewhere? Maybe someone can
 spot what is happening;-)

 Best,

 Ernesto

 On Thu, Apr 29, 2010 at 11:21 AM, Reinout van Schouwen
 rein...@gmail.com wrote:

 Replying to myself.

 I've worked around the problem by not using the AJAX method to update my
 DataView but by reloading the page with different pageparameters after a
 selection instead. Far from ideal, but the best I could come up with.

 Alternative solutions still welcome!

 Op maandag 26-04-2010 om 14:20 uur [tijdzone +0200], schreef Reinout van
 Schouwen:
 I'm having trouble figuring out the following problem.

 I have a div (coupled to a WebMarkupContainer) containing a form and a
 list. The list is populated with a DataView, which gets its data from a
 SortableDataProvider that I have implemented according to the repeater
 examples provided on wicket-library.com.

 What I want to do is to change the sort order based on a user selection
 from a DropDownChoice in the form. I've used an
 AjaxFormComponentUpdatingBehavior to listen to the dropdown's onchange
 event. In the onUpdate() method I change the sortparam in the
 dataprovider according to the selection and then add the container div
 to the AjaxRequestTarget.

 What I expect to happen is that the DataView updates to reflect the new
 sort order. What actually happens is that the DataView completely
 disappears from the page! (The Wicket Ajax Debug window shows me that
 the spot where the list should be in the HTML within the ajax-response
 is indeed empty.)

 I've already set the outputmarkupid and the outputmarkupplaceholdertag
 properties on the container to true but that makes no difference.

 Any ideas are appreciated!

 regards,




 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: DataView disappearing after AJAX update

2010-04-29 Thread Ernesto Reinaldo Barreiro
Kimotho,

Following example works.



package test.dataview;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class TestBean implements Serializable {

private static final long serialVersionUID = 1L;

public static final ListString CATEGORIES = new ArrayListString();

static {
CATEGORIES.add(A);
CATEGORIES.add(B);
CATEGORIES.add(C);
};

private static ListTestBean beans;

String name;
String category;

public TestBean() {
}

public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getCategory() {
return category;
}
public void setCategory(String category) {
this.category = category;
}   

public static ListTestBean getBeans() {
if(beans == null) {
beans = new ArrayListTestBean();
for(String cat: new String[]{A,B})
for(int i=0; i10; i++) {
TestBean bean = new TestBean();
bean.setCategory(cat);
bean.setName(Name  + cat +  i);
beans.add(bean);
}
}
return beans;
}
}



package test.dataview;

import java.util.ArrayList;
import java.util.List;

import org.apache.wicket.markup.repeater.data.IDataProvider;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.Model;

public class TestBeanDataProvider implements IDataProviderTestBean {

private static final long serialVersionUID = 1L;

private TestBean filter;

private ListTestBean list;

/**
 *
 */
public TestBeanDataProvider() {
}

public java.util.Iterator? extends TestBean iterator(int first, int 
count) {
return getList().iterator();
};

public int size() {
return getList().size();
}

public IModelTestBean model(TestBean object) {
return new ModelTestBean(object);
}

ListTestBean getList() {
if(filter == null || filter.category == null) {
return TestBean.getBeans();
}
if(list == null) {
list = new ArrayListTestBean();
for(TestBean bean: TestBean.getBeans()){
if(bean.category.equals(filter.category))
list.add(bean);
}
}
return list;
}


public void detach() {
list = null;
};

public TestBean getFilter() {
return filter;
}

public void setFilter(TestBean filter) {
this.filter = filter;
}
}

-

package test.dataview;

import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehavior;
import org.apache.wicket.markup.html.WebMarkupContainer;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.form.DropDownChoice;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.markup.repeater.Item;
import org.apache.wicket.markup.repeater.data.DataView;
import org.apache.wicket.model.Model;

public class TestDataViewPanel extends Panel {

private static final long serialVersionUID = 1L;

private WebMarkupContainer toRepaint;

private TestBean bean;

private TestBeanDataProvider dataProvider;

/**
 * Constructor that is invoked when page is invoked without a session.
 *
 * @param parameters
 *Page parameters
 */
public TestDataViewPanel(String id) {
super(id);

bean = new TestBean();

dataProvider = new TestBeanDataProvider();


toRepaint = new WebMarkupContainer(toRepaint);
toRepaint.setOutputMarkupId(true);

add(toRepaint);

FormTestBean form = new FormTestBean(form);

toRepaint.add(form);

DropDownChoiceString category = new
DropDownChoiceString(category, new ModelString() {

private static final long serialVersionUID = 1L;

@Override

Wicket Wiki

2010-04-29 Thread Brian Mulholland
I must be in some minority given that the problem hasn't been noticed
and fixed, but does anyone else have issues seeing the code example on
the Wiki site?  I have to view source and pick them out from the code
in order to see them.  The rest of the site renders fine, but those
sections show up as thin blue lines (almost like custom HRs).

For example, I have attached a screenshot of what this page looks like
in my browser (every page on the wiki with source code sections looks
the same):
https://cwiki.apache.org/WICKET/using-custom-converters.html

At work I am using MSIE 6, but at home i use Google Chrome.  They both
do this.  Any maintainers of the wiki on this list who might want to
pass that along to someone who can fix the style sheet or whatever
might be causing it?

-- 
Brian Mulholland


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Re: Wicket Wiki

2010-04-29 Thread Ernesto Reinaldo Barreiro
I also noticed that yesterday... I just though was some side effect of
the attack suffered a few days ago???

Ernesto

On Thu, Apr 29, 2010 at 3:48 PM, Brian Mulholland
blmulholl...@gmail.com wrote:
 I must be in some minority given that the problem hasn't been noticed
 and fixed, but does anyone else have issues seeing the code example on
 the Wiki site?  I have to view source and pick them out from the code
 in order to see them.  The rest of the site renders fine, but those
 sections show up as thin blue lines (almost like custom HRs).

 For example, I have attached a screenshot of what this page looks like
 in my browser (every page on the wiki with source code sections looks
 the same):
 https://cwiki.apache.org/WICKET/using-custom-converters.html

 At work I am using MSIE 6, but at home i use Google Chrome.  They both
 do this.  Any maintainers of the wiki on this list who might want to
 pass that along to someone who can fix the style sheet or whatever
 might be causing it?

 --
 Brian Mulholland



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Any indicator for Ajax-Rendering?

2010-04-29 Thread MattyDE

Yeah you're right... but i think i have to describe my problem i another way.

I have two linked DropDownBoxes and i want intially on Page-Rendering that
the second (child) drop downbox is filled by the initial value of the first
box.

the linking is done with my own onChange handler

protected void onChange(AjaxRequestTarget target, T newSelection){ };

the best would be, i could use this  handler for initial rendering and
ajax-onChange, cause there i've implemented the processing of filling the
second drop down box By newSelection!

Thanks for any Hints!
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Any-indicator-for-Ajax-Rendering-tp2016955p2075498.html
Sent from the Wicket - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Wiki

2010-04-29 Thread Brian Mulholland
I've been noticing it for about two weekswhich is about how long
I've worked with Wicket.  :)

On 4/29/10, Ernesto Reinaldo Barreiro reier...@gmail.com wrote:
 I also noticed that yesterday... I just though was some side effect of
 the attack suffered a few days ago???

 Ernesto

 On Thu, Apr 29, 2010 at 3:48 PM, Brian Mulholland
 blmulholl...@gmail.com wrote:
 I must be in some minority given that the problem hasn't been noticed
 and fixed, but does anyone else have issues seeing the code example on
 the Wiki site?  I have to view source and pick them out from the code
 in order to see them.  The rest of the site renders fine, but those
 sections show up as thin blue lines (almost like custom HRs).

 For example, I have attached a screenshot of what this page looks like
 in my browser (every page on the wiki with source code sections looks
 the same):
 https://cwiki.apache.org/WICKET/using-custom-converters.html

 At work I am using MSIE 6, but at home i use Google Chrome.  They both
 do this.  Any maintainers of the wiki on this list who might want to
 pass that along to someone who can fix the style sheet or whatever
 might be causing it?

 --
 Brian Mulholland



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Brian Mulholland
One of the greatest delusions in the world is the hope that the evils
in this world are to be cured by legislation.
--Thomas B. Reed (1886)

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: GAE serialization issues

2010-04-29 Thread jbrookover

I can only say that I've been using Wicket on GAE for awhile and it seems to
work pretty well, with some extra effort.  For now, I'm just using
HttpSessionStore.  I asked in the GAE forums about the performance there and
they said session storage made heavy use of the MemCache to keep performance
strong.  It is possible that Wicket can store very LARGE objects in the
SessionStore, but that may be an indication of poor page detaching.  After
making that improvement, my session data rarely exceeds 100K.

I may try out a pure MemCache version based on the link you provided, see if
I can get it lower and less dependent on the session.

The only other serialization issues I've noticed deal with changing model
objects across requests - I instead am forced to replace components on
occasion, instead of replacing model objects.  That's a hack right now and
I'll look into it later.

Don't know anything about JBoss.  

Jake
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/GAE-serialization-issues-tp2068427p2075571.html
Sent from the Wicket - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Wiki

2010-04-29 Thread Martin Schayna

It's problem only {code} segments in wiki pages :)

Workaround: you can see hidden text by editing page -- but you have to 
register.

Just click on Edit Page link, than on Preview tab.

Martin Schayna


On 29.4.2010 15:48, Brian Mulholland wrote:

I must be in some minority given that the problem hasn't been noticed
and fixed, but does anyone else have issues seeing the code example on
the Wiki site?  I have to view source and pick them out from the code
in order to see them.  The rest of the site renders fine, but those
sections show up as thin blue lines (almost like customHRs).

For example, I have attached a screenshot of what this page looks like
in my browser (every page on the wiki with source code sections looks
the same):
https://cwiki.apache.org/WICKET/using-custom-converters.html

At work I am using MSIE 6, but at home i use Google Chrome.  They both
do this.  Any maintainers of the wiki on this list who might want to
pass that along to someone who can fix the style sheet or whatever
might be causing it?


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Big Problem with TinyMCE

2010-04-29 Thread Brad Grier
I'm trying to use a TinyMCE editor on a form (itself belonging to a panel added 
to a page via Ajax). The form is submitted via an AjaxButton. From other posts 
here and elsewhere I found I had to call tinyMCE.triggerSave(true,true); 
before the submit to get the data into the textarea's model and then 
tinyMCE.idCounter=0; after the submit. I used an IAjaxCallDecorator to add 
these functions to the submit button.

The problem is that the form only submits with every other press of the button. 
When it fails, it looks like no script appended after the triggerSave runs. Can 
anyone help me out? I'm stuck.

Thanks,
Brad

Re: Strip header contributors from Ajax response.

2010-04-29 Thread DV

Good Afternoon,

I've working on this theme, and I found a solution to avoid the strip of our
resources.

On the Ajax Behavior, we put this lines:

ResourceStreamRequestTarget targetRes = new ResourceStreamRequestTarget( new
PackageResourceStream(MyScopeClass.class,resources/myJS.js));
targetRes.setFileName(MyJS.js);
RequestCycle.get().setRequestTarget(targetRes);


And, this way, we can still using our resources redered with the
HeadersConstriburtors


-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Strip-header-contributors-from-Ajax-response-tp2019993p2076267.html
Sent from the Wicket - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



AjaxFallbackDefaultDataTable Model Not Updating

2010-04-29 Thread Corbin, James
A co-worker of mine created an AjaxFallbackDefaultDataTable with editable 
cells.  In this case they are dropdowns.  She is dynamically adding rows to the 
table.  If she modifies one of the component drop down (PropertyModel) values 
in one of the cells and then adds a new row, the changes she made to the 
previous row(s) are lost.

She noticed that the setter method on the property is not called, but the 
getter is being called.  I'm pretty sure that if she submits the form the model 
would get updated (normal form processing) and her changes would be persisted 
to the model, but how can she get the model to update without submitting the 
form?

I seem to remember previous forum topics related to this issue, but couldn't 
remember the suggested solutions.

Does the solution have to do with selecting a different ItemReuseStrategy?

 Thanks,
J.D.