Page initialization issue

View: New views
3 Messages — Rating Filter:   Alert me  

Page initialization issue

by Ted Byers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I assume this is an initialization issue.  The first time the page in question is displayed, from a hyperlink from another page, regardless of whether or not it had previously been displayed in the current session, dropdown2 does not quite work properly.  You can select an item from it, but the value returned by getValue is garbage and the page immediately refreshes with the first item in the options list is displayed.  The next time, and subsequent times, an item is selected from the control, it works properly and known, correct, values are returned  by getValue()., until the next time you navigate away to another page and then return.  This is especially puzzling since the other control on the page works correctly.

But this control was added to a page in a project that had been created using NetBeans 6.0, and this control (and an identical one on another page) are the only two added using NetBeans 6.1; if that makes a difference.

Any suggestions would be appreciated.

Thanks

Ted

Re: Page initialization issue

by Rick Fincher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That is odd.  Are you using Firefox as a browser?  There were some
similar issues with Firefox on Linux systems with tables.

Rick

Ted Byers wrote:

> I assume this is an initialization issue.  The first time the page in
> question is displayed, from a hyperlink from another page, regardless of
> whether or not it had previously been displayed in the current session,
> dropdown2 does not quite work properly.  You can select an item from it, but
> the value returned by getValue is garbage and the page immediately refreshes
> with the first item in the options list is displayed.  The next time, and
> subsequent times, an item is selected from the control, it works properly
> and known, correct, values are returned  by getValue()., until the next time
> you navigate away to another page and then return.  This is especially
> puzzling since the other control on the page works correctly.
>
> But this control was added to a page in a project that had been created
> using NetBeans 6.0, and this control (and an identical one on another page)
> are the only two added using NetBeans 6.1; if that makes a difference.
>
> Any suggestions would be appreciated.
>
> Thanks
>
> Ted
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Page initialization issue

by Ted Byers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Actually, this is with MS IE 7.  Though I do have Firefox.  Haven't tried it with Firefox.
Ted
Rick Fincher wrote:
That is odd.  Are you using Firefox as a browser?  There were some
similar issues with Firefox on Linux systems with tables.

Rick

Ted Byers wrote:
> I assume this is an initialization issue.  The first time the page in
> question is displayed, from a hyperlink from another page, regardless of
> whether or not it had previously been displayed in the current session,
> dropdown2 does not quite work properly.  You can select an item from it, but
> the value returned by getValue is garbage and the page immediately refreshes
> with the first item in the options list is displayed.  The next time, and
> subsequent times, an item is selected from the control, it works properly
> and known, correct, values are returned  by getValue()., until the next time
> you navigate away to another page and then return.  This is especially
> puzzling since the other control on the page works correctly.
>
> But this control was added to a page in a project that had been created
> using NetBeans 6.0, and this control (and an identical one on another page)
> are the only two added using NetBeans 6.1; if that makes a difference.
>
> Any suggestions would be appreciated.
>
> Thanks
>
> Ted
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@visualweb.netbeans.org
For additional commands, e-mail: users-help@visualweb.netbeans.org