Hi,

There seems a problem in the JSCalender in the 5.0.10, if following form is
in a normal tapestry page, it generates A css:

<t:form t:id="form1">
        <label for="startdate">this is my date</label>
        <input t:type="dateField" t:id="startdate"  t:value="startdate"
size="10" /><br/>
        <input type="submit"  value="submit" /><br />
</t:form>

but if I wrap above form in a layout like this:

<t:layout title ="literal:Test"
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
        <t:form>
                ...
        </t:form>
</t:layout

it generates css as B, since the left: 0px, the popup caledender dialog is
always on the left most of the browser window, which is not what expected.

A) div class="datePicker" style="position: absolute; top: 32px; left: 98px;"
B) div class="datePicker" style="position: absolute; top: 149px; left: 0px;"


I tried the same in T 5.0.9, it generates C and D in the two cases as
specified above, the output is just the one expected, any way to fix this?
Thanks.

A.C.

C) div class="calendar" style="position: absolute; display: block; left:
189px; top: 28px;"
D) div class="calendar" style="position: absolute; display: block; left:
363px; top: 145px;"
-- 
View this message in context: 
http://www.nabble.com/T5%3A-JSCalender-popup-window-always-in-the-left-most-when-inside-a-layout-tp15537707p15537707.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to