That's really good to hear Adam. I investigated the MenuModel option and
wound up just avoiding it.

Jeremy Sager
Data Communications Product Manager
Chesapeake System Solutions
410.356.6805 x120
[EMAIL PROTECTED]
-----Original Message-----
From: Fábio C. Ríspoli [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 27, 2006 11:48 AM
To: [email protected]
Subject: RES: Menu Model Problems and ADF Source Code

Thank you, Felix.

That was the option I was considering. I insisted using the model because it
seemed so simple, if it worked. "Just pass a MenuModel and everything was
set". But as, in practice, it does not deliver what it promises, I agree
with you.

Thanks again.

Fábio C. Rispoli


-----Mensagem original-----
De: Frank Felix Debatin [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 27 de abril de 2006 12:40
Para: [email protected]
Assunto: RE: Menu Model Problems and ADF Source Code


Fabio, 

My 2 cents: I found the menu model stuff in ADF very
confusing and ended up with simply building the menues just using list
iteration, which worked nice and simple.

E.g.

<!-- TOP LEVEL MENU TABS  -->
<af:panelPage title="#{...}">   
<f:facet name="menu1">
        <af:menuTabs>
                <c:forEach var="item"
items="#{menuRoot.children}">
                        <af:commandMenuItem
text="#{item.name}"
                                action="#{item.invoke}"
                                rendered="#{item.rendered}"
immediate="true"
        
selected="#{menuRoot.selectedMenuKey==item.key}"/>
                </c:forEach>
        </af:menuTabs>
</f:facet>

Like this, we build up a three-level menu.

The c tag is from facelets, in case you're not using
facelets, then af:forEach works as well (but I'd recommend using facelets
with ADF).

Frank Felix                                     

> -----Original Message-----
> From: Fábio C. Ríspoli [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 27, 2006 5:12 PM
> To: [email protected]
> Subject: Menu Model Problems and ADF Source Code
> 
> Hi,
>  
> I am facing some problems trying to implement some menus
> using ADF Menu Models. What is happening is that only the 
> first level of the menuModel is shown and it does not work
properly.
>  
> I thought about examining the source code for the ADF
> components but found nothing useful in the
apache-drop.zip. 
> Am I missing something or the source code for ADF Faces is

> not completely available in that archive? I meant to debug
my 
> application including breakpoints in some ADF classes but
it 
> is not possible this way.
>  
> Please advise.
>  
> Regards.
>  
> Fábio
>  
>  
> 
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.4.6/323 - Release
> Date: 24/04/2006
>  
> 

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.6/323 - Release Date: 24/04/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.6/323 - Release Date: 24/04/2006
 


Reply via email to