I'm doing that.  Here's an  exerpt from the page:

<% 
        
final String linkPage =
summaryRow.getLinkPage();//response.encodeURL(summaryRow.getLinkPage()); 
        
final String linkText = summaryRow.getLinkText();
        
final String linkTarget = summaryRow.getLinkTarget();
                                                                        %>
                                                                    <%
if(!StringUtil.isFieldBlank(linkPage)) { %> 
                                                                        <%
if(StringUtil.isFieldBlank(linkTarget)) { %>
        
<h:commandLink action="#{linkPage}" value="#{linkText}" id="pageID"/>
        
Action: <%=linkPage%> Text:<%=linkText%>
        
<% } else { %>
        
Action: <%=linkPage%> Target: <%=linkTarget%> Text: <%=linkText%>
        
<h:commandLink action="#{linkPage}" target="#{linkTarget}"
value="#{linkText}" id="pageID"/>
        
<% } %>
        
<% } else { %>
        
<% out.println(linkText); %>
        
<% } %>  

I put the Action: type stuff in there for debug and they all print values
but I don't get any links displayed.

Shawn

-----Original Message-----
From: Dennis Byrne
To: MyFaces Discussion
Sent: 1/15/2006 1:40 AM
Subject: Re: commandLink

Set the value attribute of the commandLink element to "foo", or make the
commandLink element wrap a h:outputText element with the value attribute
set to "foo" .

Dennis Byrne

>-----Original Message-----
>From: Garner, Shawn [mailto:[EMAIL PROTECTED]
>Sent: Sunday, January 15, 2006 02:32 AM
>To: '[email protected]'
>Subject: commandLink
>
>I can't get my links to display.  If I view source I see the following:
>I print the text to the page so I know I'm not passying in empty
parameters.
>
><a href="#"
>onclick="clear__5Fid0();document.forms['_id0'].elements['autoScroll'].v
alue=
>getScrolling();document.forms['_id0'].elements['_id0:_link_hidden_'].va
lue='
>_id0:pageID';if(document.forms['_id0'].onsubmit){if(document.forms['_id
0'].o
>nsubmit())
>document.forms['_id0'].submit();}else{document.forms['_id0'].submit();}
retur
>n false;" id="_id0:pageID"></a
>
>Any help?
>Shawn
>
>***********************************************************************
***** 
>This email may contain confidential material. 
>If you were not an intended recipient, 
>Please notify the sender and delete all copies. 
>We may monitor email to and from our network. 
>***********************************************************************
*****
>


**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************

Reply via email to