Author |
Message |
|
Hi!
I'm using the chartjs component with JSON. (example attached)
According to stackoverflow, the chart should support "null" values as well:
https://stackoverflow.com/questions/30570402/how-to-add-an-empty-data-point-to-a-linechart-on-chart-js
For the example this looks like:
"data": [1.0, 0.0, 2.0, null, -2.0, -1.0]
This graph rendered invalid. May the "null" value not transfered well?
Kind regards
Roland
|
![](/forum/templates/default/images/spacer.gif) |
|
...sure!
Please find attached
|
![](/forum/templates/default/images/spacer.gif) |
|
Hi!
Please double check this issues.
I tried the latest version and with "size:26;posture:italic" I still got this issues.
kind regards
Roland
|
![](/forum/templates/default/images/spacer.gif) |
|
thanks...!
|
![](/forum/templates/default/images/spacer.gif) |
|
yep - you are right!
Sorry for inconveniences, this is already fixed. ;-)
kind regards
Roland
|
![](/forum/templates/default/images/spacer.gif) |
|
Hi!
please check the current element:
<t:button align="right" font="size:26;posture:italic" image="/awesomefont(f002,#000000,12)" text="Hello" width="100" />
(image is optional)
The button captain is cutted of at "He"
Kind regards
Roland
|
![](/forum/templates/default/images/spacer.gif) |
|
Hi!
might the url encoding within t:jshowurl incorrect?
Example:
<t:beanprocessing>
<t:jshowurl trigger="#{d.EditorTestUI.showUrlTrigger}" url="http://www.greenfield-solutions.de/#!4711" />
</t:beanprocessing>
The "#" is encoded to "%23", which make the URL invalid for Vaadin-use.
For RFC 3986 this should be a valid character:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~:/?#[]@!$&'()*+,;=
Kind regards
Roland
|
![](/forum/templates/default/images/spacer.gif) |
|
Hi!
I tried to set the font attribute (like size) within t:longtextfield.
This attribute seems not to work.
Kind regards
Roland
|
![](/forum/templates/default/images/spacer.gif) |
|
Hi!
We use the "t:messagelistener" like this:
<t:messagelistener actionListener="#{d.JScriptAction.onMessageEvent}" commandfilter="#{d.JScriptAction.commandFilter}" />
The command filter has to define the allowed actions.
Within JScriptAction#onMessageEvent we map the action to the button action.
The call looks like this:
{RISCHtmlNode}.sendTextMessage("tuWas(" + action + ")
Kind regards
Roland
|
![](/forum/templates/default/images/spacer.gif) |
|
Hi!
I created a simple page with a t:label element. Attributes:
- background = #c0c0c0 (optinal)
- text = Hello (optinal)
- align = right
- image = /awesomefont(f002,#000000,12)
The label text is cutted off - only "He" is visible.
(@see: attachment)
The icon-width seems not to be calculated right.
The same calculation failed with center. (and is not centered)
Can you reproduce this issue?
Kind regards
Roland
|
![](/forum/templates/default/images/spacer.gif) |
|
Hi!
The DrawOddEven is rendered wrong, after remove / add column within "configure grid" dialog. (reported by customer)
Reproducable:
- DemoWorkplace
- "Simple Grid"
- "Configure Grid..."
- remove column "last name"
- add column "last name"
Now the background is not longer odd / even colored. More visible, if "odd/even" is set to e.g. "back / white"
Is there a workaround / solution?
Kind regards
Roland
|
![](/forum/templates/default/images/spacer.gif) |
|
Waow, thank you for mentioning!
|
![](/forum/templates/default/images/spacer.gif) |
|
Hi!
Maybe you want to put the ID's in a Map<String, Methode> (HashMap) and change the call mechanism?
If the list changed, you could also think about to put in a "Properties" file.
This is loadable by this:
/**
* Loads a properties file from Classloader (classpath)
*/
private void loadProperties() {
InputStream is = null;
try {
// check CLASSPATH
is = getClass().getResourceAsStream(DEFAULT_PROPERTYFILE);
m_props.load(is);
} catch (Exception e) {
s_log.warn("load application properties failed!", e);
} finally {
IOUtils.closeQuietly(is);
}
}
Kind regards
Roland
|
![](/forum/templates/default/images/spacer.gif) |
|
Hi,
is it possible to trigger a color chooser from server side?
Background: I use a color picker and a preview field in front.
(@see attachment)
I'd like to open the colorchooser dialog as action from the pressed preview pane.
Kind regards
Roland
|
![](/forum/templates/default/images/spacer.gif) |
|
Hi,
I try to use t:outlookbar with dynamic rendered elements.
There seems to be a bug.
(try attached source.zip)
First rendering is ok - (screenshot 1)
after 2x checkbox the outlookbar is invalid - (screenshot 2)
Is it easy / fast to fix?
Kind regards
Roland
|
![](/forum/templates/default/images/spacer.gif) |
|