RE: dummy question about Jewel Alert

2023-10-17 Thread Maria Jose Esteve
Hi,
No, currently they cannot be changed. You could implement a "view bead" that 
modifies the texts of okButton, yesButton and noButton.
In my case, for convenience, I have implemented a small component because I 
needed to assign the translated texts and the format of the content and the 
buttons.

In case it helps you... [1]

Hiedra

[1] 
https://drive.google.com/file/d/1x6Wc-52yrLwlD0BN52jPLWF73Kos3cNu/view?usp=sharing

-Mensaje original-
De: cont...@cristallium.com  
Enviado el: lunes, 16 de octubre de 2023 17:18
Para: dev@royale.apache.org
Asunto: dummy question about Jewel Alert

Hi all,

Is there a way to change "YES" and "NO" label when calling 
Alert.show(...,,Alert.YES | Alert.NO) for Jewel componant.

Looking at code there is no "Alert.yesLabel" property like on mx componant.

There is a set yesLabel in Jewel AlertModel.as.

But how to give an AlertModel when calling Alert.show ?

Do y miss something ?


dummy question about Jewel Alert

2023-10-16 Thread contact

Hi all,

Is there a way to change "YES" and "NO" label when calling 
Alert.show(...,,Alert.YES | Alert.NO) for Jewel componant.


Looking at code there is no "Alert.yesLabel" property like on mx 
componant.


There is a set yesLabel in Jewel AlertModel.as.

But how to give an AlertModel when calling Alert.show ?

Do y miss something ?