Changing of AlertManager behavior

2014-07-31 Thread lacko
Hi everyone! I would like to ask you for best solution how to change default AlertManager behavior. I would like to set all message durations to TRANSIENT for standard info(), success(), warn() and error() calls. It's not problem directly for my application, but I would like to change default

Re: Executing JS function from component ONCE

2014-02-20 Thread lacko
Hi! I'm not sure if I used your proposal correctly, nevertheless "best" result was following (which leads me again to wrong workflow idea of non existing body element): Uncaught TypeError: Cannot call method 'observe' of undefined What is working for me is jQuery with 10 years old java

Re: Executing JS function from component ONCE

2014-02-19 Thread lacko
Hi! Thanks for your hints, nevertheless I'm afraid problem is not solved... I'm importing js file inside my component as you suggesting: @Import(stylesheet = "MyComponent.css", library="MyComponent.js") public class MyComponent {...} Content of js is following: function setPosition() {     // s

Executing JS function from component ONCE

2014-02-19 Thread lacko
Hi everyone! I've implemented component, which needs JavaScript function for proper positioning and I need to set this function as 's "onload" and "onScroll" events. So, I have .js file with my possitioning function and also decorateBody() function which I need to call after page is created.

DateField date format troubles

2013-12-05 Thread lacko
Hallo everyone! I'm starting to be desperate about DateField component. In my case, this component works only for default format settings, other format makes it unusable and buggy.  This is basic example I've tried without success:     -The value is viewed correctly (e.g. 2013

Re: Multi-row Grid header

2013-06-07 Thread lacko
Thanks both of you! I will try the DOM rewriting, I guess it will be easier and fulfill my demand completely. Best regards! -- Ladislav -- Původní zpráva -- Od: Thiago H de Paula Figueiredo Datum: 6. 6. 2013 Předmět: Re: Multi-row Grid header "On Thu, 06 Jun 2013 10:27:13 -

Multi-row Grid header

2013-06-06 Thread lacko
Hi! I would like to have Grid with more than one row header. Let's say I have 3 columns: Free space, occupied space, total space. Values in such columns are simple numbers with 2 digits (0-99), so if I want to show column headers in full form, columns will be lot wider than it's values demands