Messages by niiamon

2 topics, 7 messages
Kuix technical support » renderer shows only 2 items out of a list of 4

Hi

I have a strange problem with renderer. I am creating a dynamic radiogroup in my popup and my dataprovider has 4 elements in it (I do System.out.println debug statements so I verified this) but on the UI I see only 2 elements showing up. Has anyone encountered anything like this? I would like to know how it was resolved.

Thanks

nii amon

Kuix technical support » renderer shows only 2 items out of a list of 4

Hi

I have a strange problem with renderer. I am creating a dynamic radiogroup in my popup and my dataprovider has 4 elements in it (I do System.out.println debug statements so I verified this) but on the UI I see only 2 elements showing up. Has anyone encountered anything like this? I would like to know how it was resolved.

Thanks

nii amon

Kuix general board » How can i set the text of button dynamically?

<button>@{textFromJava}</button>

nii amon

Kuix general board » IS THIS PROJECT DEAD?

Kuix is open source and the source is available for download. Development can continue if there's still interest. In Africa J2ME is still very large in terms of phone platforms and so I am thinking of continuing with it in terms of what I will need in my projects.

Kuix general board » Button with java

I think that the right way to do this in Kuix is to use the CSS properties of the button object. Snippets of documentation:

border-color - No Define the border color. The value is an array of 4 colors values (like color property). Syntax : <top> <right> <bottom> <left>. If all the values are the same, you can specify only one value.

bg-image - No Define the background images. The value is a liste of image files path separated by a '|'.

bg-color - No

Define the background color. The value is a color like color property.

nii amon

Kuix general board » Image From Url

You can say something like this:

<picture src="${imgUrl}" style="layout-data:bld(west)"></picture>

where imgUrl is the imgUrl field of the object that you are displaying in the view.

 

nii amon

Kuix general board » Use content of a textField

<popupBox style="align:fill;layout:inlinelayout(false,fill)">

%USERNAME% <textfield id="name" tooltip="Enter username"/>

%PASSWORD% <textfield id="pass" tooltip="Enter password" constraints="password"></textfield>

<popupBoxFirstMenuItem onAction="oklogin(#name.text, #pass.text)">%OK%</popupBoxFirstMenuItem>

<popupBoxSecondMenuItem>%CANCEL%</popupBoxSecondMenuItem>

</popupBox>

 

This line: <popupBoxFirstMenuItem onAction="oklogin(#name.text, #pass.text)">%OK%</popupBoxFirstMenuItem> picks up the form arguments and then sends them over to the onMessage for processing.

 

nii amon