[ 
https://jira.jboss.org/jira/browse/RF-7435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12474244#action_12474244
 ] 

Leonid Sokolin commented on RF-7435:
------------------------------------

I found work around for this problem, but don't think it is a good one.

The following piece of code seems to do the trick.

var reportType = 
document.getElementById('piPublisherForm:reportTypecomboboxValue').value;



> Can't retrieve value from rich:comboBox
> ---------------------------------------
>
>                 Key: RF-7435
>                 URL: https://jira.jboss.org/jira/browse/RF-7435
>             Project: RichFaces
>          Issue Type: Bug
>          Components: component-input
>    Affects Versions: 3.3.2.CR1
>         Environment: Windows XP Profesional, JavaScript
>            Reporter: Leonid Sokolin
>            Assignee: Nick Belaevski
>             Fix For: Future
>
>         Attachments: piPublisher.xhtml
>
>
> I use rich:comboBox in my XHTML file and want to reference its selected value 
> in the embedded JavaScript.
> Somehow, it couldn't obtain the value from this combo box, if I use the 
> method like the one below:
>       document.getElementById('piPublisherForm:comboBox').value;
> Method works fine for the text box or hidden field though.
> Could you answer this question or point me to the right forum to ask it?

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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to