Thank you !

I was adding more code when I realize there was another view I missed that contained the datepicker making it to be part of the main view rather than the glassView.

So, now it works !

-----------
OK, the code context if as follow :
A class nammed Nwindow contain 2 main views.
One has the defaultplacement and contain everything to show from subclasses like forms. One another nammed glassView thas is on top of the previous one but is empty.

Then, the form is sublass of Nwindow :
<class closeable="true" extends="Nwindow" name="PForm" resizable="true"
          ....
<datepicker placement="glassView" name="bla" visible="false" startAsIcon="false"
               bgcolor="white">
               <handler name="onselecteddate"><![CDATA[
                       ...
                   }
               ]]></handler>
           </datepicker>

          ....

Benjamin Shine wrote:
Can you give a bit of a bigger code sample? I bet we can help.
-ben

On Jul 3, 2007, at 1:43 PM, Jean-Baptiste BRIAUD wrote:

Hi the list,

I would like to have a floating over a form DapePicker.
To do so, I try to use a placement attribute like that :

<datepicker placement="glassView" visible="false" startAsIcon="false" name="bla"/> where glassPane is a view. Note that the form is not inside the glassPane view but inside another one.

I had a button on the form that change the visible attribute of the datepicker. Unfortunatly, it doesn't work. The DatePicker still push form elements rather than floating over form elements.


Any idea ?

Thanks !

JBB.

Benjamin Shine
Software Engineer, Open Laszlo / Laszlo Systems
[EMAIL PROTECTED]






Reply via email to