Hi Simon,
 
many thanks. I have an account now and tried the context-param
org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS (it is the same
as you mentioned, it is???). With it the chooseDate work correctly, but
other dialogs in my project looks a little bit strange because they have
a dynamic content and currently i have no script to compute the minimal
width and height for the window. I don't like scroll bars in these
dialogs...
 
Regards
 
Sven


________________________________

Von: Simon Lessard [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 12. Oktober 2007 16:31
An: MyFaces Discussion
Betreff: Re: [Trinidad] next/prev link doesn't work in chooseDate


Hi Sven,

I'll take care of the JIRA issue then
(https://issues.apache.org/jira/browse/TRINIDAD-765), but you can also
create yourself an account for free (
https://issues.apache.org/jira/secure/Signup!default.jspa). 

As for the popup, I meant using 

<context-param>
 
<param-name>org.apache.myfaces.trinidadinternal.renderkit.USE_DIALOG_POP
UP</param-name> 
  <param-value>false</param-value>
</context-param>

This is make the default dialog framework to use floating div inner
iframe instead.


Regards,

~ Simon


On 10/12/07, Rottstock, Sven <[EMAIL PROTECTED]> wrote: 

        Hello Simon,
        
        you mean in this way???
        
        <tr:panelGroupLayout layout="horizontal">
          <tr:inputDate chooseId="picker" value="#{myBean.selectedDate}"
>
            <f:convertDateTime type="both"/> 
          </tr:inputDate>
          <tr:panelPopup title="Select Date" text="Select Date">
            <tr:chooseDate id="picker" />
          </tr:panelPopup>
        </tr:panelGroupLayout> 
        
        Unfortunately you have same behavior...
        ...but yes it would be an option.
        
        
        How can i create a JIRA issue. I have no account...
        
        
        Sven
        ________________________________
        
        Von: Simon Lessard [mailto: [EMAIL PROTECTED]
        Gesendet: Freitag, 12. Oktober 2007 15:35
        An: MyFaces Discussion
        Betreff: Re: [Trinidad] next/prev link doesn't work in
chooseDate
        
        
        Hello Sven,
        
        Can you post a JIRA issue about this please? As a quick
workaround can't
        you use a popup with the new popup framework since it doesn't
use a
        different window?
        
        
        Regards,
        
        ~ Simon
        
        
        On 10/12/07, Rottstock, Sven <[EMAIL PROTECTED]> wrote:
        
                Hi,
        
                in Trinidad 1.0.3 the chooseDate component doesn't work 
        correctly if you
                associate it with an inputDate.
                Here is a short example:
        
                <tr:panelGroupLayout layout="vertical">
                  <tr:inputDate chooseId="picker" 
                    value="#{myBean.selectedDate}" >
                    <f:convertDateTime type="both"/>
                  </tr:inputDate>
                  <tr:chooseDate id="picker" />
                </tr:panelGroupLayout>
        
                You can also see the bug in the trinidad demo
application
        
        
(http://www.irian.at/trinidad-demo/faces/components/chooseDate.jspx ).
                Firebug told me that " TrRequestQueue.getInstance is not
a
        function" and
                it is found in the _firePartialChange function.
        
                Has anybody a workaround for this issue? A popup window
that 
        comes with
                <tr:inputDate value="#{myBean.selectedDate }" /> is
        unfortunately not a
                valid option for me...
        
        
                Cheers Sven
        
        
        
        


Reply via email to