Re: Page Redirection
Hi Jacques, Currently i have implemented using request-redirect only, But I want to give the user Go Back link which should take them back to parent page. Example:- Back button in the browser will always take back to the parent page. Regards, Naveen. On Tue, Oct 12, 2010 at 12:48 AM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Did you try request-redirect? There are plenty of examples Jacques From: Naveen Kumar naveen.new...@gmail.com Hi Bilgin, Thanks for the information, I know this trick, but I want to handle it differently like http-redirect. Regards, Naveen. On Mon, Oct 11, 2010 at 7:58 PM, Bilgin Ibryam bibr...@gmail.com wrote: There is no automatic way to change this behavior in the whole project at once. You have to do it manually by changing the controller.xml of the application you want changed. In general you have to change the success respond to go to the same edit/create screen. Bilgin On Mon, Oct 11, 2010 at 12:36 PM, Naveen Kumar naveen.new...@gmail.com wrote: Hi All, I have a problem with redierction. In ofbiz, after all the creation and update processes, the page is not redirected to the original page where the request for creation or update is invoked. Instead it stays on the new updated or created page. Is there any way to redirect the page to the parent page which actually invoked the CRUD operation? Regards, Naveen.
Re: Page Redirection
Naveen, See how it's done at https://localhost:8443/partymgr/control/editcontactmech?partyId=DemoCustomercontactMechId=9015 Jacques From: Naveen Kumar naveen.new...@gmail.com Hi Jacques, Currently i have implemented using request-redirect only, But I want to give the user Go Back link which should take them back to parent page. Example:- Back button in the browser will always take back to the parent page. Regards, Naveen. On Tue, Oct 12, 2010 at 12:48 AM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Did you try request-redirect? There are plenty of examples Jacques From: Naveen Kumar naveen.new...@gmail.com Hi Bilgin, Thanks for the information, I know this trick, but I want to handle it differently like http-redirect. Regards, Naveen. On Mon, Oct 11, 2010 at 7:58 PM, Bilgin Ibryam bibr...@gmail.com wrote: There is no automatic way to change this behavior in the whole project at once. You have to do it manually by changing the controller.xml of the application you want changed. In general you have to change the success respond to go to the same edit/create screen. Bilgin On Mon, Oct 11, 2010 at 12:36 PM, Naveen Kumar naveen.new...@gmail.com wrote: Hi All, I have a problem with redierction. In ofbiz, after all the creation and update processes, the page is not redirected to the original page where the request for creation or update is invoked. Instead it stays on the new updated or created page. Is there any way to redirect the page to the parent page which actually invoked the CRUD operation? Regards, Naveen.
Re: Page Redirection
Jacques, I have one doubt here, In ofbiz, for creation of new contact and update of old contact, it uses same editcontactmechhttps://localhost:8443/partymgr/control/editcontactmech?partyId=DemoCustomercontactMechId=9015, which has Go Back link, which will redirect to viewprofile. This behaviour is fine in Update process, because viewprofile is the parent page, but when creation, it will ask to select contact type based on contact type, new form will be generated, which has a Go Back link, which will again redirect to viewprofile. But, consider this scenario: I selected Contact Type as Domain Name instead of Email Address. So, now I hit the go back button, to change the contactmech and when I do so, it redirects me to viewprofile page instead of editconatctmech page. Regards, Naveen. On Tue, Oct 12, 2010 at 2:09 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Naveen, See how it's done at https://localhost:8443/partymgr/control/editcontactmech?partyId=DemoCustomercontactMechId=9015 Jacques From: Naveen Kumar naveen.new...@gmail.com Hi Jacques, Currently i have implemented using request-redirect only, But I want to give the user Go Back link which should take them back to parent page. Example:- Back button in the browser will always take back to the parent page. Regards, Naveen. On Tue, Oct 12, 2010 at 12:48 AM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Did you try request-redirect? There are plenty of examples Jacques From: Naveen Kumar naveen.new...@gmail.com Hi Bilgin, Thanks for the information, I know this trick, but I want to handle it differently like http-redirect. Regards, Naveen. On Mon, Oct 11, 2010 at 7:58 PM, Bilgin Ibryam bibr...@gmail.com wrote: There is no automatic way to change this behavior in the whole project at once. You have to do it manually by changing the controller.xml of the application you want changed. In general you have to change the success respond to go to the same edit/create screen. Bilgin On Mon, Oct 11, 2010 at 12:36 PM, Naveen Kumar naveen.new...@gmail.com wrote: Hi All, I have a problem with redierction. In ofbiz, after all the creation and update processes, the page is not redirected to the original page where the request for creation or update is invoked. Instead it stays on the new updated or created page. Is there any way to redirect the page to the parent page which actually invoked the CRUD operation? Regards, Naveen.
Re: Page Redirection
You should have a look at save-home-view and such in site-conf.xsd... Jacques From: Naveen Kumar naveen.new...@gmail.com Jacques, I have one doubt here, In ofbiz, for creation of new contact and update of old contact, it uses same editcontactmechhttps://localhost:8443/partymgr/control/editcontactmech?partyId=DemoCustomercontactMechId=9015, which has Go Back link, which will redirect to viewprofile. This behaviour is fine in Update process, because viewprofile is the parent page, but when creation, it will ask to select contact type based on contact type, new form will be generated, which has a Go Back link, which will again redirect to viewprofile. But, consider this scenario: I selected Contact Type as Domain Name instead of Email Address. So, now I hit the go back button, to change the contactmech and when I do so, it redirects me to viewprofile page instead of editconatctmech page. Regards, Naveen. On Tue, Oct 12, 2010 at 2:09 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Naveen, See how it's done at https://localhost:8443/partymgr/control/editcontactmech?partyId=DemoCustomercontactMechId=9015 Jacques From: Naveen Kumar naveen.new...@gmail.com Hi Jacques, Currently i have implemented using request-redirect only, But I want to give the user Go Back link which should take them back to parent page. Example:- Back button in the browser will always take back to the parent page. Regards, Naveen. On Tue, Oct 12, 2010 at 12:48 AM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Did you try request-redirect? There are plenty of examples Jacques From: Naveen Kumar naveen.new...@gmail.com Hi Bilgin, Thanks for the information, I know this trick, but I want to handle it differently like http-redirect. Regards, Naveen. On Mon, Oct 11, 2010 at 7:58 PM, Bilgin Ibryam bibr...@gmail.com wrote: There is no automatic way to change this behavior in the whole project at once. You have to do it manually by changing the controller.xml of the application you want changed. In general you have to change the success respond to go to the same edit/create screen. Bilgin On Mon, Oct 11, 2010 at 12:36 PM, Naveen Kumar naveen.new...@gmail.com wrote: Hi All, I have a problem with redierction. In ofbiz, after all the creation and update processes, the page is not redirected to the original page where the request for creation or update is invoked. Instead it stays on the new updated or created page. Is there any way to redirect the page to the parent page which actually invoked the CRUD operation? Regards, Naveen.
Page Redirection
Hi All, I have a problem with redierction. In ofbiz, after all the creation and update processes, the page is not redirected to the original page where the request for creation or update is invoked. Instead it stays on the new updated or created page. Is there any way to redirect the page to the parent page which actually invoked the CRUD operation? Regards, Naveen.
Re: Page Redirection
There is no automatic way to change this behavior in the whole project at once. You have to do it manually by changing the controller.xml of the application you want changed. In general you have to change the success respond to go to the same edit/create screen. Bilgin On Mon, Oct 11, 2010 at 12:36 PM, Naveen Kumar naveen.new...@gmail.comwrote: Hi All, I have a problem with redierction. In ofbiz, after all the creation and update processes, the page is not redirected to the original page where the request for creation or update is invoked. Instead it stays on the new updated or created page. Is there any way to redirect the page to the parent page which actually invoked the CRUD operation? Regards, Naveen.
Re: Page Redirection
Hi Bilgin, Thanks for the information, I know this trick, but I want to handle it differently like http-redirect. Regards, Naveen. On Mon, Oct 11, 2010 at 7:58 PM, Bilgin Ibryam bibr...@gmail.com wrote: There is no automatic way to change this behavior in the whole project at once. You have to do it manually by changing the controller.xml of the application you want changed. In general you have to change the success respond to go to the same edit/create screen. Bilgin On Mon, Oct 11, 2010 at 12:36 PM, Naveen Kumar naveen.new...@gmail.com wrote: Hi All, I have a problem with redierction. In ofbiz, after all the creation and update processes, the page is not redirected to the original page where the request for creation or update is invoked. Instead it stays on the new updated or created page. Is there any way to redirect the page to the parent page which actually invoked the CRUD operation? Regards, Naveen.
Re: Page Redirection
Did you try request-redirect? There are plenty of examples Jacques From: Naveen Kumar naveen.new...@gmail.com Hi Bilgin, Thanks for the information, I know this trick, but I want to handle it differently like http-redirect. Regards, Naveen. On Mon, Oct 11, 2010 at 7:58 PM, Bilgin Ibryam bibr...@gmail.com wrote: There is no automatic way to change this behavior in the whole project at once. You have to do it manually by changing the controller.xml of the application you want changed. In general you have to change the success respond to go to the same edit/create screen. Bilgin On Mon, Oct 11, 2010 at 12:36 PM, Naveen Kumar naveen.new...@gmail.com wrote: Hi All, I have a problem with redierction. In ofbiz, after all the creation and update processes, the page is not redirected to the original page where the request for creation or update is invoked. Instead it stays on the new updated or created page. Is there any way to redirect the page to the parent page which actually invoked the CRUD operation? Regards, Naveen.