------=_NextPart_000_0011_01C4851C.6C1328F0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Mike: Send me the entire wld00xxx.INT file and I will take a look at it. =
One quck fix would be change the input type=3D"image" to a simple img =
call with an A HREF that calls the onClick ( for the link, just set it =
=3D to #, and then only the onClick will be handled). I suspect that =
would fix it. By using the form construct, you may be confusing the =
developer parser.
--=20
John Bertoglio
Senior Consultant
co-laboratory
office: 503-538-8691=20
mobile: 503.330.6713=20
fax: 503.538.8691
www.co-laboratory.com
  "Mike Minor" <[EMAIL PROTECTED]> wrote in message =
news:[EMAIL PROTECTED]
  Hello all...

  I have the following line of html in a weblink application:

  <td width=3D"123" align=3D"right"><input type=3D"image" =
name=3D"image1" img border=3D"0" =
src=3D"file:///c:/inetpub/wwwroot/repplus/printer.gif" width=3D"24" =
height=3D"19" alt=3D"Print Requisition" nextpage=3DLLORD.ASP =
onclick=3D"Javascript:printPage()"></td>

  The intent is to place an icon on the page that when clicked, will =
open the print dialog window, allow the user to click the print button =
to print the page, and then return to another page in the application.

  It works ok, however, when the page is compiled by weblink developer, =
and the application is run, the following bit of code actually gets =
printed to the browser screen right below the image:

  function wldInitialisePage() {
      DocLoaded=3D'done' ;
      Pressed =3D false ;
  }

  To get rid of this, I opened the routine generated by weblink =
developer, found where this code is written to the browser and inserted =
the HTML remark code w "<!--" and w "-->" on the lines before and after =
the code that gets displayed.

  I'm sure I have some little something wrong in the line of HTML that =
is causing Developer to compile the routine incorrectly, but have now =
pulled out what little hair I had left, and still can't find it. I can =
go in and manually fix the routine each time I compile, but that gets a =
little tiresome.

  Weblink Developer version is 4.3,  Build: 4.30.605.401d, running on =
windows XP pro, using IIS.

  Any help would be greatly appreciated.


  Thank you,

  Mike Minor
  Z-Code Systems, Inc.
  [EMAIL PROTECTED]
  Phone: 407-656-4990

------=_NextPart_000_0011_01C4851C.6C1328F0
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1458" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Mike: Send me the entire wld00xxx.INT =
file and I=20
will take a look at it. One quck fix would be change the input =
type=3D"image" to a=20
simple img call with an A HREF that calls the onClick ( for the link, =
just set=20
it =3D to #, and then only the onClick will be handled). I suspect that =
would fix=20
it. By using the form construct, you may be confusing the developer=20
parser.</FONT><FONT face=3DArial size=3D2><BR>-- <BR>John =
Bertoglio<BR>Senior=20
Consultant<BR>co-laboratory<BR>office: 503-538-8691 <BR>mobile: =
503.330.6713=20
<BR>fax: 503.538.8691<BR><A=20
href=3D"http://www.co-laboratory.com";>www.co-laboratory.com</A></FONT></D=
IV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV>"Mike Minor" &lt;<A=20
  =
href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A>&gt; =
wrote in=20
  message <A=20
  =
href=3D"news:[EMAIL PROTECTED]">news:[EMAIL PROTECTED]
m</A>...</DIV>
  <DIV><FONT face=3DTahoma size=3D2>Hello all...</FONT></DIV>
  <DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DTahoma size=3D2>I have the following line of html in =
a weblink=20
  application:</FONT></DIV>
  <DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DTahoma size=3D2>&lt;td width=3D"123" =
align=3D"right"&gt;</FONT><FONT=20
  face=3DTahoma size=3D2>&lt;input type=3D"image" name=3D"image1" img =
border=3D"0"=20
  src=3D"file:///c:/inetpub/wwwroot/repplus/printer.gif" width=3D"24" =
height=3D"19"=20
  alt=3D"Print Requisition" nextpage=3DLLORD.ASP=20
  onclick=3D"Javascript:printPage()"&gt;</FONT><FONT face=3DTahoma=20
  size=3D2>&lt;/td&gt;</FONT></DIV>
  <DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DTahoma size=3D2>The intent is to place an icon on =
the page that=20
  when clicked, will open the print dialog window, allow the user to =
click the=20
  print button to print the page, and then return to another page in the =

  application.</FONT></DIV>
  <DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DTahoma size=3D2>It works ok, however, when the page =
is compiled=20
  by weblink developer, and the application is run, the following bit of =
code=20
  actually gets printed to the browser screen right below the=20
image:</FONT></DIV>
  <DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DTahoma size=3D2>function wldInitialisePage()=20
  {<BR>&nbsp;&nbsp;&nbsp; DocLoaded=3D'done' ;<BR>&nbsp;&nbsp;&nbsp; =
Pressed =3D=20
  false ;<BR>}</FONT></DIV>
  <DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DTahoma size=3D2>To get rid of this, I opened the =
routine=20
  generated by weblink developer, found where this code is written to =
the=20
  browser&nbsp;and inserted the HTML remark code w "&lt;!--" and w =
"--&gt;" on=20
  the lines&nbsp;before and after the code that gets =
displayed.</FONT></DIV>
  <DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DTahoma size=3D2>I'm sure I have some little =
something wrong in=20
  the line of HTML that is causing Developer to compile the routine =
incorrectly,=20
  but have now pulled out what little hair I had left, and still can't =
find it.=20
  I can go in and manually fix the routine each time I compile, but that =
gets a=20
  little tiresome.</FONT></DIV>
  <DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DTahoma size=3D2>Weblink Developer version is =
4.3,&nbsp;<FONT=20
  face=3D"Times New Roman"><FONT size=3D3> </FONT><FONT face=3DTahoma =
size=3D2>Build:=20
  4.30.605.401d, running on windows XP pro, using=20
IIS.</FONT></FONT></FONT></DIV>
  <DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DTahoma size=3D2>Any help would be greatly =
appreciated.</DIV>
  <DIV><BR></DIV></FONT>
  <DIV><FONT face=3DTahoma size=3D2>Thank you,</FONT></DIV>
  <DIV><FONT face=3DTahoma size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DTahoma size=3D2>Mike Minor<BR>Z-Code Systems, =
Inc.<BR></FONT><A=20
  href=3D"mailto:[EMAIL PROTECTED]"><FONT face=3DTahoma=20
  size=3D2>[EMAIL PROTECTED]</FONT></A><FONT face=3DTahoma =
size=3D2> <BR>Phone:=20
  407-656-4990<BR></FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0011_01C4851C.6C1328F0--


Reply via email to