External login page and authentication issues

2008-03-14 Thread Deepaks
Hi, I have been working on a zk framework interfaced component. And having few issues with authentication. 1. I want to create a login page which is outside of the main ofbiz tabbed panel system. For that I have almost used the webcommon ftl page and works ok for login. But for other zul pages w

Communicating auth info while calling services through runSync

2008-02-04 Thread Deepaks
I have been trying to access certain services through runSync and am unable to get through. I always get "You must be logged in to complete the [create a EntityName] process." though I have turned auth=false just to test it out. But I think it should have authentication turned on anyways. So is t

Re: ZK view handler?

2008-02-03 Thread Deepaks
I have been experimenting with ZK. Actually im new to both ofbiz and ZK (I think its a dangerous mixture to be new to both). I have been using it just as zul pages (just as JSP) and I think you can use the same things as in jsp. But I think its not the ideal way to deal with things. Im having quit

Re: Calling a service from script

2008-01-30 Thread Deepaks
Well, solved that part. Seems the docs are old and things have changed. Got the fix from source. Now im getting "Cannot locate service by name (servicename)" Though, im sure it exists. -- View this message in context: http://www.nabble.com/Calling-a-service-from-script-tp15190744p15191450.htm

Calling a service from script

2008-01-30 Thread Deepaks
Basically I am trying to call a service from zk. Which is basically bsh afaik (from tags). I tried the method explained in service engine guide - usage section Creating a GenericDispatcher and using runSync("servicename",context); The problem seems to be associated with GenericDispatcher's co