OSB Xquery mapping from multiple to single by separating its value(s).

Hi,
I have one requirement in OSB, can some one explain the implementation for this:
I have one element which is of type unbound. I need to map this element to a single element and to append all the element values by separating each element value with a ';' before that I need to check whether this element(s) are present in the request then need to appened all these element values to a single element and at the end of this element need to append default values.
Scenario:
<student>
<name>asd</name>
<address>
<street>street1</street>
<street>street2</street>
<street>street3</street>
||
||
</address>
to be mapped it to:
<student>
<field name="NAME">asd</field>
<field name="ADDRESS">street1;street2;street3;default1;default2;default3</field>
</student>
Here need to check if street names are present in the request xml, if yes ned to assign it to ADDRESS as mentioned above whether street names present or not need to append the default values at the end to the ADDRESS field like
<field name="ADDRESS">default1;default2;default3</field>
Thanks in advance.

Hi,
Here's a query that should answer part of the question :
<student>
  for $i in doc("doc.xml")/student/*
  return
   <field name="{upper-case(name($i))}">
    if ($i/*) then string-join($i/*, ";")
    else $i/text()
   </field>
</student>It deals with all possible children of the student node. If a child has descendants, then their values are aggregated like you require, else just the child value is used.
Additional question : where do the default values come from? Do we just have to "paste" the string "default1;default2;default3" as a whole?
HTH.

Similar Messages

  • OSB XQuery Maps

    Greetings!
    1]. I use OSB 10.3 with Eclipse (OSB Workshop that comes with OSB 10.3 installabe) IDE for doing mapping.
    I draw lines from Source to Target structure in XQuery Transformation. I see the source code getting build. When I close the XQuery and open it again in the IDE, I see all the source to target lines in the design view disappear. However the source code is still there. Any ideas what might be wrong here?
    2] In my XQuery transformation target structure for elements when I mounse over I see the Nodename, Namespace prefix and Namespace URI. However for some elements I see the namespace URI but no namespace prefix. This is causing problem because in the source code and in the output it produces there are elements without namespace prefix rendering the output invalid. I cant think of why for some elements there are no namespace prefixes. Any advise?
    Only think I can think of is that the target structure seem to have a cyclic reference in the schema.. pls see below example. Is this a problem?
    <a:element1>
    <b:element2>
    <a:element3>
    </b:element>
    </a:element1>
    3] I generated XQuery using mapforce for a map and when I tried to use it in OSB, it errored stating Recursive XQueryies are not supported in OSB. Any thots?
    Thanks in advance

    +2] In my XQuery transformation target structure for elements when I mounse over I see the Nodename, Namespace prefix and Namespace URI. However for some elements I see the namespace URI but no namespace prefix. This is causing problem because in the source code and in the output it produces there are elements without namespace prefix rendering the output invalid. I cant think of why for some elements there are no namespace prefixes. Any advise?+
    Only think I can think of is that the target structure seem to have a cyclic reference in the schema.. pls see below example. Is this a problem?
    +<a:element1>+
    +<b:element2>+
    +<a:element3>+
    +</b:element>+
    +</a:element1>+
    Schema cyclic reference was causing the problem with empty namespace. I had to go in to the XQuery and manually add the namespace and prefic and qualify the elements. After this data gets mapped

  • How to define mapping from multiple files to Oracle Tables in 9i

    Around 100-200 Flat files are created every 30 minutes and each filename is different - Filename has datetime Stamp as part of the file name apart from the product code as first 12 characters.
    Can anyone guide me in How to define mappings to these files using OWB ?
    What I can do is consolidate all files into one known single file name and map the files to Oracle tables which I don't want to do because I need to reject errorneous files.
    Can anyone provide me some tips on this ?
    Thanks in Advance.
    Sohan.

    As you know, in OWB you need to define the flat file source in a 'static' way (name, location, etc. have to be defined previously), so you cannot deal directly with dinamically generated file names. One solution would be to consolidate them into a single file (which you can define statically in OWB), but prefix every record with the filename. In this way it is easy to understand from which file the rejected records came from. If you are using unix, it is very easy to write a script to do this. Something like this will do:
    awk '{printf "%s,%s\n",FILENAME,$1}' yourfilename >> onefile
    where yourfile is the name of the file you are currently processing, while onefile is the name of the consolidated file. You can run this for all files in your directory by substituting yourfilename with * .
    You can then disregard the file name field in OWB, while processing the rejected records based on the file name prefix by using unix utilities like grep and similar.
    Regards:
    Igor

  • Mapping Issue (Multiple to Single)

    Hi,
    We have an HR->XI->JMS scenario and the idoc to be managed contain all trips in the same Idoc HRTRPR01. However, we want to send only one trip per idoc.
    My question is, how can I within XI, when receiving all trips, perform a selection of all idoc segment's record that belongs to a trip and send it on the same idoc structure, but only one trip per idoc.
    Example:
    IDOC RECEIVED:
    Segment_A:
      trip_1 - header
      trip_2 - header
      trip_3 - header
    Segment_B:
      trip_1 - line 1
      trip_1 - line 2
      trip_2 - line 1
      trip_3 - line 1
    FINAL IDOC:
    Message_01
       Segment_A:
         trip_1 - header
       Segment_B:
         trip_1 - line 1
         trip_1 - line 2
    Message_02
       Segment_A:
         trip_2 - header
       Segment_B:
         trip_2 - line 1
    I hope I've been clear enough.
    Can you guys give me some tips how can I perform it?
    Thanks in advance,
    Luis

    Hi Please see if this is of some use:
    <b>Source Structure:</b>
    ......<IDOC> Occurance (1..1)
    .........<Segment_A> Occurance (1..1)
    ............<TRIP> Occurance (1..unbounded)
    ...............<Header> Occurance (1..1)
    .........<Segment_B> Occurance (1..1)
    ............<TRIP>Occurance (1..unbounded)
    ...............<Line>Occurance (1..unbounded)
    <b>Target Structure</b>
    ......<IDOC> Occurance (1..1)
    .........<Segment_A> Occurance (1..1)
    ............<Header> Occurance (1..1)
    .........<Segment_B> Occurance (1..1)
    ............<Line>Occurance (1..unbounded)
    <b>Mapping:</b>
    <b>Note:</b>
      While doing mapping go to Message Tab chnage the Target Message occurance to (0..unbounded). This will give you extra Message and Messagea1 nodes in the Mapping(Design tab).
    <b>Rules:</b>
    <TRIP>(of Segment_A with context as IDOC) --><IDOC>
    <Header>(NO CONTEXT CHANGE)--><Header>
    <Line>(NO CONTEXT CHANGE)--><Line>
    <b>Offline Test Data(Duirng mapping):</b>
    <b>Input:</b>
    <?xml version="1.0" encoding="UTF-8"?>
    <Messages>
       <Message1>
          <IDOC>
             <Segment_A>
                <TRIP>
                   <Header>trip1_H</Header>
                </TRIP>
                <TRIP>
                   <Header>trip2_H</Header>
                </TRIP>
             </Segment_A>
             <Segment_B>
                <TRIP1>
                   <Line>tirp1_L1</Line>
                   <Line>tirp1_L2</Line>
                </TRIP1>
                <TRIP1>
                   <Line>tirp2_L</Line>
                </TRIP1>
             </Segment_B>
          </IDOC>
       </Message1>
    </Messages>
    <b>Output:</b>
    <?xml version="1.0" encoding="UTF-8"?>
    <Messages>
       <Message1>
          <IDOC>
             <Segment_A>
                <Header>trip1_H</Header>
             </Segment_A>
             <Segment_B>
                <Line>tirp1_L1</Line>
                <Line>tirp1_L2</Line>
             </Segment_B>
          </IDOC>
          <IDOC>
             <Segment_A>
                <Header>trip2_H</Header>
             </Segment_A>
             <Segment_B>
                <Line>tirp2_L</Line>
             </Segment_B>
          </IDOC>
       </Message1>
    </Messages>
    <b>Example Realtime testdata:</b>
    <?xml version="1.0" encoding="UTF-8"?>
          <IDOC>
             <Segment_A>
                <TRIP>
                   <Header>trip1_H</Header>
                </TRIP>
                <TRIP>
                   <Header>trip2_H</Header>
                </TRIP>
             </Segment_A>
             <Segment_B>
                <TRIP1>
                   <Line>tirp1_L1</Line>
                   <Line>tirp1_L2</Line>
                </TRIP1>
                <TRIP1>
                   <Line>tirp2_L</Line>
                </TRIP1>
             </Segment_B>
          </IDOC>
    <b>Note:</b>
    During Interface Mapping in design tab you have to change the occurane of the target interface to (0..Unbounded)
    During Interface Determination in Integration Directory, you have to choose Extended(radio button) if you are in SP 14. If you are less than sp14 you have to choose the BPM to collect the multiple messages coming out of Mapping and then send each message one after another using a Block(for-each).
    Regards,
    KNS Kumar.

  • Xquery mapping from Complext type to Array type

    Hi,
    please help to solve this , i will post my source xsd nad target xsd,source has complex type and target xsd has assry type ,i need a direct mapping with elements[one to one mappling]
    pls help me to solve,
    SOURCE XSD
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="updateOrderStatus">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="orderStatusUpdate">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="orderDetails">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="lineItems">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="lineItemList">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="item" minOccurs="0" maxOccurs="unbounded">
    <xs:complexType>
    <xs:sequence>
    <xs:element type="xs:string" name="itemStatus"/>
    <xs:element name="shippingDetail">
    <xs:complexType>
    <xs:sequence>
    <xs:element type="xs:int" name="quantity"/>
    <xs:element type="xs:string" name="shipper"/>
    <xs:element type="xs:string" name="trackingNumber"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element type="xs:string" name="skuId"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element type="xs:string" name="orderId"/>
    <xs:element type="xs:string" name="orderStatus"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    TARAGET XSD
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.atg.com/com.nbty.commerce.integration.orderstatusupdate" xmlns:tns="http://www.atg.com/com.nbty.commerce.integration.orderstatusupdate" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <complexType name="OrderStatusUpdate">
    <all>
    <element name="orderDetails" nillable="true" type="tns:OrderDetails"/>
    <element name="orderId" nillable="true" type="xsd:string"/>
    <element name="orderStatus" nillable="true" type="xsd:string"/>
    </all>
    </complexType>
    <complexType name="OrderDetails">
    <all>
    <element name="lineItems" nillable="true" type="tns:LineItems"/>
    </all>
    </complexType>
    <complexType name="LineItems">
    <all>
    <element name="lineItemList" nillable="true" type="tns:ArrayOfLineItem"/>
    </all>
    </complexType>
    <complexType name="ArrayOfLineItem">
    <complexContent>
    <restriction base="soap-enc:Array">
    <attribute ref="soap-enc:arrayType" wsdl:arrayType="tns:LineItem[]"/>
    </restriction>
    </complexContent>
    </complexType>
    <complexType name="LineItem">
    <all>
    <element name="itemStatus" nillable="true" type="xsd:string"/>
    <element name="shippingDetail" nillable="true" type="tns:ShippingDetail"/>
    <element name="skuId" nillable="true" type="xsd:string"/>
    </all>
    </complexType>
    <complexType name="ShippingDetail">
    <all>
    <element name="quantity" nillable="true" type="xsd:string"/>
    <element name="shipper" nillable="true" type="xsd:string"/>
    <element name="trackingNumber" nillable="true" type="xsd:string"/>
    </all>
    </complexType>
    </schema>
    regards
    Abhi

    Hi,
    Here's a query that should answer part of the question :
    <student>
      for $i in doc("doc.xml")/student/*
      return
       <field name="{upper-case(name($i))}">
        if ($i/*) then string-join($i/*, ";")
        else $i/text()
       </field>
    </student>It deals with all possible children of the student node. If a child has descendants, then their values are aggregated like you require, else just the child value is used.
    Additional question : where do the default values come from? Do we just have to "paste" the string "default1;default2;default3" as a whole?
    HTH.

  • How does a multiple-select list box record its value?

    I assumed that the value of a MSLB would be based on all the values selected, similar to SharePoint column?
    I have a MSLB with 15 choices and I want to hide a section if 2 of the MSLB options are not selected. I have tried a rule on the section using
    MSLB Doesn't Contain "AUD-Public Co"  OR
    MSLB Doesn't Contain "AUD-Public Accountable"  THEN  HIDE.
    This doesn't work, if I change it to Is Equal To, it works but it is in reverse to what I want. If I change it to Is Not Equal To, it doesn't work at all, it stays hidden all the time.
    I created a Text box to be set when the MSLB is checked and it only displays the most recent selection and doesn't clear when all items in the MSLB are cleared. I read a few other postings that were trying to concat into a textbox but this is still only
    showing the last selected item.
    I just want to hide the section if 2 of the MSLB are NOT checked. I am hoping I don't have write a rule using Is Equal To for every option?
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

    My next question would be, if I promote this field to a column in a SP Doc Lib, how will it be displayed. We are hoping it would be the same as multi select choice field on a regular SP list so we can filter by any of the values?
    Or perhaps there is a better way to accomplish this?
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

  • How to create a Sales order from multiple quotations?

    Hi All,
    Please tell me how to create one sales order from multiple quotations?
    Regards,
    Maddy

    Hello Maddy,
    To create the sales order from multiple quotation, you should put the value "F - Only at item level: Always with selection option" under Quotation determination in your sales transaction type.
    It will give you a pop-up to choose your quotations item while creating the sales order.
    Some per-requisites are there:
    1. Copy control should be maintained between your quotation and sales order.
    2. Quotation should be error free and should have the status "Released"
    3. Sold to party and Organization should be same in both transaction.
    For more information you can check the below link:
    Processing Quotations - Sales Transactions - SAP Library
    Best Regards,
    Dinesh

  • How to submit data from multiple Input Ports in single SUBMIT button  click

    Hi,
    I am in SPS8.
    What exactly steps I need to perform to submit data from multiple Input Ports.
    I couldn't able to submit One input Form and one Input Table to BAPI data service in single SUBMIT button click.
    I debugged the VC application in SPS8.
    While debugging, I found that when I click the SUBMIT button in the Input Form, Only data in that Input
    form are being passed to the BAPI, But not the Table Form data.
    If I click on the SUBMIT button in another Input Table, Only data from that table is being passed to the BAPI, but not the Input form data.
    Essentially I need to submit both of them in one SUBMIT button.
    Thanks,
    Ramakrishna

    Ramakrishna,
    From the word document that you sent to me the steps you are missing to map the appropriate information into the BAPI is first you are not mapping all data rows into the table input port. To do this double click on the input table view and change your selection mode from single to multiple. Then when you click on your link between the BAPI and your input table you will see a new option appears under data mapping "Mapping Scope" select All Data Rows.
    That's the first part of the problem to get the BAPI to recognize both the inputs coming from the form and the table eliminate the submit button from the form. Drag and drop a link from the output port of the table view to the Input port of the BAPI. Double click on the link between the BAPI and the table view and open the expressions editor for the two fields:
    1/ Automatic Source
    2/ SKIP_ITEMS_WITH_ERROR
    On the hierarchical folder structure on the right expand expand the Data Fields node to find the fields from the form and map them accordingly.
    Now when you hit the submit button on your table it should pass the BAPI all the parameters from both the form and the table.
    Hope this helps,
    Cheers,
    Scott

  • Open Hub - Data from multiple sources to single target

    Hello,
    I am using Open Hub to send the data from SAP BI to Flat files. I have a requirement where I want to create a single destination from multiple sources. In other words in BI we have different tables for attributes and text. I would like to combine the data from attributes  and text into a single file. For eg. I want to have material attributes and text in the same single file as output.
    Is this possible in Open Hub? If yes could you please help me to understand the process.
    Thanks,
    KK

    Hi,
    1. Create the Info Spoke and activate it
    2. Change it and go to transformation
    3. Check the box InfoSpoke with Transf. Using BAdI
    4. You are asked if you want to generate the spoke. Say yes & Simply set some texts and activate here, then return.
    5. You can now change the target structure. Simply create a Z structure with all the attributs & text field in it in the SE11 and enter it here.
    6. Double click on BAdI implementation & then double click again on "TRANSFORM" method of the implementation. It will take you to method  
    "IF_EX_OPENHUB_TRANSFORM~TRANSFORM"
    7. Write a code to select & fill the text field & map other filed with the attribute fields.
    Example:
    ZEMPLOYEE_ATTR_STRU - Target Structure for InfoSpoke EMPLOYEE_ATTR
    EMPLOYEE     /BI0/OIEMPLOYEE     NUMC     8     0     Employee
    DATETO     /BI0/OIDATETO     DATS     8     0     Valid to
    DATEFROM     /BI0/OIDATEFROM     DATS     8     0     Valid from
    COMP_CODE     /BI0/OICOMP_CODE     CHAR     4     0     Company code
    CO_MST_AR     /BI0/OICO_MST_AR     CHAR     4     0     Controlling Area of Master Cost Center
    HRPOSITION     /BI0/OIHRPOSITION     NUMC     8     0     Position
    MAST_CCTR     /BI0/OIMAST_CCTR     CHAR     10     0     Master Cost Center
    TXTMD     RSTXTMD     CHAR     40     0     Medium description
    Note: Text and attribute are in same structure.

  • Mapping an object using values from multiple tables

    Is it possible to use values looked up in other tables when mapping an object?
    For example: I have three tables. In table 1, I have fields for 'cityCode' and 'stateCode'. Table 2 is a state table which contains a list of stateCodes and corresponding stateIds. Table 3 is a city table with cityCodes listed by stateId (the city code is unique within the stateId but can be duplicated under other stateIds). Table 3 also contains the cityName for the matching cityCode/stateId pair.
    I am ultimately trying to match a cityName to a cityCode. I can't figure out how to tell toplink use the stateId returned when mapping Table 1 to Table 2 via stateCode when mapping cityCode in Table 1 to Table 3.
    Any help is greatly appreciated
    --matt                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    What does your object model look like, do you have a single object with data from all three tables in it?
    <p>
    In general because the cardinality of the tables and usage does not match, I would not recommend using multiple tables to map this. Instead define a CityNameManager class that preloads and stores all of the city names for each state, (possible lazy initializing each set of cities per state). Your getCityName() method in your class would then just use this manager.
    <p>
    You could map the multiple tables but it may be difficult, and would most likely need to be read-only because I don't think you want to insert into the table2 or 3. You basically have a foreign key table1.stateCode => table2.stateCode, (table1.cityCode, table2.stateId) => (table3.cityCode, table3.stateId). You probably cannot define this in the Mapping Workbench, so would need to use the ClassDescriptor code API and an amendment method. If you can't get the foreign keys to work you can always use the descriptor multipleTableJoinExpression and define the join directly.
    <p>
    You could also define a OneToOneMapping to the CityName from your object using the cityCode and using a selectionCriteria() on your mapping to provide an expression that uses the getTable() method to join to the intermediate table.
    <p>
    <p>---
    <p>James Sutherland

  • How To Concatenate Column Values from Multiple Rows into a Single Column?

    How do I create a SQL query that will concatenate column values from multiple rows into a single column?
    Last First Code
    Lesand Danny 1
    Lesand Danny 2
    Lesand Danny 3
    Benedi Eric 7
    Benedi Eric 14
    Result should look like:
    Last First Codes
    Lesand Danny 1,2,3
    Benedi Eric 7,14
    Thanks,
    David Johnson

    Starting with Oracle 9i
    select last, first, substr(max(sys_connect_by_path(code,',')),2) codes
    from
    (select last, first, code, row_number() over(partition by last, first order by code) rn
    from a)
    connect by last = prior last and first = prior first and prior rn = rn -1
    start with rn = 1
    group by last, first
    LAST       FIRST      CODES                                                                                                                                                                                                  
    Lesand         Danny          1,2,3
    Benedi         Eric           7,14Regards
    Dmytro

  • Selecting data from Multiple Partitions in a single select stmt.

    Hi all,
    My Database is very large & my tables are partitioned.
    My question is:
    1) If my data is spread across multiple partitions, is there any way to select data from multiple partitions in a single query?
    If we dont mention partition name also it works fine, but perofmance wise it will be very slow. (Using EXPLAIN PLAN)
    (Note:I dont want to make use of Union concept, i want to do it in a single select statement)
    For ex:
    qry1.sql:
    select empno from emp_trans partition (P012000)
    This above query(qry1.sql) will work fine.
    qry2.sql:
    select empno from emp_trans partition (P012000,P022000)
    The above query(qry2.sql) will return will return the following error:
    ORA-00933: SQL command not properly ended
    If anybody has any solution for this, pls mail me immediately.
    Thanks in advance
    bye
    null

    All my queries are dynamically generated. All my tables are also indexed partition wise based on date field. My question is, if i want to mention multiple partition names at the time of generating my query(select), then with parformance will be good. I have refered some books, inthat what they say is to use UNION concept, i dont want to use that, instead i want in a single select statement.
    Thaks for ur reply
    Bye
    null

  • Single performa invoice from multiple delivery

    Dear sir,
    my client requirement is they are doing one delivery and creating one performa invoice in export scnario while selling from plant and while doing export issue they have to take refrence performaa invoive .
    so they want to create as ingle performa invoice from multiple delivery for which already respective performa invoices have been created.so i want a single performa invoice from multiple delivery so tell me how to do it?
    thanks
    Debesh

    Go to VTFL and maintain as follows:-
    At Header
    Copying requirements:::::::::009
    At Item
    Copying requirements:::::::010
    Data VBRK/VBRP::::::::::::003
    thanks
    G. Lakshmipathi

  • Can i create a single image from multiple images in lightroom?

    Can i create a single image from multiple images in lightroom?

    Like a panorama, a composite or focus stack? Have you tried the Lightroom forum?
    Photoshop Lightroom

  • How can I create a single order from multiple quotations?

    How can I create a single order from multiple quotations that I have created by the transaction VA21 ?
    Thanks in advance for the answers.

    hi
    Go to transaction: /nva01
    Enter order type : ZOR
    Sale org :xxxx
    Dist.channel:xx
    Division :xx
    Press enter
    Click on “Sale document” and select Create with reference
    Then enter 1st quotation number & click on “COPY” or “Selection list”. Then click on “Copy “.Then all line items which belong to quoation1 copy to order.
    Then,
    Click on “Sale document” and select Create with reference
    Then enter 2nd quotation number & click on “COPY” or “Selection list”. Then click on “Copy “.Then all line items which belong to quoation2 copy to order.
    Then,
    Click on “Sale document” and select Create with reference
    Then enter 3rd quotation number & click on “COPY” or “Selection list”. Then click on “Copy “.Then all line items which belong to quoation3 copy to order.
    Now save the sale document.
    Kindly give reward points
    Edited by: WISH on Mar 19, 2008 2:25 PM

Maybe you are looking for

  • How do you unstick the blue progress bar?

    how do you unstick the blue progress bar? It most times, just sits there and the refresh button doesn't help.

  • Migrate Inplace Custom Timer Job to Online

    Hi All, I am pretty new in SharePoint Online, we have planned to migrate all SharePoint 2010 In-place contents to SharePoint Online. We  have few timer jobs deployed in our farm and do not have access to Online servers to migrate custom timer jobs. H

  • Accelerator key on Actions placed on a toolbar.

    I have an Action subclass instance that set Ctrl-S as accelerator in his constructor. putValue(ACCELERATOR_KEY , KeyStroke.getKeyStroke(KeyEvent.VK_S , ActionEvent.CTRL_MASK));When I put that action on a toolbar, the accelerator doen't work. If I put

  • Droid Turbo will not auto-rotate

    My Turbo will not auto rotate in any app. I have toggled the auto rotate option, and reset my phone to factory. An ap I downloaded indicated the gyroscope was working fine, but it still will not work.

  • IO Trace attribute

    Hi, I got the following suspicious row in IO Trace. 16.  VISA Set Attribute ("ASRL10", 0x3FFF01BF, 128) Process ID: 0x000013EC         Thread ID: 0x00000938 Start Time: 14:53:54.455       Call Duration 00:00:00.000 Status: 0 (VI_SUCCESS) But I can't