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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
> >
> > 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




--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to