Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Not allowed to create dwMine.setDWObject[setDWObject]

3 posts in General Discussion (old) Last posting was on 2000-02-29 03:17:15.0Z
Jorge Luzarraga C. Posted on 2000-02-25 16:06:23.0Z
Newsgroups: sybase.public.easerver
From: "Jorge Luzarraga C." <jluzarra@alboradasystems.com>
Subject: Not allowed to create dwMine.setDWObject[setDWObject]
Date: Fri, 25 Feb 2000 11:06:23 -0500
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 209.170.68.205
Message-ID: <347_ShMmE36f$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27806
Article PK: 159154

Hello Guys,

I have a problem while I'm trying to create an HTML Datawindow from
PowerDynamo.
Here is the script I have:

<!--SCRIPT
dwMine =
java.CreateComponent("DataWindow/HTMLGenerator","iiop://myhost:9000",
"jagadmin","","DataWindow/HTMLGenerator");
if ( dwMine != null ){
dwMine.setDWObject("web.pbl","d_web_tipprd");
dwMine.setHTMLObjectName("dwMine");

dwMine.setTrans("ODBC","ConnectString='DSN=myprofile;UID=user;PWD=password'"
,"","","","","");
retVal = dwMine.RetrieveEx("00640");
dwMine.setSelfLink(document.name,"");
dwMine.setWeight(true,true,true,true,true);
document.write(dwMine.Generate());
}
-->
but I got the following message on my browser:

Not allowed to create dwMine.setDWObject[setDWObject] near line 10 in
"/dw2.stm" Not allowed to create dwMine.setHTMLObjectName[setHTMLObjectName]
near line 11 in "/dw2.stm" Not allowed to create dwMine.setTrans[setTrans]
near line 12 in "/dw2.stm" Not allowed to create
dwMine.setSelfLink[setSelfLink] near line 14 in "/dw2.stm" Not allowed to
create dwMine.setWeight[setWeight] near line 15 in "/dw2.stm"

I don't know what it could be. Please help me.

TIA
--
Ing. Jorge Luzarraga C.
Analista de Sistemas
Alborada Systems, S.A.
www.alboradasystems.com


Jorge Luzarraga C. Posted on 2000-02-25 18:43:47.0Z
Newsgroups: sybase.public.easerver
From: "Jorge Luzarraga C." <jluzarra@alboradasystems.com>
Subject: Re: Not allowed to create dwMine.setDWObject[setDWObject]
Date: Fri, 25 Feb 2000 13:43:47 -0500
Lines: 54
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 209.170.68.205
Message-ID: <347_JExMCP8f$GA.274@forums.sybase.com>
References: <347_ShMmE36f$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27783
Article PK: 159135

I was digging the newsgroup and found related messages to my problem.

It's just that I can't understand why Dynamo complaints about it, if the
HTMLGenerator component is the one that comes with Jaguar, I had to redeploy
the component to another package, create the java stubs and only then it
worked.

Jorge Luzarraga C. <jluzarra@alboradasystems.com> wrote in message
news:ShMmE36f$GA.251@forums.sybase.com...
> Hello Guys,
>
> I have a problem while I'm trying to create an HTML Datawindow from
> PowerDynamo.
> Here is the script I have:
>
> <!--SCRIPT
> dwMine =
> java.CreateComponent("DataWindow/HTMLGenerator","iiop://myhost:9000",
> "jagadmin","","DataWindow/HTMLGenerator");
> if ( dwMine != null ){
> dwMine.setDWObject("web.pbl","d_web_tipprd");
> dwMine.setHTMLObjectName("dwMine");
>
>
dwMine.setTrans("ODBC","ConnectString='DSN=myprofile;UID=user;PWD=password'"
> ,"","","","","");
> retVal = dwMine.RetrieveEx("00640");
> dwMine.setSelfLink(document.name,"");
> dwMine.setWeight(true,true,true,true,true);
> document.write(dwMine.Generate());
> }
> -->
> but I got the following message on my browser:
>
> Not allowed to create dwMine.setDWObject[setDWObject] near line 10 in
> "/dw2.stm" Not allowed to create
dwMine.setHTMLObjectName[setHTMLObjectName]
> near line 11 in "/dw2.stm" Not allowed to create dwMine.setTrans[setTrans]
> near line 12 in "/dw2.stm" Not allowed to create
> dwMine.setSelfLink[setSelfLink] near line 14 in "/dw2.stm" Not allowed to
> create dwMine.setWeight[setWeight] near line 15 in "/dw2.stm"
>
> I don't know what it could be. Please help me.
>
> TIA
> --
> Ing. Jorge Luzarraga C.
> Analista de Sistemas
> Alborada Systems, S.A.
> www.alboradasystems.com
>
>


