Messages by PatrickWallduern

2 topics, 5 messages
Kuix technical support » first Element is selected

Hello everyone,

 

i have a curios problem.

    <tabfolder>
            <tabfolderdefaulttabitem>
                <text style="align:center">All tabs are disabled</text>
            </tabfolderdefaulttabitem>
        <tabitem label="Bad">
            <_enabled>true</_enabled>
            <scrollPane>
               
                <container class="formEntry" style="layout:gridlayout(2,1)">
                    Floor Heating:
                    <textfield id="name">
                        <_tooltip>%NAME_TOOLTIP%</_tooltip>
                    </textfield>
                </container>
               
                <container class="formEntry" style="layout:gridlayout(2,1)">
                    Light Washbowl:
                    <radioGroup id="light" style="align:right;layout:inlinelayout(true,fill)">
                        <radiobutton value="true" style="gap:3 0">on</radiobutton>
                        <radiobutton value="false" style="gap:3 0">off</radiobutton>
                    </radioGroup>
                </container>
       
            </scrollPane>
        </tabitem>

The first Element is every time selected and i´m not able to deselect it.

Once i move down to select other elements i´m also not able to select the first elemnt.

Even if i changed the first element, it happens the same.

Does anyone knows something about that?

Thank you very much.

Kuix technical support » DataProvider in XML

i´ve got it, thanks

Kuix technical support » DataProvider in XML

My xml code looks like that.

The problem is, that the getUserDefinedProperty Mehtod is only called for someItems and not for title?

Do i do anything wrong with that xml?

<text>@title</text>
 
   <list>
  <_renderer><![CDATA[
  <listitem>
    <_onAction>${itemAction}</_onAction>
      <Text>@{item}</Text>
  </listitem>
  ]]></_renderer>
  <_items>@{someItems}</_items>
 
  </list>

Best regards

Patrick

Kuix technical support » simple question - dynamic text list

It works!!!!!!!!!!

 

I have checked out the repos and created a new jar library.

 

Just one thing, if i want to make the action dynamic.

<list>
  <_renderer><![CDATA[
  <listitem onAction="@{foo2}">
      <Text>@{foo2}</Text>
  </listitem>
  ]]></_renderer>
  <_items>@{someItems}</_items>
  </list>

But then foo2 is interpreted as an text, not as an variable.

I guess the syntax within " " is different.

 

Does anyone know how to do that?

Kuix technical support » simple question - dynamic text list
Thank you very much for this great ui toolkot. But i get the same error, that setValue is not available. I looked in your repository and found out that someone has added you meanwhile. But the jars to download is from the last February. Is threre any source, where i can get a newer version of kuix? Thank you very much!!!