Re: Trigger Alert from javascript

2019-03-04 Thread D. R.
ok, very easy: include "t5/core/alert" as 'alert' and call: var alertObject = {   message: 'hi from javascript',   severity: 'ERROR', // SUCCESS, INFO, WARN, ERROR }; alert(alertObject); Any concerns about that? Kind regards David Am 05.03.19 um 06:23

Trigger Alert from javascript

2019-03-04 Thread D. R.
Hi, we want to trigger an t5-Alert from javascript, how can we do that? Kind regards David - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

data-icon for option within t:select

2018-11-14 Thread D. R.
Hi, how can i get control of the option elements within a t:select? I want to provide a unique data-icon property for each option. t:model="literal:fa-globe=Globe,fa-flask=Flask,fa-user-tie=User-tie"> will render:    Globe  Flask  User-tie i need something like         Globe        

eventlink with multiple context parameters

2018-10-02 Thread D. R.
Hi @all, I am confused about calling a java method with an eventlink and multiple context parameters: t:context="[account.get('test').userUuid, friend]" does not work, see below please. Following stuff is in my Java class: @Property(write = false) private final String friend = "friend"; publ