Hi Phanndra, MYFAQ page in my case is going to be a page which consists of several parts - header, footer and left nav bar which I think will be ftl templates and the 4th part is actually the content entered via cms. So I see it this way - at the time of request the page is built by including header, footer and left navbar and retrieving content from cms. The same structure will be used for other pages like about us, contacts etc - 3 elements - header, footer and navbar left unchanged but content from cms will be varying depending on page.
G.Venkata Phanindra wrote: > > Hi All, > I would like to know is the page MYFAQ is a static page or a > dynamic page. Ifs its a static page we can always use the content > management > module to show that page as any other content page like about us only > thing > we need to do is have a request wrapper that internally sends a url which > will send the actual url to the ofbiz. > > I think this will reduce the number of entries into controller.xml > > Regards > > Phanndra. > > > > On Jan 10, 2008 8:05 AM, BJ Freeman <[EMAIL PROTECTED]> wrote: > >> I only sent one of these >> not sure how two got here >> >> >> BJ Freeman sent the following on 1/9/2008 5:45 PM: >> > Strange.. I would change the controller but even after five minutes >> the >> > new info was not available. Branch 4.0 >> > not sure about trunk >> > >> > David E Jones sent the following on 1/9/2008 5:27 PM: >> >> It can definitely be changed on the fly and the cache cleared (or by >> >> default in dev mode the cache is cleared every 10 seconds anyway, or >> >> rather cache lines expire after 10 seconds). >> >> >> >> The better approach for dynamic URLs like this is definitely the CMS >> >> stuff though, like Adrian mentioned. There are some pretty good tools >> >> and examples for this that come OOTB. Just search for "cms" in the >> >> controller.xml file in the ecommerce component. >> >> >> >> -David >> >> >> >> >> >> On Jan 9, 2008, at 6:19 PM, BJ Freeman wrote: >> >> >> >>> Thanks scott. >> >>> Guess I missed how to un-cache them. >> >>> I always have to reboot. >> >>> >> >>> >> >>> Scott Gray sent the following on 1/9/2008 4:17 PM: >> >>>> On 10/01/2008, BJ Freeman <[EMAIL PROTECTED]> wrote: >> >>>>> The controller, at this point, is loaded once at boot up. >> >>>>> >> >>>> >> >>>> No it's not, I regularly put new entries in the controller at run >> >>>> time and >> >>>> they are available straight away. It may be cached, I'm not sure, >> >>>> but they >> >>>> definitely aren't just loaded during startup. >> >>>> >> >>>> Regards >> >>>> Scott >> >>>> >> > >> > >> > >> > >> >> > > > -- > G.Venkata Phanindra > Mob:: 9849852989 > > -- View this message in context: http://www.nabble.com/Some-API-to-Edit-controller.xml--tp14723536p14740372.html Sent from the OFBiz - User mailing list archive at Nabble.com.
