Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
28 posts
|
Hello Erik,
This problem was corrected (bug #307983 ) in version 3.6.0, but it seems there is a regression in Orbeon Forms 3.6.0.200803060120 (tested with ie 6.0.2900.2180 and firefox 2.0.0.12) 1) When I modify the date input field (readonly="false()" vs readonly="true()") in xforms-control example, it works well <xforms:bind nodeset="date" type="xs:date" constraint="if (. castable as xs:date) then current-date() + xdt:dayTimeDuration('P1D') >= xs:date(.) else false()" readonly="true()" calculate="if (. = '') then adjust-date-to-timezone(current-date(), ()) else ."/> 2)But when I insert this date input field in my code (see file attached), the read-only date fields show date picker icon. The main difference is that my main-view is dynamic (xsl) and not static (xhtml). Do you think so ? Thanks Olivier Thery my-code.zip |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2020 posts
|
Olivier,
On Sun, Mar 16, 2008 at 4:28 PM, Olivier Thery <[hidden email]> wrote: > 1) When I modify the date input field (readonly="false()" vs > readonly="true()") in xforms-control example, it works well > <xforms:bind nodeset="date" type="xs:date" constraint="if (. castable as > xs:date) > then current-date() + > xdt:dayTimeDuration('P1D') >= xs:date(.) > else false()" > readonly="true()" > calculate="if (. = '') then > adjust-date-to-timezone(current-date(), ()) else ."/> > 2)But when I insert this date input field in my code (see file attached), > the read-only date fields show date picker icon. > The main difference is that my main-view is dynamic (xsl) and not static > (xhtml). > Do you think so ? ... [show rest of quote] ... [show rest of quote] You have a number of files attached in this zip. Would you be able to
just create one XForms which is as simple as possible and that we can run in the XForms sandbox to reproduce this? I am sorry for the inconvenience, but this would really help; thanks! For more on creating examples for the sandbox, see: http://www.orbeon.com/ops/doc/home-faq#reporting-issues Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
28 posts
|
test.zip |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2020 posts
|
Oliver,
On Wed, Mar 19, 2008 at 3:17 PM, Olivier Thery <[hidden email]> wrote: > > Sorry to be too verbose. > > I attached a small test.zip with two files. Thank you for the test case! You are right: the date picker should not be shown since the field is read-only, and users can't change the value anyway. The was some CSS that was trying to do that, but rules where not in the right order. I fixed this. You can try it in the latest nightly builds. Here is the bug for reference: http://forge.objectweb.org/tracker/index.php?func=detail&aid=308937&group_id=168&atid=350207 Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |