i dont really understand what you are trying to do. what is your end goal to have displayed on the page? what are your inputs? where are they coming from?

-Igor


On 1/26/06, David Leangen <[EMAIL PROTECTED]> wrote:

Great, thanks!!

More below.

> > > if you want something dead simple check out OrderedRepeatingView
> > > in extensions. its like the listview but without anything
> > > automatic. there is an example usage in wicket-examples
> > > under repeaters.

> > I'm sure it is dead simple, but there's obviously something
> > I'm overlooking.

> the problem is here
>
>  <span wicket:id="item"/>

Ok, great!

My static, trivial example works fine. Thanks!

What I haven't grasped yet is how to pass in information dynamically.

I have an IPropertyModel for my query text, which, for instance, I am
able to use in a Label like so:

  Label result = new Label("result", getResult());

  private String getResult()
  {
      // Gets the current (dynamic) value
      String searchText = getSearchText();
      getSearchResult( searchText );
  }

That works (though I don't know if it's the "proper" way of doing it).

But how do I attach the data from getSearchResult() to my repeater? I
know that I can pass a parameter into the constructor of the repeater,
but I don't see how to use it.


Thanks for all the help, it's very precious!







-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to