same problem with: "action = "">mailto:[EMAIL PROTECTED]" results in "amailto:[EMAIL PROTECTED]"
 
To ship around this cliff you can use a redirect. it is not perfect, it is ugly, but it works:
 
header.jsp
.
.
.
<t:navigationMenuItem id="Contact" itemLabel="Contact" icon="graphics/contact.png" action="" />
.
.
.
 
faces-config.xml
 
.
.
.
<navigation-rule>
    <navigation-case>
      <from-outcome>mailto</from-outcome>
      <to-view-id>/mailTO.jsp</to-view-id>
    </navigation-case>
</navigation-rule>
.
.
.
 
 
mailTO.jsp
 
<[EMAIL PROTECTED] uri="http://java.sun.com/jstl/core" prefix="c"%>
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<body>
  <c:redirect url=""/'>mailto:[EMAIL PROTECTED]"/>
</body>
</html>
 
 


From: Vladimir Coutinho [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 18. Januar 2006 20:04
To: MyFaces Discussion; [EMAIL PROTECTED]
Subject: Re: How to use a navigationMenuItem to send to a page out of my site?

I put the complete url, but it redirected to a wrong site.
I put:
<t:navigationMenuItem id="nav_cart" itemLabel="Carteira" action=""/'>http://infor-smk/protocolo/carteira/"/ >

but the browser redirected to  ahttp://infor-smk/protocolo/carteira/
(this url don't exist).

On 1/18/06, Eduardo Dudu Ivan Pichler <[EMAIL PROTECTED]> wrote:
you need get the complete url of your site.... with the extension(.jsp, .faces)
There are ways to make these urls dynamics. But I don't remember the code.


On 1/18/06, Vladimir Coutinho <[EMAIL PROTECTED]> wrote:
How can I send to a non jsf page in my site? (a relative path)


On 1/18/06, Dudu < [EMAIL PROTECTED] > wrote:
in the action you must to put the complete url of the site


On 1/18/06, Vladimir Coutinho <[EMAIL PROTECTED] > wrote:
How to use a navigationMenuItem to send to a page out of my site?

--
Vladimir M Coutinho



--
--------------------------------------
Dudu
`P



--
Vladimir M Coutinho



--
--------------------------------------
Dudu
`P



--
Vladimir M Coutinho

Reply via email to