Thanks a lot for your help.

I added the filters, however I cannot launch my page and I have still this error message:

 

javax.portlet.PortletException: org.apache.jasper.JasperException: org.jboss.portlet.JBossRenderRequest

 

 Do you know what do I miss? What can be the problem?

 

Thanks again.

Sophie

 


De : Balaji Kalyansundaram [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 9 février 2006 23:24
À : MyFaces Users (E-mail)
Objet : RE: calendar with tomahawk

 

Hi

 

Yes thats right. You need to add some more too. So the final one should look like

 

    <filter>
        <filter-name>extensionsFilter</filter-name>
        <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
    </filter>

    <filter-mapping>
        <filter-name>extensionsFilter</filter-name>
        <url-pattern>*.faces</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>extensionsFilter</filter-name>
        <url-pattern>/faces/*</url-pattern>
    </filter-mapping>

 

Also it will be better if you can post ur replies to the Group, so that others with this issue cand find thsi helpful.

 

Regards

 

Balaji

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, 10 February 2006 2:03 AM
To: Balaji Kalyansundaram
Subject: RE: calendar with tomahawk

Thanks for the answer.

So that means that if I have this code:

 

<%@ taglib uri=http://myfaces.apache.org/extensions prefix=”x” %>

 

<tr>

   <td><h:outputText value="#{Fmsg.birthday}"/>:</td>

   <td>

       <h:form>

       <x:inputCalendar id="calendar" value="#{DateBean.date}"        renderAsPopup="true" />

      </h:form>

   </td>

</tr>

 

I also need to add a filter in my web.xml?

How should I write it:

<filter-mapping>

      <filter-name>MyFilter</filter-name>

      <url-pattern>http://myfaces.apache.org/extensions</url-pattern>

   </filter-mapping>

 

?? And then I will have a popup, will be able to pass from a month to another and select a date?

 

Thanks in advance for your answer

Best

Sophie

 

 


De : Balaji Kalyansundaram [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 8 février 2006 23:54
À : MyFaces Discussion; [EMAIL PROTECTED]
Objet : RE: calendar with tomahawk

 

Hi

 

Though I did not see the code, I can tell that "calendarBean" should be a backing bean. And they are saving the state of it. You can look at the WIKI for more info on <t:saveState>

 

To use the Calendar you do not need to saveState. But make sure you unclude the extension filetrs in web.xml, so that MyFaces can add the .js and .css files for the popup calendar.

 

HIH

 

Balaji

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 9 February 2006 12:17 AM
To: [email protected]
Subject: calendar with tomahawk

Hello everybody !

 

I am new on this list. And I am writing to you for an advice.

I am trying to add a calendar to my jsp page using the example of MyFaces.

However I do not understand what is this calendarBean in

<t:saveState value="#{calendarBean}"/>

Is there a file calendarBean.java somewhere in this example?

 

Thanks in advance for your help.

Best,

Sophie



__________ NOD32 1.1400 (20060208) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

This correspondence is for the named persons only.
It may contain confidential or privileged information or both.
No confidentiality or privilege is waived or lost by any mis transmission.
If you receive this correspondence in error please delete it from your system immediately and notify the sender.
You must not disclose, copy or relay on any part of this correspondence, if you are not the intended recipient.
Any opinions expressed in this message are those of the individual sender except where the sender expressly,
and with the authority, states them to be the opinions of the Department of Emergency Services, Queensland.



__________ NOD32 1.1402 (20060209) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

This correspondence is for the named persons only.
It may contain confidential or privileged information or both.
No confidentiality or privilege is waived or lost by any mis transmission.
If you receive this correspondence in error please delete it from your system immediately and notify the sender.
You must not disclose, copy or relay on any part of this correspondence, if you are not the intended recipient.
Any opinions expressed in this message are those of the individual sender except where the sender expressly,
and with the authority, states them to be the opinions of the Department of Emergency Services, Queensland.

Reply via email to