hehehehe, ok, calma, ,como eu disse eu sou iniciante, eheheheh.
primeiro, obrigado pela resposta, segundo, é isso aqui o meu calendario atual:
<f:view>
<rich:panel>
<rich:calendar popup="false" datePattern="dd/MM/yyyy" value="#{evento.data}" />
<h3>Cadastre um novo evento: </h3><p/>
<h:form>
<h:outputText value="Data:" /> <br/>
<h:inputText value="#{eventoCtr.evento.data}" required="true" /><p/>
<h:outputText value="Nome:" /> <br/>
<h:inputText value="#{eventoCtr.evento.nome}" required="true" /><p/>
<h:outputText value="Local:" /> <br/>
<h:inputText value="#{eventoCtr.evento.local}" required="true" /><p/>
<h:outputText value="Tipo:" /> <br/>
<h:inputText value="#{eventoCtr.evento.tipo}" required="true" /><p/>
<h:outputText value="Descricao:" /> <br/>
<h:inputText value="#{eventoCtr.evento.descricao}" required="true" /><p/>
<h:commandButton value="Inserir" action="#{eventoCtr.inserir}"/>
</h:form>
</rich:panel>
</f:view>
ai tem o calendario e um formulario pro usuario adicionar um evento no calendario. Voce falou dessas funcoes e eu achei uma interessante que eu nao conhecia… getSelectedDate()… mas para usa-la seria Richfaces.getComponent(‘calendar’,this).detSelectedDate();?? eu nao posso testar isso agora nesse pc…
essa funcao me ajudaria na inserção no banco… agora sobre seleção no banco eu achei isso aqui:
CalendarDataModelItem[] getData(Date[]) is called every time when components need the next block of CalendarDataItems. That may happens when the calendar is rendered, or when you navigate to the next/previous month or in any other case when the calendar is rendered. This method is called in an Ajax mode when the calendar renders a new page.
que tambem parece fazser o que eu quero… mas nao da nenhuma dica de como eu uso isso…