Conditional redirect from controller

2010-05-28 Thread varun bhansaly
Hi, I have developed a custom service which would send different values for an OUT param. Depending on the value of the OUT param, the controller should redirect to the appropriate view. Please let me know if such conditional redirect is possible & has any precedence in existing components. -- R

Re: Conditional redirect from controller

2010-05-28 Thread Sascha Rodekamp
Hi Varun, jep thats possible. The controller can work with different response messages, just return something different from success or error and make a mapping in your request-map. Cheers Sascha 2010/5/28 varun bhansaly > Hi, > I have developed a custom service which would send different val

Re: Conditional redirect from controller

2010-05-28 Thread varun bhansaly
Thanks Sascha, could u plz help further by pasting some example code. On Fri, May 28, 2010 at 2:19 PM, Sascha Rodekamp wrote: > Hi Varun, > > jep thats possible. The controller can work with different response > messages, just return something different from success or error and make a > mapping

Re: Conditional redirect from controller

2010-05-28 Thread varun bhansaly
Found the soln to the problemmethod to be used is ServiceUtil.returnMessage('MEESAGE_TO_BE_SENT_TO_CONTROLLER', null); Thanks Sascha for the idea.. On Fri, May 28, 2010 at 4:25 PM, varun bhansaly wrote: > Thanks Sascha, could u plz help further by pasting some example code. > > On Fri, May 2

Re: Conditional redirect from controller

2010-05-28 Thread Patrick
Hi Varun, Look at this file ecommerce/webapp/ecommerce/WEB-INF/controller.xml On Fri, May 28, 2010 at 3:17 AM, varun bhansaly wrote: > Hi, > I have developed a custom service which would send different values > for an OUT param. > Depending on the value of the OUT param,

Re: Conditional redirect from controller

2010-05-28 Thread varun bhansaly
Thanks Patrick, I was aware of this where event type="java", was specifically looking for event type="service" & found a soln. to that On Fri, May 28, 2010 at 8:21 PM, Patrick wrote: > Hi Varun, > Look at this file > > ecommerce/webapp/ecommerce/WEB-INF/controller.xml > >   >   path="org.ofbiz.

Re: Conditional redirect from controller

2010-05-28 Thread Matt Warnock
We just got a note from a major customer requiring that we become and be certified EDI compliant for the following documents: 850 - Purchase Order 810 - Invoice 860 - PO Change 855 - PO Acknowledgement I get the impression it's mostly a data mapping issue. Their selected vendor for EDI certificati

Re: Conditional redirect from controller

2010-05-28 Thread BJ Freeman
you can get around this by using an VAN supplier and interface to them otherwise look ar $10,000 or more for certification. Most VAN suppliers make there money on the interface to their VAN system that are forms. I use openas2 which is not ceritfied. = BJ Freeman http://bj

Re: Conditional redirect from controller

2010-05-28 Thread BJ Freeman
Matt: also look are the specialpurpose\oagis it has code you can use. the interface is REST you can Convert it to EDI the vans want. = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation

Re: Conditional redirect from controller

2010-05-29 Thread Matt Warnock
Not the answer I was hoping for, but thanks BJ. Guess I need to look for a VAN, or use theirs. -- Matt Warnock RidgeCrest Herbals, Inc. On Fri, 2010-05-28 at 16:35 -0700, BJ Freeman wrote: > you can get around this by using an VAN supplier and interface to them > otherwise look ar $10,000 or mo

Re: Conditional redirect from controller

2010-05-29 Thread Matt Warnock
Thanks again, I'll take a look. -- Matt Warnock RidgeCrest Herbals, Inc. On Fri, 2010-05-28 at 17:18 -0700, BJ Freeman wrote: > Matt: also look are the > specialpurpose\oagis > it has code you can use. > the interface is REST you can Convert it to EDI the vans want. > >

EDI and VANS was Conditional redirect from controller

2010-05-30 Thread BJ Freeman
I should clarify that openas2 has been certified by users, just the app is not certified OOTB. there are a couple of VAN suppliers that will do the integration you need for a hefty price. A couple will put on your monthly charges, spread out over a year. The customer will be looking at about $3,00

Re: EDI and VANS was Conditional redirect from controller

2010-05-30 Thread Matt Warnock
Yeah, I'm not crazy about the choice, but my chances of changing Vitamin Shoppe's mind is about nil. :/ I just have to certify with their VAN vendor. Guess I'll find out what they want first, then shop around. -- Matt Warnock RidgeCrest Herbals, Inc. On Sun, 2010-05-30 at 06:16 -0700, BJ Freem