Rave Component: calendar component not working well with Tab Set

Hi all,

I created a prototype page using Sun Java Studio Creator.

Scenario 1. In the page, I drop one Tab Set component with 3 tabs. Then I drop calendar component onto Tab Set's first tab Layout Pane. Compile and run.

-When click on 2nd tab, the page show 2nd Tab. That's fine. Then I go back to 1st tab. Its fine too.

-After all, I select a date from Calendar. Then when I click on 2nd Tab, it doesn't work or go to 2nd tab. It remains in 1st tab.

Scenario 2. In the SAME page, I drop calendar component onto the page layout instead of Tab Set. Compile and run.

-When click on 2nd tab, the page show 2nd Tab. That's fine. Then I go back to 1st tab. Its fine too.

-After all, I select a date from Calendar(New). Then when I click on 2nd Tab, it doesn't work or go to 2nd tab. It remains in 1st tab.

Has anyone came across this weird scenario before? Pls help...

regards,

airqq

[950 byte] By [airqq] at [2007-11-26 11:19:48]
# 1
...additionalHowever, when I clear the Date text from the Calendar Component. Everything works fine.Is that mean we cannot use calendar componet with Tab Set? or am I missing out some property setting?Pls help.regards,airqq
airqq at 2007-7-7 3:35:06 > top of Java-index,Development Tools,Java Tools...
# 2

When developing a app, put a Message Group on each page to catch any unexpected errors.

In this case your probably seeing a calendar component bug where it will throw a validation error if you select today's date when the min date is not bound to a value.

Hope it helps,

Lark

Lark at 2007-7-7 3:35:06 > top of Java-index,Development Tools,Java Tools...
# 3

There are a number of bugs in the tabSet component which prevented calendar from working correctly inside of a tab. We have fixed these bugs, and the fixes will be available as part of the component set that ships with the NetBeans Visual Web Pack. If and when we release an update to Creator 2, these fixes may be available for Creator 2 customers also.

// Gregory

gjmurphy at 2007-7-7 3:35:06 > top of Java-index,Development Tools,Java Tools...