great. Thanks :)

On Wed, May 9, 2012 at 5:28 PM, Atul Vani <[email protected]> wrote:

> Comments inline, mistakenly sent too soon.
>
>
> Thanks&  Regards
> Atul Vani
> Enterprise Software Developer
> HotWax Media Pvt. Ltd.
> http://www.hotwaxmedia.com/
> We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for
> yourself.
>
>
> On 05/09/2012 05:18 PM, Atul Vani wrote:
>
>> Without '@' these will be considered as HTML tags instead of freemarker
>> macros :)
>>
>>
> With '@', it will behave as it would have normally, the '/' has no
> effects. However, when this request will be hit, the 'login' request's view
> mapping will be overrided by 'checkout' view.
>
>
>  Thanks&  Regards
>> Atul Vani
>> Enterprise Software Developer
>> HotWax Media Pvt. Ltd.
>> http://www.hotwaxmedia.com/
>> We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for
>> yourself.
>>
>>
>> On 05/09/2012 03:37 PM, Malini Sharma wrote:
>>
>>> Hi,
>>>    Can anyone please guide me, what happens to the request like this:
>>> <ofbizurl>login/checkout</**ofbizUrl>  (login and checkout are just
>>> examples..)??
>>> login and checkout are two separate requests in controller.xml..?
>>>
>>>
>>> On Wed, May 9, 2012 at 2:06 PM, 
>>> nilesh_patil<nilesh_patil@**tudip.com<[email protected]>>
>>>  wrote:
>>>
>>>  Thank you very much
>>>>
>>>> On Tue, May 8, 2012 at 10:06 PM, Robert G. [via OFBiz]<
>>>> ml-node+s135035n4618010h80@n4.**nabble.com<ml-node%[email protected]>>
>>>>  wrote:
>>>>
>>>>  btw. not your ftl file is responsible to redirect you to the page after
>>>>> sending f.ex. a form...this does the controller.xml
>>>>>
>>>>> there you find things like:
>>>>>
>>>>> success, error and so on...so after a request is f.ex. successfully you
>>>>> can define the view mapping after it.
>>>>>
>>>>> in the controller.xml you see sth. like:
>>>>>
>>>>> *<request-map uri="login">
>>>>> <security https="true" auth="false"/>
>>>>> <event type="java" path="org.ofbiz.securityext.**login.LoginEvents"
>>>>> invoke="storeLogin"/>
>>>>> <response name="success" type="view" value="main"/>
>>>>> <response name="requirePasswordChange" type="view"
>>>>> value="requirePasswordChange"/**>
>>>>> <response name="error" type="view" value="login"/>
>>>>> </request-map>*
>>>>>
>>>>> you see, that there is an event type. This is worked through, and the
>>>>> login is stored in a session (I believe). If this was successfully, the
>>>>> java method, or service returns a "success", so you will get the view
>>>>>
>>>> with
>>>>
>>>>> the value "main" in this case. On an error you will get the view of the
>>>>> login again...this can happen, if f.ex. the session is invalid, the
>>>>> user
>>>>> typed in wrong login data and so on...
>>>>>
>>>>> the view mapping is referring to the views, which are defined at the
>>>>> end
>>>>> of the file (controller.xml). there is then defined another xml file to
>>>>>
>>>> get
>>>>
>>>>> the content of the view /next page...
>>>>>
>>>>> hope that helps you to understand the processes
>>>>>
>>>>>
>>>>> ------------------------------
>>>>>  If you reply to this email, your message will be added to the
>>>>> discussion
>>>>> below:
>>>>> http://ofbiz.135035.n4.nabble.**com/Ofbiz-url-**tp4616949p4618010.html<http://ofbiz.135035.n4.nabble.com/Ofbiz-url-tp4616949p4618010.html>
>>>>>  To unsubscribe from Ofbiz url, click here<
>>>>>
>>>> http://ofbiz.135035.n4.nabble.**com/template/NamlServlet.jtp?**
>>>> macro=unsubscribe_by_code&**node=4616949&code=**
>>>> bmlsZXNoX3BhdGlsQHR1ZGlwLmNvbX**w0NjE2OTQ5fDM3OTM4ODgxNQ==<http://ofbiz.135035.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4616949&code=bmlsZXNoX3BhdGlsQHR1ZGlwLmNvbXw0NjE2OTQ5fDM3OTM4ODgxNQ==>
>>>>
>>>>> .
>>>>> NAML<
>>>>>
>>>> http://ofbiz.135035.n4.nabble.**com/template/NamlServlet.jtp?**
>>>> macro=macro_viewer&id=instant_**html%21nabble%3Aemail.naml&**
>>>> base=nabble.naml.namespaces.**BasicNamespace-nabble.view.**
>>>> web.template.NabbleNamespace-**nabble.view.web.template.**
>>>> NodeNamespace&breadcrumbs=**notify_subscribers%21nabble%**
>>>> 3Aemail.naml-instant_emails%**21nabble%3Aemail.naml-send_**
>>>> instant_email%21nabble%**3Aemail.naml<http://ofbiz.135035.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>
>>>>>
>>>>>
>>>> --
>>>> View this message in context:
>>>> http://ofbiz.135035.n4.nabble.**com/Ofbiz-url-**tp4616949p4619742.html<http://ofbiz.135035.n4.nabble.com/Ofbiz-url-tp4616949p4619742.html>
>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>
>>>>

Reply via email to