Robert Bajzat | 12 Jun 15:43

Re: Why Use Thinlets? Why Build Your UIs Using XML?

ThinletConstants: it's simple to create the source of this file using
Thinlet's 'dtd' field. it should be separated from Thinlet source, either a
class including static final strings or an interface, probably the later is
better, thus you could omit the ThinletConstants prefix in your source.

Object Thinlet Wrapper:  some time ago I wrote a simple application to
create those sources automatically from Thinlet's 'dtd' field to measure its
jar size, it creates the majority of the sources.

DTD: please add the modified one to the CVS and I'll create a new zip file
for download if required.

Validators: maxlength property is nice, but probably the list of validators
is longer (integer, decimal including iternationalized symbols, max value,
date, after today, required, min length, cardnumber, accountnumber with
checkdigit, etc.). Maybe I'll try to create a demo similar to jgoodies.com's
one. Probably textfield's insert and remove listeners are sufficients for a
common validation framework, probably these listeners methods should return
e.g. false boolean value to ignore e.g. a letter character in decimal fied.

Datepicker: it is a very complex widget including a filtered textfields,
up/dow spin-buttons, and a popup chooser. It's a nice task to collect
Thinlet's methods should be protected to allow this extension.

Why Use Thinlets: it is useful for web browsers, much more interactive than
HTML+JavaScript and the application code is very simple, although I can't
suggest it compared to Java Web Start if it was available. And Thinlet is
ideal for Personal Java (e.g. PDAs) where AWT has a limited widget set and
other toolkits are commercial or GPL licensed.

(Continue reading)

Stephen Colebourne | 12 Jun 16:12

Re: Why Use Thinlets? Why Build Your UIs Using XML?

From: "Robert Bajzat" <robert.bajzat <at> thinlet.com>
> ThinletConstants: it's simple to create the source of this file using
> Thinlet's 'dtd' field. it should be separated from Thinlet source, either
a
> class including static final strings or an interface, probably the later
is
> better, thus you could omit the ThinletConstants prefix in your source.

I would suggest a class is a better choice. By making Thinlet implement
ThinletConstants you require ThinletConstants at RUNTIME. If it is a class,
then the constants are copied to Thinlet.class at COMPILE time, so there is
no need to include ThinletConstants in the jar.

> Object Thinlet Wrapper:  some time ago I wrote a simple application to
> create those sources automatically from Thinlet's 'dtd' field to measure
its
> jar size, it creates the majority of the sources.
It has use as an additional jar for people who don't care so much about
download size.

> Validators: maxlength property is nice, but probably the list of
validators
> is longer (integer, decimal including iternationalized symbols, max value,
> date, after today, required, min length, cardnumber, accountnumber with
> checkdigit, etc.). Maybe I'll try to create a demo similar to
jgoodies.com's
> one. Probably textfield's insert and remove listeners are sufficients for
a
> common validation framework, probably these listeners methods should
return
(Continue reading)

Gerald Bauer | 13 Jun 16:28
Picon
Favicon

SwiXml Browser (aka swixml-viewer) Now Supports Thinlet

Hello,

   Allow me to forward Dimitri A. Pissarenko's SwiXml 0.0.3 release
