Hi. Im having problems processing errors and success pages after calling a
service. Is there any documentation regarding when to use a specific type of response? I have the following questions in particular: - What is the difference between *request* and *view* - Setting the response type as either *request* or *view*, when I refresh my browser, the form previously submitted was still processed. If, however, I set the response type to *request-redirect-noparam *will not process the next form since no information was passed. I try not to use * request-redirect* to avoid displaying sensitive data on the URL. What other alternatives do i have? Thank you in advance. Ian |
suggest you go thru the
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Documentation+Index ian tabangay sent the following on 6/26/2008 9:27 PM: > Hi. Im having problems processing errors and success pages after calling a > service. Is there any documentation regarding when to use a specific type of > response? I have the following questions in particular: > - What is the difference between *request* and *view* > - Setting the response type as either *request* or *view*, when I refresh > my browser, the form previously submitted was still processed. If, however, > I set the response type to *request-redirect-noparam *will not process the > next form since no information was passed. I try not to use * > request-redirect* to avoid displaying sensitive data on the URL. What other > alternatives do i have? > Thank you in advance. > > > Ian > |
I have but its not updated. The
http://ofbiz.apache.org/docs/control.html#RequestHandler doesn't even describe what a response of type *request* is. The training videos barely touches on the difference of each types. In the end, my 2 questions are still unanswered. But thanks for your effort to help. Ian On Fri, Jun 27, 2008 at 3:29 PM, BJ Freeman <[hidden email]> wrote: > suggest you go thru the > http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Documentation+Index > > ian tabangay sent the following on 6/26/2008 9:27 PM: > > Hi. Im having problems processing errors and success pages after calling > a > > service. Is there any documentation regarding when to use a specific type > of > > response? I have the following questions in particular: > > - What is the difference between *request* and *view* > > - Setting the response type as either *request* or *view*, when I > refresh > > my browser, the form previously submitted was still processed. If, > however, > > I set the response type to *request-redirect-noparam *will not process > the > > next form since no information was passed. I try not to use * > > request-redirect* to avoid displaying sensitive data on the URL. What > other > > alternatives do i have? > > Thank you in advance. > > > > > > Ian > > > > |
Administrator
|
In reply to this post by BJ Freeman
Yes notably http://docs.ofbiz.org/x/PQM but of course all documents are very usefull. I mean at least read them before hoping to do
anything serious in OFBiz... Jacques From: "BJ Freeman" <[hidden email]> > suggest you go thru the > http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Documentation+Index > > ian tabangay sent the following on 6/26/2008 9:27 PM: >> Hi. Im having problems processing errors and success pages after calling a >> service. Is there any documentation regarding when to use a specific type of >> response? I have the following questions in particular: >> - What is the difference between *request* and *view* >> - Setting the response type as either *request* or *view*, when I refresh >> my browser, the form previously submitted was still processed. If, however, >> I set the response type to *request-redirect-noparam *will not process the >> next form since no information was passed. I try not to use * >> request-redirect* to avoid displaying sensitive data on the URL. What other >> alternatives do i have? >> Thank you in advance. >> >> >> Ian >> > |
Thanks. But Im already in the stage of refining my screen flows and possibly
preventing problems arriving from refreshing from a post request and unpopulated forms because of an error in processing a service. Unfortunately I noticed that this is also the same problem found in most screens on the demo of ofbiz so its not much of a help as well. Ian On Fri, Jun 27, 2008 at 4:29 PM, Jacques Le Roux < [hidden email]> wrote: > Yes notably http://docs.ofbiz.org/x/PQM but of course all documents are > very usefull. I mean at least read them before hoping to do anything serious > in OFBiz... > > Jacques > > From: "BJ Freeman" <[hidden email]> > > suggest you go thru the >> http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Documentation+Index >> >> ian tabangay sent the following on 6/26/2008 9:27 PM: >> >>> Hi. Im having problems processing errors and success pages after calling >>> a >>> service. Is there any documentation regarding when to use a specific type >>> of >>> response? I have the following questions in particular: >>> - What is the difference between *request* and *view* >>> - Setting the response type as either *request* or *view*, when I >>> refresh >>> my browser, the form previously submitted was still processed. If, >>> however, >>> I set the response type to *request-redirect-noparam *will not process >>> the >>> next form since no information was passed. I try not to use * >>> request-redirect* to avoid displaying sensitive data on the URL. What >>> other >>> alternatives do i have? >>> Thank you in advance. >>> >>> >>> Ian >>> >>> >> > |
In reply to this post by ian tabangay
http://docs.ofbiz.org/display/OFBTECH/Framework+Introduction+Videos+and+Diagrams
the # 7: UI Artifacts: Request, View, Screen, Form (20:43) is specific if you look at the code it is pretty clear. ian tabangay sent the following on 6/27/2008 1:23 AM: > I have but its not updated. The > http://ofbiz.apache.org/docs/control.html#RequestHandler doesn't even > describe what a response of type *request* is. The training videos barely > touches on the difference of each types. In the end, my 2 questions are > still unanswered. But thanks for your effort to help. > > > Ian > > On Fri, Jun 27, 2008 at 3:29 PM, BJ Freeman <[hidden email]> wrote: > >> suggest you go thru the >> http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Documentation+Index >> >> ian tabangay sent the following on 6/26/2008 9:27 PM: >>> Hi. Im having problems processing errors and success pages after calling >> a >>> service. Is there any documentation regarding when to use a specific type >> of >>> response? I have the following questions in particular: >>> - What is the difference between *request* and *view* >>> - Setting the response type as either *request* or *view*, when I >> refresh >>> my browser, the form previously submitted was still processed. If, >> however, >>> I set the response type to *request-redirect-noparam *will not process >> the >>> next form since no information was passed. I try not to use * >>> request-redirect* to avoid displaying sensitive data on the URL. What >> other >>> alternatives do i have? >>> Thank you in advance. >>> >>> >>> Ian >>> >> > |
Im sorry. I just rewatched the video you just mentioned but I didnt hear him
discuss about difference of each request type which was what I wanted to learn. Ian On Fri, Jun 27, 2008 at 4:43 PM, BJ Freeman <[hidden email]> wrote: > > http://docs.ofbiz.org/display/OFBTECH/Framework+Introduction+Videos+and+Diagrams > the # 7: UI Artifacts: Request, View, Screen, Form (20:43) is specific > if you look at the code it is pretty clear. |
if your looking for what can be done it is best to have a XML editor and
look at framework/webapp/dtd/site-conf.xsd this has the controller defined. then by doing a search in code for each you can see how they are used. ian tabangay sent the following on 6/27/2008 2:15 AM: > Im sorry. I just rewatched the video you just mentioned but I didnt hear him > discuss about difference of each request type which was what I wanted to > learn. > > > Ian > > On Fri, Jun 27, 2008 at 4:43 PM, BJ Freeman <[hidden email]> wrote: > >> http://docs.ofbiz.org/display/OFBTECH/Framework+Introduction+Videos+and+Diagrams >> the # 7: UI Artifacts: Request, View, Screen, Form (20:43) is specific >> if you look at the code it is pretty clear. > |
Free forum by Nabble | Edit this page |