Messages by sanjayraja

3 topics, 8 messages
Kuix technical support » this.#Name.text

The 'i' was a typo, when I typed it in here. I am still not able to get it to work from the screen second Menu. Wish you a happy new year.

Even though I have the 3rd or fourth element highlighted and onAction from the list sends the right data, when I go via the screen secondMenu it still sends the first Item in the list's data. Strange and it is quite possible I have done something wrong, but I am unable to figure out what.

 

Kuix technical support » this.#Name.text

Hi,

While this.#Name work with the  latest SVN code (when put inside <_renderer>, however this does not work when invoked from the screen second menu.

<_renderer>
   <![CDATA[
                <listitem  onAction="doSomething(thiis.#Name.text,this.#Addres.text)" style="layout:inlinelayout(false, left)">
                <text class = "label" id="Name" style="align:left">@{name}</text>
                <text id="Address">@{address_main}</text>

........

<screenSecondMenu onAction="doSomething(this.#Name.text,this.#Address.text)">. Ideally it should send the focussed widgets data. B instead sends the first widgets data without 'this' and 'null' with 'this'

Kuix technical support » Unsupported Exception

Thanks Tofu,

I will get the latest code from SVN and give it a shot. And will try the progress bar as well.I have posted a question in the Kaprice Section, but is relevant here as well. So I am going to pop it here as well.

I have one more query before I complete my main module :

I have 3 DataProviders, GrandMasterContainer, FatherContainer, ChildContainer, G has 'n' F and each F has 'n' C.How can I show all the data on the same form/screen ? I send the GrandMasterContainer to the MainFrame, how can I access the ChildContainers items ?

For now, the alternative is have used is I created the XML and call loadScreen(inputstream);

 

I am not using <_renderer>[CDATA] till I find a way to access the child from the grandparent. is there a way to access @{GrandMaster.Father.Child.property} ? Will addSlave work ?

Kaprice » Showing ShoppingList and ProductList in the same scr

Hi,

I have a need to show both the Container and the Contained on the same screen. I can draw an analogy to the kaprice project.

How can you show both the Shopping List Name and the Contained Products on the same screen ? Current a new frame is pushed with a dataprovider.

can you use this.product.name ?

Kuix technical support » Illegalargumentexception while updating image using dataprovider

Are you updating the data provider ?

Kuix technical support » Unsupported Exception

Hi,

I found the resolution for 1), still looking out for a answer for 2

Kuix technical support » Unsupported Exception

Hi,

I have resolved this issue. And have moved on and started actively developing. I have two queries, I searched the forum but could not get a direct response.

 

1) I have a tab-folder and I create the tabs at runtime and within the tab,

I use the ListItem to show a list :

<ListItem id=1 onAction=sendID(this.id) ><Text id=name>Name1</Text><Text id=dob>Dob1</Text></ListItem>

<ListItem id=2 onAction=sendID(this.id) ><Text id=name>Name2</Text><Text id=dob>Dob2</Text></ListItem>

<ListItem id=1 onAction=sendID(this.id) ><Text id=name>Name3</Text><Text id=dob>Dob3</Text></ListItem>

(Please note I am NOT using the <List>/</List> tags), I am directly adding a List Item to a ScrollPane which is inside a tabfolder.

Also while I am changing the ID of the ListItem, I am NOT changing the IDs of the contained Text

How can I access the content of the contents of the ListItem ? I am able to send the List id to Java Side. How do I use the Id to get the data of contained widgets ? What if there are 'n' widgets ?

At the ListItem level if include onAction="display(#Name.text,#dob.text)" it only displays the first List Items Name and Text even though the 'hover' is on the 3rd ListItem. I have a work around for this problem (generate unique IDs for the Text as well), but wanted to know if there is a better way.

 

2) The second is on the progress bar, while the DataProvider is being 'filled', I want the progress bar to show and end when the DataProvider is created. I know exactly when the DataProvider has been instantiated, and I can send an Interuption to the Thread.

DateDataProvider myddp = null;

(if DateDataProvider.isInstantiated){

}else{

//I want to have a progress bar here

myddp = new DateDataProvider();

}

Kuix technical support » Unsupported Exception

Hi,

A very basic question. I have installed Netbeans 6.5 and I am trying to run the HelloWorld Sample with KUIX.

I have added the required jars to the project and built it. While running I get an Unsupported exception.

I have cleaned an dbuilt, changed the CDLC and MIDP versions, emulators, but I get the same error.

Can someone help ?