Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [Sloved] Flex issue:Data is not populate on grid in SWF file Cretd using Flsh Bldr

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Sloved] Flex issue:Data is not populate on grid in SWF file Cretd using Flsh Bldr
 Login/Join
 
Silver Member
posted
Hi,

I've XMl file(created using APP HOLD) and MXML file(created using Flash Builders) in baseapp folder. Below is code details. I'm not sure where I've commited mistake but I see SWF file is being created but not getting populated with data. I've my WebfocusEnable placed in reporting server as per guide lines \ibi\srv77\home\etc\flex\framework\libs.

Plese suggest me where I'm going wrong.

My XML file
---------------
APP HOLD BASEAPP
TABLE FILE CAR
PRINT
CAR
COUNTRY
SALES
DEALER_COST
RETAIL_COST
ON TABLE HOLD AS SARAN FORMAT XML
END

Below posted is my latest .MXML code.
--------------------------------------

xmlns:ibi="http://www.informationbuilders.com"
minWidth="955" minHeight="600" layout="absolute">

< ![CDATA[

[Embed(source="d:/ibi/apps/baseapp/saran.xml",mimeType="application/octet-stream")]
public static const XMLFILE1:Class;
public static const embededXML1:XML = setConst1();
private static function setConst1():XML
{
var ba1:ByteArray = new XMLFILE1() as ByteArray;
return new XML(ba1.readUTFBytes(ba1.length));
}

private function init():void {
mydata.iArray.myXML = embededXML1;
}

]]>




internal





Below is the code which I tried running.
-----------------------------------------
FILEDEF FLEXTEST DISK d:/ibi/apps/baseapp/Test_App.mxml
FILEDEF FLEXOUT DISK d:/ibi/apps/baseapp/Test_App.swf

SET HTMLFORMTYPE=FLEX
-*flexout is the filedef name for swf file
-HTMLFORM BEGIN SAVE AS FLEXOUT
-*flextest is the filedef name for mxml
!IBI.FIL.FLEXTEST;
-HTMLFORM END

TABLE FILE GGSALES
" . "
SUM REGION NOPRINT
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=POINTS, $
TYPE=REPORT, ORIENTATION=LANDSCAPE, FONT=TIMES, SIZE=12, $
TYPE=HEADING, OBJECT=TEXT, ITEM=1, LINE=1, COLOR=WHITE,
IMAGE=Test_App.swf, IMAGE-TYPE=FILE, IMAGE-FORMAT=SWF,
POSITION=(10 10), DIMENSION=(780 580),
BORDER=LIGHT, BORDER-COLOR=WHITE, $
END
-EXIT

This message has been edited. Last edited by: WF World,


WebFOCUS 8.1.03
Windows, Linux All Outputs
 
Posts: 46 | Location: India | Registered: August 18, 2011Report This Post
Silver Member
posted Hide Post
Forgot to add the below in Application part.

creationComplete="init"


WebFOCUS 8.1.03
Windows, Linux All Outputs
 
Posts: 46 | Location: India | Registered: August 18, 2011Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [Sloved] Flex issue:Data is not populate on grid in SWF file Cretd using Flsh Bldr

Copyright © 1996-2020 Information Builders