File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Radio buttons not viisble in firefox using h:selectoneradio in richfaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Radio buttons not viisble in firefox using h:selectoneradio in richfaces" Watch "Radio buttons not viisble in firefox using h:selectoneradio in richfaces" New topic
Author

Radio buttons not viisble in firefox using h:selectoneradio in richfaces

Roopa Shenoy
Greenhorn

Joined: Feb 08, 2012
Posts: 1
Hi ,
We are facing certain issues regarding rendering radio buttons in firefox.
It works fine in IE but doesnot work in Firefox
Please find the below block of code.
In the code shown below,there are two panels for displaying radio buttons.
Last piece of code which displays commandlink is visible ,but the radiobuttons which needs to be shown on pageload is not visible.
When we click on commandlink , the flag showMoreValues turns true and only on click of this link the radiobuttons in second part of the code is visible.
Can you please help me out regarding this issue?


<a4j:form id="subscriptionForm"
ajaxSubmit="true">
<f:loadBundle basename="dk.tdc.resources.Messages" var="msgs" />
<h:panelGrid columns="1">
<h:panelGroup rendered="#{subscriptionCard.showValues}"
id="ValuesList">
<h:panelGrid columns="4"
columnClasses="address_col1,address_col1,address_col1,address_col1">
<c:forEach var="privateProducts" items="#{subscriptionCard.Values}">
<h:selectOneRadio id="#{privateProducts.description}"
valueChangeListener="#{subscriptionCard.productChanged}"
value="#{subscriptionCard.selectedProductCode}">
<a4j:support event="onclick"
reRender="convertingForm,privateParamCard,businessParamCard,errorDetailsSubs,facilitiesCard,numberSelectCard,npPanel,paymentFormCard" />
<f:selectItem itemLabel="#{privateProducts.label}" itemValue="#{privateProducts.value}" />
</h:selectOneRadio>
</c:forEach>
</h:panelGrid>
</h:panelGroup>
<h:panelGroup rendered="#{subscriptionCard.showMoreValues}"
id="moreValues">
<h:panelGrid columns="4"
columnClasses="address_col1,address_col1,address_col1,address_col1">

<c:forEach var="privateAllProducts"
items="#{subscriptionCard.showMoreValues}">
<h:panelGroup>
<h:selectOneRadio id="#{privateAllProducts.description}"
valueChangeListener="#{subscriptionCard.productChanged}" value="#{subscriptionCard.selectedProductCode}">
<a4j:support event="onclick"
reRender="convertingForm,privateParamCard,businessParamCard,errorDetailsSubs,facilitiesCard,numberSelectCard,npPanel,paymentFormCard" />
<f:selectItem itemLabel="#{privateAllProducts.label}"
itemValue="#{privateAllProducts.value}" />
</h:selectOneRadio>

</h:panelGroup>
</c:forEach>

</h:panelGrid>
</h:panelGroup>
<h:panelGroup style="float:right;"
rendered="#{subscriptionCard.showValues}">
<h:panelGroup style="float:right;"
rendered="#{subscriptionCard.ValuesLinkVisible}">
<a4j:commandLink id="index"
action="#{subscriptionCard.retrieveMoreValuess}"
reRender="moreValues"
value="#{msgs.subscriptioncard_link_more_Values}"></a4j:commandLink>
</h:panelGroup>
</h:panelGroup>
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15632
    
  15

Welcome to the JavaRanch, Roopa!

There's a "Code" button on the message editor. Use that to wrap preformatted text such as Java code and XML and people will be able to read it better.

Don't use JSTL in JSF. It doesn't do anything that JSF can't do better native, and because of how JSF processes things, the JSTL often doesn't work properly.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Radio buttons not viisble in firefox using h:selectoneradio in richfaces
 
Similar Threads
Message after SelectOneRadio moved to next line
Nested panels not rendering, using a4j:support
validation in radio buttons
Enable dynamic inputText
JSF + AJAX + RichFaces