How to define the style for JTextArea using synth style xml file.
Hi all,
How can we align the text inside the JTextArea using synth style xml file.
We defined a style for the TextArea. But the text is displayed immediately after the border. So we want to provide some space between the border and the text.We specified the insets as given below. But it is not reflecting during runtime.
<insets top="3" left="3" bottom="3" right="3"/>
Please help me if any one knows
Hi Anju,
This may help you.
http://www.xenta.nl/blog/2009/10/28/oracle-soa-suite-11g-setting-and-getting-preferences/
Preferrence Variable can be updated either thorugh EM console or ConfigPlan
Regards,
Richa
Similar Messages
-
How to define the texts for UI element Dropdownlistbykey?
Hi everyone,
I don't know how to define the texts for Dropdownlistbykey. It seems that Dropdownlistbykey has an attribute "selected key", but where can I bind the texts I want to display when user clicks the downwards
arrow?
Thanks in advance.hi,
you can use this code :
method WDDOINIT .
DATA : node_info TYPE REF TO if_wd_context_node_info,
value1 TYPE wdy_key_value,
set TYPE wdy_key_value_table,
k1 type string value 'M',
v1 type string value 'MAGO',
k2 type string value 'S',
v2 type string value 'Saurav'.
value1-key = k1.
value1-value = v1.
APPEND value1 to set.
value1-key = k2.
value1-value = v2.
APPEND value1 to set.
node_info = wd_context->get_node_info( ).
node_info = node_info->get_child_node('FOR_DROP').
node_info->set_attribute_value_set( name = 'DROP_KEY' value_set = set ).
I hope it helps.
Thanx. -
How to read the indicator for arbitrary use (RKEPA - T550A)
Hi Everyone,
I would like to use (retrive data from) the "Indicator for arbitrary use" field (RKEPA) of the Daily Work Schedules screen (table T550A) in Time Evaluation. I checked the documentation for HRS?S, HRS1T and VARST but didn't find anything.
Could someone help me ?
Thanks in advance,
Zakaria.I think you will have to write your own operation, Zakaria.
Actually it's quite normal to write general parametric operations for retrieval of additional fields that SAP does not provide for.
Good luck!
Rodrigo -
How to define the format for numeric field ?
Hello
I have Amount field and I would to define the format to be ( XX.XXX,000 )
How can I do this ??
I'm new in ADF and need your help ..
rgrds
Edited by: moh3li_pal on Mar 1, 2010 8:05 AMi have the same problem i try with pattern "###,###.##" but the application adf is the inverse "###.###,##" , this a bug or the pattern errornious.??Hi Joaquin. This is not a bug, although this is a little difficult to explain without face-to-face communication :D The confusing thing here is the difference between the 'special pattern characters' and actual output characters (which are chosen based on your locale).
If you check the Java DecimalFormat class (which provides the rules for formatting) you'll see the following:
Using , in the pattern = Grouping separator
Using . in the pattern = Decimal separator or monetary decimal separator
According to your locale, the grouping separator is '.' and the decimal separator is ','. So the pattern you have specified does dictate that you should get the result you have found.
You either need to change your locale settings (best option) or cheat by switching the , and . in your pattern. -
How to get the column name and table name from xml file
I have one XML file, I generated xsd file from that xml file but the problem is i dont know table name and column name. So my question is how can I retrieve the data from that xml file?
Here's an example using binary XML storage (instead of Object-Relational storage as described in the article).
begin
dbms_xmlschema.registerSchema(
schemaURL => 'my_schema.xsd'
, schemaDoc => xmltype(bfilename('TEST_DIR','my_schema.xsd'), nls_charset_id('AL32UTF8'))
, local => true
, genTypes => false
, genTables => true
, enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_CONTENTS
, options => dbms_xmlschema.REGISTER_BINARYXML
end;
genTables => true : means that a default schema-based XMLType table will be created during registration.
enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_CONTENTS : indicates that a repository resource conforming to the schema will be automatically stored in the default table.
If the schema is not annotated, the name of the default table is system-generated but derived from the root element name :
SQL> select table_name
2 from user_xml_tables
3 where xmlschema = 'my_schema.xsd'
4 and element_name = 'employee';
TABLE_NAME
employee1121_TAB
(warning : the name is case-sensitive)
To annotate the schema and control the naming, modify the content to :
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb">
<xs:element name="employee" xdb:defaultTable="EMPLOYEE_XML">
<xs:complexType>
Next step : create a resource, or just directly insert an XML document into the table.
Example of creating a resource :
declare
res boolean;
doc xmltype := xmltype(
'<employee>
<details>
<emp_id>1</emp_id>
<emp_name>SMITH</emp_name>
<emp_age>40</emp_age>
<emp_dept>10</emp_dept>
</details>
</employee>'
begin
res := dbms_xdb.CreateResource(
abspath => '/public/test.xml'
, data => doc
, schemaurl => 'my_schema.xsd'
, elem => 'employee'
end;
The resource has to be schema-based so that the default storage mechanism is triggered.
It could also be achieved if the document possesses an xsi:noNamespaceSchemaLocation attribute :
SQL> declare
2
3 res boolean;
4 doc xmltype := xmltype(
5 '<employee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xsi:noNamespaceSchemaLocation="my_schema.xsd">
7 <details>
8 <emp_id>1</emp_id>
9 <emp_name>SMITH</emp_name>
10 <emp_age>40</emp_age>
11 <emp_dept>10</emp_dept>
12 </details>
13 </employee>'
14 );
15
16 begin
17 res := dbms_xdb.CreateResource(
18 abspath => '/public/test.xml'
19 , data => doc
20 );
21 end;
22 /
PL/SQL procedure successfully completed
SQL> set long 5000
SQL> select * from "employee1121_TAB";
SYS_NC_ROWINFO$
<employee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceS
<details>
<emp_id>1</emp_id>
<emp_name>SMITH</emp_name>
<emp_age>40</emp_age>
<emp_dept>10</emp_dept>
</details>
</employee>
Then use XMLTABLE to shred the XML into relational format :
SQL> select x.*
2 from "employee1121_TAB" t
3 , xmltable('/employee/details'
4 passing t.object_value
5 columns emp_id integer path 'emp_id'
6 , emp_name varchar2(30) path 'emp_name'
7 ) x
8 ;
EMP_ID EMP_NAME
1 SMITH -
What's the code for applying CSS to an XML file, in a dynamic text feild
Hi all,
Very simply put, just like in the title.
If you have a CSS ready, an XML file that already appears
inside a dynamic text field, what AS2 code would you use to connect
the CSS so it applies to the XML file which is now unstyled?
thanks!!!...sorry for thaking a while to get back to you. I pluged the
code you provided and the exported flash does not deplay the text.
instead it says "undefined" which to me means something in the xml
files is work, which is strage since I tested the xml file in a
browser and it works find. so i am providing both the AS code
(below) and the xml and css file (attached). my hope is that you
can direct me to what the problem is.
THANK YOU AGAING FOR ALL YOU HELP!!!
AS code:
Scrolling Text XML by Digital Science |
www.digitalscience.za.org
/////////////Load XML Data/////////////
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
header = [];
txt = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
header
= xmlNode.childNodes.childNodes[0].firstChild.nodeValue;
txt
= xmlNode.childNodes.childNodes[1].firstChild.nodeValue;
gotoAndStop(11);
} else {
errorMsg.text = "Error loading XML";
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("member_content_test.xml");
stop();
import TextField.StyleSheet;
var ss:StyleSheet = new StyleSheet();
ss.onLoad = function() {
txt_mc.styleSheet=this; // where yourTF is your textfield
ss.load("jokes.css"); // where yourSS.css is your css file. -
How to define the directory for download technical system?
Hi,
I'm trying to export the technical system from SLD, but is showed the following message: "/usr/sap/XIP/DVEBMGS76/j2ee/cluster/server1/apps/sap.com/com.sap.lcr/servlet_jsp/sld/root/admin/download/export_20061205_114437.zip (A file or directory in the path name does not exist.)".
But the "download" directory do not exist. Can I change this path?
I don't have permission to create a directory in Unix, where the XI was installed.
Thanks.Why you export the technical system from SLD ?
Which step you follow in order to make the export ?
Sandro -
How to write the org.w3c.dom.Document into an XML file.
The file doesn't not exist. I have a class to form an XML Document object with giving parameters. And then how to write this Document object to an specialitied
file?The easiest way is to use a Transformer to do an default transform of the document from a DOMSource to a StreamResult.
something like
TransformerFactory tf = TransformerFactory.newInstance();
tf.setAttribute("indent-number", new Integer(4));
Transformer t = tf.newTransformer();
t.setOutputProperty(OutputKeys.INDENT, "yes");
t.setOutputProperty(OutputKeys.METHOD, "xml");
t.setOutputProperty(OutputKeys.MEDIA_TYPE, "text/xml");
t.transform(new DOMSource(yourDOMDocument), new StreamResult(new OutputStreamWriter(yourFileOutputStream))); -
Disable the buttons for creation using PFCG roles
Hi SAP Experts,
How to disable the buttons for creation using PFCG roles?
Regards,
JayaHi,
u have to write the code in <b>at selection-screen output</b> event
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF <b>P_PRINT</b> = 'X'. " this is radiobutton
IF screen-name = 'P_RANGE'.
SCREEN-INPUT = 0.
ENDIF.
modify screen.
ELSE.
IF screen-name = 'S_LFDAT-LOW'.
SCREEN-INPUT = 0.
ENDIF.
IF screen-name = 'S_LFDAT-HIGH'.
SCREEN-INPUT = 0.
ENDIF.
IF screen-name = 'S_WERKS-LOW'.
SCREEN-INPUT = 0.
ENDIF.
IF screen-name = 'S_WERKS-HIGH'.
SCREEN-INPUT = 0.
ENDIF.
IF screen-name = 'P_LIFNR'.
SCREEN-INPUT = 0.
ENDIF.
IF screen-name = 'S_BUKRS'.
SCREEN-INPUT = 0.
ENDIF.
modify screen.
ENDIF.
ENDLOOP.
Hope it helps.
Regards,
Sonika -
How to let the user define the colors for each plots in the graph (I use LabVIEW 7)?
How to let the user define the colors for each plots in the graph (I
use LabVIEW 7)?Hi,
Take a look at this example, it uses property nodes to select tha
active plot and then changes the color of that plot.
If you want to make the number of plots dynamic you could use a for
loop and an array of color boxes.
I hope this helps.
Regards,
Juan Carlos
N.I.
Attachments:
Changing_plot_color.vi 38 KB -
How to define new colors for the form?(Finish)
Hello! Everyone!
I want to define new colors for the new form.
But I don't find where I can define it.
How to define new color for the form?
Thanks in advance!You have to set the Canvas color or as I said earlier you need to use one of the available color schemas on the OAS or Builder runtime.
If you want to use user defined colors in the builder, then you need to create a new color palette and use it.
I personally haven't tried it, but there is a section in the online help that describes how to do this.
Tony -
File with variable structure how to define the FCC parameters for it?
Hi all,
I have a scenario which is File to IDOC
and file structure is in this way
Header:
HDR|ROSS-Daily-Inv|20111104
Data :
INV|01|059EMS|107128|20111104|USD|21703|IN|1| 0.00| 0.00|60-5B-30| 600.00|VIAL|0.00|0.00|EM||NETDUE|CLINIC|Y||490000
TOT|01|059EMS|107128||USD||||0|0
INV|01|EXB001|107130|20111104|USD|02420|IN|1| 823600.00| 823600.00|| 580.00|VIAL|0.00|0.00|||NET30|COMM|N||
TOT|01|EXB001|107130||USD||||823600|823600
Trailer:
TLR| 6| 1382679.00
can any help me defining the Datatype for this structure and FCC parameters
Thanks
SaiHi,
In Sender CC, use content conversion and especially these options:
¤ RecordSet Structure = Header , 1 , Data1 , * , Data2 , * , Footer , 1
¤ Key Field Name = MyKey
¤ Namea.keyFieldValue, to distinguish your different structures (records).
for instance, like that:
Header.keyFieldValue = HDR
Header.fieldName = MyKey , xxxxx, yyyy
Data1.keyFieldValue = INV
Data1.fieldName = MyKey , xxxxx, yyyy
Data2.keyFieldValue = TOT
Data2.fieldName = MyKey , xxxxx, yyyy
Footer.keyFieldValue = TLR
Footer.fieldName = MyKey , xxxxx, yyyy
Otherwise, in SDN with term "recordset" you will find some blogs...
Regards.
Mickael -
How to define the date format for this date string
2006-11-13 00:00:00.0
How to define the date format in control file for sqlldr. "yyyy-mm-dd hh24:mi:ss" or "yyyy-mm-dd hh24:mi:ss.FF1" does not work
thanks,SQL> desc t
Name Null? Type
TS TIMESTAMP(6)
SQL> !cat t.ctl
load data
into table t
truncate
(ts timestamp "YYYY-MM-DD HH24:MI:SS.FF1")
SQL> !cat t.dat
2006-11-13 00:00:00.0
SQL> !sqlldr userid=scott/tiger control=t.ctl data=t.dat log=t.log
SQL*Loader: Release 10.2.0.3.0 - Production on Fri Sep 7 11:19:28 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Commit point reached - logical record count 1
SQL> select * from t;
TS
13-NOV-06 12.00.00.000000 AMBest regards
Maxim -
How to define the default activity for an unbounded task flow?
In the new "Fusion Developer’s Guide for Oracle Application Development Framework 11g Release 1" documentation at the bottom of page 14-3 it states "An unbounded task flow .... contains a default activity, an activity designated as the first to run in the unbounded task flow, because an unbounded task flow does not have a single point of entry."
What I can't find is how to define the default activity in an unbounded task flow and where this is recorded? Can we set this via the task flow diagrammer, and which configuration file is it stored?
I note the first time I run the application with an unbounded task flow a dialog asks me which of the activities in the adfc-config.xml file to make the default, but I can't find where this is recorded.
Anybody have any ideas?
Thanks,
CM.Chris,
In fact this information is nothing that belongs into the taskflow meta data because unbounded taskflow have more than one entry point and there is no notion of default. Its a tools setting (JDeveloper) we had before
Frank
Message was edited by:
Frank Nimphius -
Revision: 10545
Author: [email protected]
Date: 2009-09-23 13:33:21 -0700 (Wed, 23 Sep 2009)
Log Message:
Make DataGrid smarter about when and how to calculate the modulefactory for its renderers when using embedded fonts
QE Notes: 2 Mustella tests fail:
components/DataGrid/DataGrid_HaloSkin/Properties/datagrid_properties_columns_halo datagrid_properties_columns_increase0to1_halo
components/DataGrid/DataGrid_SparkSkin/Properties/datagrid_properties_columns datagrid_properties_columns_increase0to1
These fixes get us to measure the embedded fonts correctly when going from 0 columns to a set of columns so rowHeight will be different (and better) in those scenarios
Doc Notes: None
Bugs: SDK-15241
Reviewer: Darrell
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/browser/DataGrid
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-15241
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase .as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColu mn.asHi Matthias,
Sorry, if this reply seems like a products plug (which it is), but this is really how we solve this software engineering challenge at JKI...
At JKI, we create VI Packages (which are basically installers for LabVIEW instrument drivers and toolkits) of our reusable code (using the package building capabilities of VIPM Professional). We keep a VI Package Configuration file (that includes a copy of the actual packages) in each of our project folders (and check it into source code control just as we do for all our project files). We also use VIPM Enterprise to distribute new VI Packages over the network.
Also, as others have mentioned, we use the JKI TortoiseSVN Tool to make it easy to use TortoiseSVN directly from LabVIEW.
Please feel free to contact JKI if you have any specific questions about these products.
Thanks,
-Jim
Maybe you are looking for
-
Abo kann nicht verwaltet werden
Hallo zusammen, seit mehreren Monaten habe ich ein Abo für After Effects. Wenn ich mich bei Adobe.com mit meiner Adobe-ID anmelde, wird mir allerdings angezeigt, dass ich angeblich kein Abo hätte. Im Menü unter "Abo verwalten" wird mir angezeigt, das
-
Itunes will not open- "iTunes has encountered a problem and needs to close"
My iTunes will not open anymore, giving me the error message: "iTunes has encountered a problem and needs to close. We are sorry for the inconvenience." I have uninstalled and reinstalled iTunes several times, and with different versions. Nothing I d
-
Oracle Report: Header not appearing in spreadsheet
Header section is not appearing in spreadsheet when I am running the report to print in spreadsheet
-
Thank you!
-
How do I create more tabs in my tab control, and place graphs/charts on these.
It has to be done in the program depending on a setup file. This is due to that I have from 2 till 100 graphs/charts needed to be shown. One graph/chart on each tab. How many tabs I need comes from the setup file.