announcement. Here we go:

  swixml-viewer 0.0.3  
  by Dimitri A. Pissarenko (http://freshmeat.net/~dapissarenko/)
  Saturday, June 12th 2004 22:50 

About:
swixml-viewer is a simple tool for viewing user  interfaces defined in
an XML file and rendered using  SwixML. It may be useful during the
design stage of  software development as it makes it possible to
quickly write user interface forms, render them, and  show the result
to a customer. In the actual  implementation stage, the "prototypes"
can be used  in a real application.  

Changes:
swixml-viewer now supports the Thinlet XUL toolkit and can be used to
view Thinlet UI descriptors.  

Release focus: Major feature enhancements 
      License: GNU General Public License (GPL) 
  Project URL: http://freshmeat.net/projects/swixml-viewer

   If anyone tries out swixml-viewer, let us know how it goes.

   - Gerald

PS: I have a SwiXml/Thinet interview coming up with Dimitri A.
(Continue reading)

lavanyak | 14 Jun 15:14

pass data from thinlet to a webpage

Hi

I want to pass the data from thinlet (say a text field) to an HTML (html 
page) text field..  how to do this?

Regards,
Lavanya K M
Senior Systems Analyst,

VigilPro,
Synaptris Decisions
37, Sterling Road, Nungambakkam, 
Chennai - 600034 
55546400 Ext: 474
55546474

[Non-text portions of this message have been removed]

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/thinlet/

(Continue reading)

Alan Williamson | 14 Jun 15:29
Favicon

Re: pass data from thinlet to a webpage

lavanyak <at> cybernetsoft.com wrote:
> I want to pass the data from thinlet (say a text field) to an HTML (html
> page) text field..  how to do this?

Using JavaScript-Applet communication.

A quick Google found these resources:

http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/java_js.html

http://www.apycom.com/jstips.html

http://www.javaside.com/asp/mus.asp?page=/us/tips/j_2b.shtml

We do this for a number of applets on Blog-City very successfully.

hope this helps

alan

--

-- 
Alan Williamson, City Planner

w: http://www.BLOG-CITY.com/
b: http://alan.blog-city.com/
e: alan <at> blog-city.com
p: http://www.blog-city.com/profiles/9.htm

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
(Continue reading)

Steven Bell | 14 Jun 17:00

Textarea widget question

Hi,

Is there any way to make text append itself to the bottom of a textarea 
widget, as well as autoscrolling that text upwards as new text comes in?

Thanks,
Steve

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/thinlet/

<*> To unsubscribe from this group, send an email to:
     thinlet-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/

Gerald Bauer | 14 Jun 20:12
Picon
Favicon

Thinlet Samples For XUL Challenge 2004 Wanted - Any Takers?

Hello,

  Let me know if anyone is interested in completing the two sample
apps for the XUL Challenge 2004 using Thinlet.

  The first sample app is a simple counter and the second sample app
is a simple calculator.

  See http://xul.sourceforge.net/challenge.html for details.

  The XUL Challenge 2004 started back in April and will wrap up for
real at the end of the week.

  So far more than 15+ different projects have completed and sent in
the two samples.

  See the Counter Showcase for a quick overview online @
http://xul.sourceforge.net/counter.html

  Again, if anyone is interested in completing the two samples and
helping promote Thinlet, please let me know.

   - Gerald

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
(Continue reading)

Alan Williamson | 14 Jun 20:48
Favicon

Tutorial 2: Dynamic Tabs

I have added another tutorial to the blog:

   http://thinlet.blog-city.com/read/652424.htm

Again, nothing too complicated, we are still ramping up!

More when i get time to write them up.

alan

-- 
Alan Williamson, City Planner

w: http://www.BLOG-CITY.com/
e: alan <at> blog-city.com
b: http://alan.blog-city.com/

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/thinlet/

<*> To unsubscribe from this group, send an email to:
(Continue reading)

Robert Bajzat | 14 Jun 21:24

Re: Textarea widget question

Similar to the EventLogger draft example, update the whole text and move the
selection as follows:

String text = getString(textarea, "text") + "\nappended line";
setString(textarea, "text", text);
setInteger(textarea, "start", text.length());
setInteger(textarea, "end", text.length());

----- Original Message -----
> Is there any way to make text append itself to the bottom of a textarea
> widget, as well as autoscrolling that text upwards as new text comes in?

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/thinlet/

<*> To unsubscribe from this group, send an email to:
     thinlet-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/

(Continue reading)

Gerald Bauer | 14 Jun 21:44
Picon
Favicon

Thinet Mailinglist Archive and Newsgroup Subscription @ Gmane Now Live

Hello,

   Thanks to Gmane - http://gmane.org - the Thinlet Developers
Mailinglist is now also available as a newsgroup subscription service
@ news://news.gmane.org/gmane.comp.java.thinlet.user

   Gmane also keeps an online archive that you can use as an
alternative to the Yahoo! Group archive; you find it online @
http://news.gmane.org/gmane.comp.java.thinlet.user

    - Gerald

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/thinlet/

<*> To unsubscribe from this group, send an email to:
     thinlet-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/

(Continue reading)


Gmane