Re: Screen switch error.
Martin Kirst <[email protected]> Sun, 23 Aug 2009 13:49:02 +0200
| Newsgroups | gmane.comp.java.tn5250j.devel |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============6756053767106249961== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6DFB043C4AF2B6A4DC1BDF7D" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6DFB043C4AF2B6A4DC1BDF7D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, sorry for the late answer, but was busy all the time ... I was not able to reproduce your mentioned error, but didn't get the '132-mode' running in the first try. There seems to be a small but existing difference, when using Tn5250j as an Applet. When using the 'Java console' while the applet is running you're able to see the logging statements. While reading them, I was missing the '-132' parameter. Hence I've added the following in the .HTML applet code: <PARAM NAME =3D"-t" VALUE=3D "-132" /> <!-- seems not to work --> <PARAM NAME =3D"-132" VALUE=3D "." /> <!-- works --> So, using the second parameter will fix the problem. Regards Martin PS: I've used/tests the current 'head' version, cause you didn't mentioned a version number. Jason Cawood schrieb: > I tried the general list but, I'm not sure anyone is monitoring it, so = I'm > trying the dev list. >=20 > I have been playing around with tn5250j and love it! thanks! But I > have one configuration question. when I embed the applet into a html > page and connect to my as400 the initial screens are all sized at the > default 80. then when I get to a screen that is display size 132 I > get the error " The device file does not contain an entry for screen > size." I don't get this error when I launch tn5250j by itself I have > no issues. Am I missing something in the embedded applet? any help > or suggestions would be greatly appreciated. >=20 > my sessions file looks like this: >=20 > #------ Session Information -------- > #Fri Jun 19 15:21:51 PDT 2009 > s101149d=3D163.241.188.20 -p 23 -cp 37 -t -132 -dn\=3Dhostname -spp 108= 0 -d > emul.logLevel=3D2 > emul.restricted=3D >=20 >=20 > source in my html file looks like this: > <APPLET > CODEBASE =3D "./java" > CODE =3D "org.tn5250j.My5250App.class" > NAME =3D "tn5250 - BPCS WEB Client" > HEIGHT =3D 700 > WIDTH =3D 900 > HSPACE =3D 30 > VSPACE =3D 90 > ALIGN =3D top > ARCHIVE =3D "tn5250j.jar" > <PARAM NAME =3D"host" VALUE=3D "163.241.188.20"> > <PARAM NAME =3D"-e" VALUE=3D " "> > </APPLET> >=20 >=20 > -----------------------------------------------------------------------= - >=20 > -----------------------------------------------------------------------= ------- >=20 >=20 > -----------------------------------------------------------------------= - >=20 > _______________________________________________ > Tn5250j-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tn5250j-develop --------------enig6DFB043C4AF2B6A4DC1BDF7D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEUEARECAAYFAkqRLLQACgkQefmD4St1GNFZsQCWN2ltdlwkbFxPghhlkqfiS8xJ 1ACg8t4MJBu5fpTTPyxGaRVVXc1WNL8= =1Mn5 -----END PGP SIGNATURE----- --------------enig6DFB043C4AF2B6A4DC1BDF7D-- --===============6756053767106249961== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july --===============6756053767106249961== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Tn5250j-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tn5250j-develop --===============6756053767106249961==--