XML formatting with scroll component
Hi All,
I am using CS5, AS3 and the scrollbar component as well as dynamic text from an XML file. I can format the text (color) in my XML that IS NOT being pulled into the scrollbar text. However, I have had no success formatting anything that is to scroll.
I have tried with and without CDDATA tags and nothing works. Is this allowed?
Thanks.
Can you format XML with hmtl tags (eg <font> with or without accompanying CDDATA tags with a scrollbar component in Flash CS5?
I have tried numerous versions and can't get it to work. However, it works on text that isn't associated with a scrollbar component.
Here is my XML code:
<![CDATA[Content for <font color='#ffffff'>full text screen</font> would go here.Content for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go here.Content for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go here.Content for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go here.Content for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go hereContent for full text screen would go here]]></fulltext>
Is there any other way to format that would work?
Similar Messages
-
Dynamic group spark with scroller component
Hi,
I am creating a dynamic group(mygrp) spark and adding elements using addElement function. I need to add a scroller to the main group object dynamically. I tried with same method [myScroller.addElement(mygrp)]. But that is not working. Please help me to resolve this issue. Basically I have a main contaner group object. Insided that some other group object, label, buttons using for loop. I need to give scroller for main group object.
Many Thanks in advanceHi,
I am creating a dynamic group(mygrp) spark and adding elements using addElement function. I need to add a scroller to the main group object dynamically. I tried with same method [myScroller.addElement(mygrp)]. But that is not working. Please help me to resolve this issue. Basically I have a main contaner group object. Insided that some other group object, label, buttons using for loop. I need to give scroller for main group object.
Many Thanks in advance -
How can I convert IDoc in XML format w/DTD into a string?
I want to send by e-mail outbound IDoc in XML format with its document type definition (DTD).
I want to be able to get the same output result into a string than the XML file IDoc port type with DTD activated. I have created a FM (based on SAP "OWN_FUNCTION") assigned to an IDoc port of type ABAP-PI that executes the following processing steps:
1-Extract outbound IDoc information to get the sender & recipient mail addresses (EDP13 / EDIPHONE tables).
2-Convert & Transform IDoc data into XML string using FM IDX_IDOC_TO_XML.
3-Prepare and send e-mail with XML attachement using FM SO_NEW_DOCUMENT_ATT_SEND_API1.
I cand generate the e-mail with the XML file attachement but FM IDX_IDOC_TO_XML does not convert the IDoc with proper formating and DTD.
What should I use to accomplish the IDoc conversion to XML w/DTD into a string?
Should I use XSLT tools ?
How does that work?
Thank you
Carlmuks wrote:
Use decimal string to number
Specifically, you can define a constant with a different datatype on the input on the lower left if you need a different datatype (e.g. U8, I64, DBL, etc) Are all your values integers or do you also need to scan fractional numbers? In this case, you should use "fract/exp string to number" instead.
LabVIEW Champion . Do more with less code and in less time . -
What is the XML format for Sub Agreements?
Hi,
We have requirement to automate loading Master Agreements and Sub Agreements into CLM from a non-SAP system.
Currently the data is loaded using CSV files, but Double Byte Char. is not supported in CSV file format.
I am trying to load using XML format and have be successful to load Master Agreement.
I need help with Sub Agreement XML Structure or a better alternative to load Sub Agreement metadata containing Double Byte Char.
Provided below is the Sub Agreement XML Structure. Please provide suggestions or guidance on this issue.
We are on 7.0 SP8 .
Thanks
SaiHi Prasad,
Thanks for your quick response.
I am able to load successfully Project and Master Agreement in XML format with metadata containing multibyte char.
Multibyte char is displayed on Project and Master Agreement Screen.
English , German, Chinese, Japanese, Korean, Spanish, French and Italian language packs are installed in Sourcing.
I am getting below error while importing XML for Sub Agreement.
Record 1. Warning: XML import could not process field: CONTRACT_UNIQUE_DOC_NAME
Facility=local4;sessionid=bR6bHsKNs_s_sA8ihHdOSyOASPCvRgEP3icA_SAP;tenantid=#ebay#;username=sguntaka;exception=java.lang.IllegalArgumentException: unsupported null bind parameter no. 0 found in statement SELECT OBJECTID, CONTEXTID, REVISION_COUNT, UNIQUE_DOC_NAME, DISPLAY_NAME, COLLN_METADATA, RESERVATION_LOCK, DOCUMENT_DESCRIPTION, CREATED_BY_USER_OBJECT_ID, CREATED_BY_USER_CLASS_ID, CREATED_BY_USER_OBJECT_NAME, MODIFIED_BY_USER_OBJECT_ID, MODIFIED_BY_USER_CLASS_ID, MODIFIED_BY_USER_OBJECT_NAME, EDIT_BY_USER_OBJECT_ID, EDIT_BY_USER_CLASS_ID, EDIT_BY_USER_OBJECT_NAME, CREATED_AT, MODIFIED_AT, EDIT_AT_DATETIME, INACTIVE, TRACK_CHANGES, COLLABORATION_POLICY, HAS_PUBLIC_DISC, IS_TEMPLATE, CANCELED_BY_USER_OBJECT_ID, CANCELED_BY_USER_CLASS_ID, CANCELED_BY_USER_OBJECT_NAME, DOC_OWNER_USER_OBJECT_ID, DOC_OWNER_USER_CLASS_ID, DOC_OWNER_USER_OBJECT_NAME, CLOSED_BY_USER_OBJECT_ID, CLOSED_BY_USER_CLASS_ID, CLOSED_BY_USER_OBJECT_NAME, CANCELED_AT, CLOSED_AT, TEMPLATE_OBJECT_ID, TEMPLATE_CLASS_ID, TEMPLATE_OBJECT_NAME, DOC_TYPE_OBJECT_ID, DOC_TYPE_CLASS_ID, DOC_TYPE_OBJECT_NAME, BASE_DATE_DATE, SCHEDULE_WORK_DAYS, BUSINESS_UNIT_OBJECT_ID, BUSINESS_UNIT_CLASS_ID, BUSINESS_UNIT_OBJECT_NAME, COMPANY_OBJECT_ID, COMPANY_CLASS_ID, COMPANY_OBJECT_NAME, ESTIMATED_CURRENCY, ESTIMATED_OBJECT_ID, ESTIMATED_PRICE, BUDGETED_CURRENCY, BUDGETED_OBJECT_ID, BUDGETED_PRICE, CURRENCY_OBJECT_ID, CURRENCY_CLASS_ID, CURRENCY_OBJECT_NAME, VENDOR_VISIBLE, DATE_TO_PUBLISH_DATE, LOCK_BASELINE, LI_PERIOD_TYPE_OBJECT_ID, LI_PERIOD_TYPE_CLASS_ID, LI_PERIOD_TYPE_OBJECT_NAME, CALC_METHOD, SPEC_ID_COUNT, ATTR_ID_COUNT, FORMULA_ID_COUNT, PURCHASING_ORG_OBJECT_ID, PURCHASING_ORG_CLASS_ID, PURCHASING_ORG_OBJECT_NAME, PURCHASING_GRP_OBJECT_ID, PURCHASING_GRP_CLASS_ID, PURCHASING_GRP_OBJECT_NAME, TRANSACTION_TYPE_OBJECT_ID, TRANSACTION_TYPE_CLASS_ID, TRANSACTION_TYPE_OBJECT_NAME, COMPANY_CODE_OBJECT_ID, COMPANY_CODE_CLASS_ID, COMPANY_CODE_OBJECT_NAME, INTEGRATED_TYPE, USE_ERP_VALIDATION, STORAGE_LOCATION, RECORD_SERIES, RETENTION_DATE_DATE, RETENTION_REMINDER_DATE_DATE, RETENTION_EVENT_OBJECT_ID, RETENTION_EVENT_CLASS_ID, RETENTION_EVENT_OBJECT_NAME, EFFECTIVE_DATE_DATE, EXPIRATION_DATE_DATE, TERMIN_NOTICE_LEAD_TIME, TERMIN_COMMU_DATE, PERPETUAL_TERM, AUTO_RENEWAL, EVENT_OBJECT_ID, EVENT_CLASS_ID, EVENT_OBJECT_NAME, RENEWAL_REMINDER_DATE, VENDOR_OBJECT_ID, VENDOR_CLASS_ID, VENDOR_OBJECT_NAME, CONTACT_OBJECT_ID, CONTACT_CLASS_ID, CONTACT_OBJECT_NAME, LOCATION_OBJECT_ID, LOCATION_CLASS_ID, LOCATION_OBJECT_NAME, PAYTERMS_OBJECT_ID, PAYTERMS_CLASS_ID, PAYTERMS_OBJECT_NAME, REPLENISHMENT_OBJECT_ID, REPLENISHMENT_CLASS_ID, REPLENISHMENT_OBJECT_NAME, VENDOR_ACCT_NUM, INT_CAT_OBJECT_ID, INT_CAT_CLASS_ID, INT_CAT_OBJECT_NAME, EXT_CAT_OBJECT_ID, EXT_CAT_CLASS_ID, EXT_CAT_OBJECT_NAME, EVALUATION_CRITERIA, NEXT_AUDIT_DATE, LAST_AUDIT_DATE, TOTAL_EXPECTED_CURRENCY, TOTAL_EXPECTED_OBJECT_ID, TOTAL_EXPECTED_PRICE, TOTAL_BUDGETED_CURRENCY, TOTAL_BUDGETED_OBJECT_ID, TOTAL_BUDGETED_PRICE, TOTAL_ACTUAL_CURRENCY, TOTAL_ACTUAL_OBJECT_ID, TOTAL_ACTUAL_PRICE, TOTAL_SAVINGS_CURRENCY, TOTAL_SAVINGS_OBJECT_ID, TOTAL_SAVINGS_PRICE, TOTAL_COST_SAVINGS_CURRENCY, TOTAL_COST_SAVINGS_OBJECT_ID, TOTAL_COST_SAVINGS_PRICE, TOTAL_COST_AVOIDANCE_CURRENCY, TOTAL_COST_AVOIDANCE_OBJECT_ID, TOTAL_COST_AVOIDANCE_PRICE, PERF_EVAL_CRITERIA, PERF_LAST_UPDATE_DATE, PERF_NEXT_UPDATE_DATE, BUYER_SEARCHABLE, VAL_PERIOD_TYPE_OBJECT_ID, VAL_PERIOD_TYPE_CLASS_ID, VAL_PERIOD_TYPE_OBJECT_NAME, INCLUDE_PART_NUMBER, TOTAL_ACTUAL_SPEND_CURRENCY, TOTAL_ACTUAL_SPEND_OBJECT_ID, TOTAL_ACTUAL_SPEND_PRICE, FORECAST_SPEND_CURRENCY, FORECAST_SPEND_OBJECT_ID, FORECAST_SPEND_PRICE, ACTUAL_LIMIT_PCT, FORECAST_LIMIT_PCT, LINEITEM_ID_CNT, LIMIT_VALUE_CURRENCY, LIMIT_VALUE_OBJECT_ID, LIMIT_VALUE_PRICE, MINIMUM_VALUE_CURRENCY, MINIMUM_VALUE_OBJECT_ID, MINIMUM_VALUE_PRICE, MINIMUM_DAYS_OFFSET, MARGIN_PRICING, DELETED_AT_DATETIME, DELETED_BY_OBJECT_ID, DELETED_BY_CLASS_ID, DELETED_BY_OBJECT_NAME, CTR_IS_DUET, HAS_DUET_ITEMS, WORD_ATTRIBUTES_TEXT_PREVIEW, WORD_ATTRIBUTES_TEXT_OBJECT_ID, WORD_ATTRIBUTES_TEXT_CLASS_ID, WORD_ATTRIBUTES_CHECKSUM, SENT_TO_ERP_DATETIME, STATUS_OBJECT_ID, STATUS_CLASS_ID, STATUS_OBJECT_NAME, LAST_SPEND_IMPORT_DATE, BUYER_SPECS_SUPPORT, VENDOR_SPECS_SUPPORT FROM clmuser.FCI_CONTRACT WHERE UNIQUE_DOC_NAME = ? AND CONTEXTID = ?;stacktrace=java.lang.IllegalArgumentException: unsupported null bind parameter no. 0 found in statement SELECT OBJECTID, CONTEXTID, REVISION_COUNT, UNIQUE_DOC_NAME, DISPLAY_NAME, COLLN_METADATA, RESERVATION_LOCK, DOCUMENT_DESCRIPTION, CREATED_BY_USER_OBJECT_ID, CREATED_BY_USER_CLASS_ID, CREATED_BY_USER_OBJECT_NAME, MODIFIED_BY_USER_OBJECT_ID, MODIFIED_BY_USER_CLASS_ID, MODIFIED_BY_USER_OBJECT_NAME, EDIT_BY_USER_OBJECT_ID, EDIT_BY_USER_CLASS_ID, EDIT_BY_USER_OBJECT_NAME, CREATED_AT, MODIFIED_AT, EDIT_AT_DATETIME, INACTIVE, TRACK_CHANGES, COLLABORATION_POLICY, HAS_PUBLIC_DISC, IS_TEMPLATE, CANCELED_BY_USER_OBJECT_ID, CANCELED_BY_USER_CLASS_ID, CANCELED_BY_USER_OBJECT_NAME, DOC_OWNER_USER_OBJECT_ID, DOC_OWNER_USER_CLASS_ID, DOC_OWNER_USER_OBJECT_NAME, CLOSED_BY_USER_OBJECT_ID, CLOSED_BY_USER_CLASS_ID, CLOSED_BY_USER_OBJECT_NAME, CANCELED_AT, CLOSED_AT, TEMPLATE_OBJECT_ID, TEMPLATE_CLASS_ID, TEMPLATE_OBJECT_NAME, DOC_TYPE_OBJECT_ID, DOC_TYPE_CLASS_ID, DOC_TYPE_OBJECT_NAME, BASE_DATE_DATE, SCHEDULE_WORK_DAYS, BUSINESS_UNIT_OBJECT_ID, BUSINESS_UNIT_CLASS_ID, BUSINESS_UNIT_OBJECT_NAME, COMPANY_OBJECT_ID, COMPANY_CLASS_ID, COMPANY_OBJECT_NAME, ESTIMATED_CURRENCY, ESTIMATED_OBJECT_ID, ESTIMATED_PRICE, BUDGETED_CURRENCY, BUDGETED_OBJECT_ID, BUDGETED_PRICE, CURRENCY_OBJECT_ID, CURRENCY_CLASS_ID, CURRENCY_OBJECT_NAME, VENDOR_VISIBLE, DATE_TO_PUBLISH_DATE, LOCK_BASELINE, LI_PERIOD_TYPE_OBJECT_ID, LI_PERIOD_TYPE_CLASS_ID, LI_PERIOD_TYPE_OBJECT_NAME, CALC_METHOD, SPEC_ID_COUNT, ATTR_ID_COUNT, FORMULA_ID_COUNT, PURCHASING_ORG_OBJECT_ID, PURCHASING_ORG_CLASS_ID, PURCHASING_ORG_OBJECT_NAME, PURCHASING_GRP_OBJECT_ID, PURCHASING_GRP_CLASS_ID, PURCHASING_GRP_OBJECT_NAME, TRANSACTION_TYPE_OBJECT_ID, TRANSACTION_TYPE_CLASS_ID, TRANSACTION_TYPE_OBJECT_NAME, COMPANY_CODE_OBJECT_ID, COMPANY_CODE_CLASS_ID, COMPANY_CODE_OBJECT_NAME, INTEGRATED_TYPE, USE_ERP_VALIDATION, STORAGE_LOCATION, RECORD_SERIES, RETENTION_DATE_DATE, RETENTION_REMINDER_DATE_DATE, RETENTION_EVENT_OBJECT_ID, RETENTION_EVENT_CLASS_ID, RETENTION_EVENT_OBJECT_NAME, EFFECTIVE_DATE_DATE, EXPIRATION_DATE_DATE, TERMIN_NOTICE_LEAD_TIME, TERMIN_COMMU_DATE, PERPETUAL_TERM, AUTO_RENEWAL, EVENT_OBJECT_ID, EVENT_CLASS_ID, EVENT_OBJECT_NAME, RENEWAL_REMINDER_DATE, VENDOR_OBJECT_ID, VENDOR_CLASS_ID, VENDOR_OBJECT_NAME, CONTACT_OBJECT_ID, CONTACT_CLASS_ID, CONTACT_OBJECT_NAME, LOCATION_OBJECT_ID, LOCATION_CLASS_ID, LOCATION_OBJECT_NAME, PAYTERMS_OBJECT_ID, PAYTERMS_CLASS_ID, PAYTERMS_OBJECT_NAME, REPLENISHMENT_OBJECT_ID, REPLENISHMENT_CLASS_ID, REPLENISHMENT_OBJECT_NAME, VENDOR_ACCT_NUM, INT_CAT_OBJECT_ID, INT_CAT_CLASS_ID, INT_CAT_OBJECT_NAME, EXT_CAT_OBJECT_ID, EXT_CAT_CLASS_ID, EXT_CAT_OBJECT_NAME, EVALUATION_CRITERIA, NEXT_AUDIT_DATE, LAST_AUDIT_DATE, TOTAL_EXPECTED_CURRENCY, TOTAL_EXPECTED_OBJECT_ID, TOTAL_EXPECTED_PRICE, TOTAL_BUDGETED_CURRENCY, TOTAL_BUDGETED_OBJECT_ID, TOTAL_BUDGETED_PRICE, TOTAL_ACTUAL_CURRENCY, TOTAL_ACTUAL_OBJECT_ID, TOTAL_ACTUAL_PRICE, TOTAL_SAVINGS_CURRENCY, TOTAL_SAVINGS_OBJECT_ID, TOTAL_SAVINGS_PRICE, TOTAL_COST_SAVINGS_CURRENCY, TOTAL_COST_SAVINGS_OBJECT_ID, TOTAL_COST_SAVINGS_PRICE, TOTAL_COST_AVOIDANCE_CURRENCY, TOTAL_COST_AVOIDANCE_OBJECT_ID, TOTAL_COST_AVOIDANCE_PRICE, PERF_EVAL_CRITERIA, PERF_LAST_UPDATE_DATE, PERF_NEXT_UPDATE_DATE, BUYER_SEARCHABLE, VAL_PERIOD_TYPE_OBJECT_ID, VAL_PERIOD_TYPE_CLASS_ID, VAL_PERIOD_TYPE_OBJECT_NAME, INCLUDE_PART_NUMBER, TOTAL_ACTUAL_SPEND_CURRENCY, TOTAL_ACTUAL_SPEND_OBJECT_ID, TOTAL_ACTUAL_SPEND_PRICE, FORECAST_SPEND_CURRENCY, FORECAST_SPEND_OBJECT_ID, FORECAST_SPEND_PRICE, ACTUAL_LIMIT_PCT, FORECAST_LIMIT_PCT, LINEITEM_ID_CNT, LIMIT_VALUE_CURRENCY, LIMIT_VALUE_OBJECT_ID, LIMIT_VALUE_PRICE, MINIMUM_VALUE_CURRENCY, MINIMUM_VALUE_OBJECT_ID, MINIMUM_VALUE_PRICE, MINIMUM_DAYS_OFFSET, MARGIN_PRICING, DELETED_AT_DATETIME, DELETED_BY_OBJECT_ID, DELETED_BY_CLASS_ID, DELETED_BY_OBJECT_NAME, CTR_IS_DUET, HAS_DUET_ITEMS, WORD_ATTRIBUTES_TEXT_PREVIEW, WORD_ATTRIBUTES_TEXT_OBJECT_ID, WORD_ATTRIBUTES_TEXT_CLASS_ID, WORD_ATTRIBUTES_CHECKSUM, SENT_TO_ERP_DATETIME, STATUS_OBJECT_ID, STATUS_CLASS_ID, STATUS_OBJECT_NAME, LAST_SPEND_IMPORT_DATE, BUYER_SPECS_SUPPORT, VENDOR_SPECS_SUPPORT FROM clmuser.FCI_CONTRACT WHERE UNIQUE_DOC_NAME = ? AND CONTEXTID = ?
at com.sap.odp.common.db.AbstractDb.findWhere(AbstractDb.java:5823)
at com.sap.odp.common.db.AbstractDb.findWhere(AbstractDb.java:5760)
at com.sap.eso.contracts.ContractHome.findUniqueByDocName(ContractHome.java:96)
at com.sap.eso.contracts.importer.processors.AgreementProcessor.createNewHook(AgreementProcessor.java:479)
at com.sap.odp.doc.importer.AbsDocImportProcessor.processRow(AbsDocImportProcessor.java:165)
at com.sap.odp.common.install.dataimport.csv.CsvFileProcessor.processRowInternal(CsvFileProcessor.java:1370)
at com.sap.odp.common.install.dataimport.csv.CsvFileProcessor.processFile(CsvFileProcessor.java:281)
at com.sap.odp.common.install.dataimport.xml.XmlImporter.importXmlObject(XmlImporter.java:249)
at com.sap.odp.common.install.dataimport.xml.XmlImportHandler.endElement(XmlImportHandler.java:155)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
at com.sap.odp.common.install.dataimport.xml.ImportXmlReader.importObjects(ImportXmlReader.java:141)
at com.sap.odp.common.install.dataimport.xml.ImportXmlReader.parse(ImportXmlReader.java:84)
at com.sap.odp.common.install.dataimport.xml.ImportXmlReader.parse(ImportXmlReader.java:73)
at com.sap.odp.common.install.dataimport.xml.XmlImporter.go(XmlImporter.java:164)
at com.sap.odp.install.actions.ProcessXmlImportFile.executeHook(ProcessXmlImportFile.java:170)
at com.sap.odp.install.actions.InstallAction.execute(InstallAction.java:203)
at com.sap.odp.install.engine.ScriptedImportEngine.runSingleItem(ScriptedImportEngine.java:319)
at com.sap.odp.install.engine.XmlImportEngine.execute(XmlImportEngine.java:128)
at com.sap.odp.install.imports.ImportController$ImportRunner.execute(ImportController.java:302)
at com.sap.odp.install.imports.ImportController$ImportRunner.run(ImportController.java:212)
at java.lang.Thread.run(Thread.java:708)
Let me know if you need additional details.
Regards
Sai -
Scroller Component not working with TabbedViewNavigator Component (Flex Mobile)
SETUP:
-The Application itself is a MobileApplication, not TabbedMobileApplication.
-One of my pages/views (we'll call it "TabbedPage") incorporates the TabbedViewNavigator component, which calls on two other pages/views in my "views" folder; we'll call them "TabbedPageOne" and "TabbedPageTwo"; the other pages within the application are just regular View pages with components on stage, including a page that also incorporates the Scroller component, which functions properly without a hitch.
-TabbedPageOne incorporates a Scroller component (followed by a VGroup component as required) that is constrained to the whole screen (left, right, top, & bottom all equal "0").
-At runtime (on my desktop and device), when I navigate to the TabbedPage page -- consisting of TabbedPageOne & TabbedPageTwo -- the Scroller component will not scroll.
---Sidenote: I filled the page with components like buttons and labels to fill the page to the point of activating the scroll function, and although the buttons were still functioning (meaning they still respond to touch events), the Scroller still did not function.
Is there something I'm missing or doing wrong, or is this a glitch within the Flex Framework?
You help would be greatly appreciated!Sure!
--------------------------------------------------- MAIN.mxml ------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?><s:MobileApplication xmlns:fx="http://ns.adobe.com/mxml/2009"xmlns:s="
library://ns.adobe.com/flex/spark"backgroundColor="
#FFFFFF" firstView="views.TabbedPage"frameRate="
60"splashScreenImage="
@Embed('splashScreen.jpg')">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
</s:MobileApplication>
-------------------------------------------------------------- TABBEDPAGE.mxml ---------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?><s:View xmlns:fx="http://ns.adobe.com/mxml/2009"xmlns:s="
library://ns.adobe.com/flex/spark"actionBarVisible="
false" tabBarVisible="false" title="TabbedPage">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:TabbedViewNavigator left="0" right="0" top="0" bottom="0">
<s:ViewNavigator label="One" firstView="views.TabbedPageOne"/>
<s:ViewNavigator label="Two" firstView="views.TabbedPageTwo"/>
</s:TabbedViewNavigator>
</s:View> </s:MobileApplication>
---------------------------------------------------------------- TABBEDPAGEONE.mxml ------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?><s:View xmlns:fx="http://ns.adobe.com/mxml/2009"xmlns:s="
library://ns.adobe.com/flex/spark"actionBarVisible="
false" tabBarVisible="true" title="TabbedPageOne">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:Label x="0" y="0" width="420" height="76" color="#000000" text="One"/>
<s:Scroller left="0" right="0" top="40" bottom="0">
<s:VGroup x="0" y="0" width="100%" height="100%">
<!-- I just created these buttons so that the page scrolls--><s:Button label="Button"/>
<s:Button label="Button"/>
<s:Button label="Button"/>
<s:Button label="Button"/>
<s:Button label="Button"/>
<s:Button label="Button"/>
<s:Button label="Button"/>
<s:Button label="Button"/>
<s:Button label="Button"/>
<s:Button label="Button"/>
<s:Button label="Button"/>
<s:Button label="Button"/>
</s:VGroup>
</s:Scroller></s:View> -
Oracle reports in xml format end with stat_low = 6 stat_high = 0
hi
i have a problem with my reports
i have oracle application 11.5.10.2 on linux 32 redhat 4 update 5
after apply the RUP 6
my character_set is :American_America.AR8MSWIN1256
base lang American
install lang ARABIC
when i generate the reports in xml format i get:
Inventory: Version : 11.5.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
ZMCINVTRREG1 module: ZMC Transaction Register Report
Current system time is 04-AUG-2009 14:32:30
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Arguments
P_BREAK_ID='1'
P_RPT_UOM='2'
P_ORG='223'
P_QTY_PRECISION='3'
P_GLCC_STRUCT_NUM='50289'
P_TXN_DATE_LO='2009/08/04 00:00:00'
P_TXN_DATE_HI='2009/08/04 00:00:00'
P_AUDIT_DETAIL='2'
P_REASON_DETAIL='2'
P_LOC_DETAIL='2'
P_CATEGORY_DETAIL='2'
P_SERIAL_DETAIL='2'
P_LOT_DETAIL='2'
P_CATG_SET_ID='1'
P_CATG_STRUCT_NUM='101'
-- Start of Reports Command --
ar60runb
P_CONC_REQUEST_ID=373985
P_BREAK_ID='1'
P_RPT_UOM='2'
P_ORG='223'
P_QTY_PRECISION='3'
P_GLCC_STRUCT_NUM='50289'
P_TXN_DATE_LO='2009/08/04 00:00:00'
P_TXN_DATE_HI='2009/08/04 00:00:00'
P_AUDIT_DETAIL='2'
P_REASON_DETAIL='2'
P_LOC_DETAIL='2'
P_CATEGORY_DETAIL='2'
P_SERIAL_DETAIL='2'
P_LOT_DETAIL='2'
P_CATG_SET_ID='1'
P_CATG_STRUCT_NUM='101'
report=/oraapp/prodappl/inv/11.5.0/reports/US/INVTRREG.rdf
batch=yes
destype=file
desname=/oraapp/prodcomn/admin/out/PROD_apps/o373985.out
desformat=XML
-- End of Reports Command --
Request language is :
AMERICAN
Request territory is :
AMERICA
XML_REPORTS_XENVIRONMENT is set to:
/oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
Enabling XML_REPORTS_ENVIRONMENT based environment switching
The Character-Set of the System is:
AR8MSWIN1256
Environment will now switch to UTF-8 code-set.
Parts of this log file may not display correctly
as a result. This is an expected behavior.
Converting parameters to UTF-8
-- Start of Reports Command Converted to UTF-8 --
ar60runb
P_CONC_REQUEST_ID=373985
P_BREAK_ID='1'
P_RPT_UOM='2'
P_ORG='223'
P_QTY_PRECISION='3'
P_GLCC_STRUCT_NUM='50289'
P_TXN_DATE_LO='2009/08/04 00:00:00'
P_TXN_DATE_HI='2009/08/04 00:00:00'
P_AUDIT_DETAIL='2'
P_REASON_DETAIL='2'
P_LOC_DETAIL='2'
P_CATEGORY_DETAIL='2'
P_SERIAL_DETAIL='2'
P_LOT_DETAIL='2'
P_CATG_SET_ID='1'
P_CATG_STRUCT_NUM='101'
report=/oraapp/prodappl/inv/11.5.0/reports/US/INVTRREG.rdf
batch=yes
destype=file
desname=/oraapp/prodcomn/admin/out/PROD_apps/o373985.out
desformat=XML
-- End of Reports Command --
XML_REPORTS_XENVIRONMENT is :
/oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
XENVIRONMENT is set to /oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
Previous NLS_LANG Environment Variable was :
American_America.AR8MSWIN1256
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8
stat_low = 6
stat_high = 0
emsg:was terminated by signal 6
*** glibc detected *** double free or corruption (!prev): 0x08bf6a78 ***
Report Builder: Release 6.0.8.25.0 - Production on Tue Aug 4 14:32:30 2009
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter Username:
Reset original NLS_LANG in environment as :
American_America.AR8MSWIN1256
Program was terminated by signal 6
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 373985.
Review your concurrent request log and/or report output file for more detailed information.
Executing request completion options...
------------- 1) PUBLISH -------------
Beginning post-processing of request 373985 on node APPS at 04-AUG-2009 14:32:37.
Post-processing of request 373985 completed at 04-AUG-2009 14:32:38.
Finished executing request completion options.
Concurrent request completed
Current system time is 04-AUG-2009 14:32:38
can any one help me with it????hi,,,
it seems OS package version conflict
Please check glibc and openmotif version (its responsible for reports)
and
Set the environment variable MALLOC_CHECK_=0 and bounce the Concurrent Managers
MALLOC_CHECK_ can be changed in two places :-
1. Add this to the $APPL_TOP/custom<TWO_TASK>_<HOSTNAME>.env
MALLOC_CHECK_=0
Then restart the concurrent managers and retest
2. Change it in the adovars.env file
Again bounce the concurrent managers and retest
THANKS (ZzZ)
Edited by: zzz on Aug 5, 2009 8:59 AM
Edited by: ZzZ on Aug 5, 2009 9:00 AM -
Creating xml format file with double dagger ‡ as delimiter
Hi,
My source files are delimited with double dagger (‡) and I am using openrowset to load the files to SQL Server. When I am creating the format file by specifying the delimiter as ‡, the format file created has a different delimiter than the specified one.
The new delimiter appearing in xml format file is ç.
Any help?
TIA
Nitesh Rai- Please mark the post as answered if it answers your questionHow did you create format file?
Try this method and see if it works
http://visakhm.blogspot.com/2013/10/generate-format-files-based-on-table.html
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Hi,
I'm having issues generating a BCP XML format file using a fairly unusual column terminator, a double dagger symbol
‡ (alt + 0135) which I need to support.
I'm experiencing this problem with bcp.exe for SQL2008 R2 and SQL2012.
If I run the following command line:
bcp MyDB.TMP.Test_Extract format nul -c -x -f "C:\BCP\format_file_dagger_test.xml" -T -S localhost\SQL2012 -t‡
I end up with a XML format file like so:
<?xml version="1.0"?>
<BCPFORMAT xmlns="http://schemas.microsoft.com/sqlserver/2004/bulkload/format" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RECORD>
<FIELD ID="1" xsi:type="CharTerm" TERMINATOR="ç" MAX_LENGTH="255" COLLATION="SQL_Latin1_General_CP1_CI_AS"/>
<FIELD ID="2" xsi:type="CharTerm" TERMINATOR="ç" MAX_LENGTH="50"
.. and so on.
You will notice that the TERMINATOR="ç" (Minuscule c-cedilla) is output instead of TERMINATOR="‡". The
ç character, is strangely enough is alt + 135 (and not alt + 0135) so this might more than a coincidence! I know you can specify the codepage but this switch applies the data being imported or extracted and not for the format file
itself (I tried it anyway).
In order to use the XML file to bulk import I manually did a text substitution of 'ç' character for '‡' and then BCP imports '‡' data fine.
This character swap doesn't occur if I generate a non XML format file (the '‡' character is output in the format file correctly) however, this file produces other import errors, which I don't encounter if I use a standard delimiter like a comma. So I have stuck
with the working XML format file which I prefer.
Does anyone know why this is happening? I'm planning to automate the generation the of the XML format file and would like to avoid the additional step of text substitution if possible.
Thank you.Hi Ham09,
According to your description , we do a test and find that the character of the terminator is changed due to the code page of Operation System. When you choose the different time zone in Data and Time bar, and do the same bcp test, you will find it will
export the different TERMINATOR in your XML format file. For example, you can import the character "ç" (alt + 135) in (UTC-12:00)International Date Line West time zone and (UTC+09:00)Osaka, Sapporo, Tokyo time zone, and check if the terminators are different.
By default, the field terminator is the tab character (represented as \t). To represent a paragraph mark, use \r\n.
For more information, there is detail about code page(Windows), you can review the following article.
http://msdn.microsoft.com/en-us/library/windows/desktop/dd317752(v=vs.85).aspx
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support -
Unwanted Default Formatting with import XML
I have a problem of unwanted default formatting with import XML. Under InDesign CS6, I import XML with merge mode.
One frame is difficult to apply with the placeholder, I should put the XML element A inside by hand. InDesign automatically applies the character style of the child element B to the following text in element A.
I tried the steps of this article http://indesignsecrets.com/fixing-unwanted-default-formatting.php/comment-page-1#comment-5 62875
But it doesn't work for me.
Dose anyone have an idea? Thanks.Kasyan, I agree with you!
So this is what i did in xslt.
First I added the following namespace to the stylesheet.
xmlns:file="http://www.jclark.com/xt/java/java.io.File"
This is not supported by indesign, you have to do this with a parser. I used saxon to parse the xml.
And this is the part for the existing file lookup.
If the file exists the image is placed as a href, if it doesn't exist i put the name of the image between brackets. In this case we can see in which image doesn't exist.
<xsl:choose>
<xsl:when test="file:exists(file:new(string($imagefile)))">
<xsl:element name="Articleimage">
<xsl:attribute name="href">file://../images/<xsl:value-of select="Properties/Property[@field = 9]"/></xsl:attribute>
</xsl:element>
</xsl:when>
<xsl:otherwise>
<xsl:text>[</xsl:text><xsl:value-of select="Properties/Property[@field = 9]"/><xsl:text>]</xsl:text>
</xsl:otherwise>
</xsl:choose>
I hope it helps for others.
Good luck!
Glen -
IPhone Scroll Component with Item Renderer, which can list Facebook friend list.
Hi,
I am working on a project, in which i have to show facebook friends of user in a list which can scroll. I have made the component with scrolling functionality but, the scrolling is not working fine. Any ideas about the scroll.
Thanks in advance.
VipulHi,
Yaa, I have made my own component, and it is working fine, but when number of facebook increass, the mouse over event doesn't work, and tapping scroll freezes.
Can you suggest me some way so that i can dipatch that mouse over event repeatdly.
Vipul -
Parameter with xml format....
I hav to send 3 parameters via HTTP. There r
1. cpid (datatype: string)
2. pwd (datatype: string)
3. msg in xml format :
<mms>
<subject>message subject</subject>
<url_image>http://image_url</url_image>
<url_sound>http://sound_url</url_sound>
<url_video>http://video_url</url_video>
<text>message text</text>
<msisdn_sender>6281XYYYYYY</msisdn_sender>
<msisdn_receipient>6281XYYYYYY</msisdn_receipient>
<sid>to be define later</sid>
<trx_id>Unique number</trx_id>
<trx_date>yyyyMMddHHmmss</trx_date>
<contentid>see note</contentid>
</mms>
I'm stuckd on msg parameter. How can i effectively assign msg with data in xml format? I mean if i create an xml file & send it with others params, it will increase the I/O cost, coz everytime request made, the application must create an xml file....
Any suggestion??
Thx b4 in advance...I understand what you are trying to do, I get the same problem.
It seems to be that with the "go" you can request a report in xml format OR you can filter a report with passed parameters, but it doesnt seem to like you passing filters AND wanting the results in xml format.
Heres my examples
1 - call report in xml format - this works
saw.dll?Go&Path=/shared/Reports/TestReport&Format=xml
2 - call report with filter passed ( the table.column is set to "is prompted" in the report ) - this works
saw.dll?Go&Path=/shared/Reports/TestReport&Action=Navigate&Format=xml&col1={table}.[column}&op1=eq&val1={passed value}
3 - call report in xml with filters - this does NOT work observes the XML format only.
saw.dll?Go&Path=/shared/Reports/TestReport&Format=xml
&Action=Navigate&Format=xml&col1={table}.[column}&op1=eq&val1={passed value}
If anyone has a solution to this I'd be really interested to know. -
Error in back up with xml format
Hi
when i was getting to backup the database with xml format . iam getting this type of errors..
The 'DimensionID' required element is missing under Envelope/Body/Execute/Command/Alter/ObjectDefinition/Cube/Dimensions/Dimension
at line 21, column 28 (namespace 'http://schemas.microsoft.com/analysisservices/2003/engine.
how to solve the issues ..
please help me..
thanksHi Sheshu,
According to your description, you are experiencing the issue "The 'DimensionID' required element is missing under....." when back up you databased using XML format, right?
After investigate this issue, the underlying cause is not fully known. You can process the database and then backup it again. Here are blogs that describe how to backup SQL Server Analysis Services using XMLA, please see:
http://www.sqlservergeeks.com/sql-server-backing-up-analysis-services-database-automatically-part-1/
http://www.ssas-info.com/analysis-services-scripts/2679-script-to-backup-ssas-database-and-delete-old-backup-files
If the issue persists, please provide us more information about it, so that we can make further analysis.
Regards,
Charlie Liao
TechNet Community Support -
Help with Labview for Linux applicatio​n - datalog to XML format
Hi,
I am working on an application that makes use of a PDA for instrument control and data acquisition, and all our code has been written with the use Labview PDA 8.2. The instrument data is returned wirelessly to a remote server, and one of the specifications we set early in the project was the data would be returned in XML format in line with Labview's inbuilt XML schema.
Unfortunately, this XML funtion is not available on Labview PDA! We have made a change to return the data in Labview's 'Datalog' format, and then we now intend to run an additional application on the server to convert this information to XML before passing the data to our customer's software.
We have successfully done this with Labview for windows, but our customer's server is Linux based.
Is anyone aware of someone (or a company) who would be able to take our existing 'datalog-to-XML' vi and compile it for Linux? The program is really simple, and I would hope that all the functionality we use is supported in Labview for Linux.
Thanks,
MarkHi Mark
LabVIEW VIs that are developed in a Windows environment can be used in a Linux version of LabVIEW. As long as the VIs have not got Windows specific features such as ActiveX or Windows dll call you can run the VI in Linux. Also there maybe some specific drivers that are not supported under the Linux environment (see link). The VI will simply be recompiled in Linux. The Linux user must have a copy of the Linux LabVIEW Development System installed though.
http://digital.ni.com/public.nsf/websearch/35D2B5E483A001A18625716B005BE464?OpenDocument
Kindest Regards
YatinM
NIUK & Ireland -
XML file with different format
Hello
I have a requirement where the customer needs XML file with different format. How do I achieve the second format mentioned below instead of first format.
Normally we create the XML file in the following format:
- <Entries>
- <Organization>
<MemberName>0000000002</MemberName>
<FullName>BAY GYNECOLOGICAL ASSOCIATES</FullName>
<OrgId>0000000002</OrgId>
<OrgType>CUST</OrgType>
- <AssociatedToOrg>
<Name>0002</Name>
- </AssociatedToOrg>
</Organization>
Now the customer wants like the following format:
<Organization MemberName="522_Community_Customer" FullName="522 Community Customer" OrgId="DEA123456" OrgIdType="DEA" >
<AssociatedToOrg Name="MN"/>
</Organization>
Thanks
Nagayou can solve it with a XSL mapping. refer to the SDN to know how develop it
/people/aleksey.popov2/blog/2010/01/26/consuming-webservices-with-tag-in-wsdl-using-xslt
XSLT Editor for creating xlst mappings
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/190eb190-0201-0010-0ab3-e69f70b6c257
http://wiki.sdn.sap.com/wiki/display/XI/XSLTMappingSteps
http://wiki.sdn.sap.com/wiki/display/XI/FileTOFile-UsingXSLTmapping%28forBeginners%29
http://wiki.sdn.sap.com/wiki/display/Snippets/ConvertflatXMLfiletonestedusing+XSLT
http://wiki.sdn.sap.com/wiki/display/Java/MultiMappingwithJavaandXSLTmappings
Edited by: Rodrigo Alejandro Pertierra on Oct 1, 2010 5:26 PM -
Create XML format file in bulk insert with a data file with out delimiter
Hello
I have a date file with no delimiter like bellow
0080970393102312072981103378000004329392643958
0080970393102312072981103378000004329392643958
I just know 5 first number in a line is for example "ID of bank"
or 6th and 7th number in a line is for example "ID of employee"
Could you help me how can I create a XML format file?
thanks alotThis is a fixed file format. We need to know the length of each field before creating the format file. Say you have said the first 5 characters are Bank ID and 6th to 7th as Employee ID ... then the XML should look like,
<?xml version="1.0"?>
<BCPFORMAT xmlns="http://schemas.microsoft.com/sqlserver/2004/bulkload/format"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RECORD>
<FIELD ID="1"xsi:type="CharFixed"LENGTH="5"/>
<FIELD ID="2"xsi:type="CharFixed"LENGTH="2"/>
<FIELD ID="3" xsi:type="CharFixed" LENGTH="8"/>
<FIELD ID="4" xsi:type="CharFixed" LENGTH="14"/>
<FIELD ID="5" xsi:type="CharFixed" LENGTH="14"/>
<FIELD ID="6" xsi:type="CharFixed" LENGTH="1"/>
</RECORD>
<ROW>
<COLUMNSOURCE="1"NAME="c1"xsi:type="SQLNCHAR"/>
<COLUMNSOURCE="2"NAME="c2"xsi:type="SQLNCHAR"/>
<COLUMN SOURCE="3" NAME="c3" xsi:type="SQLCHAR"/>
<COLUMN SOURCE="4" NAME="c4" xsi:type="SQLINT"
/>
<COLUMN SOURCE="5" NAME="c5" xsi:type="SQLINT"
/>
</ROW>
</BCPFORMAT>
Note: Similarly you need to specify the other length as well.
http://stackoverflow.com/questions/10708985/bulk-insert-from-fixed-format-text-file-ignores-rowterminator
Regards, RSingh
Maybe you are looking for
-
Purchase order : user-exit to fill new field in table EBAN
Hi, in EBAN table i created a new field named ZTYPE_SITE. Now i would like to fill this field when i save my purchase requisition. I don't found the user-exit or BADI to do that. Thanks for help. Cheers.
-
How to send Notification email to Outlook mail?
Hi all, am new to workflow, is there any possiblity with sending notification emails using rule? in my requirement i have to send email notifications to concerned manager using A002 relationship in HR? Can anybody help me? Thanks in advance,
-
HELP: Can't locate JAXP1.1 in J2EE1.3 or JAXP1.3 in J2SE5.0
Hi All, I am using an older textbook(2002) on XML and XSL capabilities in Java web applications and the example in the book said that JAXP1.1 contains 3 jar files which are crimson.jar,jaxp.jar and xalan.jar and the book also said that JAXP1.1 is par
-
Please can somebody provide me the source for step by step single instance physical standby dataguard setup for my single instance database.
-
The problem of the Canvas and JInternalFrame
I have some problem with the Canvas and JInternalFrame, my application contains serval internalframes and each has one canvas, but i found that canvas is at the top z-order of the window. so it result in that the canvas is at the same z-level, which