Hello everyone,

Now that I have my "loopback actions" sorted my refactoring venture 
continues. I'm currently rewriting code that partly dates back to Agavi 
0.9.0 - makes me feel nostalgic :)

But, the actual question: I have a product search module and several 
modules that use the product search. Product search is used to add 
product rows in several places in my application. One can also just 
browse the products to look for some product info.

I'm hoping to get ideas how to implement this product search so that it 
can be used to add product rows to any other part of my application.

Currently it works like this: every module has its own 
ProductSearchAction and AddProductAction. When a user triggers the 
search module's ProductSearchAction stores the URL of AddProductAction 
in the session and forwards to product search module. From the search 
result page user can select products and they are then posted to the URL 
stored in the session. If there is no URL search result is shown without 
a form.

This works pretty nicely already but I'd like to hear if someone has 
another ways to achieve this.


-veikko

-- 
Veikko Mäkinen
[email protected]
044 5910 413
http://blog.veikko.fi

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to