02-16-2012 12:45 AM - edited 02-16-2012 12:52 AM
here is the link: http://supportforums.blackberry.com/t5/Tablet-OS-S
i tried to do this for 2 nights !! staying up late trying to figure out whats the problem!! everytime when i think i found a solution, im facing a new problem -__-
so my question to you guys, can anyone make a QUICK usefull video for me?
i'd like to see how you guys programm this.
FYI the guide has a few mistakes in the code so please refer to the help in the comment section!
Thanks!! i will be looking forward !
02-16-2012 10:04 AM
Not really sure what you are asking here... Are you asking for help with specific problem (if so, please provide more information on the specifics of the problem) or you want someone to do video of how to program the sample provided on the tutorial page?
This forum works best when you:
1) Clearly articulate the problem
2) provide sample code (small, speciic code sniplets - not entire class) of the problem area
3) include screen shots or errors / unexpected behaviour or error codes
Hope this helps
02-16-2012 05:41 PM - edited 02-16-2012 08:10 PM
the problem is in this code, part 2, step 1 of the guide:
<s:List id="list" top="0" bottom="0" left="0" right="0"
dataProvider="{srv.lastResult.list.employee}">
<s:itemRenderer>
<fx:Component>
<component:IconItemRenderer label="{data.firstName} {data.lastName}" messageField="title" />
</fx:Component>
</s:itemRenderer>
</s:List>
it gives me an "The markup in the document following the root element must be well-formed." Error
can anyone find a flaw in it? and yes i wanted to know if anyone can make a video on how to program this app
thanks
also my recent error is "The prefix "component" for element "component:IconItemRenderer" is not bound."
hellpp
02-17-2012 05:39 AM
Hello,
if you copy/paste the code for the component, a problem may be that you not have updated the domain info. (in your top xml node: application).
To do so from your pasted code, try to put cursor on the word "IconItemRenderer" and Ctrl+space, this will trigger the code completion: select IconItemRenderer, and normally this will update the declaration (I suppose you use FB)
02-17-2012 08:23 AM
it gives me "The markup in the document following the root element must be well-formed."
the code is like this now
<s:List id="list" top="0" bottom="0" left="0" right="0"
dataProvider="{srv.lastResult.list.employee}">
<s:itemRenderer>
<fx:Component>
<component:IconItemRenderer label="{data.firstName} {data.lastName}" messageField="title"/>
</fx:Component>
</s:itemRenderer>
</s:List>
07-22-2012 10:30 AM
Just replace <component:IconItemRenderer with <s:IconItemRenderer