Larry Cermak[Team Sybase] Posted on 2000-02-29 03:17:15.0Z
Newsgroups: sybase.public.easerver
From: "Larry Cermak[Team Sybase]" <lcermak@ctpartners.com>
Subject: Re: Not allowed to create dwMine.setDWObject[setDWObject]
Date: Mon, 28 Feb 2000 21:17:15 -0600
Lines: 74
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: node6.dhcpchi.dslspeed.zyan.com 208.41.199.6
Message-ID: <347_LMIweSmg$GA.295@forums.sybase.com>
References: <347_ShMmE36f$GA.251@forums.sybase.com> <347_JExMCP8f$GA.274@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27597
Article PK: 158972

If you made a change to the HTMLGenerator component code and redeployed,
then you have to recomile the stubs. Sybase manually edited the idl to get
the upper case method names.

--

Larry Cermak [Team Sybase]
Corporate Technology Partners, Inc.
www.ctpartners.com
Web DataWindow Articles
(http://sdn.sybase.com/sdn/appdev/get_doc.stm?loc=1001708)

"Jorge Luzarraga C." <jluzarra@alboradasystems.com> wrote in message
news:JExMCP8f$GA.274@forums.sybase.com...
> I was digging the newsgroup and found related messages to my problem.
>
> It's just that I can't understand why Dynamo complaints about it, if the
> HTMLGenerator component is the one that comes with Jaguar, I had to
redeploy
> the component to another package, create the java stubs and only then it
> worked.
>
> Jorge Luzarraga C. <jluzarra@alboradasystems.com> wrote in message
> news:ShMmE36f$GA.251@forums.sybase.com...
> > Hello Guys,
> >
> > I have a problem while I'm trying to create an HTML Datawindow from
> > PowerDynamo.
> > Here is the script I have:
> >
> > <!--SCRIPT
> > dwMine =
> > java.CreateComponent("DataWindow/HTMLGenerator","iiop://myhost:9000",
> > "jagadmin","","DataWindow/HTMLGenerator");
> > if ( dwMine != null ){
> > dwMine.setDWObject("web.pbl","d_web_tipprd");
> > dwMine.setHTMLObjectName("dwMine");
> >
> >
>
dwMine.setTrans("ODBC","ConnectString='DSN=myprofile;UID=user;PWD=password'"
> > ,"","","","","");
> > retVal = dwMine.RetrieveEx("00640");
> > dwMine.setSelfLink(document.name,"");
> > dwMine.setWeight(true,true,true,true,true);
> > document.write(dwMine.Generate());
> > }
> > -->
> > but I got the following message on my browser:
> >
> > Not allowed to create dwMine.setDWObject[setDWObject] near line 10 in
> > "/dw2.stm" Not allowed to create
> dwMine.setHTMLObjectName[setHTMLObjectName]
> > near line 11 in "/dw2.stm" Not allowed to create
dwMine.setTrans[setTrans]
> > near line 12 in "/dw2.stm" Not allowed to create
> > dwMine.setSelfLink[setSelfLink] near line 14 in "/dw2.stm" Not allowed
to
> > create dwMine.setWeight[setWeight] near line 15 in "/dw2.stm"
> >
> > I don't know what it could be. Please help me.
> >
> > TIA
> > --
> > Ing. Jorge Luzarraga C.
> > Analista de Sistemas
> > Alborada Systems, S.A.
> > www.alboradasystems.com
> >
> >
>
>