Hi Chris, sorry for my pour English, i try to explain it completely.
we have two pages, each pages has its entity and probably its search parameteres in first entity i want to search X and Y properties. and in second entity i want to search Z, V and W properties each entity has its Service that implement the search method, first - i want to design a layout that let me have 2 dynamic parts, the first part for search parameters and the second part for show result, i don't now hot to build layout in T5 second - when search event fired it most gather parameters and call search pages service i want a write abstract code to use in both pages. On 9/23/07, Chris Lewis <[EMAIL PROTECTED]> wrote: > > Hi Mohammad, > > I'm not sure I completely understand. I think you have created a > component for rendering your search results, and I assume you have > created it to accept a parameter containing the results to display. So > you should be able to use it like this in your templates: > > ... > <div> > <t:searchresults results="results"/> > </div> > ... > > This assumes that you have a component named "SearchResults" and it > receives a Collection (List, Set, etc) of results in a parameter named > "results". > If you already have this, and your component implements your display > logic for the results, then you won't really be repeating any code. Of > course you may be talking about the logic to get your results, but I'm > not sure. > > Perhaps if you could explain a bit more, I could offer better help. > > good luck! > > Mohammad Shamsi wrote: > > Dear friends, > > > > i have a search box in my page layout, and a component for show list of > > items (like table and grid) > > > > i want to send search result to my grid component to show them, but i > > don't know how to do it > > > > i need it in all of my pages, and i don't want to repeat code in all > pages. > > > > any idea ? > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- sincerely yours M. H. Shamsi