You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shale.apache.org by �rico Teixeira <er...@yahoo.com.br> on 2007/07/30 20:25:51 UTC

master-detail redirection with annoteded request bean and tomahawk updateActionListener

I have an use case where I need to load a dataTable with all monthly fees from a student and put a link in id column to redirect to an annotaded Fee Request Bean  where I can visualize all details ...

I've tried to use :

<t:dataTable id="cob" var="fee"
        value="#{studentBean.fees}" preserveDataModel="true"
        rows="8"
        > 
...

<t:commandLink id="command_link" action="#{sutendBean.choose}" immediate="true">
    <h:outputText value="#{fee.fee}" />
    <t:updateActionListener property="#{feeBean.fee}" value="#{fee}" />
</t:commandLink>



In my faces_config.xml I have :

    <navigation-rule>
        <from-view-id>*</from-view-id>
        <navigation-case>
            <from-action>#{studentBean.choose}</from-action>
            <from-outcome>success</from-outcome>
            <to-view-id>/view/fee.xhtml</to-view-id>
            <redirect />
        </navigation-case>
    </navigation-rule>


Using Eclipse / Tomcat Debug when I enter in feeBean I can see that my property #{feeBean.fee} is set to null

Are those steps correct ? Is that the way to have a master-detail redirection using these frameworks ?
       
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
 Play Sims Stories at Yahoo! Games. 

Re: SV: master-detail redirection with annoteded request bean and tomahawk updateActionListener

Posted by �rico Teixeira <er...@yahoo.com.br>.
ok

I got that already

thanks


Hermod Opstvedt <he...@opstvedt.com> wrote: Hi

Please redirect questions regarding Tomahawk to the MyFaces list. 

Hermod

-----Opprinnelig melding-----
Fra: Érico Teixeira [mailto:ericomtx@yahoo.com.br] 
Sendt: 30. juli 2007 20:26
Til: user@shale.apache.org
Emne: master-detail redirection with annoteded request bean and tomahawk
updateActionListener

I have an use case where I need to load a dataTable with all monthly fees
from a student and put a link in id column to redirect to an annotaded Fee
Request Bean  where I can visualize all details ...

I've tried to use :


        value="#{studentBean.fees}" preserveDataModel="true"
        rows="8"
        >
...


immediate="true">
    
    




In my faces_config.xml I have :

    
        *
        
            #{studentBean.choose}
            success
            /view/fee.xhtml
            
        
    


Using Eclipse / Tomcat Debug when I enter in feeBean I can see that my
property #{feeBean.fee} is set to null

Are those steps correct ? Is that the way to have a master-detail
redirection using these frameworks ?
       
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
 Play Sims Stories at Yahoo! Games. 



       
---------------------------------
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on us.

SV: master-detail redirection with annoteded request bean and tomahawk updateActionListener

Posted by Hermod Opstvedt <he...@opstvedt.com>.
Hi

Please redirect questions regarding Tomahawk to the MyFaces list. 

Hermod

-----Opprinnelig melding-----
Fra: Érico Teixeira [mailto:ericomtx@yahoo.com.br] 
Sendt: 30. juli 2007 20:26
Til: user@shale.apache.org
Emne: master-detail redirection with annoteded request bean and tomahawk
updateActionListener

I have an use case where I need to load a dataTable with all monthly fees
from a student and put a link in id column to redirect to an annotaded Fee
Request Bean  where I can visualize all details ...

I've tried to use :

<t:dataTable id="cob" var="fee"
        value="#{studentBean.fees}" preserveDataModel="true"
        rows="8"
        >
...

<t:commandLink id="command_link" action="#{sutendBean.choose}"
immediate="true">
    <h:outputText value="#{fee.fee}" />
    <t:updateActionListener property="#{feeBean.fee}" value="#{fee}" />
</t:commandLink>



In my faces_config.xml I have :

    <navigation-rule>
        <from-view-id>*</from-view-id>
        <navigation-case>
            <from-action>#{studentBean.choose}</from-action>
            <from-outcome>success</from-outcome>
            <to-view-id>/view/fee.xhtml</to-view-id>
            <redirect />
        </navigation-case>
    </navigation-rule>


Using Eclipse / Tomcat Debug when I enter in feeBean I can see that my
property #{feeBean.fee} is set to null

Are those steps correct ? Is that the way to have a master-detail
redirection using these frameworks ?
       
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
 Play Sims Stories at Yahoo! Games. 


RE: master-detail redirection with annoteded request bean and tomahawk updateActionListener

Posted by he...@dnbnor.no.
Hi

Wrong list - Try the MyFaces list for questions regarding Tomahawk

Hermod

-----Original Message-----
From: Érico" Teixeira [mailto:ericomtx@yahoo.com.br]
Sent: Monday, July 30, 2007 8:26 PM
To: user@shale.apache.org
Subject: master-detail redirection with annoteded request bean and
tomahawk updateActionListener


I have an use case where I need to load a dataTable with all monthly fees from a student and put a link in id column to redirect to an annotaded Fee Request Bean  where I can visualize all details ...

I've tried to use :

<t:dataTable id="cob" var="fee"
        value="#{studentBean.fees}" preserveDataModel="true"
        rows="8"
        > 
...

<t:commandLink id="command_link" action="#{sutendBean.choose}" immediate="true">
    <h:outputText value="#{fee.fee}" />
    <t:updateActionListener property="#{feeBean.fee}" value="#{fee}" />
</t:commandLink>



In my faces_config.xml I have :

    <navigation-rule>
        <from-view-id>*</from-view-id>
        <navigation-case>
            <from-action>#{studentBean.choose}</from-action>
            <from-outcome>success</from-outcome>
            <to-view-id>/view/fee.xhtml</to-view-id>
            <redirect />
        </navigation-case>
    </navigation-rule>


Using Eclipse / Tomcat Debug when I enter in feeBean I can see that my property #{feeBean.fee} is set to null

Are those steps correct ? Is that the way to have a master-detail redirection using these frameworks ?
       
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
 Play Sims Stories at Yahoo! Games. 
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *