tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship" <hls...@attbi.com>
Subject RE: new 2.4 stuff
Date Tue, 18 Mar 2003 23:50:05 GMT
There's a bit on this out on the Wiki.

In the HTML:

jwcid="@Insert"
jwcid="loop@Foreach"
jwcid="@contrib:Palette"
jwcid="table@contrib:Table"

So the '@' signals that the rest of the jwcid is the type.

These are all implicit components.  Nothing in the page spec for implicit
components.

Paramters:

value="literal"
value="ognl:expression"
value="string:key"

First is standard, literal value.  Same as <static-binding> in spec.
Second is normal binding.  Sam as <binding> in spec.
Last is string binding, for l10n.  Same as <string-binding> in spec.

Changes from 2.3:
Don't need an app specification.
Default location for app spec is WEB-INF/xyz.application
(where xyz is name of servlet)
Lots of new supporting libraries from Jakarta commons.
Can control extension used for templates
Packages renamed

1.4 DTD more flexible, more defaults
- Omit class from <page-specificaiton>, <component-specification>
- Lots of places where you can provide value as attribute or as element body
content (handy for OGNL expressions)

Search path for page specifications:
1) As declared in app spec (if there is one!)
2) In same folder as app spec (if there is one)
3) In WEB-INF
4) Implicitly, from HTML template in context root

Search path for component specs
1) As declared in app spec
2) In same folder as app spec
3) In WEB-INF

Search path for page templates
1) As defined by $template asset (holdover from 2.3)
2) In same folder as page spec
3) In WEB-INF
4) In context root

Search path for component specs
1) As defined by $template asset
2) In same folder as component spec
3) In WEB-INF



--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/proposals/tapestry



> -----Original Message-----
> From: joe panico [mailto:joe@panmachine.biz] 
> Sent: Tuesday, March 18, 2003 7:36 PM
> To: Tapestry development; 'Tapestry development'; joe@panmachine.biz
> Subject: RE: new 2.4 stuff
> 
> 
> ok, I"m assuming that this is an implicit component: 
> 
> jwcid="@Shell"
> 
> Where's the best place to look for finding out how they work? 
> Or can you just give me the "reader's digest" summary?
> 
> regards,
> 
> joe
> 
> --
> Open WebMail Project (http://openwebmail.org)
> 
> 
> ---------- Original Message -----------
> From: "Howard M. Lewis Ship" <hlship@attbi.com>
> To: "'Tapestry development'" <tapestry-dev@jakarta.apache.org>,
> <joe@panmachine.biz>
> Sent: Tue, 18 Mar 2003 18:19:41 -0500
> Subject: RE: new 2.4 stuff
> 
> > Not much external documentation, but I do heaps of Javadoc 
> as I work.
> > 
> > --
> > Howard M. Lewis Ship
> > Creator, Tapestry: Java Web Components 
> > http://jakarta.apache.org/proposals/tapestry
> > 
> > > -----Original Message-----
> > > From: joe panico [mailto:joe@panmachine.biz]
> > > Sent: Tuesday, March 18, 2003 7:16 PM
> > > To: tapestry dev
> > > Subject: new 2.4 stuff
> > > 
> > > 
> > > Is the new stuff, such as "dynamic lookup of specifications",
> > > and "implicit components" documented yet? I'd like to fiddle 
> > > around with some of the junit tests, but I'm having a hard 
> > > time understanding exactly what is going on because of the 
> > > new features.
> > > 
> > > I'm using 2.4 alpha-4
> > > 
> > > regards,
> > > 
> > > joe
> > > 
> > > --
> > > Open WebMail Project (http://openwebmail.org)
> > > 
> > > 
> > > 
> --------------------------------------------------------------------
> > > -
> > > To unsubscribe, e-mail: 
> tapestry-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: 
> tapestry-dev-help@jakarta.apache.org
> > > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: 
> tapestry-dev-help@jakarta.apache.org
> ------- End of Original Message -------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
> 


Mime
View raw message