Thanks for your reply.

I manged to get what I wanted by doing the following in the search
component class. I found it in the mail archives.


@Inject
private ComponentResources componentResources;

@OnEvent("submit")      
public Object doSomething(){
               Link searchLink;
               searchLink =
componentResources.createPageLink("TargetPageName", true, "context");
                        
                // add the search params to the URL
                // with the required param names
                searchLink.addParameter("foo",  "value1"));
                searchLink.addParameter("tbar", "value2");
                        
                return searchLink;
}

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to