<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>ecs-user@jakarta.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/"/>
<id>http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/</id>
<updated>2009-12-06T14:28:13Z</updated>
<entry>
<title>Re: Is ecs used?</title>
<author><name>Davi Cesar Martins Nascimento &lt;dcesarnascimento@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200911.mbox/%3c467fc89a0911160346k5da2ba51s594e6410d8c661a8@mail.gmail.com%3e"/>
<id>urn:uuid:%3c467fc89a0911160346k5da2ba51s594e6410d8c661a8@mail-gmail-com%3e</id>
<updated>2009-11-16T11:46:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I suggest you to use GWT instead of ECS.  With google GWT you can create
stanrd for html components as you can do with ECS.



On Sat, Nov 14, 2009 at 7:56 PM, Ludwig Magnusson &lt;ludwig@itcatapult.com&gt;wrote:

&gt; I am familiar with velocity actually.
&gt;
&gt; What I wanna do is create a standard for html-form components on our site.
&gt; Ex: An input field for text always has the same css class, a label and a
&gt; div-wrapper. Like this:
&gt;
&gt; &lt;div&gt;
&gt;  &lt;label for="email" class="required"&gt;Your email&lt;/label&gt;
&gt;  &lt;input type="text" name="email" class="our_class"/&gt;
&gt; &lt;/div&gt;
&gt;
&gt; I recently worked in PHP where there was an approach similar to ECS, so to
&gt; use ECS seemed natural.
&gt;
&gt; But you say templates are better these days?
&gt; I suppose velocity macors would be a bit simpler.
&gt; I'll try and see what suits me the best.
&gt;
&gt; /Ludwig
&gt;
&gt; -----Original Message-----
&gt; From: David Tonhofer [mailto:d.tonhofer@m-plify.com]
&gt; Sent: den 14 november 2009 22:37
&gt; To: ECS Users List
&gt; Subject: Re: Is ecs used?
&gt;
&gt; AFAIK, it's an old approach that has met its maker.
&gt;
&gt; It used it back in 2004 or so but only briefly. These days I would look
&gt; at template engines like Apache Velocity or similar.
&gt;
&gt; See also: http://en.wikipedia.org/wiki/Template_engine_(web)&lt;http://en.wikipedia.org/wiki/Template_engine_%28web%29&gt;
&gt;
&gt; Ludwig Magnusson wrote:
&gt; &gt; Nice to hear =)
&gt; &gt;
&gt; &gt; If it's possible I'd like to help out improving the code, making it a
&gt; maven
&gt; &gt; project etc.
&gt; &gt;
&gt; &gt; But I'm going to check it out a little bit more first =)
&gt; &gt;
&gt; &gt; /Ludwig
&gt; &gt;
&gt; &gt; -----Original Message-----
&gt; &gt; From: Mark Fraser [mailto:mark@mark100.net]
&gt; &gt; Sent: den 14 november 2009 21:47
&gt; &gt; To: ECS Users List
&gt; &gt; Subject: Re: Is ecs used?
&gt; &gt;
&gt; &gt; I am using it to generate the source for documents that I am inserting
&gt; &gt; in HTMLPanel in a Swing application using the Cobra renderer
&gt; &gt; (http://lobobrowser.org/cobra.jsp).
&gt; &gt;
&gt; &gt; I have had no problems.
&gt; &gt;
&gt; &gt; Maybe there are better commercial solutions but I didn't find anything
&gt; &gt; free that was as easy to use.  It's not magical but it beats the hell
&gt; &gt; out of hand coding HTML into strings.
&gt; &gt;
&gt; &gt; Mark
&gt; &gt;
&gt; &gt; Ludwig Magnusson wrote:
&gt; &gt;
&gt; &gt;&gt; Hello!
&gt; &gt;&gt;
&gt; &gt;&gt; I have been examining the ecs and it seems pretty useful for my project.
&gt; &gt;&gt;
&gt; &gt;&gt; However, the latest release is pretty old and there is no activity on
&gt; the
&gt; &gt;&gt; mailing list.
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; The code works for me but sometimes seems a bit awkward and not always
&gt; at
&gt; &gt;&gt; its best (perhaps for some reason I don't see).
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; So I wonder.. Is the ecs being used?
&gt; &gt;&gt;
&gt; &gt;&gt; Is there a better competitor that I have missed?
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; Otherwise it seems to be a good library for building standardized
&gt; &gt;&gt;
&gt; &gt; components
&gt; &gt;
&gt; &gt;&gt; for a website.
&gt; &gt;&gt;
&gt; &gt;&gt; /Ludwig
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; ---------------------------------------------------------------------
&gt; &gt; To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
&gt; &gt; For additional commands, e-mail: ecs-user-help@jakarta.apache.org
&gt; &gt;
&gt; &gt;
&gt; &gt; ---------------------------------------------------------------------
&gt; &gt; To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
&gt; &gt; For additional commands, e-mail: ecs-user-help@jakarta.apache.org
&gt; &gt;
&gt; &gt;
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: ecs-user-help@jakarta.apache.org
&gt;
&gt;


-- 
Davi César M. Nascimento


</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Is ecs used?</title>
<author><name>&quot;Ludwig Magnusson&quot; &lt;ludwig@itcatapult.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200911.mbox/%3c004601ca6575$5e2fa440$1a8eecc0$@com%3e"/>
<id>urn:uuid:%3c004601ca6575$5e2fa440$1a8eecc0$@com%3e</id>
<updated>2009-11-14T21:56:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I am familiar with velocity actually.

What I wanna do is create a standard for html-form components on our site.
Ex: An input field for text always has the same css class, a label and a
div-wrapper. Like this:

&lt;div&gt;
  &lt;label for="email" class="required"&gt;Your email&lt;/label&gt;
  &lt;input type="text" name="email" class="our_class"/&gt;
&lt;/div&gt;

I recently worked in PHP where there was an approach similar to ECS, so to
use ECS seemed natural.

But you say templates are better these days?
I suppose velocity macors would be a bit simpler.
I'll try and see what suits me the best.

/Ludwig

-----Original Message-----
From: David Tonhofer [mailto:d.tonhofer@m-plify.com] 
Sent: den 14 november 2009 22:37
To: ECS Users List
Subject: Re: Is ecs used?

AFAIK, it's an old approach that has met its maker.

It used it back in 2004 or so but only briefly. These days I would look 
at template engines like Apache Velocity or similar.

See also: http://en.wikipedia.org/wiki/Template_engine_(web)

Ludwig Magnusson wrote:
&gt; Nice to hear =)
&gt;
&gt; If it's possible I'd like to help out improving the code, making it a
maven
&gt; project etc.
&gt;
&gt; But I'm going to check it out a little bit more first =)
&gt;
&gt; /Ludwig
&gt;
&gt; -----Original Message-----
&gt; From: Mark Fraser [mailto:mark@mark100.net] 
&gt; Sent: den 14 november 2009 21:47
&gt; To: ECS Users List
&gt; Subject: Re: Is ecs used?
&gt;
&gt; I am using it to generate the source for documents that I am inserting 
&gt; in HTMLPanel in a Swing application using the Cobra renderer 
&gt; (http://lobobrowser.org/cobra.jsp).
&gt;
&gt; I have had no problems.
&gt;
&gt; Maybe there are better commercial solutions but I didn't find anything 
&gt; free that was as easy to use.  It's not magical but it beats the hell 
&gt; out of hand coding HTML into strings.
&gt;
&gt; Mark
&gt;
&gt; Ludwig Magnusson wrote:
&gt;   
&gt;&gt; Hello!
&gt;&gt;
&gt;&gt; I have been examining the ecs and it seems pretty useful for my project.
&gt;&gt;
&gt;&gt; However, the latest release is pretty old and there is no activity on the
&gt;&gt; mailing list.
&gt;&gt;
&gt;&gt;  
&gt;&gt;
&gt;&gt; The code works for me but sometimes seems a bit awkward and not always at
&gt;&gt; its best (perhaps for some reason I don't see).
&gt;&gt;
&gt;&gt;  
&gt;&gt;
&gt;&gt; So I wonder.. Is the ecs being used? 
&gt;&gt;
&gt;&gt; Is there a better competitor that I have missed?
&gt;&gt;
&gt;&gt;  
&gt;&gt;
&gt;&gt; Otherwise it seems to be a good library for building standardized
&gt;&gt;     
&gt; components
&gt;   
&gt;&gt; for a website.
&gt;&gt;
&gt;&gt; /Ludwig
&gt;&gt;
&gt;&gt;
&gt;&gt;   
&gt;&gt;     
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: ecs-user-help@jakarta.apache.org
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: ecs-user-help@jakarta.apache.org
&gt;
&gt;   


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Is ecs used?</title>
<author><name>David Tonhofer &lt;d.tonhofer@m-plify.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200911.mbox/%3c4AFF22F3.8030507@m-plify.com%3e"/>
<id>urn:uuid:%3c4AFF22F3-8030507@m-plify-com%3e</id>
<updated>2009-11-14T21:36:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
AFAIK, it's an old approach that has met its maker.

It used it back in 2004 or so but only briefly. These days I would look 
at template engines like Apache Velocity or similar.

See also: http://en.wikipedia.org/wiki/Template_engine_(web)

Ludwig Magnusson wrote:
&gt; Nice to hear =)
&gt;
&gt; If it's possible I'd like to help out improving the code, making it a maven
&gt; project etc.
&gt;
&gt; But I'm going to check it out a little bit more first =)
&gt;
&gt; /Ludwig
&gt;
&gt; -----Original Message-----
&gt; From: Mark Fraser [mailto:mark@mark100.net] 
&gt; Sent: den 14 november 2009 21:47
&gt; To: ECS Users List
&gt; Subject: Re: Is ecs used?
&gt;
&gt; I am using it to generate the source for documents that I am inserting 
&gt; in HTMLPanel in a Swing application using the Cobra renderer 
&gt; (http://lobobrowser.org/cobra.jsp).
&gt;
&gt; I have had no problems.
&gt;
&gt; Maybe there are better commercial solutions but I didn't find anything 
&gt; free that was as easy to use.  It's not magical but it beats the hell 
&gt; out of hand coding HTML into strings.
&gt;
&gt; Mark
&gt;
&gt; Ludwig Magnusson wrote:
&gt;   
&gt;&gt; Hello!
&gt;&gt;
&gt;&gt; I have been examining the ecs and it seems pretty useful for my project.
&gt;&gt;
&gt;&gt; However, the latest release is pretty old and there is no activity on the
&gt;&gt; mailing list.
&gt;&gt;
&gt;&gt;  
&gt;&gt;
&gt;&gt; The code works for me but sometimes seems a bit awkward and not always at
&gt;&gt; its best (perhaps for some reason I don't see).
&gt;&gt;
&gt;&gt;  
&gt;&gt;
&gt;&gt; So I wonder.. Is the ecs being used? 
&gt;&gt;
&gt;&gt; Is there a better competitor that I have missed?
&gt;&gt;
&gt;&gt;  
&gt;&gt;
&gt;&gt; Otherwise it seems to be a good library for building standardized
&gt;&gt;     
&gt; components
&gt;   
&gt;&gt; for a website.
&gt;&gt;
&gt;&gt; /Ludwig
&gt;&gt;
&gt;&gt;
&gt;&gt;   
&gt;&gt;     
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: ecs-user-help@jakarta.apache.org
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: ecs-user-help@jakarta.apache.org
&gt;
&gt;   


</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Is ecs used?</title>
<author><name>&quot;Ludwig Magnusson&quot; &lt;ludwig@itcatapult.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200911.mbox/%3c004201ca656d$b8291060$287b3120$@com%3e"/>
<id>urn:uuid:%3c004201ca656d$b8291060$287b3120$@com%3e</id>
<updated>2009-11-14T21:02:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Nice to hear =)

If it's possible I'd like to help out improving the code, making it a maven
project etc.

But I'm going to check it out a little bit more first =)

/Ludwig

-----Original Message-----
From: Mark Fraser [mailto:mark@mark100.net] 
Sent: den 14 november 2009 21:47
To: ECS Users List
Subject: Re: Is ecs used?

I am using it to generate the source for documents that I am inserting 
in HTMLPanel in a Swing application using the Cobra renderer 
(http://lobobrowser.org/cobra.jsp).

I have had no problems.

Maybe there are better commercial solutions but I didn't find anything 
free that was as easy to use.  It's not magical but it beats the hell 
out of hand coding HTML into strings.

Mark

Ludwig Magnusson wrote:
&gt; Hello!
&gt;
&gt; I have been examining the ecs and it seems pretty useful for my project.
&gt;
&gt; However, the latest release is pretty old and there is no activity on the
&gt; mailing list.
&gt;
&gt;  
&gt;
&gt; The code works for me but sometimes seems a bit awkward and not always at
&gt; its best (perhaps for some reason I don't see).
&gt;
&gt;  
&gt;
&gt; So I wonder.. Is the ecs being used? 
&gt;
&gt; Is there a better competitor that I have missed?
&gt;
&gt;  
&gt;
&gt; Otherwise it seems to be a good library for building standardized
components
&gt; for a website.
&gt;
&gt; /Ludwig
&gt;
&gt;
&gt;   


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Is ecs used?</title>
<author><name>Mark Fraser &lt;mark@mark100.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200911.mbox/%3c4AFF1757.3030600@mark100.net%3e"/>
<id>urn:uuid:%3c4AFF1757-3030600@mark100-net%3e</id>
<updated>2009-11-14T20:47:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I am using it to generate the source for documents that I am inserting 
in HTMLPanel in a Swing application using the Cobra renderer 
(http://lobobrowser.org/cobra.jsp).

I have had no problems.

Maybe there are better commercial solutions but I didn't find anything 
free that was as easy to use.  It's not magical but it beats the hell 
out of hand coding HTML into strings.

Mark

Ludwig Magnusson wrote:
&gt; Hello!
&gt;
&gt; I have been examining the ecs and it seems pretty useful for my project.
&gt;
&gt; However, the latest release is pretty old and there is no activity on the
&gt; mailing list.
&gt;
&gt;  
&gt;
&gt; The code works for me but sometimes seems a bit awkward and not always at
&gt; its best (perhaps for some reason I don't see).
&gt;
&gt;  
&gt;
&gt; So I wonder.. Is the ecs being used? 
&gt;
&gt; Is there a better competitor that I have missed?
&gt;
&gt;  
&gt;
&gt; Otherwise it seems to be a good library for building standardized components
&gt; for a website.
&gt;
&gt; /Ludwig
&gt;
&gt;
&gt;   


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Is ecs used?</title>
<author><name>&quot;Ludwig Magnusson&quot; &lt;ludwig@itcatapult.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200911.mbox/%3c003d01ca6569$00393100$00ab9300$@com%3e"/>
<id>urn:uuid:%3c003d01ca6569$00393100$00ab9300$@com%3e</id>
<updated>2009-11-14T20:28:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello!

I have been examining the ecs and it seems pretty useful for my project.

However, the latest release is pretty old and there is no activity on the
mailing list.

 

The code works for me but sometimes seems a bit awkward and not always at
its best (perhaps for some reason I don't see).

 

So I wonder.. Is the ecs being used? 

Is there a better competitor that I have missed?

 

Otherwise it seems to be a good library for building standardized components
for a website.

/Ludwig



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: form inside a table</title>
<author><name>Thufir &lt;hawat.thufir@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200903.mbox/%3cgpoov6$kjm$2@ger.gmane.org%3e"/>
<id>urn:uuid:%3cgpoov6$kjm$2@ger-gmane-org%3e</id>
<updated>2009-03-17T18:08:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, 17 Mar 2009 17:56:09 +0000, Thufir wrote:


&gt; http://www.cs.tut.fi/~jkorpela/forms/tables.html
&gt; 
&gt; but how do create a submit button for a row?

Well, once I figured out how to pose my question, that pretty much 
answered the question, I think:


&lt;TABLE BORDER="1"&gt;
    &lt;TR&gt;
        &lt;FORM METHOD="POST" ACTION="http://www.cs.tut.fi/cgi-bin/run/
~jkorpela/echo.cgi"&gt;
            &lt;TD&gt;Your name&lt;/TD&gt;
            &lt;TD&gt;
                &lt;INPUT TYPE="TEXT" NAME="name" SIZE="20"&gt;
            &lt;/TD&gt;

            &lt;TD&gt;Your E-mail address&lt;/TD&gt;
            &lt;TD&gt;&lt;INPUT TYPE="TEXT" NAME="email" SIZE="25"&gt;&lt;/TD&gt;
            &lt;TD&gt;
                &lt;INPUT TYPE="SUBMIT" VALUE="Submit" NAME="B1"&gt;
            &lt;/TD&gt;
        &lt;/FORM&gt;
    &lt;/TR&gt;    &lt;TR&gt;
        &lt;FORM METHOD="POST" ACTION="http://www.cs.tut.fi/cgi-bin/run/
~jkorpela/echo.cgi"&gt;

            &lt;TD&gt;Your name2&lt;/TD&gt;
            &lt;TD&gt;
                &lt;INPUT TYPE="TEXT" NAME="name" SIZE="20"&gt;
            &lt;/TD&gt;
            &lt;TD&gt;Your E-mail address&lt;/TD&gt;
            &lt;TD&gt;&lt;INPUT TYPE="TEXT" NAME="email" SIZE="25"&gt;&lt;/TD&gt;
            &lt;TD&gt;
                &lt;INPUT TYPE="SUBMIT" VALUE="Submit" NAME="B1"&gt;

            &lt;/TD&gt;
        &lt;/FORM&gt;
    &lt;/TR&gt;


So, that's a reasonable approach?



thanks,

Thufir


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>form inside a table</title>
<author><name>Thufir &lt;hawat.thufir@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200903.mbox/%3cgpoo7p$kjm$1@ger.gmane.org%3e"/>
<id>urn:uuid:%3cgpoo7p$kjm$1@ger-gmane-org%3e</id>
<updated>2009-03-17T17:56:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I'm not sure whether I want a form inside a table, or a table inside a 
form.  A table something like:


field1      field2       field3
data        more data    even more data
second row  data         some data
[]          []           []


the third row is blank.  How could I add a column of submit buttons which 
"listen" only to their row?  I see how to create a button for a table:

http://www.cs.tut.fi/~jkorpela/forms/tables.html

but how do create a submit button for a row?



thanks,

Thufir


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re:  null pointer</title>
<author><name>Thufir &lt;hawat.thufir@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3cgoa26m$jd5$1@ger.gmane.org%3e"/>
<id>urn:uuid:%3cgoa26m$jd5$1@ger-gmane-org%3e</id>
<updated>2009-02-28T00:57:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Sat, 28 Feb 2009 10:41:52 +1030, Zachary Mitchell, BCIS wrote:

&gt; No offense, but I would prefer that this email address not be sent to.
&gt; 
&gt; Please delete references to it,
&gt; 
&gt; and use:
&gt; 
&gt; stargate7thsymbol@live.co.uk

Your header shows, from my end, as:

Path: news.gmane.org!not-for-mail
From: "Zachary Mitchell, BCIS" &lt;zac.j.m@internode.on.net&gt;
Newsgroups: gmane.comp.jakarta.ecs.user
Subject: Re:  null pointer

So I think you may have a unintentionally subscribed the wrong address.  
Unless I inadvertently mailed you directly?

&gt; 
&gt; instead.
&gt; 
&gt; Also, I am a source for help with genuine problems/
&gt; 
&gt; code problems.
&gt; 
&gt; I am unfortunately not a source as a debugger!
&gt; 
&gt; :)



Fair enough, no prob :)



-Thufir




---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re:  null pointer</title>
<author><name>&quot;Zachary Mitchell, BCIS&quot; &lt;zac.j.m@internode.on.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3cD5AA61171CA8490E9E3750654F456126@zachary%3e"/>
<id>urn:uuid:%3cD5AA61171CA8490E9E3750654F456126@zachary%3e</id>
<updated>2009-02-28T00:11:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
No offense, but I would prefer that this email address not be sent to.

Please delete references to it,

and use:

stargate7thsymbol@live.co.uk

instead.

Also, I am a source for help with genuine problems/

code problems.

I am unfortunately not a source as a debugger!

:)




----- Original Message ----- 
From: "Thufir" &lt;hawat.thufir@gmail.com&gt;
To: &lt;ecs-user@jakarta.apache.org&gt;
Sent: Friday, February 27, 2009 9:29 PM
Subject: null pointer


&gt; Would there a be a better approach to this class?
&gt; 
&gt; It's just supposed to output a result set.  however, since there has to 
&gt; be an update mechanism, I figured that might as well be incorporated as 
&gt; well.
&gt; 
&gt; One thing I notice is that there's no real need to extend table, so I 
&gt; think I'm taking maybe a bad approach.
&gt; 
&gt; Also, I'm getting a null pointer error further down, commented in CAPS.  
&gt; At first the data is good, then a null value.  Oh, maybe the start of a 
&gt; nonexistent column?  Not sure.
&gt; 
&gt; 
&gt; import a00720398.util.EnumOfMethods;
&gt; import java.awt.Color;
&gt; import java.sql.ResultSet;
&gt; import java.sql.ResultSetMetaData;
&gt; import java.sql.SQLException;
&gt; import java.util.logging.Level;
&gt; import java.util.logging.Logger;
&gt; import org.apache.ecs.html.*;
&gt; 
&gt; public class SimpleResultSetTable extends Table {
&gt; 
&gt;    private static final boolean isPretty = true;
&gt;    private static final long serialVersionUID = 1L;
&gt;    private TR tr = new TR();
&gt;    private ResultSet resultSet = null;
&gt;    private ResultSetMetaData resultSetMetaData = null;
&gt;    private int colCount = 1;
&gt;    
&gt;    private static Logger logger = Logger.getLogger
&gt; (SimpleResultSetTable.class.getName()); //Controller.class.getName()
&gt; 
&gt; 
&gt;    private Form getDeleteButtonForm(int id) {
&gt;        EnumOfMethods enumVal = EnumOfMethods.D;
&gt;        String action = "/Assignment";
&gt;        String method = "get";
&gt;        Form form = new DeleteButtonForm(action, method, enumVal, id);
&gt;        return form;
&gt;    }
&gt;    
&gt;    private void header() throws SQLException {
&gt;        for (int i = 1; i &lt;= colCount; i++) {
&gt;            TH th = new TH();
&gt;            th.setPrettyPrint(isPretty);
&gt;            th.addElement(resultSetMetaData.getColumnName(i));
&gt;            addElement(th);
&gt;        }
&gt;    }
&gt; 
&gt;    private String getHex(Color color){
&gt;        return Integer.toHexString(color.getRGB() &amp; 0x00ffffff);
&gt;    }
&gt;    
&gt;    private Form getElementForm(){
&gt;        Form form = new ElementForm();
&gt;        return form;
&gt;    }
&gt;    
&gt;    private void data() throws SQLException {
&gt;        resultSet.beforeFirst();
&gt;        while (resultSet.next()) {
&gt;            tr = new TR();
&gt;            tr.setPrettyPrint(isPretty);
&gt;            int i = resultSet.getRow();
&gt;            Color color = (i % 2 == 0) ? Color.LIGHT_GRAY : Color.GRAY;
&gt;            String colorString = getHex(color);
&gt;            tr.setBgColor(colorString);
&gt; 
&gt;            for (int j = 1; j &lt;= colCount; j++) {
&gt;                TD td = new TD();
&gt;                td.setPrettyPrint(isPretty);
&gt;                String element =  resultSet.getString(j);//String.valueOf
&gt; (j); //
&gt;                if (j == 1) {
&gt;                    int id = Integer.parseInt(element);
&gt;                    Form form = this.getDeleteButtonForm(id);
&gt;                    td.addElement(form);
&gt;                } else {
&gt; 
&gt;                    //NULL POINTER ERROR RIGHT HERE
&gt;                    //I'M NOT SURE WHY ELEMENT IS LITERALLY NULL,
&gt;                    //BUT IT IS.  THERE'S GOOD DATA AT FIRST, THEN
&gt;                    //A NULL VALUE
&gt; 
&gt;                    logger.log(Level.WARNING, "why null?\t" + element);
&gt;                   Form form = new ElementForm(element, 1,2);
&gt;                   //form.addElement(element);
&gt;                    td.addElement(form);
&gt;                }
&gt;                tr.addElement(td);
&gt;                addElement(tr);
&gt;            }
&gt;        }
&gt;    }
&gt; 
&gt;    public SimpleResultSetTable(ResultSet rs) throws SQLException {
&gt;        setBorder(1);
&gt;        setPrettyPrint(isPretty);
&gt;        resultSet = rs;
&gt;        resultSetMetaData = rs.getMetaData();
&gt;        colCount = resultSetMetaData.getColumnCount();
&gt;        header();
&gt;        data();
&gt;    }
&gt; }
&gt; 
&gt; 
&gt; 
&gt; 
&gt; thanks,
&gt; 
&gt; Thufir
&gt; 
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: ecs-user-help@jakarta.apache.org
&gt;

---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: null pointer</title>
<author><name>Martin Kurz &lt;info@martinkurz.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3c49A8727D.1070205@martinkurz.com%3e"/>
<id>urn:uuid:%3c49A8727D-1070205@martinkurz-com%3e</id>
<updated>2009-02-27T23:08:45Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Thufir,

&gt; Would there a be a better approach to this class?
&gt; 
&gt; It's just supposed to output a result set.  however, since there has to 
&gt; be an update mechanism, I figured that might as well be incorporated as 
&gt; well.
&gt; 
&gt; One thing I notice is that there's no real need to extend table, so I 
&gt; think I'm taking maybe a bad approach.

Depends on your preferences. If you're in need of an ecs table 
constructed from a resultset, then i don't see any real problems with 
this approach. Maybe, i would prefer some kind of factory instead, but 
that's my personal opinion.

&gt; Also, I'm getting a null pointer error further down, commented in CAPS.  
&gt; At first the data is good, then a null value.  Oh, maybe the start of a 
&gt; nonexistent column?  Not sure.

Depends on your database: If some columns allow null values, you can of 
course get NULL in a resultset. When you know the type of a cols value 
is int (col 1), you can directly get the int from the resultset by using 
  rs.getInt(j), with rs.wasNull() you can check if the last cols value 
in database was null (you're in need of this check, because when ie 
using getInt(), you don't know if the resulting int 0 is 0 because 
that's the value in database or in database there was null.

---snip---
for (int j = 1; j &lt;= colCount; j++) {
   TD td = new TD();
   td.setPrettyPrint(isPretty);
   if (j == 1) {
       int id = Integer.parseInt(element);
       Form form = this.getDeleteButtonForm(resultSet.getInt(j));
       td.addElement(form);
   } else {
       String element =  resultSet.getString(j);
       if ( resultSet.wasNull() ) {
         td.addElement("-");
       } else {
         Form form = new ElementForm(element, 1,2);
         //form.addElement(element);
         td.addElement(form);
       }
   }
   tr.addElement(td);
   addElement(tr);
}
---snip---

grretings,

Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>null pointer</title>
<author><name>Thufir &lt;hawat.thufir@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3cgo8h2a$5mi$3@ger.gmane.org%3e"/>
<id>urn:uuid:%3cgo8h2a$5mi$3@ger-gmane-org%3e</id>
<updated>2009-02-27T10:59:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Would there a be a better approach to this class?

It's just supposed to output a result set.  however, since there has to 
be an update mechanism, I figured that might as well be incorporated as 
well.

One thing I notice is that there's no real need to extend table, so I 
think I'm taking maybe a bad approach.

Also, I'm getting a null pointer error further down, commented in CAPS.  
At first the data is good, then a null value.  Oh, maybe the start of a 
nonexistent column?  Not sure.


import a00720398.util.EnumOfMethods;
import java.awt.Color;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.ecs.html.*;

public class SimpleResultSetTable extends Table {

    private static final boolean isPretty = true;
    private static final long serialVersionUID = 1L;
    private TR tr = new TR();
    private ResultSet resultSet = null;
    private ResultSetMetaData resultSetMetaData = null;
    private int colCount = 1;
    
    private static Logger logger = Logger.getLogger
(SimpleResultSetTable.class.getName()); //Controller.class.getName()


    private Form getDeleteButtonForm(int id) {
        EnumOfMethods enumVal = EnumOfMethods.D;
        String action = "/Assignment";
        String method = "get";
        Form form = new DeleteButtonForm(action, method, enumVal, id);
        return form;
    }
    
    private void header() throws SQLException {
        for (int i = 1; i &lt;= colCount; i++) {
            TH th = new TH();
            th.setPrettyPrint(isPretty);
            th.addElement(resultSetMetaData.getColumnName(i));
            addElement(th);
        }
    }

    private String getHex(Color color){
        return Integer.toHexString(color.getRGB() &amp; 0x00ffffff);
    }
    
    private Form getElementForm(){
        Form form = new ElementForm();
        return form;
    }
    
    private void data() throws SQLException {
        resultSet.beforeFirst();
        while (resultSet.next()) {
            tr = new TR();
            tr.setPrettyPrint(isPretty);
            int i = resultSet.getRow();
            Color color = (i % 2 == 0) ? Color.LIGHT_GRAY : Color.GRAY;
            String colorString = getHex(color);
            tr.setBgColor(colorString);

            for (int j = 1; j &lt;= colCount; j++) {
                TD td = new TD();
                td.setPrettyPrint(isPretty);
                String element =  resultSet.getString(j);//String.valueOf
(j); //
                if (j == 1) {
                    int id = Integer.parseInt(element);
                    Form form = this.getDeleteButtonForm(id);
                    td.addElement(form);
                } else {

                    //NULL POINTER ERROR RIGHT HERE
                    //I'M NOT SURE WHY ELEMENT IS LITERALLY NULL,
                    //BUT IT IS.  THERE'S GOOD DATA AT FIRST, THEN
                    //A NULL VALUE

                    logger.log(Level.WARNING, "why null?\t" + element);
                   Form form = new ElementForm(element, 1,2);
                   //form.addElement(element);
                    td.addElement(form);
                }
                tr.addElement(td);
                addElement(tr);
            }
        }
    }

    public SimpleResultSetTable(ResultSet rs) throws SQLException {
        setBorder(1);
        setPrettyPrint(isPretty);
        resultSet = rs;
        resultSetMetaData = rs.getMetaData();
        colCount = resultSetMetaData.getColumnCount();
        header();
        data();
    }
}




thanks,

Thufir


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>thanks :)</title>
<author><name>Thufir &lt;hawat.thufir@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3cgo5b15$1cp$1@ger.gmane.org%3e"/>
<id>urn:uuid:%3cgo5b15$1cp$1@ger-gmane-org%3e</id>
<updated>2009-02-26T05:57:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I don't really have anything to say at the moment, but want to thank 
everyone for their timely and informative responses to my queries.

You've emboldened me to go further afield, specifically DBCP and OJB.


thanks,

Thufir


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: custom Table</title>
<author><name>Martin Kurz &lt;info@martinkurz.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3c49A47111.3060404@martinkurz.com%3e"/>
<id>urn:uuid:%3c49A47111-3060404@martinkurz-com%3e</id>
<updated>2009-02-24T22:13:37Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Thufir,

Zachary allready wrote a lot about possible problems with different 
scopes in jsp, passing the ResultSet this way shouldn't bring up any 
problem IMHO - as long as the instance is destroyed after the page has 
rendered (don't know exactly if the reference to a resultset in your 
instance blocks your database connection as long as the resultset can't 
get destroyed (but I assume this), so maybe you should consider 
executing an explicit close() on the resultset). But I didn't understand 
the first part of your mail:

Thufir schrieb:
&gt; I think that the problem with this class is that setColumnNames and 
&gt; setData aren't really setting attributes.  I suppose I should make 
&gt; instance attributes like "header" and "data"?

You want to render a table, so you're creating rows for header an data 
and adding them to the parent table. If you want to alter the table 
after creation, you could additionally keep the TRs in a list as 
attributes or something like this.

But in difference to swing (or something like this), you're just 
generating HTML, sending it to the client and the server part is 
finished. The client renders the html you created and maybe, there well 
be a click on a link or a form will be submitted, so you're having a new 
request, you don't get a gui event like in swing. To simulate this 
behaviour over http, there are technologies like jsf (or some other 
frameworks like http://wingsframework.org/ what is some more like swing).

Greetings,

Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: custom Table</title>
<author><name>&quot;Zachary Mitchell, BCIS&quot; &lt;zac.j.m@internode.on.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3c0BFA782AF0144E2D92576287948A1017@zachary%3e"/>
<id>urn:uuid:%3c0BFA782AF0144E2D92576287948A1017@zachary%3e</id>
<updated>2009-02-24T07:55:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
There are a few things to know with JSP's

and copies of objects in JSP's,

when it comes to variables of

session and page

scopes.

A text/ebook like "special edition using Java 2 enterprise edition

clarifies this, but it all goes to the fact that  a jsp deploys to its servlet engine

by being compiled into a servlet class/instance, which is injected

 and then executed from there.

This means that every client web browser run of the jsp

is running from THE SAME class of your programmed jsp,

though from different server threads and different browser

instances though.

You need to be careful that each page variable object

doesn't conflict with other objects by use of page objects.

You will want each to have a local copy of your resultset Object,

in each jsp page context, to be a unique object context, and each have all of 

them concurrently in your jsp, rather than be using dirty references back to your 

original copy.

It should (your resultset object), optmistically, be unbound from your resultSet Object produced
by

bean/corba/rmi/ejb/whatever object source.

In your example, in a situation where each jsp page

may alter it's unique resultset object later on,

-you may use a  managed class/bean/enterprise javaban 

to correspond to your entire table, to have setResultSet/getResultSet methods.  

These methods may have somethig like a linkedlist that holds resultset objects (or a complexresultset
object of yours, to include an id for each &lt;TD&gt; node.
This way, you have one managemenet class, and are blind to key objects,

and have a manager (Accessible) class.

&gt;From hear, each page may the obtain it's own particular

pageContext copy of your resultselt object.

//******************************************************************************************


Or, you may use a  LinkedList object in an application scope, which of its own, is outside
of every page's context.

The page that get's a LinkedList&lt;ResultSet&gt; from there, the page deals 

appropriately with it's resultset, and may use the java.util.LinkedList

method to update the collection appropriately.

the page context.

See how ya go, but doen't overlook the reading I suggested,

even though your stuck, and it's old!

:)



</pre>
</div>
</content>
</entry>
<entry>
<title>Re:  custom Table</title>
<author><name>Thufir &lt;hawat.thufir@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3cgo010t$e28$2@ger.gmane.org%3e"/>
<id>urn:uuid:%3cgo010t$e28$2@ger-gmane-org%3e</id>
<updated>2009-02-24T05:36:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Tue, 24 Feb 2009 14:14:39 +1030, Zachary Mitchell, BCIS wrote:


&gt; 
&gt; I recommend submitting your resultset


What did you mean by submitting resultset?  I was asking about passing 
around a resultset.  You mean that's "ok"?


thanks,

Thufir


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re:  custom Table</title>
<author><name>&quot;Zachary Mitchell, BCIS&quot; &lt;zac.j.m@internode.on.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3c0955CEF0D0874337BE37FAADE8546AC6@zachary%3e"/>
<id>urn:uuid:%3c0955CEF0D0874337BE37FAADE8546AC6@zachary%3e</id>
<updated>2009-02-24T03:44:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
There are a few things to do with JSP's

and copies of objects in JSP's,

when it comes to variables of

session and page

scopes.

A text/ebook like "special edition using Java 2 enterprise edition

clarifies this, but it all goes to the fact that  a jsp ends

by being compiled into a servlet, which is injected

 and then executed from there.

This means that every client run of the jsp

is running from THE SAME class of your programmed jsp,

though from different execution context instances.


You need to be careful that each page variable object

doesn't conflict with other objects by use of page objects.

You will want each copy of your resultset Object,

in each jsp page contextn, to be a unique object context, and have all of 
them,

ins your jsp, be dirty references back to your original copy.

It should, optmistically, be unbound from your resultSet Object produced by

bean/corba/rmi/ejb/whatever object source.

In your example, in a situation where each jsp page

may alter it's unique resultset object later on,

-you may use a to managelibrary class/bean/enterprise javaban

to have setResultSet/getResultSet methods.  These methods may have somethig 
like a linkedlist that holds resultsetl objects (or a complexresultset 
object of yous,

with field int field = 1;   with this reflected in get/set function 
signatures.

from hear, each page may the obtain it's own particular

pageContext copy of your resultselt object.

Or, you may use a linked list approach, getitng/setting methods,

on a LinkedList object in an application scope, which of its own, excludes 
the page context.

See how ya go, but doen't overlook the reading I suggested,

even though your stuck, and it's old!

:)




I recommend submitting your resultset




----- Original Message ----- 
From: "Thufir" &lt;hawat.thufir@gmail.com&gt;
To: &lt;ecs-user@jakarta.apache.org&gt;
Sent: Tuesday, February 24, 2009 1:23 PM
Subject: custom Table


&gt;I think that the problem with this class is that setColumnNames and
&gt; setData aren't really setting attributes.  I suppose I should make
&gt; instance attributes like "header" and "data"?
&gt;
&gt; (luckily we're moving into JSP soon, but, still...)
&gt;
&gt; also, is there a problem with passing ResultSet around to different
&gt; objects?  I read that there's a problem with that.
&gt;
&gt;
&gt; package a00720398.html;
&gt;
&gt; //adapted from oreilly sample in ch 16
&gt; //      Java Servlet Programming, Second Edition
&gt; //         http://oreilly.com/catalog/9780596000400/
&gt;
&gt;
&gt; import java.sql.*;
&gt; import org.apache.ecs.html.*;
&gt;
&gt;
&gt; public class ResultSetTable extends Table {
&gt;
&gt;    private static final boolean isPretty = true;
&gt;    private ResultSet rst = null;
&gt;    ResultSetMetaData rsmd = null;
&gt;
&gt;    public ResultSetTable() {
&gt;    }
&gt;
&gt;    public ResultSetTable(ResultSet rst) throws SQLException {
&gt;        this.rst = rst;
&gt;        rsmd = rst.getMetaData();
&gt;        setBorder(1);
&gt;        setColumnNames();
&gt;        setData();
&gt;    }
&gt;
&gt;    public void setResultSet(ResultSet rst) throws SQLException {
&gt;        this.rst = rst;
&gt;        rsmd = rst.getMetaData();
&gt;    }
&gt;
&gt;    private void setColumnNames() throws SQLException {
&gt;        int colCount = rsmd.getColumnCount();
&gt;        TR tr = new TR();
&gt;        tr.setPrettyPrint(isPretty);
&gt;
&gt;        A a = new A();
&gt;        a.setPrettyPrint(isPretty);
&gt;        a.setHref("/Assignment?crud=D&amp;row=0");
&gt;        //&lt;http://www.google.ca/search?q=doget
&gt; +url&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=com.ubuntu:en-
&gt; US:unofficial&amp;client=firefox-a
&gt;        a.addElement("delete");
&gt;
&gt;        TH colZero = new TH();
&gt;        colZero.setPrettyPrint(isPretty);
&gt;        colZero.addElement(a);
&gt;        tr.addElement(colZero);
&gt;
&gt;        for (int i = 1; i &lt;= colCount; i++) {
&gt;            TH th = new TH();
&gt;            th.setPrettyPrint(isPretty);
&gt;            th.addElement(rsmd.getColumnLabel(i));
&gt;            tr.addElement(th);
&gt;        }
&gt;        addElement(tr);
&gt;    }
&gt;
&gt;    private void setData() throws SQLException {
&gt;        int colCount = rsmd.getColumnCount();
&gt;        TR tr = new TR();
&gt;
&gt;        //rst.beforeFirst();
&gt;        while (rst.next()) {
&gt;            tr = new TR();
&gt;            tr.setPrettyPrint(isPretty);
&gt;            for (int i = 1; i &lt;= colCount; i++) {
&gt;                TH th = new TH();
&gt;                th.setPrettyPrint(isPretty);
&gt;                th.addElement(rst.getString(i));
&gt;                tr.addElement(th);
&gt;            }
&gt;            addElement(tr);
&gt;        }
&gt;    }
&gt; }
&gt;
&gt;
&gt;
&gt; thanks,
&gt;
&gt; Thufir
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: ecs-user-help@jakarta.apache.org
&gt; 


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>custom Table</title>
<author><name>Thufir &lt;hawat.thufir@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3cgnvneu$e28$1@ger.gmane.org%3e"/>
<id>urn:uuid:%3cgnvneu$e28$1@ger-gmane-org%3e</id>
<updated>2009-02-24T02:53:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I think that the problem with this class is that setColumnNames and 
setData aren't really setting attributes.  I suppose I should make 
instance attributes like "header" and "data"?

(luckily we're moving into JSP soon, but, still...)

also, is there a problem with passing ResultSet around to different 
objects?  I read that there's a problem with that.


package a00720398.html;

//adapted from oreilly sample in ch 16
//      Java Servlet Programming, Second Edition
//         http://oreilly.com/catalog/9780596000400/


import java.sql.*;
import org.apache.ecs.html.*;


public class ResultSetTable extends Table {

    private static final boolean isPretty = true;
    private ResultSet rst = null;
    ResultSetMetaData rsmd = null;

    public ResultSetTable() {
    }

    public ResultSetTable(ResultSet rst) throws SQLException {
        this.rst = rst;
        rsmd = rst.getMetaData();
        setBorder(1);
        setColumnNames();
        setData();
    }
    
    public void setResultSet(ResultSet rst) throws SQLException {
        this.rst = rst;
        rsmd = rst.getMetaData();
    }
  
    private void setColumnNames() throws SQLException {
        int colCount = rsmd.getColumnCount();
        TR tr = new TR();
        tr.setPrettyPrint(isPretty);

        A a = new A();
        a.setPrettyPrint(isPretty);
        a.setHref("/Assignment?crud=D&amp;row=0");
        //&lt;http://www.google.ca/search?q=doget
+url&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=com.ubuntu:en-
US:unofficial&amp;client=firefox-a
        a.addElement("delete");

        TH colZero = new TH();
        colZero.setPrettyPrint(isPretty);
        colZero.addElement(a);
        tr.addElement(colZero);

        for (int i = 1; i &lt;= colCount; i++) {
            TH th = new TH();
            th.setPrettyPrint(isPretty);
            th.addElement(rsmd.getColumnLabel(i));
            tr.addElement(th);
        }
        addElement(tr);
    }

    private void setData() throws SQLException {
        int colCount = rsmd.getColumnCount();
        TR tr = new TR();

        //rst.beforeFirst();
        while (rst.next()) {
            tr = new TR();
            tr.setPrettyPrint(isPretty);
            for (int i = 1; i &lt;= colCount; i++) {
                TH th = new TH();
                th.setPrettyPrint(isPretty);
                th.addElement(rst.getString(i));
                tr.addElement(th);
            }
            addElement(tr);
        }
    }
}



thanks,

Thufir


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: missing &lt;/li&gt; tag?</title>
<author><name>Gordian Yuan &lt;gordianyuan@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3c6b4cc8f60902230229t2581e522rb8850eaff2cf265f@mail.gmail.com%3e"/>
<id>urn:uuid:%3c6b4cc8f60902230229t2581e522rb8850eaff2cf265f@mail-gmail-com%3e</id>
<updated>2009-02-23T10:29:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Martin,

Thank you very much for the quick response and solution my problem ... Thank
you very much!

Gordian

On Mon, Feb 23, 2009 at 6:22 PM, Martin Kurz &lt;info@martinkurz.com&gt; wrote:

&gt; Hi Gordian,
&gt;
&gt; there are two packages for the creation of html elements in ecs:
&gt;
&gt; org.apache.ecs.html
&gt;
&gt; and
&gt;
&gt; org.apache.ecs.xhtml
&gt;
&gt; the first one (org.apache.ecs.html) is for html4, the second one for xhtml,
&gt; html4 doesn't force closing tags for element, xhtml does. Simply use to the
&gt; lowercase classes from xhtml-package, then you'll get the closing tags.
&gt;
&gt; Greetings,
&gt;
&gt; Martin
&gt;
&gt; Gordian Yuan schrieb:
&gt;
&gt;  Hi all,
&gt;&gt;
&gt;&gt; I am new to ecs, I write a assert like
&gt;&gt;
&gt;&gt; assertEquals("&lt;ul&gt;&lt;li&gt;Hello World&lt;/li&gt;&lt;/ul&gt;", new UL().addElement(
&gt;&gt;                new LI("Hello World")).toString());
&gt;&gt;
&gt;&gt; I expect "&lt;ul&gt;&lt;li&gt;Hello World&lt;/li&gt;&lt;/ul&gt;" but actual ecs generate
&gt;&gt; "&lt;ul&gt;&lt;li&gt;Hello World&lt;/ul&gt;", it's missing "&lt;/li&gt;"
&gt;&gt;
&gt;&gt; My question is how to add the missing "&lt;/li&gt;" tag??
&gt;&gt;
&gt;&gt; Any input will be great .. thank you
&gt;&gt;
&gt;&gt; Gordian
&gt;&gt;
&gt;&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: ecs-user-help@jakarta.apache.org
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: missing &lt;/li&gt; tag?</title>
<author><name>Martin Kurz &lt;info@martinkurz.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3c49A278E9.2060107@martinkurz.com%3e"/>
<id>urn:uuid:%3c49A278E9-2060107@martinkurz-com%3e</id>
<updated>2009-02-23T10:22:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Gordian,

there are two packages for the creation of html elements in ecs:

org.apache.ecs.html

and

org.apache.ecs.xhtml

the first one (org.apache.ecs.html) is for html4, the second one for 
xhtml, html4 doesn't force closing tags for element, xhtml does. Simply 
use to the lowercase classes from xhtml-package, then you'll get the 
closing tags.

Greetings,

Martin

Gordian Yuan schrieb:
&gt; Hi all,
&gt; 
&gt; I am new to ecs, I write a assert like
&gt; 
&gt; assertEquals("&lt;ul&gt;&lt;li&gt;Hello World&lt;/li&gt;&lt;/ul&gt;", new UL().addElement(
&gt;                 new LI("Hello World")).toString());
&gt; 
&gt; I expect "&lt;ul&gt;&lt;li&gt;Hello World&lt;/li&gt;&lt;/ul&gt;" but actual ecs generate
&gt; "&lt;ul&gt;&lt;li&gt;Hello World&lt;/ul&gt;", it's missing "&lt;/li&gt;"
&gt; 
&gt; My question is how to add the missing "&lt;/li&gt;" tag??
&gt; 
&gt; Any input will be great .. thank you
&gt; 
&gt; Gordian
&gt; 

---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>missing &lt;/li&gt; tag?</title>
<author><name>Gordian Yuan &lt;gordianyuan@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3c6b4cc8f60902230133o18283931m56956c7b975a1cdc@mail.gmail.com%3e"/>
<id>urn:uuid:%3c6b4cc8f60902230133o18283931m56956c7b975a1cdc@mail-gmail-com%3e</id>
<updated>2009-02-23T09:33:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi all,

I am new to ecs, I write a assert like

assertEquals("&lt;ul&gt;&lt;li&gt;Hello World&lt;/li&gt;&lt;/ul&gt;", new UL().addElement(
                new LI("Hello World")).toString());

I expect "&lt;ul&gt;&lt;li&gt;Hello World&lt;/li&gt;&lt;/ul&gt;" but actual ecs generate
"&lt;ul&gt;&lt;li&gt;Hello World&lt;/ul&gt;", it's missing "&lt;/li&gt;"

My question is how to add the missing "&lt;/li&gt;" tag??

Any input will be great .. thank you

Gordian


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: learning API for table</title>
<author><name>Martin Kurz &lt;info@martinkurz.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3c49A1D999.6070608@martinkurz.com%3e"/>
<id>urn:uuid:%3c49A1D999-6070608@martinkurz-com%3e</id>
<updated>2009-02-22T23:02:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Thufir,

&gt; The next thing I should work on are CRUD operations for a table.  I 
&gt; notice mouse over event listeners and so forth in the API.  ECS is not 
&gt; dissimilar from Swing?

the goal of ecs is, making the building of html in java code easier by 
working with object instances instead of concatenating with lots of 
Strings. If you're planning to build an CRUD webapp, maybe you should 
have a look for JSF, ie the myfaces libs like tobago 
(http://myfaces.apache.org/tobago/). There you'll find actions and 
events without having to care about concrete html and javascript.

Greetings,

Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: learning API for table</title>
<author><name>Thufir &lt;hawat.thufir@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3cgnsiu2$vgv$1@ger.gmane.org%3e"/>
<id>urn:uuid:%3cgnsiu2$vgv$1@ger-gmane-org%3e</id>
<updated>2009-02-22T22:17:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Sun, 22 Feb 2009 11:15:01 +0100, Martin Kurz wrote:

&gt; Hi Thufir,
&gt; 
&gt; the TD instances of course have to get added to the tr instance, not to
&gt; the table, so something like the following should bring the requested
&gt; result:
&gt; 

I made a utility method which takes a List and returns a nice table.  I 
plan to make it more general by implementing generics better and 
accepting a List&lt;List&gt;, but for now it's perfect.

I haven't really looked too closely at the Java, but the HTML produced is 
much more common sense.

The next thing I should work on are CRUD operations for a table.  I 
notice mouse over event listeners and so forth in the API.  ECS is not 
dissimilar from Swing?

I suppose that as I make the table I should add listeners to each cell?

I'll google, as I expect that this isn't exactly virgin territory :)



thanks,

Thufir


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re:  learning API for table</title>
<author><name>&quot;Zachary Mitchell, BCIS&quot; &lt;zac.j.m@internode.on.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3c1B5FA70D766F4ED689E4322A9C3C23ED@zachary%3e"/>
<id>urn:uuid:%3c1B5FA70D766F4ED689E4322A9C3C23ED@zachary%3e</id>
<updated>2009-02-22T22:07:41Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Mate,

IMHO, having a bean/java object

for something as trivial as an HTML

TD with text contents

really isn't worth the overhead

you'll incur for each row of your table.

Consider Having one bean for the entire table,

and something like a LinkedList,

with each node in that each td.

Just an opinon, unless

there's more going on with your program!

Zac, Australia.





----- Original Message ----- 
From: "Thufir" &lt;hawat.thufir@gmail.com&gt;
To: &lt;ecs-user@jakarta.apache.org&gt;
Sent: Sunday, February 22, 2009 5:26 PM
Subject: learning API for table


&gt; Possibly it's a weakness with HTML, but I can't seem to get results which
&gt; make sense.  What I want to do is something like:
&gt;
&gt; get a bean, representing a row
&gt;
&gt; each bean attribute corresponds to a TD instance?
&gt; Loop through the List of attributes and:
&gt;
&gt; add each TD instance to TR, right now I'm adding directly to the table.
&gt;
&gt; add the TR to the table
&gt;
&gt; go to the next element in the list
&gt;
&gt;
&gt;
&gt; if my Java is weak, or generics are wrong, please let that go.  I'm just
&gt; trying to generate a table at the moment (in a servlet).
&gt;
&gt;
&gt;
&gt; code snippet:
&gt;
&gt;
&gt;        for (SyndEntry syndEntry : rows) {
&gt;            TR row = new TR();
&gt;            row.setPrettyPrint(isPretty);  //need to set props file
&gt;            TD title = new TD();
&gt;            title.setPrettyPrint(isPretty);
&gt;            TD link = new TD();
&gt;            link.setPrettyPrint(isPretty);
&gt;            List&lt;TD&gt; tds = new ArrayList&lt;TD&gt;();
&gt;
&gt;            title.addElement(syndEntry.getTitle());
&gt;            link.addElement(syndEntry.getLink());
&gt;            tds.add(link);
&gt;            tds.add(title);
&gt;
&gt;            table.addElement(row);  //why doesn't this go last?
&gt;                                    //why not add the TD obj's
&gt;                                    //to the row?
&gt;
&gt;            for(TD td : tds){
&gt;                td.setPrettyPrint(isPretty);
&gt;                table.addElement(td);       //this seems wrong
&gt;            }
&gt;        }
&gt;
&gt;
&gt;        doc.appendBody(table);
&gt;
&gt;
&gt;
&gt;
&gt; the above works, but it seems clumsy.  Of course, I'm mixing the view in
&gt; with everything else at the moment, but ignoring that for now, pls.
&gt;
&gt;
&gt; thanks,
&gt;
&gt; Thufir
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: ecs-user-help@jakarta.apache.org
&gt; 


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: learning API for table</title>
<author><name>Martin Kurz &lt;info@martinkurz.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3c49A125A5.706@martinkurz.com%3e"/>
<id>urn:uuid:%3c49A125A5-706@martinkurz-com%3e</id>
<updated>2009-02-22T10:15:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Thufir,

the TD instances of course have to get added to the tr instance, not to 
the table, so something like the following should bring the requested 
result:

for (SyndEntry syndEntry : rows) {
     TR row = new TR();
     row.setPrettyPrint(isPretty);
     table.addElement(row);

     TD title = new TD();
     title.setPrettyPrint(isPretty);
     title.addElement(syndEntry.getTitle());
     row.addElement(title);

     TD link = new TD();
     link.setPrettyPrint(isPretty);
     link.addElement(syndEntry.getLink());
     row.addElement(link);
}

doc.appendBody(table);

Greetings,

Martin



Thufir schrieb:
&gt; Possibly it's a weakness with HTML, but I can't seem to get results which 
&gt; make sense.  What I want to do is something like:
&gt; 
&gt; get a bean, representing a row
&gt; 
&gt; each bean attribute corresponds to a TD instance?
&gt; Loop through the List of attributes and:
&gt; 
&gt; add each TD instance to TR, right now I'm adding directly to the table.
&gt; 
&gt; add the TR to the table
&gt; 
&gt; go to the next element in the list
&gt; 
&gt; 
&gt; 
&gt; if my Java is weak, or generics are wrong, please let that go.  I'm just 
&gt; trying to generate a table at the moment (in a servlet).
&gt; 
&gt; 
&gt; 
&gt; code snippet:
&gt; 
&gt; 
&gt;         for (SyndEntry syndEntry : rows) {
&gt;             TR row = new TR();
&gt;             row.setPrettyPrint(isPretty);  //need to set props file
&gt;             TD title = new TD();
&gt;             title.setPrettyPrint(isPretty);
&gt;             TD link = new TD();
&gt;             link.setPrettyPrint(isPretty);
&gt;             List&lt;TD&gt; tds = new ArrayList&lt;TD&gt;();
&gt; 
&gt;             title.addElement(syndEntry.getTitle());
&gt;             link.addElement(syndEntry.getLink());
&gt;             tds.add(link);
&gt;             tds.add(title);
&gt; 
&gt;             table.addElement(row);  //why doesn't this go last?
&gt;                                     //why not add the TD obj's
&gt;                                     //to the row?
&gt;             
&gt;             for(TD td : tds){
&gt;                 td.setPrettyPrint(isPretty);
&gt;                 table.addElement(td);       //this seems wrong
&gt;             }
&gt;         }
&gt; 
&gt; 
&gt;         doc.appendBody(table);
&gt; 
&gt; 
&gt; 
&gt; 
&gt; the above works, but it seems clumsy.  Of course, I'm mixing the view in 
&gt; with everything else at the moment, but ignoring that for now, pls.
&gt; 
&gt; 
&gt; thanks,
&gt; 
&gt; Thufir
&gt; 
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: ecs-user-help@jakarta.apache.org
&gt; 

---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>learning API for table</title>
<author><name>Thufir &lt;hawat.thufir@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200902.mbox/%3cgnqsum$6u0$1@ger.gmane.org%3e"/>
<id>urn:uuid:%3cgnqsum$6u0$1@ger-gmane-org%3e</id>
<updated>2009-02-22T06:56:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Possibly it's a weakness with HTML, but I can't seem to get results which 
make sense.  What I want to do is something like:

get a bean, representing a row

each bean attribute corresponds to a TD instance?
Loop through the List of attributes and:

add each TD instance to TR, right now I'm adding directly to the table.

add the TR to the table

go to the next element in the list



if my Java is weak, or generics are wrong, please let that go.  I'm just 
trying to generate a table at the moment (in a servlet).



code snippet:


        for (SyndEntry syndEntry : rows) {
            TR row = new TR();
            row.setPrettyPrint(isPretty);  //need to set props file
            TD title = new TD();
            title.setPrettyPrint(isPretty);
            TD link = new TD();
            link.setPrettyPrint(isPretty);
            List&lt;TD&gt; tds = new ArrayList&lt;TD&gt;();

            title.addElement(syndEntry.getTitle());
            link.addElement(syndEntry.getLink());
            tds.add(link);
            tds.add(title);

            table.addElement(row);  //why doesn't this go last?
                                    //why not add the TD obj's
                                    //to the row?
            
            for(TD td : tds){
                td.setPrettyPrint(isPretty);
                table.addElement(td);       //this seems wrong
            }
        }


        doc.appendBody(table);




the above works, but it seems clumsy.  Of course, I'm mixing the view in 
with everything else at the moment, but ignoring that for now, pls.


thanks,

Thufir


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Mutliple select list</title>
<author><name>jamespeter &lt;jamespeter0815@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200810.mbox/%3c19764007.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c19764007-post@talk-nabble-com%3e</id>
<updated>2008-10-01T16:17:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

 list of pre-selected values for an &lt;s:select&gt; tag when using the
"multiple=true" option ... "multiple=true" option. It works fine when I use
...
www.nabble.com/Problem-with-creating-default-selection-values-in-multiple-select-td19224732.html

=========================================================================
jamespeter
http://www.fastrealestate.net FSBO 
-- 
View this message in context: http://www.nabble.com/Mutliple-select-list-tp1939097p19764007.html
Sent from the ECS - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>About NAbble</title>
<author><name>jamespeter &lt;jamespeter0815@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200810.mbox/%3c19763880.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c19763880-post@talk-nabble-com%3e</id>
<updated>2008-10-01T16:10:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi..
 I am new to this site.I did go through this site completely.But still i
have some confusions about this site.can anyone give me the total details of
this site who knows much better.?
==========================================================================
jamespeter
http://www.fastrealestate.net FSBO 
-- 
View this message in context: http://www.nabble.com/About-NAbble-tp19763880p19763880.html
Sent from the ECS - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: java on tomcat, I am lost!</title>
<author><name>Robert Welz &lt;r.welz@pro2col.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200806.mbox/%3c91C04398-E319-4554-A3F1-18217C2AE383@pro2col.de%3e"/>
<id>urn:uuid:%3c91C04398-E319-4554-A3F1-18217C2AE383@pro2col-de%3e</id>
<updated>2008-06-17T08:39:23Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Am 17.06.2008 um 10:31 schrieb David Tonhofer:

&gt; Robert Welz wrote:
&gt;&gt; Hello!
&gt;&gt;
&gt;&gt; I have some little problems with some java servlets but I am lost  
&gt;&gt; and need some help?
&gt;&gt;
&gt;&gt; -&gt; Where is the correct place to ask those questions?
&gt; That would be on one of those lists:
&gt;
&gt; http://tomcat.apache.org/lists.html#tomcat-users

Thank you very much!


&gt;&gt;
&gt;&gt; The problem is about the usage of javac and classpath usage. I am a  
&gt;&gt; C++ programmer and have not the time to read a book  
&gt;&gt; (unfortunately). But its not about programming,
&gt;&gt; its just javac which is new to me.
&gt;&gt;
&gt; ...or send me the question.

Yes, I would. But beeing a good citizen and go to the correct mailing  
list is better ;) ;)

kind regards,
Robert

&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: ecs-user-help@jakarta.apache.org
&gt;

---
Robert Welz
Pro2col Limited
Weinheimer Strasse 64
D-68309 Mannheim

t  0621 724 5837
f  0621 724 5782
w  http://www.pro2col.de
e  r.welz@pro2col.de
skype  ro.welz

Pro2col Technischer Support
support@pro2col.de
Tel.: +49 621 724 5837


Apple Solution Expert - Print &amp; Publishing

File transfer &amp; workflow specialists for the graphic art &amp; prepress  
industry

Distributors for DevZeroG, Hermstedt &amp; OneVision within the UK and  
Ireland

Pro2col's legal position regarding Internet communications can be  
found at http://pro2col.com/about/legal.asp






---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: java on tomcat, I am lost!</title>
<author><name>David Tonhofer &lt;d.tonhofer@m-plify.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200806.mbox/%3c4857766C.7010906@m-plify.com%3e"/>
<id>urn:uuid:%3c4857766C-7010906@m-plify-com%3e</id>
<updated>2008-06-17T08:31:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Robert Welz wrote:
&gt; Hello!
&gt;
&gt; I have some little problems with some java servlets but I am lost and 
&gt; need some help?
&gt;
&gt; -&gt; Where is the correct place to ask those questions?
That would be on one of those lists:

http://tomcat.apache.org/lists.html#tomcat-users

&gt;
&gt; The problem is about the usage of javac and classpath usage. I am a 
&gt; C++ programmer and have not the time to read a book (unfortunately). 
&gt; But its not about programming,
&gt; its just javac which is new to me.
&gt;
...or send me the question.







---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>java on tomcat, I am lost!</title>
<author><name>Robert Welz &lt;r.welz@pro2col.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200806.mbox/%3cCA7662EC-CDE4-4965-A1C8-572B0A01C1FF@pro2col.de%3e"/>
<id>urn:uuid:%3cCA7662EC-CDE4-4965-A1C8-572B0A01C1FF@pro2col-de%3e</id>
<updated>2008-06-17T08:20:37Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello!

I have some little problems with some java servlets but I am lost and  
need some help?

-&gt; Where is the correct place to ask those questions?

The problem is about the usage of javac and classpath usage. I am a C+ 
+ programmer and have not the time to read a book (unfortunately). But  
its not about programming,
its just javac which is new to me.

Thank you for your help!

kind regards,

Robert








---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Is ECS project still alive?</title>
<author><name>Georg Sauer-Limbach &lt;georg.sauer-limbach@gmx.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200709.mbox/%3c46FB5CB0.10909@gmx.de%3e"/>
<id>urn:uuid:%3c46FB5CB0-10909@gmx-de%3e</id>
<updated>2007-09-27T07:33:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

Robert.Mattler@AngleBar.com wrote:
&gt; ECS was created when servlets were the main technology for creating web 
&gt; pages.  At that time, ECS was an alternative for hard-coding HTML in your 
&gt; servlets.

Times haven't changed that dramatically since then.

&gt; Now we have JSPs, XML to XLST, frameworks such as Cocoon, 
&gt; Tapestry, Wicket., MyFaces, etc  With ECS you are still coding your HTML 
&gt; in your servlets which is a maintenance nightmare.  

I disagree. The way of creating HTML through ECS is totally
different from writing it down in its serialized form as
you do in JSPs and XSLT. These serialized forms of HTML
are dead code: You cannot easily re-use them or manipulate
them, even in the same program, because they're text already.
Approaches like ECS, or DOM via Javascript (to which it is
fairly similiar), have a great advantage over the serialized
approaches: You work object-oriented to build your HTML.

&gt; The development community has moved on to MVC frameworks.

You can use an MVC approach and still use ECS, that is
not a contradiction.

My bottom line is: ECS is rather simple and a bit
low-level, but it still is a good way to create HTML.

Georg

---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Is ECS project still alive?</title>
<author><name>Basil Bourque &lt;basilbourque@mac.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200709.mbox/%3cB12AA0AA-3E0C-49B4-A2AF-E20890E89D69@mac.com%3e"/>
<id>urn:uuid:%3cB12AA0AA-3E0C-49B4-A2AF-E20890E89D69@mac-com%3e</id>
<updated>2007-09-26T18:28:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; ECS was created when servlets were the main technology for creating  
&gt; web
&gt; pages.  At that time, ECS was an alternative for hard-coding HTML  
&gt; in your
&gt; servlets.  Now we have JSPs, XML to XLST, frameworks such as Cocoon,
&gt; Tapestry, Wicket., MyFaces, etc  With ECS you are still coding your  
&gt; HTML
&gt; in your servlets which is a maintenance nightmare.

Doing direct HTML coding in small easy-to-understand servlets makes  
sense for smaller projects. It especially makes sense for in-house  
projects where you are focused on providing access to data, not  
trying to impress the world with your Web 2.0 features and magazine- 
style CSS layouts.

If you are building the next Amazon.com, then yes, you may need the  
heft of a framework.

Those of us writing simple reports for in-house use would much rather  
whip up some simple servlets than spend weeks studying some  
framework's source-code, miles of email archives, and obscure bug- 
reports.

We might also find debugging to be much simpler when tracing through  
our own code and a few calls to ECS rather than a mountain of  
framework code.

&gt; The development
&gt; community has moved on to MVC frameworks.

Make that "some of" the development community.

ECS specifically died because anyone who expresses an interest gets  
slapped down with a condescending attitude that "only idiots and  
children do direct HTML coding, all the cool kids use endlessly  
complicated, gnarly frameworks with 18-layers of abstraction." Plus  
they offer the bonus feature of endless revising and re-architecting.  
And then eventually that framework fades away as the new framework-du- 
jour takes its place.

This framework mania may be the reason why so many developers have  
fled Java, and are running to PHP, Ruby on Rails, M$, etc.

My advice:

- If ECS works for you, use it. Get your work done, go home, kiss the  
spouse, walk the dog.

- If you get tired of the snobby framework retorts, start a similar  
project of your own somewhere else in cyberspace.

--Basil Bourque

---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Is ECS project still alive?</title>
<author><name>Robert.Mattler@AngleBar.com</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200709.mbox/%3cOF1F41DD7D.7F89861C-ON85257362.00465CD6-85257362.0047C31D@anglebar.com%3e"/>
<id>urn:uuid:%3cOF1F41DD7D-7F89861C-ON85257362-00465CD6-85257362-0047C31D@anglebar-com%3e</id>
<updated>2007-09-26T13:03:50Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
ECS was created when servlets were the main technology for creating web 
pages.  At that time, ECS was an alternative for hard-coding HTML in your 
servlets.  Now we have JSPs, XML to XLST, frameworks such as Cocoon, 
Tapestry, Wicket., MyFaces, etc  With ECS you are still coding your HTML 
in your servlets which is a maintenance nightmare.  The development 
community has moved on to MVC frameworks.







"Davi Cesar Martins Nascimento" &lt;dcesarnascimento@gmail.com&gt; 
09/25/2007 03:27 PM
Please respond to
"ECS Users List" &lt;ecs-user@jakarta.apache.org&gt;


To
"ECS Users List" &lt;ecs-user@jakarta.apache.org&gt;
cc

Subject
Re: Is ECS project still alive?






The questions are: why it is dead and why it should be dead?

On 9/25/07, Robert.Mattler@anglebar.com &lt;Robert.Mattler@anglebar.com&gt; 
wrote:
&gt;
&gt; No it is dead and should be dead.
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; "Davi Cesar Martins Nascimento" &lt;dcesarnascimento@gmail.com&gt;
&gt; 09/25/2007 03:08 PM
&gt; Please respond to
&gt; "ECS Users List" &lt;ecs-user@jakarta.apache.org&gt;
&gt;
&gt;
&gt; To
&gt; ecs-user@jakarta.apache.org
&gt; cc
&gt;
&gt; Subject
&gt; Re: Is ECS project still alive?
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; &gt;
&gt; &gt; Peter Bona wrotte
&gt; &gt; "What else would you like to have in ECS?"
&gt; &gt;
&gt; &gt;
&gt; I would like to see ECS following the WCAG (Web Content Accessibility
&gt; Guidelines 1.0).  This is a set of recomendations to guide the
&gt; accessibility
&gt; websites development.   ECS + WCAG would be a interesting combination.
&gt;
&gt; I'm plaining to develop this project (ECS+WCAG)
&gt;
&gt; --
&gt; Davi César M. Nascimento
&gt; Graduando em Ciência da Computação - UFBA
&gt;
&gt;


-- 
Davi César M. Nascimento
Graduando em Ciência da Computação - UFBA



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Is ECS project still alive?</title>
<author><name>Robert Burrell Donkin &lt;robertburrelldonkin@blueyonder.co.uk&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200709.mbox/%3c1190760129.14800.22.camel@localhost%3e"/>
<id>urn:uuid:%3c1190760129-14800-22-camel@localhost%3e</id>
<updated>2007-09-25T22:42:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; "Davi Cesar Martins Nascimento" &lt;dcesarnascimento@gmail.com&gt;
&gt; 09/25/2007 03:08 PM
&gt; 
&gt; The questions are: 

(here's the gosple according to me: other may well jump in their own views of history)

&gt; why it is dead 

ECS is not dead, just in a deep, deep sleep ;-)

it's in deep sleep maintenance mode: once or twice a year someone finds a bug in a production
system and creates a patch. some time later, hopefully someone creates a patch.

so, the question is: how did it end this way?

ECS is one of the aboriginal jakarta sub-projects. it was in java.apache.org in the days of
jserv. it's old. 

ECS 1 is completed. it's gone just about as far as it's architecture can (as far as the original
developers could see, anyway).

ECS 2 exists in various forms but the community found new and different ways to do the things
they wanted to use ECS2 for. some people went away and created members of the first generation
of web application framework. i moved onto xml processing libraries (and the commons).

apache uses the rule of three: a projects needs three interested developers to be viable.
people drifted off to new projects and ECS slept. it's slept for around half a decade now.

&gt; and why it should be dead?

it only needs to remain dead until there is a viable community that can find new uses for
it

in terms of evolution, it's generation zero

it predates web application frameworks. most modern (forth generation) frameworks offer so
much more functionality to web developers.

it predates xml-relational mappers. most modern (third generation) xml-relational mappers
offer so much more functionality.

of course, progress comes at a price. in comparison, ECS is very reliable and very easy to
learn. it's also possible to enforce standards much better.

- robert



---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Is ECS project still alive?</title>
<author><name>&quot;Martin Kultermann&quot; &lt;Martinator@estarmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200709.mbox/%3cE400BC2C34C30D48BBAD4AB2CD2DB246535F4E@70-91-104-193-illinois.hfc.comcastbusiness.net%3e"/>
<id>urn:uuid:%3cE400BC2C34C30D48BBAD4AB2CD2DB246535F4E@70-91-104-193-illinois-hfc-comcastbusiness-net%3e</id>
<updated>2007-09-25T20:54:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello, I use ECS to generate database driven multi lingual HTML pages without monkeying with
tons of HTML objects.

An ECS update would be appreciated.

Regards

Martin Kultermann
eStar Communications
Office: +1 (312) 275-0291
Cell:   +1 (847) 372-2381
Email:  Martinator@eStarMail.com
-----Original Message-----
From: Breck Baldwin [mailto:breck@alias-i.com] 
Sent: Tuesday, September 25, 2007 3:44 PM
To: ECS Users List
Subject: Re: Is ECS project still alive?

jim.mcmaster@comcast.net wrote:

I used to use ECS for greater "compile time awarness" of the quality of 
the resulting html but in the end
we decided to build our own XHTML strict effort. Bob Carpenter did it 
and there were some twisty
bits but in the end he succeeded in achieving "if it compiles in java it 
is XHMTL valid".

Scroll to the bottom of:

http://alias-i.com/lingpipe/web/sandbox.html

I think we would be happy to do an apache release if there was 
sufficient community support.


best

Breck


&gt;Personally, I think it is because there are a lot better technologies available now. 
For web applications, the Google Web Toolkit (http://code.google.com/webtoolkit) does everything
ECS did and a lot more.
&gt;
&gt;--
&gt;Jim McMaster
&gt;mailto:jim.mcmaster@comcast.net
&gt;
&gt; -------------- Original message ----------------------
&gt;From: "Davi Cesar Martins Nascimento" &lt;dcesarnascimento@gmail.com&gt;
&gt;  
&gt;
&gt;&gt;The questions are: why it is dead and why it should be dead?
&gt;&gt;
&gt;&gt;On 9/25/07, Robert.Mattler@anglebar.com &lt;Robert.Mattler@anglebar.com&gt; wrote:
&gt;&gt;    
&gt;&gt;
&gt;&gt;&gt;No it is dead and should be dead.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;"Davi Cesar Martins Nascimento" &lt;dcesarnascimento@gmail.com&gt;
&gt;&gt;&gt;09/25/2007 03:08 PM
&gt;&gt;&gt;Please respond to
&gt;&gt;&gt;"ECS Users List" &lt;ecs-user@jakarta.apache.org&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;To
&gt;&gt;&gt;ecs-user@jakarta.apache.org
&gt;&gt;&gt;cc
&gt;&gt;&gt;
&gt;&gt;&gt;Subject
&gt;&gt;&gt;Re: Is ECS project still alive?
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;      
&gt;&gt;&gt;
&gt;&gt;&gt;&gt;Peter Bona wrotte
&gt;&gt;&gt;&gt;"What else would you like to have in ECS?"
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;        
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;I would like to see ECS following the WCAG (Web Content Accessibility
&gt;&gt;&gt;Guidelines 1.0).  This is a set of recomendations to guide the
&gt;&gt;&gt;accessibility
&gt;&gt;&gt;websites development.   ECS + WCAG would be a interesting combination.
&gt;&gt;&gt;
&gt;&gt;&gt;I'm plaining to develop this project (ECS+WCAG)
&gt;&gt;&gt;
&gt;&gt;&gt;--
&gt;&gt;&gt;Davi Cå»¥ar M. Nascimento
&gt;&gt;&gt;Graduando em Ciç˜½cia da Computaèª½o - UFBA
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;      
&gt;&gt;&gt;
&gt;&gt;-- 
&gt;&gt;Davi Cå»¥ar M. Nascimento
&gt;&gt;Graduando em Ciç˜½cia da Computaèª½o - UFBA
&gt;&gt;
&gt;&gt;    
&gt;&gt;
&gt;
&gt;
&gt;---------------------------------------------------------------------
&gt;To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
&gt;For additional commands, e-mail: ecs-user-help@jakarta.apache.org
&gt;  
&gt;


-- 
Breck Baldwin
Alias-i, Inc.
181 North 11th Street, Suite 401
Brooklyn, NY 11211
v:718.290.9170
f:718.290.9171
m:917.292.8845
breck@alias-i.com


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Is ECS project still alive?</title>
<author><name>Breck Baldwin &lt;breck@alias-i.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200709.mbox/%3c46F974FE.8060004@alias-i.com%3e"/>
<id>urn:uuid:%3c46F974FE-8060004@alias-i-com%3e</id>
<updated>2007-09-25T20:52:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Breck Baldwin wrote:

Sorry, I didn't mean for it to look like Jim wrote that. Newbie 
mistake....grrr...

breck

&gt; jim.mcmaster@comcast.net wrote:
&gt;
&gt; I used to use ECS for greater "compile time awarness" of the quality 
&gt; of the resulting html but in the end
&gt; we decided to build our own XHTML strict effort. Bob Carpenter did it 
&gt; and there were some twisty
&gt; bits but in the end he succeeded in achieving "if it compiles in java 
&gt; it is XHMTL valid".
&gt;
&gt; Scroll to the bottom of:
&gt;
&gt; http://alias-i.com/lingpipe/web/sandbox.html
&gt;
&gt; I think we would be happy to do an apache release if there was 
&gt; sufficient community support.
&gt;
&gt;
&gt; best
&gt;
&gt; Breck
&gt;
&gt;
&gt;&gt; Personally, I think it is because there are a lot better technologies 
&gt;&gt; available now.  For web applications, the Google Web Toolkit 
&gt;&gt; (http://code.google.com/webtoolkit) does everything ECS did and a lot 
&gt;&gt; more.
&gt;&gt;
&gt;&gt; -- 
&gt;&gt; Jim McMaster
&gt;&gt; mailto:jim.mcmaster@comcast.net
&gt;&gt;
&gt;&gt; -------------- Original message ----------------------
&gt;&gt; From: "Davi Cesar Martins Nascimento" &lt;dcesarnascimento@gmail.com&gt;
&gt;&gt;  
&gt;&gt;
&gt;&gt;&gt; The questions are: why it is dead and why it should be dead?
&gt;&gt;&gt;
&gt;&gt;&gt; On 9/25/07, Robert.Mattler@anglebar.com 
&gt;&gt;&gt; &lt;Robert.Mattler@anglebar.com&gt; wrote:
&gt;&gt;&gt;   
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; No it is dead and should be dead.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; "Davi Cesar Martins Nascimento" &lt;dcesarnascimento@gmail.com&gt;
&gt;&gt;&gt;&gt; 09/25/2007 03:08 PM
&gt;&gt;&gt;&gt; Please respond to
&gt;&gt;&gt;&gt; "ECS Users List" &lt;ecs-user@jakarta.apache.org&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; To
&gt;&gt;&gt;&gt; ecs-user@jakarta.apache.org
&gt;&gt;&gt;&gt; cc
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Subject
&gt;&gt;&gt;&gt; Re: Is ECS project still alive?
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Peter Bona wrotte
&gt;&gt;&gt;&gt;&gt; "What else would you like to have in ECS?"
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I would like to see ECS following the WCAG (Web Content Accessibility
&gt;&gt;&gt;&gt; Guidelines 1.0).  This is a set of recomendations to guide the
&gt;&gt;&gt;&gt; accessibility
&gt;&gt;&gt;&gt; websites development.   ECS + WCAG would be a interesting combination.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I'm plaining to develop this project (ECS+WCAG)
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; -- 
&gt;&gt;&gt;&gt; Davi Cå»¥ar M. Nascimento
&gt;&gt;&gt;&gt; Graduando em Ciç˜½cia da Computaèª½o - UFBA
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;
&gt;&gt;&gt; -- 
&gt;&gt;&gt; Davi Cå»¥ar M. Nascimento
&gt;&gt;&gt; Graduando em Ciç˜½cia da Computaèª½o - UFBA
&gt;&gt;&gt;
&gt;&gt;&gt;   
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
&gt;&gt; For additional commands, e-mail: ecs-user-help@jakarta.apache.org
&gt;&gt;  
&gt;&gt;
&gt;
&gt;


-- 
Breck Baldwin
Alias-i, Inc.
181 North 11th Street, Suite 401
Brooklyn, NY 11211
v:718.290.9170
f:718.290.9171
m:917.292.8845
breck@alias-i.com


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Is ECS project still alive?</title>
<author><name>Breck Baldwin &lt;breck@alias-i.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200709.mbox/%3c46F97317.5080204@alias-i.com%3e"/>
<id>urn:uuid:%3c46F97317-5080204@alias-i-com%3e</id>
<updated>2007-09-25T20:44:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
jim.mcmaster@comcast.net wrote:

I used to use ECS for greater "compile time awarness" of the quality of 
the resulting html but in the end
we decided to build our own XHTML strict effort. Bob Carpenter did it 
and there were some twisty
bits but in the end he succeeded in achieving "if it compiles in java it 
is XHMTL valid".

Scroll to the bottom of:

http://alias-i.com/lingpipe/web/sandbox.html

I think we would be happy to do an apache release if there was 
sufficient community support.


best

Breck


&gt;Personally, I think it is because there are a lot better technologies available now. 
For web applications, the Google Web Toolkit (http://code.google.com/webtoolkit) does everything
ECS did and a lot more.
&gt;
&gt;--
&gt;Jim McMaster
&gt;mailto:jim.mcmaster@comcast.net
&gt;
&gt; -------------- Original message ----------------------
&gt;From: "Davi Cesar Martins Nascimento" &lt;dcesarnascimento@gmail.com&gt;
&gt;  
&gt;
&gt;&gt;The questions are: why it is dead and why it should be dead?
&gt;&gt;
&gt;&gt;On 9/25/07, Robert.Mattler@anglebar.com &lt;Robert.Mattler@anglebar.com&gt; wrote:
&gt;&gt;    
&gt;&gt;
&gt;&gt;&gt;No it is dead and should be dead.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;"Davi Cesar Martins Nascimento" &lt;dcesarnascimento@gmail.com&gt;
&gt;&gt;&gt;09/25/2007 03:08 PM
&gt;&gt;&gt;Please respond to
&gt;&gt;&gt;"ECS Users List" &lt;ecs-user@jakarta.apache.org&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;To
&gt;&gt;&gt;ecs-user@jakarta.apache.org
&gt;&gt;&gt;cc
&gt;&gt;&gt;
&gt;&gt;&gt;Subject
&gt;&gt;&gt;Re: Is ECS project still alive?
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;      
&gt;&gt;&gt;
&gt;&gt;&gt;&gt;Peter Bona wrotte
&gt;&gt;&gt;&gt;"What else would you like to have in ECS?"
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;        
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;I would like to see ECS following the WCAG (Web Content Accessibility
&gt;&gt;&gt;Guidelines 1.0).  This is a set of recomendations to guide the
&gt;&gt;&gt;accessibility
&gt;&gt;&gt;websites development.   ECS + WCAG would be a interesting combination.
&gt;&gt;&gt;
&gt;&gt;&gt;I'm plaining to develop this project (ECS+WCAG)
&gt;&gt;&gt;
&gt;&gt;&gt;--
&gt;&gt;&gt;Davi Cå»¥ar M. Nascimento
&gt;&gt;&gt;Graduando em Ciç˜½cia da Computaèª½o - UFBA
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;      
&gt;&gt;&gt;
&gt;&gt;-- 
&gt;&gt;Davi Cå»¥ar M. Nascimento
&gt;&gt;Graduando em Ciç˜½cia da Computaèª½o - UFBA
&gt;&gt;
&gt;&gt;    
&gt;&gt;
&gt;
&gt;
&gt;---------------------------------------------------------------------
&gt;To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
&gt;For additional commands, e-mail: ecs-user-help@jakarta.apache.org
&gt;  
&gt;


-- 
Breck Baldwin
Alias-i, Inc.
181 North 11th Street, Suite 401
Brooklyn, NY 11211
v:718.290.9170
f:718.290.9171
m:917.292.8845
breck@alias-i.com


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Is ECS project still alive?</title>
<author><name>jim.mcmaster@comcast.net</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200709.mbox/%3c092520072034.5880.46F970BD0005DDB1000016F822007340769D0A9B9C0E030C03D2030706@comcast.net%3e"/>
<id>urn:uuid:%3c092520072034-5880-46F970BD0005DDB1000016F822007340769D0A9B9C0E030C03D2030706@comcast-net%3e</id>
<updated>2007-09-25T20:34:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Personally, I think it is because there are a lot better technologies available now.  For web
applications, the Google Web Toolkit (http://code.google.com/webtoolkit) does everything ECS
did and a lot more.

--
Jim McMaster
mailto:jim.mcmaster@comcast.net

 -------------- Original message ----------------------
From: "Davi Cesar Martins Nascimento" &lt;dcesarnascimento@gmail.com&gt;
&gt; The questions are: why it is dead and why it should be dead?
&gt; 
&gt; On 9/25/07, Robert.Mattler@anglebar.com &lt;Robert.Mattler@anglebar.com&gt; wrote:
&gt; &gt;
&gt; &gt; No it is dead and should be dead.
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; "Davi Cesar Martins Nascimento" &lt;dcesarnascimento@gmail.com&gt;
&gt; &gt; 09/25/2007 03:08 PM
&gt; &gt; Please respond to
&gt; &gt; "ECS Users List" &lt;ecs-user@jakarta.apache.org&gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; To
&gt; &gt; ecs-user@jakarta.apache.org
&gt; &gt; cc
&gt; &gt;
&gt; &gt; Subject
&gt; &gt; Re: Is ECS project still alive?
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt; Peter Bona wrotte
&gt; &gt; &gt; "What else would you like to have in ECS?"
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; I would like to see ECS following the WCAG (Web Content Accessibility
&gt; &gt; Guidelines 1.0).  This is a set of recomendations to guide the
&gt; &gt; accessibility
&gt; &gt; websites development.   ECS + WCAG would be a interesting combination.
&gt; &gt;
&gt; &gt; I'm plaining to develop this project (ECS+WCAG)
&gt; &gt;
&gt; &gt; --
&gt; &gt; Davi César M. Nascimento
&gt; &gt; Graduando em Ciência da Computação - UFBA
&gt; &gt;
&gt; &gt;
&gt; 
&gt; 
&gt; -- 
&gt; Davi César M. Nascimento
&gt; Graduando em Ciência da Computação - UFBA
&gt; 


---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-user-help@jakarta.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Is ECS project still alive?</title>
<author><name>&quot;Davi Cesar Martins Nascimento&quot; &lt;dcesarnascimento@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-user/200709.mbox/%3c467fc89a0709251227p71d4bed7u106e79feaf9005a@mail.gmail.com%3e"/>
<id>urn:uuid:%3c467fc89a0709251227p71d4bed7u106e79feaf9005a@mail-gmail-com%3e</id>
<updated>2007-09-25T19:27:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
The questions are: why it is dead and why it should be dead?

On 9/25/07, Robert.Mattler@anglebar.com &lt;Robert.Mattler@anglebar.com&gt; wrote:
&gt;
&gt; No it is dead and should be dead.
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; "Davi Cesar Martins Nascimento" &lt;dcesarnascimento@gmail.com&gt;
&gt; 09/25/2007 03:08 PM
&gt; Please respond to
&gt; "ECS Users List" &lt;ecs-user@jakarta.apache.org&gt;
&gt;
&gt;
&gt; To
&gt; ecs-user@jakarta.apache.org
&gt; cc
&gt;
&gt; Subject
&gt; Re: Is ECS project still alive?
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; &gt;
&gt; &gt; Peter Bona wrotte
&gt; &gt; "What else would you like to have in ECS?"
&gt; &gt;
&gt; &gt;
&gt; I would like to see ECS following the WCAG (Web Content Accessibility
&gt; Guidelines 1.0).  This is a set of recomendations to guide the
&gt; accessibility
&gt; websites development.   ECS + WCAG would be a interesting combination.
&gt;
&gt; I'm plaining to develop this project (ECS+WCAG)
&gt;
&gt; --
&gt; Davi César M. Nascimento
&gt; Graduando em Ciência da Computação - UFBA
&gt;
&gt;


-- 
Davi César M. Nascimento
Graduando em Ciência da Computação - UFBA


</pre>
</div>
</content>
</entry>
</feed>
