RE: Does Tapestry work with XHTML?

2006-05-31 Thread Townson, Chris
Please don't give up on the XHTML thing.

Alex Russell is completely wrong in the article Jesse referred to. His 
condemnation of so-called academics (Alex's label) smacks of 
narrow-mindedness, lack of forethought and wilful unawareness of the very 
history of web development he briefly covers (i.e. tag soup et al)

Yes, he's correct that implementing some standards can be testing and that an 
overly pedantic approach to them can be debilitating (as one commenter points 
out in that article: they are recommendations, not edicts).

However, that doesn't mean that one should ditch them: the development of 
standards will, by definition, _always_ be in advance of practice.

The idea is that one should always be working _towards_ the fullest possible 
implementation of relevant standards within the constraints of pragmatism ... 
for Tapestry, one of those standards _has_ to be XHTML because, in combination 
with other standards - such as CSS, it is the _only_ solution which offers the 
possibility of a consistent interface with the client-side - with the added 
benefit of a transparent incorporation of multi-format documents (e.g. XHTML + 
SVG + MathML etc)

Whilst there is a degree of dissent about the relative merits of standards for 
client-side technologies at present (caused, in large part, by the failure of a 
certain leading browser manufacturer to propery implement them), this situation 
is only exacerbated by developer abandonment.

As for Tapestry components that aren't able to produce valid XHTML ... they 
really should be able to by now and I think it's a bit weak that they don't. 
But, saying that, it is open source and you would be free to hack these 
components to produce the required XHTML.

Chris

 -Original Message-
 From: Galam [mailto:[EMAIL PROTECTED] 
 Sent: 30 May 2006 17:10
 To: Tapestry users
 Subject: Re: Does Tapestry work with XHTML?
 
 Thanks everyone for the tips and advices. I'll stick with HTML then.
 
 
 
 On 5/29/06, Todd Orr [EMAIL PROTECTED] wrote:
 
  Yet, not all of Tapestry's components produce compliant 
 xhtml, so you
  may be wasting your time going through these measures.
 
  On 5/29/06, Paul Cantrell [EMAIL PROTECTED] wrote:
   Right. And just to be clear: the .xhtml is not 
 necessary for XHTML,
   not just for Tapestry, but in *any* content -- and I 
 don't think the
   text/xml mime type is necessary either. It's the 
 DOCTYPE that has
   the last word.
  
   Use the W3C validator when in doubt! Use it when not in 
 doubt, too.
  
   Cheers,
  
   Paul
  
  
   On May 29, 2006, at 2:11 AM, Kristian Marinkovic wrote:
  
hi,
   
to use XHTML it is NOT necessary to rename the .html file
to .xhtml. all
you
have to do is to add the dtd and the ?xml. the 
 only reason i
could
imagine you want to rename it to .xhtml is because you 
 could configure
your webserver to set the correct mime-type (text/xml). 
 but if you
do so
IE6 (and before) won't be able to display your document 
 correctly.
   
btw. if you put ?xml version=1.0 encoding=UTF-8? into
your document IE6 will run in quirksmode and not in 
 standard compliant
mode! this may cause some misbehaviours when using css :)
(boxmodel...)
 although it is not absolutly correct you may omit
?xml version=1.0 encoding=UTF-8?
completly (or you generate it depending on the current
browser :)).
   
   
regards,
kris
   
   
   
   
   
 Galam
 [EMAIL PROTECTED]
   
omAn
Tapestry users
 29.05.2006 04:32   
 users@tapestry.apache.org

  K
opie
   
  Bitte
antwortenThema
an  Does Tapestry 
 work with XHTML?
 Tapestry users
 [EMAIL PROTECTED]
pache.org
   
   
   
   
   
   
   
Hi all,
   
Does Tapestry work with XHTML?
   
I renamed Home.html to Home.xhtml in my test 
 application, but I
got an
exception saying that
   
Could not find template for page Home in locale en_US.
   
   
---
   
