comp.lang.ada
 help / color / mirror / Atom feed
* JGNAT - HTML generation
@ 2007-05-07 22:08 Gautier
  2007-05-08  0:26 ` Marc A. Criley
  2007-05-08  8:30 ` Georg Bauhaus
  0 siblings, 2 replies; 5+ messages in thread
From: Gautier @ 2007-05-07 22:08 UTC (permalink / raw)


Hello,

I have a random HTML-formatted text generator in Ada and would like to use 
JGNAT to display the generated HTML on a client browser and also eventually 
allow the user to generate it again.
The generator would also be part of the "Adapplet" - no cgi or server-side 
programming.
Do someone have a small code sample to fill (for instance) a frame with HTML, 
maybe also a "refresh" button, or whatever like that ?

The output could look like these ones
   http://pdos.csail.mit.edu/scigen/
   http://www.elsewhere.org/pomo

TIA
______________________________________________________________
Gautier         -- http://www.mysunrise.ch/users/gdm/index.htm
Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, e-mail address on the Web site!



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: JGNAT - HTML generation
  2007-05-07 22:08 JGNAT - HTML generation Gautier
@ 2007-05-08  0:26 ` Marc A. Criley
  2007-05-08  7:55   ` gautier_niouzes
  2007-05-08  8:30 ` Georg Bauhaus
  1 sibling, 1 reply; 5+ messages in thread
From: Marc A. Criley @ 2007-05-08  0:26 UTC (permalink / raw)


Gautier wrote:
> Hello,
> 
> I have a random HTML-formatted text generator in Ada and would like to 
> use JGNAT to display the generated HTML on a client browser and also 
> eventually allow the user to generate it again.

JGNAT is unsupported and I think pretty much non-functional with current 
JDKs (YMMV). I used it heavily for a project about 5+ years ago, and I 
believe it worked it okay with JDK 1.2, tasking broke with JDK 1.3, and 
beyond that I think you could count yourself lucky if you got a working 
program.

-- Marc A. Criley
-- McKae Technologies
-- www.mckae.com
-- Avatox - DTraq - XIA - XML EZ Out



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: JGNAT - HTML generation
  2007-05-08  0:26 ` Marc A. Criley
@ 2007-05-08  7:55   ` gautier_niouzes
  0 siblings, 0 replies; 5+ messages in thread
From: gautier_niouzes @ 2007-05-08  7:55 UTC (permalink / raw)


Marc A. Criley:

> JGNAT is unsupported and I think pretty much non-functional with current
> JDKs (YMMV). I used it heavily for a project about 5+ years ago, and I
> believe it worked it okay with JDK 1.2, tasking broke with JDK 1.3, and
> beyond that I think you could count yourself lucky if you got a working
> program.

The demo applets work fine, and I don't need tasking for that funny
applet...

Gautier




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: JGNAT - HTML generation
  2007-05-07 22:08 JGNAT - HTML generation Gautier
  2007-05-08  0:26 ` Marc A. Criley
@ 2007-05-08  8:30 ` Georg Bauhaus
  2007-05-09 20:54   ` Gautier
  1 sibling, 1 reply; 5+ messages in thread
From: Georg Bauhaus @ 2007-05-08  8:30 UTC (permalink / raw)


On Tue, 2007-05-08 at 00:08 +0200, Gautier wrote:
> Hello,
> 
> I have a random HTML-formatted text generator in Ada and would like to use 
> JGNAT to display the generated HTML on a client browser and also eventually 
> allow the user to generate it again.

Do you mean, the applet produces the HTML that will be displayed
in the browser's window? That is, exporting some applet scripting
interface? (In this case you would be replacing elements of the
DOM by ID using the HTML code exported by document.Applet1, say.)

As for JVM compatibility settings, AppletMagic is a lot more up
to date in this regard.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: JGNAT - HTML generation
  2007-05-08  8:30 ` Georg Bauhaus
@ 2007-05-09 20:54   ` Gautier
  0 siblings, 0 replies; 5+ messages in thread
From: Gautier @ 2007-05-09 20:54 UTC (permalink / raw)


>> I have a random HTML-formatted text generator in Ada and would like to use 
>> JGNAT to display the generated HTML on a client browser and also eventually 
>> allow the user to generate it again.

Georg Bauhaus:

> Do you mean, the applet produces the HTML that will be displayed
> in the browser's window? That is, exporting some applet scripting
> interface? (In this case you would be replacing elements of the
> DOM by ID using the HTML code exported by document.Applet1, say.)

It is the idea.
And clearly you know more about how to do it in detail than I do (easy: I have 
no clue!)...
Any piece of code ? Or we could do it together!
It should be no magic, just spitting HTML to the right place...

> As for JVM compatibility settings, AppletMagic is a lot more up
> to date in this regard.

Since it is foreseen as a GPL, open-source project, I would prefer to be able 
to use JGNAT, even though it is a bit outdated.
______________________________________________________________
Gautier         -- http://www.mysunrise.ch/users/gdm/index.htm
Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, e-mail address on the Web site!



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-05-09 20:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-07 22:08 JGNAT - HTML generation Gautier
2007-05-08  0:26 ` Marc A. Criley
2007-05-08  7:55   ` gautier_niouzes
2007-05-08  8:30 ` Georg Bauhaus
2007-05-09 20:54   ` Gautier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox