Robert, There is no support for this to show ajax product screen differently. But for sure you can do it by customizing the CatalogUrlServlet. Add one more screen for product say 'AjaxProduct', and use this in additional public final string same as PRODUCT_REQUEST in the CatalogUrlServlet.java.
Checkout the code in LoginWorker.java file (isAjax () method), it will return the true/false if request is AJAX or not, implement the similar check in servlet and render the page you want. HTH! -- Rishi Solanki Manager, Enterprise Software Development HotWax Media Pvt. Ltd. Direct: +91-9893287847 http://www.hotwaxmedia.com On Tue, May 1, 2012 at 4:42 AM, Robert G. <[email protected]> wrote: > Hello, > > *Situation:* > In a few situations I want to show product details in a layered java script > window...in example, when the custumer is on a product and get offered the > associated products. When I click on one associated product, the customer > gets redirected to its product details. But here I wanna open like a popup > window to show the details, that the customer do not leave the product page > where he came from. > > *Problem:* > The product detail page is rendered with all other page content (main > decorator, left and right content bar, header, footer etc.) which I do not > want to show on the popup window. > > So I am searching for the java class, or whatever where the class decides > (depending from the URL) which view mapping in controller.xml is called. > There I want to make like an if/else case to decide which view mapping is > called. > > In the case that I want just the details without all other content, I would > append sth. to the URL like: > > normal Url: .../ecommerce/massive-gizmo-GZ-7000-p > append sth:/ecommerce/massive-gizmo-GZ-7000-p*?showStandaloneDetails* > > I checked the CatalogUrlFilter.java and the CatalogUrlServlet.java files, > but I couldnt find it. > > Or is it the completly wrong way how i'm trying to do it? Is there a much > simpler way to achieve it? > > Can anyone help me here on it? > > Thanks a lot, > > Robert > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/controller-xml-product-view-mapping-tp4599668.html > Sent from the OFBiz - User mailing list archive at Nabble.com. >
