0

Colorbox issue

asked 2009-12-21 21:56:31 +0800

vdrockywang gravatar image vdrockywang
120 2 4

When I open two Firefox browser, then click colorbox, it open a window to let me choose color

At the right, up, there is a circle, when I press the circle, another window opened to let me choose more color
But when I click on color, my Firefox jumped to another Firefox instance !!

Is ther a bug ?
Can I disable the circle?

delete flag offensive retag edit

8 Replies

Sort by ยป oldest newest

answered 2009-12-22 03:22:20 +0800

samchuang gravatar image samchuang
4084 4

Hi ~~

May I ask which firefox version do you use ? and how's the zul code you use colorbox ?

I have tested on Firefox, but I don't have the strange problem that happen to you, so maybe you could provide more detail about your environment and sample code , thanks

link publish delete flag offensive edit

answered 2009-12-23 03:28:35 +0800

vdrockywang gravatar image vdrockywang
120 2 4

Hi, I simplify the code to test

<?page title="new page title" contentType="text/html;charset=UTF-8"?>
<zk>
<window title="new page title" border="normal">
<colorbox id="cb1" />
</window>
</zk>

My Firefox is 3.5.6

link publish delete flag offensive edit

answered 2009-12-24 00:37:50 +0800

vdrockywang gravatar image vdrockywang
120 2 4

I use databinding like this

<colorbox id="cb1" value="@{confwinCtrl.selected.forecolor}" />

But when I select one data in datagrid, my colorbox doesn't change it's color
And I click colorbox to change value, my datagrid value doesn't change !!

link publish delete flag offensive edit

answered 2009-12-28 00:27:00 +0800

samchuang gravatar image samchuang
4084 4

Hi ~~

I tested this, it ok in my firefox, Do you still have the first question that another window will popup ?

<?page title="new page title" contentType="text/html;charset=UTF-8"?>
<zk>
<window title="new page title" border="normal">
<colorbox id="cb1" />
</window>
</zk>

about the second question, Could you first try use java code in debug mode, to see if the value of the color is wrong?? by the way, you have to click the "check" button on the right side to confirm the color you chose

link publish delete flag offensive edit

answered 2009-12-28 03:07:17 +0800

vdrockywang gravatar image vdrockywang
120 2 4

Hi, I didn't care the datagrid value must be change when I choice another color (But I am sure the value is changed !)

The more thing I want to care is, although I using databinding, when I select one row in datagrid, but my colorbox component is alway display black !!
Cannot colorbox change it's color auto when I select different row (color value changed)

link publish delete flag offensive edit

answered 2009-12-28 18:53:24 +0800

samchuang gravatar image samchuang
4084 4

Hi ~~

The last question you mention, that is a bug, the value is changed, but doesn't refresh the UI. This will be fixed in next release.

For now, if you really need to test now, you could change browser size, this will trigger to refresh UI.

link publish delete flag offensive edit

answered 2009-12-29 19:52:42 +0800

vdrockywang gravatar image vdrockywang
120 2 4

updated 2009-12-29 19:53:20 +0800

Oh, It's bad :(
So many bugs !!

Colorbox has no "setDisable" too !!

link publish delete flag offensive edit

answered 2009-12-29 22:10:11 +0800

samchuang gravatar image samchuang
4084 4

Hi ~~

I have fix the bug, and I post a feature request for "setDisable" function, please follow the link below
https://sourceforge.net/tracker/?func=detail&aid=2923266&group_id=152762&atid=785194

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-12-21 21:56:31 +0800

Seen: 3,179 times

Last updated: Dec 29 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More