You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bruno Aranda (JIRA)" <de...@myfaces.apache.org> on 2006/02/05 04:58:07 UTC

[jira] Commented: (MYFACES-1041) JsCookMenu has problem to pass itemValue

    [ http://issues.apache.org/jira/browse/MYFACES-1041?page=comments#action_12365197 ] 

Bruno Aranda commented on MYFACES-1041:
---------------------------------------

Yes, there is a problem if you use colons in the item value. If you are interested in navigation to an external http url, you can put the http://webcac as the action.

> JsCookMenu has problem to pass itemValue
> ----------------------------------------
>
>          Key: MYFACES-1041
>          URL: http://issues.apache.org/jira/browse/MYFACES-1041
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Versions: Nightly
>  Environment: Windows 98  Tomcat 5..5.12
>     Reporter: Vladimir Martins Coutinho

>
> I'm trying to pass a value using itemValue, but when I read the value in my actionListener the value is truncated.
> <t: id="nav_home"  itemLabel="Webcac" actionListener="#{ redirector.actionListener}" itemValue="http://webcac/"/>
> When I read, String url = (String)((HtmlCommandJSCookMenu) event.getComponent()).getValue(); I get only "http".
> Is this a but? I'm using nightly build 2005-12-21.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira