incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duong BaTien <duong.bat...@gmail.com>
Subject Re: Master detail drop down lists
Date Wed, 24 Jan 2007 15:43:31 GMT
Matthias:

Look like we will have son fun. I am still catching up and probably have
more questions as i start to roll my sleeve up for trinidad.

Thanks and keep on with good works.



On Tue, 2007-01-23 at 19:44 +0100, Matthias Wessendorf wrote:
> here is an example of that "<tr:table/> and detailStamp facet "thing
> 
> http://jroller.com/resources/m/mwessendorf/googleMapsFacesMashup.PNG
> 
> page code is:
> 
>   <tr:form>
>     <tr:table value="#{all.users}" id="userTable" var="user" rows="2">
>       <f:facet name="footer">
>         <tr:outputText value="All users" />
>       </f:facet>
> 
>       <mw:column header="#{bundle['all.firstname']}"
> value="#{user.firstname}" sort="firstname"/>
>       <mw:column header="#{bundle['all.secondname']}"
> value="#{user.secondname}" sort="secondname"/>
>       <mw:column header="#{bundle['all.birthday']}"
> value="#{user.birthday}" sort="birthday"/>
>       <f:facet name="detailStamp" >
>         <tr:panelGroupLayout layout="vertical" >
>           <tr:outputText value="Street: #{user.address.street}"/>
>           <tr:outputText value="ZIP Code: #{user.address.zip}"/>
>           <tr:outputText value="City: #{user.address.city}"/>
>           <tr:outputText value="State (US): #{user.address.state}"/>
>         </tr:panelGroupLayout>
>       </f:facet>
>      ...
> </tr:table>
> 
> 
> note the <mw: xxx is a facelets component since I wanna DRY ;)
> 
> -M
> 
> 
> On 1/23/07, Duong BaTien <duong.batien@gmail.com> wrote:
> > Gary:
> > Thanks the references. Yes, i am aware of these and still learning
> > Trinidad.
> >
> >
> >
> > On Mon, 2007-01-22 at 23:35 +0000, Gary VanMatre wrote:
> > > >From: Duong BaTien <duong.batien@gmail.com>
> > > >
> > > > Hi:
> > > >
> > > > I am looking for the best suggested implementations of master/detail
> > > > drop down lists (countries -> regions) in 1 or 2 month time frame that
> > > > may be re-used under jsf 1.2. Any suggestion?
> > > >
> > > > Could some body give me links to email archives of myfaces and trinidad
> > > > so i can do some search.
> > > >
> > >
> > > Trinidad framework gives you a ton of ammunition for a master/detail interface
(maybe too many).  You can find some good documentation (with pictures) of the ADF components
[1] on the oracle site and then reference the api-changes [2].
> > >
> > > The tr:table [3], tr:tree [4] and tr:tableTree components have some events
for state selection that helps out with master/detail.  All the Trinidad components support
PPR making the dependent drop trivial.
> > >
> > >
> > > [1] http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/imageIndex.html
> > > [2] http://incubator.apache.org/adffaces/api-changes.html
> > >
> > > [3] http://incubator.apache.org/adffaces/devguide/table.html
> > > [4] http://incubator.apache.org/adffaces/devguide/tree.html
> > >
> > >
> > >
> > >
> > > > Thanks.
> > > >
> > > >
> > >
> > > Gary
> >
> >
> 
> 


Mime
View raw message