-
1. Re: CommandButton problem
ilya_shaikovsky Sep 3, 2009 9:25 AM (in response to fabdib)we need some code pieces demonstrating problem.
-
2. Re: CommandButton problem
fabdib Sep 3, 2009 9:32 AM (in response to fabdib)Here some code:
<ui:define name="body">
.........
JAVASCRIPT
function selectRadio(valore) {
var inputs = document.getElementsByTagName("input");
if (inputs.type == "checkbox") {
inputs.checked = valore;
}
}
..........
FORM
<rich:panel rendered="#{identity.isLoggedIn()}">
<f:facet name="header">Report di gestione</f:facet>
<h:form>
.........
CALENDAR
<rich:panel style="margin:10px;">
<s:decorate id="dayDecorate" template="/layout/edit.xhtml">
<h:outputText id="dayInfo" value="(gg/mm/aaaa) " />
<ui:define name="label">giornaliero:</ui:define>
<rich:calendar id="day" showWeeksBar="false" todayControlMode="hidden" value="#{reportTransitiAction.giornaliero}"
datePattern="dd/MM/yyyy" title="usa il calendario" enableManualInput="true">
</rich:calendar>
</s:decorate>
........
TABLE
<rich:dataTable id="quadrature_giornata"
onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
cellpadding="0" cellspacing="0" border="0" rows="10"
var="record" value="#{reportTransitiAction.giornata_result}" >
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="Matricola / Cognome Nome" />
</rich:column>
<rich:column>
<h:outputText value="Giorno" />
Etc......
This page is very long, my answers is, the javascript in this code, can create this problem?
thanks