hi Pranay tnx for reply

first place tnx by the work!!!! :)

y tried download the zip but is a 93.4 Kb size, is right? i try download it
9 times and always i receive a corrupted File :(

i say and my earlier message:

i follow the steps 1 to 11 detailed in the
"Creating the web app" section of the
tutorial<http://docs.ofbiz.org/pages/editpage.action?pageId=4432>and
when i start ofbiz and i put the addres
https://localhost:8443/practice/control/main

and load a blank page, when i put
http://localhost:8443/practice/control/main i receive a download dialog for
a main file. i'm curious and downlad it but is only 6 specials characters
file and no data nor "first practice" message i don't know what is wrong
with my files :(

somebody, know what happened or can fix the zip file for download ?

regards
Edson



2008/6/11 Pranay Pandey <[EMAIL PROTECTED]>:

> Hi Edson,
> Your question is not clear. Please be verbose when you are asking
> questions.
> BTW there is one zip file of source is also attached with this you can take
> a reference from that.
>
> Thanks & Regards
> --
> Pranay Pandey
>
>
> On Wed, Jun 11, 2008 at 3:38 AM, Edson Chavez <[EMAIL PROTECTED]>
> wrote:
>
> > thnx by effort but i have a problem i follow the steps in
> >
> > "Creating the web app on the back end" but when i try charge aplication i
> > cant see nothing only especial characters :
> >
> > somebody have same result?
> >
> > regards
> >
> > Edson
> >
> > 2008/6/6 RolandH <[EMAIL PROTECTED]>:
> >
> > > Hi Pranay,
> > >
> > > thanks for your answer, after this mail i found my real solution:
> > >
> > >   Map createPartyEmailAddressMap =
> > >       UtilMisc.toMap(
> > >              "emailAddress", context.get("emailAddress"),
> > >              "contactMechPurposeTypeId", "PRIMARY_EMAIL",
> > >              "userLogin", context.get("userLogin")
> > >              );
> > > userLogin holds the actual user, if I read existing code correctly.
> > >
> > > Thanks for your help,
> > > Roland
> > >
> > >
> > > Pranay Pandey wrote:
> > >
> > >> I hope this will be of help.
> > >> The service you are calling is createPartyEmailAddress requires
> > >> authentication so you need to send the userLogin value to it.
> > >> Something like this:
> > >>
> > >> // perform actions as the system user
> > >>            GenericValue userLogin =
> > >> delegator.findByPrimaryKeyCache("UserLogin",
> > UtilMisc.toMap("userLoginId",
> > >> "system"));
> > >>
> > >>            input = UtilMisc.toMap("userLogin", userLogin,
> > "emailAddress",
> > >> email, "partyId", "_NA_", "fromDate", fromDate,
> > >> "contactMechPurposeTypeId",
> > >> "OTHER_EMAIL");
> > >>            Map serviceResults =
> > >> dispatcher.runSync("createPartyEmailAddress", input);
> > >>            if (ServiceUtil.isError(serviceResults)) {
> > >>                throw new
> > >> GenericServiceException(ServiceUtil.getErrorMessage(serviceResults));
> > >>            }
> > >>
> > >>
> > >
> >
>

Reply via email to