You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Kumar, Girish" <Gi...@ibtco.com> on 2006/07/14 14:28:15 UTC

Guys,
 
I have problem invoking the t:commandLink onlick and
t:UpdateActionLister
Here is teh scenario,
 
I need to fire an even which is javascript function and goes to next
page and fire and action on the UpdateActionListener.
 
Here is the snippet:
 
<t:commandLink styleClass="labelLeft" 

id="details" 

action="#{sysAppIssueEditDetailActionHandler.detailsClick}"

immediate="false" 

target="frame2">

<h:outputText value="Details" />

<t:updateActionListener
property="#{editDetailActionHandler.sysAppIssuesEditDetailBean.dataItem}
" value="#{item}" />

</t:commandLink>

Thanks

Girish



**************************************************************************
This message and any attached documents contain information
which may be confidential, subject to privilege or exempt from
disclosure under applicable law.  These materials are solely for 
the use of the intended recipient.  If you are not the intended
recipient of this transmission, you are hereby notified that any
distribution, disclosure, printing, copying, storage, modification 
or the taking of any action in reliance upon this transmission is 
strictly prohibited.  Delivery of this message to any person other
than the intended recipient shall not compromise or waive 
such confidentiality, privilege or exemption from disclosure as
to this communication.  

If you have received this communication in error, please notify
the sender immediately and delete this message from your system.
*****************************************************************************


Re:

Posted by Paul Spencer <pa...@apache.org>.
Girish,

I not sure if this will help.

Since 1.1.2 <t:commandLink> must be enclosed in <h:form>. If it is not, then clicking
the link will appear to do nothing.

Paul Spencer


Kumar, Girish wrote:
> Guys,
>  
> I have problem invoking the t:commandLink onlick and
> t:UpdateActionLister
> Here is teh scenario,
>  
> I need to fire an even which is javascript function and goes to next
> page and fire and action on the UpdateActionListener.
>  
> Here is the snippet:
>  
> <t:commandLink styleClass="labelLeft" 
> 
> id="details" 
> 
> action="#{sysAppIssueEditDetailActionHandler.detailsClick}"
> 
> immediate="false" 
> 
> target="frame2">
> 
> <h:outputText value="Details" />
> 
> <t:updateActionListener
> property="#{editDetailActionHandler.sysAppIssuesEditDetailBean.dataItem}
> " value="#{item}" />
> 
> </t:commandLink>
> 
> Thanks
> 
> Girish
> 
> 
> 
> **************************************************************************
> This message and any attached documents contain information
> which may be confidential, subject to privilege or exempt from
> disclosure under applicable law.  These materials are solely for 
> the use of the intended recipient.  If you are not the intended
> recipient of this transmission, you are hereby notified that any
> distribution, disclosure, printing, copying, storage, modification 
> or the taking of any action in reliance upon this transmission is 
> strictly prohibited.  Delivery of this message to any person other
> than the intended recipient shall not compromise or waive 
> such confidentiality, privilege or exemption from disclosure as
> to this communication.  
> 
> If you have received this communication in error, please notify
> the sender immediately and delete this message from your system.
> *****************************************************************************
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.0/388 - Release Date: 7/13/2006



Re:

Posted by Paul Spencer <pa...@mindspring.com>.
Girish,

I not sure if this will help.

Since 1.1.2 <t:commandLink> must be enclosed in <h:form>. If it is not, then clicking
the link will appear to do nothing.

Paul Spencer


Kumar, Girish wrote:
> Guys,
>  
> I have problem invoking the t:commandLink onlick and
> t:UpdateActionLister
> Here is teh scenario,
>  
> I need to fire an even which is javascript function and goes to next
> page and fire and action on the UpdateActionListener.
>  
> Here is the snippet:
>  
> <t:commandLink styleClass="labelLeft" 
> 
> id="details" 
> 
> action="#{sysAppIssueEditDetailActionHandler.detailsClick}"
> 
> immediate="false" 
> 
> target="frame2">
> 
> <h:outputText value="Details" />
> 
> <t:updateActionListener
> property="#{editDetailActionHandler.sysAppIssuesEditDetailBean.dataItem}
> " value="#{item}" />
> 
> </t:commandLink>
> 
> Thanks
> 
> Girish
> 
> 
> 
> **************************************************************************
> This message and any attached documents contain information
> which may be confidential, subject to privilege or exempt from
> disclosure under applicable law.  These materials are solely for 
> the use of the intended recipient.  If you are not the intended
> recipient of this transmission, you are hereby notified that any
> distribution, disclosure, printing, copying, storage, modification 
> or the taking of any action in reliance upon this transmission is 
> strictly prohibited.  Delivery of this message to any person other
> than the intended recipient shall not compromise or waive 
> such confidentiality, privilege or exemption from disclosure as
> to this communication.  
> 
> If you have received this communication in error, please notify
> the sender immediately and delete this message from your system.
> *****************************************************************************
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.0/388 - Release Date: 7/13/2006