org.apache.hivemind.ApplicationRuntimeException Could not find
template for
page Home in locale en_US. component: 
 [EMAIL PROTECTED]  location:
context:/WEB-INF/Home.page,
line 4, column 55
  1 ?xml version=1.0 encoding=UTF-8? 2 !DOCTYPE page-
specification
PUBLIC -//Apache Software Foundation//Tapestry 
 Specification 4.0//
EN 3 
http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd; 4
page-specification
class=com.ttdev.HelloWorld.Home 5 component id=subject
type=Insert
6 binding name=value value=greetingSubject/ 7 
 /component 8
/page-specification
   
   
   
Thanks!

RE: Multiple skins with Tapestry

2006-05-23 Thread Townson, Chris
Absolutely use CSS!

There should never really be any reason to have to change your (X)HTML for the  
purposes of styling (the markup should be a semantic representation of the 
content anyway, so using it as a representation of the display would be 
incorrect).

... The same goes for JavaScript ... 

Then you could just swap CSS and JS in and out as theme assets as required.

Chris

p.s. ++ use HTML _lists_ for navigation bars, _not_ tables. It isn't 1999 
anymore ;D


 -Original Message-
 From: Tian-Jian Barabbas [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: 22 May 2006 16:41
 To: Tapestry users
 Subject: Re: Multiple skins with Tapestry
 
 Konstantin Ignatyev wrote:
  Tapestry skins feature is in the 'wish list' 
  http://wiki.apache.org/tapestry/WishList
 
  Any ideas if it will be moved into TODO list?
 

 I'm considering a similar requirement, too.
 
 Actually, I would like to customize contrib:TablePages' 
 navigation bar 
 with CSS, because according to Google results, we can only extend our 
 own Java classes to do so.
 
 And then I found a component library for Tapestry called TapFx: 
 http://andyhot.di.uoa.gr/tapfx/app?service=page/Home
 It seems to make us closer to the skin feature.
 
 Regards,
 Mike
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


   
DISCLAIMER: This e-mail is confidential and should not be used by anyone who is
not the original intended recipient. If you have received this e-mail in error
please inform the sender and delete it from your mailbox or any other storage
mechanism. Neither Macmillan Publishers Limited nor any of its agents accept
liability for any statements made which are clearly the sender's own and not
expressly made on behalf of Macmillan Publishers Limited or one of its agents.
Please note that neither Macmillan Publishers Limited nor any of its agents
accept any responsibility for viruses that may be contained in this e-mail or
its attachments and it is your responsibility to scan the e-mail and 
attachments (if any). No contracts may be concluded on behalf of Macmillan 
Publishers Limited or its agents by means of e-mail communication. Macmillan 
Publishers Limited Registered in England and Wales with registered number 
785998 
Registered Office Brunel Road, Houndmills, Basingstoke RG21 6XS   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Google Web Toolkit

2006-05-22 Thread Townson, Chris
 Horrible, horrible, GridBagLayout I loathe it. What an awful  
 mess. CSS is so many thousands of times nicer for doing layout
 
 I am sympathetic to the applets not Javascript argument, though.  
 Applets with CSS layout would be especially nice.
 
 But applets don't integrate well with the flow of the web: 
 like Flash- 
 based sites, you can't bookmark them, search engines can't index  
 them, etc. There are limits to what they're good for. If 
 there were a  
 good way to attach Java to a page's DOM, then we'd be cooking.
 
 I wonder how limited GWT is in this respect? Tapestry works 
 very hard  
 to respect the client's control of their browser.
 

respecting the flow of the web and the clients' ultimate control of their 
environment is vital here, I think

I'd like to have a closer look at the accessibility of the Google toolkit. The 
inexorable rise of AJAX has resulted in the web being pushed _backwards_ in 
this regard

See:
http://joeclark.org/ice/iceweb2006-notes.html
http://joeclark.org/ice/iceweb2006-test-results.html
http://www.sitepoint.com/article/ajax-screenreaders-work

In summary, the accessibility problem boils down to events occurring on a page 
refreshing content but this not being announced in any other way than 
visually. Therefore, users of assistive technologies hav no idea what is 
happening!

It would be really excellent to see Tap5 be the _first_ framework to implement 
AJAX stuff in a genuinely accessible manner out of the box

That would be a _real_ achievement ... not just eye-candy ;D

Chris


   
DISCLAIMER: This e-mail is confidential and should not be used by anyone who is
not the original intended recipient. If you have received this e-mail in error
please inform the sender and delete it from your mailbox or any other storage
mechanism. Neither Macmillan Publishers Limited nor any of its agents accept
liability for any statements made which are clearly the sender's own and not
expressly made on behalf of Macmillan Publishers Limited or one of its agents.
Please note that neither Macmillan Publishers Limited nor any of its agents
accept any responsibility for viruses that may be contained in this e-mail or
its attachments and it is your responsibility to scan the e-mail and 
attachments (if any). No contracts may be concluded on behalf of Macmillan 
Publishers Limited or its agents by means of e-mail communication. Macmillan 
Publishers Limited Registered in England and Wales with registered number 
785998 
Registered Office Brunel Road, Houndmills, Basingstoke RG21 6XS   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: All proposed logos so far

2006-05-19 Thread Townson, Chris
Ivano Pagano wrote:
 Hi all,
 
 this is me playing on the ideas so far proposed... feel free 
 to comment 
 or play with it.
 
 http://www.mclink.it/personal/ML4516/tapestry/tapestry_logo.jpg
 
 this is the source:
 http://www.mclink.it/personal/ML4516/tapestry/tapestry_logo.png
 
 I was looking for a tapestry-looking pattern for the unicorn bg but 
 fireworks doesn't come with it.

Whilst drop-shadows, 3-d effects, and soft-patterns can look good at a large 
size, they scale _very_ badly.

It's _very_ important that logos work at all sizes and that they have direct 
visual impact: cluttered designs which involve layering of motifs one upon the 
other will fail in this regard.

They also need to work in colour and monochrome, and may be used on coloured 
backgrounds. Gradients and the like are, therefore, also out of the question.

Think of all the _really_ successful logos out there (e.g. Mercedes, IBM, Nike, 
Coca-Cola etc etc): simplicity; clear lines; simplicity, directness.

In another thread (new logo for Tapestry), Marcus Schulte made the excellent 
point that the spamassassin logo makes an excellent job of referencing the 
Apache feather in a way that also conjures the emotion of the product (i.e. 
an arrow killing spam mail! :D)

Now, whilst it's not necessary for the Tapestry logo to be the next Nike-tick 
or Mercedes-star, it's definitely worth learning from them.

A good, quick reference can be found here: 
http://www.goodlogo.com/backgrounds/good.logos/

Chris


   
DISCLAIMER: This e-mail is confidential and should not be used by anyone who is
not the original intended recipient. If you have received this e-mail in error
please inform the sender and delete it from your mailbox or any other storage
mechanism. Neither Macmillan Publishers Limited nor any of its agents accept
liability for any statements made which are clearly the sender's own and not
expressly made on behalf of Macmillan Publishers Limited or one of its agents.
Please note that neither Macmillan Publishers Limited nor any of its agents
accept any responsibility for viruses that may be contained in this e-mail or
its attachments and it is your responsibility to scan the e-mail and 
attachments (if any). No contracts may be concluded on behalf of Macmillan 
Publishers Limited or its agents by means of e-mail communication. Macmillan 
Publishers Limited Registered in England and Wales with registered number 
785998 
Registered Office Brunel Road, Houndmills, Basingstoke RG21 6XS   



resources for new Tapestry logo

2006-05-19 Thread Townson, Chris
Hi,

Is vector artwork available for the Apache feather?

If people are interested in incorporating this into the new design somehow, it 
would probably be A Good Thing if scalable versions of the feather were made 
available for designers to use?

Chris

---
christopher townson - new technology developer
nature publishing group - 4 crinan st., london
t. +44 (20) 7843-4644  e. [EMAIL PROTECTED]


   
DISCLAIMER: This e-mail is confidential and should not be used by anyone who is
not the original intended recipient. If you have received this e-mail in error
please inform the sender and delete it from your mailbox or any other storage
mechanism. Neither Macmillan Publishers Limited nor any of its agents accept
liability for any statements made which are clearly the sender's own and not
expressly made on behalf of Macmillan Publishers Limited or one of its agents.
Please note that neither Macmillan Publishers Limited nor any of its agents
accept any responsibility for viruses that may be contained in this e-mail or
its attachments and it is your responsibility to scan the e-mail and 
attachments (if any). No contracts may be concluded on behalf of Macmillan 
Publishers Limited or its agents by means of e-mail communication. Macmillan 
Publishers Limited Registered in England and Wales with registered number 
785998 
Registered Office Brunel Road, Houndmills, Basingstoke RG21 6XS   



RE: resources for new Tapestry logo

2006-05-19 Thread Townson, Chris
 Is vector artwork available for the Apache feather?

okay, found it: 
http://www.google.co.uk/url?sa=tct=rescd=1url=http%3A%2F%2Fwww.apache.org%2Ffoundation%2Fpress%2Fkit%2Fasf_logo.epsei=fqZtRPCHCpKeiAL00fyUBwsig2=N3AoqcD0iUokKpB8KjKxIw



   
DISCLAIMER: This e-mail is confidential and should not be used by anyone who is
not the original intended recipient. If you have received this e-mail in error
please inform the sender and delete it from your mailbox or any other storage
mechanism. Neither Macmillan Publishers Limited nor any of its agents accept
liability for any statements made which are clearly the sender's own and not
expressly made on behalf of Macmillan Publishers Limited or one of its agents.
Please note that neither Macmillan Publishers Limited nor any of its agents
accept any responsibility for viruses that may be contained in this e-mail or
its attachments and it is your responsibility to scan the e-mail and 
attachments (if any). No contracts may be concluded on behalf of Macmillan 
Publishers Limited or its agents by means of e-mail communication. Macmillan 
Publishers Limited Registered in England and Wales with registered number 
785998 
Registered Office Brunel Road, Houndmills, Basingstoke RG21 6XS   



RE: All proposed logos so far

2006-05-19 Thread Townson, Chris
 If I have learned one thing about graphic design, then it is that this
 is a task that should be done by professional designers and definitely
 not by developers. The same applies to java development done 
 by graphic designers.

+1!


   
DISCLAIMER: This e-mail is confidential and should not be used by anyone who is
not the original intended recipient. If you have received this e-mail in error
please inform the sender and delete it from your mailbox or any other storage
mechanism. Neither Macmillan Publishers Limited nor any of its agents accept
liability for any statements made which are clearly the sender's own and not
expressly made on behalf of Macmillan Publishers Limited or one of its agents.
Please note that neither Macmillan Publishers Limited nor any of its agents
accept any responsibility for viruses that may be contained in this e-mail or
its attachments and it is your responsibility to scan the e-mail and 
attachments (if any). No contracts may be concluded on behalf of Macmillan 
Publishers Limited or its agents by means of e-mail communication. Macmillan 
Publishers Limited Registered in England and Wales with registered number 
785998 
Registered Office Brunel Road, Houndmills, Basingstoke RG21 6XS   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: new logo for Tapestry

2006-05-17 Thread Townson, Chris
 Hi,
 
 I agree that a logo competition should be held. 
 
 At the mean time, my artist friend has created one at
 http://www.agileskills2.org/EWDT/Tapestry.jpg
 
 Please comment.

I mean no disrespect to your artists friend, but I think that needs a 
considerable amount of work before it comes close ... but I'm sure they know 
that already, right?

More problematic, though:

1. I think the combination of the cursive ta and sans-serif pestry is 
awkward. Where font combinations are used within a word like this, each type 
face should usage should constitute a potentially separate word in its own 
right. I'm not convinced that either font would be a good choice, even if used 
exclusively.

2. The check pattern is crude; lacking subtlety and refinement

3. The green is rather dull; lacking vibrancy. Additionally, the combination 
of this with the grey-green in the check pattern lacks contrast.

Again, I'd like to emphasise that I mean this as constructive criticism - 
rather than an uninformed Oh, it's rubbish: throw it away! :D

Chris


   
DISCLAIMER: This e-mail is confidential and should not be used by anyone who is
not the original intended recipient. If you have received this e-mail in error
please inform the sender and delete it from your mailbox or any other storage
mechanism. Neither Macmillan Publishers Limited nor any of its agents accept
liability for any statements made which are clearly the sender's own and not
expressly made on behalf of Macmillan Publishers Limited or one of its agents.
Please note that neither Macmillan Publishers Limited nor any of its agents
accept any responsibility for viruses that may be contained in this e-mail or
its attachments and it is your responsibility to scan the e-mail and 
attachments (if any). No contracts may be concluded on behalf of Macmillan 
Publishers Limited or its agents by means of e-mail communication. Macmillan 
Publishers Limited Registered in England and Wales with registered number 
785998 
Registered Office Brunel Road, Houndmills, Basingstoke RG21 6XS   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: I do not like the new tapestry logo (constructive criticism)

2006-05-16 Thread Townson, Chris
 The Postgresql elephant is a terrific logo because it suggests 
 elephantine memory. Just seeing a unicorn by itself doesnt really tie 
 itself to the project. You could depict a knight or a dragon 
 to the same 
 effect - it might be something appearing on heraldic 
 tapestries; either 
 way the tapestry idea is lost in the background.
 
 Here are ideas
 - a spiderweb
 - a loom
 - a needle and thread
 - if someone can draw Arachne (http://en.wikipedia.org/wiki/Arachne) 
 that might be mythological enough for some of the tastes here.

hello - I've been hanging around this list for a while, but this is my first 
post ... 

for my $0.10/£0.02p worth: I think the Arachne idea is _brilliant_!

Wins my vote.

I'd tend to agree that the relationship between tapestry and unicorn is 
tenuous at best.

I have a background in both art history/theory/philosophy and design before 
moving into development, so I know what I'm talking about ;D

How about a contemporary-style re-interpretation of something like this:
http://www.hranajanto.com/pgfx/BW/Arachne-200.gif

I think having something feminine is a good thing, too: I think it would give 
the framework a softer connotations than masculine or abstract; it could 
suggest easy-to-use etc

I know many good designers who'd would probably be happy to have a go at this 
for you for gratis.

Anyway: back to list watching! :D

Chris

p.s. Tapestry is fantastic - I hope to get more involved with it (and this 
list) over the coming months


   
DISCLAIMER: This e-mail is confidential and should not be used by anyone who is
not the original intended recipient. If you have received this e-mail in error
please inform the sender and delete it from your mailbox or any other storage
mechanism. Neither Macmillan Publishers Limited nor any of its agents accept
liability for any statements made which are clearly the sender's own and not
expressly made on behalf of Macmillan Publishers Limited or one of its agents.
Please note that neither Macmillan Publishers Limited nor any of its agents
accept any responsibility for viruses that may be contained in this e-mail or
its attachments and it is your responsibility to scan the e-mail and 
attachments (if any). No contracts may be concluded on behalf of Macmillan 
Publishers Limited or its agents by means of e-mail communication. Macmillan 
Publishers Limited Registered in England and Wales with registered number 
785998 
Registered Office Brunel Road, Houndmills, Basingstoke RG21 6XS   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]