so You cant see popup... do You have any JS error?
x:inpuCallendar kick balls when we conside graphic but
i had strange experience with that component...
generally it renders ok, but sometimes it causes JS erros in firefox (opera and exploder - ok)
...somme callendarBar stuff inst defined or something
and it hasnt basic JS events so i give up using it:/
my advice: find something insted of (on monday i can send u callendar that we are using right now)
Slawek
<[EMAIL PROTECTED]> napisał:
Can anyone solve my problem? It is not so difficult! may be I misconceive a basic rule.
Can you run the following code correctly?
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x"%>
<f:view>
<h:form id="form">
<x:inputCalendar id="date" value="#{eventHandler.selectedDate}" renderAsPopup="true"
popupTodayString="Today String" popupWeekString="Week String" />
<h:selectOneMenu id="category" value="#{eventHandler.selectedCategory}">
<f:selectItems id="items" value="#{eventHandler.categories}" />
</h:selectOneMenu>
<h:commandButton id="submit" title="Submit" action="succes"/>
</h:form>
</f:view>
//----------------------------------------------------------------------------------------------------------------- The method:
public List getCategories(){ ArrayList retValue=new ArrayList(); SelectItem select=new SelectItem(null,"Horror"); retValue.add(select); select=new SelectItem(new Boolean(true),"Comedy"); retValue.add(select); select=new SelectItem(new Boolean(true),"Drama"); retValue.add(select); select=new SelectItem(new Boolean(true),"Opera"); retValue.add(select); return retValue; }
Thank you in advance, Kostas

