How to specify dateField in DataGridColumn by use it's attribute

How to specify dateField in DataGridColumn by use it's
attribute ( For example use attribute "name" and "table" to specity
each dataField)
Thanks any idea.
<mx:HTTPService id="myEmployee" url="
http://localhost/test/myEmployee.xml"
useProxy="false" method="POST"/>
myEmployee.xml :
<?xml version="1.0" encoding="utf-8"?>
<database>
<table>
<record>
<field name="auto_id" table="employee">2</field>
<field name="id" table="employee">2</field>
<field name="name" table="employee"></field>
<field name="first_name"
table="employee">James</field>
<field name="middle_name"
table="employee">Francis</field>
<field name="last_name"
table="employee">Ryan</field>
<field name="id" table="department">1</field>
<field name="name"
table="department">Marketing</field>
</record>
</table>
</database>
<mx:DataGrid
dataProvider="{myEmployee.lastResult.database.table.record}"
width="100%">
<!--////////////////////////////////////////////////////////////////////////////////
<mx:columns>
<mx:DataGridColumn dataField="field"/>
<mx:DataGridColumn dataField="field"/>
<mx:DataGridColumn dataField="field"/>
<mx:DataGridColumn dataField="field"/>
<mx:DataGridColumn dataField="field"/>
<mx:DataGridColumn dataField="field"/>
</mx:columns>
////////////////////////////////////////////////////////////////////////////////-->
</mx:DataGrid>

Hi,
i have creted java class. In this i have getting data from database.these data am putting into array objects, these array objects inturn putting into vector as shown below. But am not getting how to get these objects from vector and display one by one value. please help me how to get array object from vector and display.
String[] PONum;
String[] POVersion;
public Vector ExceData;
int totalRecords = 20;
PONum = new String[totalRecords];
POVersion = new String[totalRecords];
while (rs.next())
PONum[i] = rs.getString(1);               
POVersion[i] = rs.getString(2);
ExceData = new Vector();
ExceData.add(0,PONum);
ExceData.add(1, POVersion);
Object[] obj = new Object[2];
obj = ExceData.elementAt(0);
System.out.println(obj[0]);
I am waiting for your reply.
Thanks & Regards,
-Vishwanath

Similar Messages

  • How to Specify Metadata When Adding Content Using iTunes U Web Service?

    I've been developing Java applications using iTunes U Web service and uploaded content to iTunes U site using iTunes U Web service without problem. Now I want to add metadata fields (name, artist name, album name, etc.) for the tracks I uploaded. It seems to me that "AddTrack" will do. So I tested it but it neither adds a track under the specified group nor updates metadata fields for an existing track. It turned out "MergeTrack" actually updates metadata fields for an existing track. So is there any way to specify metadata at the time of adding content using iTunes U Web service? And what exactly does AddTrack do? This is all about contents hosted by iTunes U site and no RSS is involved.
    I'm referring to the "AddTrack" method in iTunes U Web service:
    http://deimos.apple.com/rsrc/doc/iTunesUAdministrationGuide/iTunesUWebServices/c hapter18_section_21.html#//appleref/doc/uid/AdminGuide-CH13-SW26

    Thanks for all the replies. My question is whether there is any way to specify metadata WHEN adding content using iTunes U Web service. Specifying metadata AFTER adding content can be achieved by MergeTrack (weird naming) and it does work.
    As for setting track level meta-data in the media file and then upload it, there're several reasons against that, among which are:
    1. Some track metadata are context-dependent. A video about buildings on Michigan Ave in Chicago can be track #2 in a history course and described as "historic view of the Magnificent Mile", but the same media can also be track #5 in a landscape design course and described as something like "contemporary architecture". Setting these metadata in the media file itself is not the preferred way to do it since it implies maintaining a version of the same media for any course/group it gets uploaded to.
    2. Setting metadata in a location separate from the media file helps track the metadata change and search for media without digging into the media itself.
    3. If MergeTrack "updates" metadata, there got to be some other method that "creates" metadata - that's what a well-designed API should look like. And setting metadata in the media file is not an equivalent to a "create metadata" method call. In rickwolf's term, that implicit AddTrack should actually be made explicit so the party uploading content can explicitly specify metadata instead of having iTunes U extract metadata from the media.
    It is still not clear what "AddTrack" does exactly, maybe rickwolf is right - it's only relevant to tracks created through RSS.
    So it seems to me there is no other way to specify metadata WHEN adding content using iTunes U Web service than setting metadata in the media file. To me it is more like a design flaw.
    Message was edited by: Stone Xiang
    Message was edited by: Stone Xiang
    Message was edited by: Stone Xiang

  • Collaboration Services: How does specify a specific language to use?

    Does anyone know how to administer the Leopard server in English, but have the collaboration services (wiki, blog, calendar, etc) run under another language, perhaps even specific to the User and/or Group?
    (formerly posted in the wrong forum)

    I just stumbled upon the solution.
    Checking the collaborative services pages (wiki, blog, etc.) on an English system will show the pages in English. If you use a computer with another system language, that the pages render according to the primary system language. So if you're using a Japanese system, Safari will bring up the collaborative services in Japanese.

  • How to specify specific libraries to be used by OC4J?

    We are using Oracle AS 10.1.2 and are using OracleConnectionCacheImpl as our DataSource implementation. We'd like to do some tracing and logging from within the impl but are informed by the logging output that we need to use libraries set up for tracing & debugging (meaning we need for the application server to use ojdbc14_g.jar). How do make OC4J use this particular library when it creates its cached datasources?

    Create a new SSLContext for every connection; configure it with its own KeyManager that has access to the appropriate private keys and certificates; and create the SSLSocket from that SSLContext.

  • How to specify warehouse in item object using set GL Method by Warehouse

    Hi all,
    </p>
    I have a sdk to import item master from excel using item object. In general setting, the default warehouse was not set. Therefore, when the program creates the item master, it will first set GL Method by Item Level in order to take in the warehouse code from the excel file and after the item master created, sdk will change the set GL Method from item level to warehouse using object cos customer wants item to manage by warehouse. This sdk was working fine until recently it upgraded to 2007 whereby the change of set GL Method is no longer available using object except thru B1 interface. 
    </p>
    Does anyone know any workaround?
    </p>
    The below is my sample coding.
    </p>
    <pre>
                Dim RetVal As Long
                Dim errCode As Long
                Dim errMsg As String
                Dim dr As System.Data.DataRow
                Dim objRows As DataRow() = dtHeader.Select
                If objRows.GetUpperBound(0) >= 0 Then
                    For Each objDataRow In objRows
                        oITM = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems)
                        oITM.ItemCode = objDataRow("Item")
                        oITM.ItemName = objDataRow("Descr")
                        oITM.ItemType = SAPbobsCOM.ItemTypeEnum.itItems
                        oITM.ItemsGroupCode = objDataRow("ItmGrp")
                        oITM.IssueMethod = objDataRow("IssMthd")
                        oITM.SalesItem = objDataRow("SlsItem")
                        oITM.InventoryItem = objDataRow("InvItem")
                        oITM.PurchaseItem = objDataRow("PurItem")
                        oITM.ManageSerialNumbers = objDataRow("ManageSerial")
                        oITM.ManageBatchNumbers = objDataRow("ManageBatch")
                        oITM.CostAccountingMethod = SAPbobsCOM.BoInventorySystem.bis_FIFO
                        oITM.ManageStockByWarehouse = SAPbobsCOM.BoYesNoEnum.tYES
                        oITM.InventoryUOM = objDataRow("InvUom")
                        oITM.PurchaseUnit = objDataRow("PurUom")
                        oITM.PurchaseItemsPerUnit = objDataRow("PerPurUnit")
                        oITM.SalesUnit = objDataRow("SlsUom")
                        oITM.SalesItemsPerUnit = objDataRow("PerSlsUnit")
                        oITM.ShipType = objDataRow("ShipTyp")
                        oITM.Properties(1) = objDataRow("StdPart")
                        oITM.Properties(2) = objDataRow("FabPart")
                        oITM.UserFields.Fields.Item("U_Materials").Value = objDataRow("Material")
                        oITM.UserFields.Fields.Item("U_Treatment").Value = objDataRow("Treatment")
                        oITM.UserFields.Fields.Item("U_ProdType").Value = objDataRow("PrdTyp")
                        If objDataRow("Manufacturer") <> String.Empty Then
                            oITM.Manufacturer = objDataRow("Manufacturer")
                        End If
                        oITM.GLMethod = SAPbobsCOM.BoGLMethods.glm_ItemLevel
                        'Get detail
                        Dim oRows As DataRow() = dtDetail.Select("LineNo = " & objDataRow("LineNo") & "")
                        If oRows.GetUpperBound(0) >= 0 Then
                            For Each dr In oRows
                                With oITM.WhsInfo
                                    .WarehouseCode = dr("Whs")
                                    .RevenuesAccount = "_SYS00000000209"
                                    .ExpensesAccount = "_SYS00000000003"
                                    .SalesCreditAcc = "_SYS00000000209"
                                    .PurchaseCreditAcc = "_SYS00000000003"
                                    .Add()
                                End With
                            Next
                        End If 'oRows
                        RetVal = oITM.Add()
                        'Check for error
                        If RetVal <> 0 Then
                            oCompany.GetLastError(errCode, errMsg)
                            Throw New Exception("[Import Item Master]: " & errCode & "-" & errMsg)
                        End If
                        'Change GLMethods from ItemLevel to Warehouse
                        If oITM.GetByKey(objDataRow("Item")) = True Then
                            oITM.GLMethod = SAPbobsCOM.BoGLMethods.glm_WH
                            If oITM.Update() <> 0 Then
                                oCompany.GetLastError(errCode, errMsg)
                                Throw New Exception("[Update Item Master]: " & errCode & "-" & errMsg)
                            End If
                        End If
                    Next
                End If 'objRows</pre>
    </p>
    Regards,</br>
    Cherine

    Hello,
    This code is working on 2007. What is the error message you get when you change the G/L method by WH?
    Try it to change in SAP B1 GUI  an item G/L Method tp WH which has been added via your code , I think settings of G/L Account is missing.....
    And check that the Addd all warehouse is not checked in the System Settings.
    Regards,
    J.

  • How to specify Complex Type Parameter

    Hi,
    Can anyone tell me how to specify a complex type parameter using the AddServiceDefinition command in the fnscript? Thanks
    Pao Wang
    NMR

    The only types supported are those listed in the Process Development Guide.
    Stephen

  • How to specify a mapping file using annotations?

    Hi,
    i am trying to deploy a WebService (with annotations) on oc4j 10.1.3.1.0. but all i get is the following exception:
    07/03/13 12:41:52 oracle.j2ee.ws.common.tools.api.ValidationException: test.datamodel.SimpleObjectId - Duplicate type name "test.datamodel.SimpleObjectId" for Java type "{http://tdeer.de/services/internal/test/1_0}SimpleObjectId" found. To remove this error do not specify a single typeNamespace for all value types or specify a mapping file. This error could also be caused when an erroneous type has been used more than once.
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.RmiModeler.buildModel(RmiModeler.java:247)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo.java:173)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.Processor.runModeler(Processor.java:72)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator$DeploymentCompileTool.run(DeploymentGenerator.java:200)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator.generateDeploymentArtifacts(DeploymentGenerator.java:131)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.metadata.annotation.EJBWebServiceAnnotationParser.parseAnnotatedBean(EJBWebServiceAnnotationParser.java:165)
    07/03/13 12:41:52      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    07/03/13 12:41:52      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    07/03/13 12:41:52      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    07/03/13 12:41:52      at java.lang.reflect.Method.invoke(Method.java:585)
    07/03/13 12:41:52      at oracle.j2ee.ws.server.deployment.oc4j.WebServiceAnnotationListener.parseAnnotatedClass(WebServiceAnnotationListener.java:85)
    07/03/13 12:41:52      at com.evermind.server.ejb.AnnotationParser.notifyAnnotationListeners(AnnotationParser.java:201)
    07/03/13 12:41:52      at com.evermind.server.ejb.AnnotationParser.parseAnnotations(AnnotationParser.java:73)
    07/03/13 12:41:52      at com.evermind.server.ejb.EJBPackageDeployment.parseMetaData(EJBPackageDeployment.java:939)
    07/03/13 12:41:52      at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:832)
    07/03/13 12:41:52      at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
    07/03/13 12:41:52      at com.evermind.server.Application.setConfig(Application.java:413)
    07/03/13 12:41:52      at com.evermind.server.Application.setConfig(Application.java:314)
    07/03/13 12:41:52      at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
    07/03/13 12:41:52      at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
    07/03/13 12:41:52      at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
    07/03/13 12:41:52      at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    07/03/13 12:41:52      at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    07/03/13 12:41:52      at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    07/03/13 12:41:52      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    07/03/13 12:41:52      at java.lang.Thread.run(Thread.java:595)
    07/03/13 12:41:52 Caused by: oracle.j2ee.ws.common.processor.modeler.rmi.InvalidParameterException: test.datamodel.SimpleObjectId - Duplicate type name "test.datamodel.SimpleObjectId" for Java type "{http://tdeer.de/services/internal/test/1_0}SimpleObjectId" found. To remove this error do not specify a single typeNamespace for all value types or specify a mapping file. This error could also be caused when an erroneous type has been used more than once.
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.LiteralTypeModeler.addTypeName(LiteralTypeModeler.java:1249)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.LiteralTypeModeler.processClass(LiteralTypeModeler.java:290)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.LiteralTypeModeler.modelTypeLiteral(LiteralTypeModeler.java:235)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.LiteralTypeModeler.modelTypeLiteral(LiteralTypeModeler.java:181)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.LiteralTypeModeler.modelSubclasses(LiteralTypeModeler.java:1048)
    07/03/13 12:41:52      at oracle.j2ee.ws.common.processor.modeler.rmi.RmiModeler.buildModel(RmiModeler.java:210)
    07/03/13 12:41:52      ... 25 more
    The Stateless-SessionBean has one WebMethod with the following Signature:
    public Element getElement(TestObjectId1 pObjectId1, TestObjectId2 pObjectId2) throws RemoteException
    TestObjectId1 and TestObjectId2 have the same Superclass, SimpleObjectId.
    How to specify a mapping file using annotations?
    Thanks
    tdeer

    We you codegen a Policy annotated WSDL, the policies are get included in the stub. Hence you don't have to specify a separate Policy file.
    But if you need to use a separate policy then you need to set them in the AxisDescription object that you use in the ServiceClient and OperationClient.
    e.g.
    ServiceClient serviceClient = new ServiceClient();
    OperationClient operationClient = serviceClient
    .createClient(ServiceClient.ANON_OUT_IN_OP);
    FileInputStream fis = new FileInputStream("path-to-policy.xml");
    Policy servicePolicy = PolicyEngine.getPolicy(fis);
    AxisService axisService = serviceClient.getAxisService();
    axisService.getPolicyInclude().setPolicy(servicePolicy);
    If you need more information please repost this to [email protected] with a [AXIS2] subject prefix.

  • How to specify term file when using static html to run webforms 10g

    I'm using static HTML to run forms
    document.writeln('<PARAM NAME="serverArgs" ');
    document.writeln(' VALUE="escapeParams=true module=genoa.fmx userid= sso_userid=%20 sso_formsid= sso_subDN= sso_usrDN= debug=no host= port= term=/forms90/hsd65html/genoa.res"> ');
    I'm specifying the term as term=/forms90/hsd65html/genoa.res.
    During forms startup I get the message unable to read the file. I can bwoense the file by http://server/forms90/hsd65html/genoa.res
    Any idea how to specify the term file in static html.
    Thanks

    term is not a http address, but a directory address. So, you have to specify the path on the server:
    term=c:\oracle\forms90\.....

  • How to specify source directory in File sender adpate using (NFS)?

    Hello experts,
    I am doing File-PI-Proxy scenario.
    Input file is available on machine which is within the Network area and FTP is not available on that machine.
    For this reason I am using the NFS Transport Protocol.
    In ID File sender I have specified Source Directory:-
    IP Address\Directory
    I am geeting the Error in RWB as 'Configured source directory '
    IP Address\Directory' does not exist'.
    Please suggest how to specify the Source Directory path.
    Regards,
    Jagesh

    Hi,
    If you want to use NFS protocol, then the file needs to be within the a folder in the XI server and not outside it, In your case if you need to use the file in a different machine which is on a network then try to use the FTP protocol.
    Refer this blog:
    /people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang which shows the details of how you can install a local FTP and use it
    Regards,
    Nithiyanandam
    Edited by: Nithiyanandam A.U. on Mar 18, 2009 10:43 AM

  • How to specify path to read E$ tab records into .xls file using odisqlunlod

    Hi
    Can any one help me how to specify specific path in odisqlunload tools which is useful for both windows and linux.
    I am developing and testing in windows and moving generated scenario into linux box to test for testing people
    If in case any error out records are populated in E$ table then how that records will populated on xls file, later I am sending that attachement for email notification to concern people
    Below code is present in odisqlunload tool
    OdiSqlUnload "-FILE=d:\ODI_Error_Out_Files\Notification_Error_Records.xls" "-DRIVER=oracle.jdbc.OracleDriver" "-URL=jdbc:oracle:thin:@10.75.114.146:1521:POCWCDS" "-USER=wcds" "-PASS=h2yXeih4hFlXXV,QaMeRR2Fy" "-FILE_FORMAT=VARIABLE" "-ROW_SEP=\r\n" "-DATE_FORMAT=yyyy/MM/dd HH:mm:ss" "-CHARSET_ENCODING=ISO8859_1" "-XML_CHARSET_ENCODING=ISO-8859-1"
    select * from E$_notification
    Please help how to make a single code which is useful and work on both windows and linux
    Any sugession willl help me
    Thanks in advance
    Regards,
    Phanikanth

    Hi Bhabani,
    I have written below code in KM itself and select technology as Java BeanShall
    Code:
    <@
    String OS = System.getProperty("os.name").toLowerCase();
    String v_path="";
    if((OS.indexOf("win") >= 0))
    v_path="D:\Unload_Dir\<%=snpRef.getSession("SESS_NO")%>.xlsx";
    else if (OS.indexOf("mac") >= 0)
    v_path="path details";
    else if (OS.indexOf("nix") >= 0 || OS.indexOf("nux") >= 0 || OS.indexOf("aix") > 0 )
    v_path="/odi_a/Middleware/logs/wcds/odi_logs/<%=snpRef.getSession("SESS_NO")%>.xlsx";
    else if (OS.indexOf("sunos") >= 0)
    v_path="soliaris path";
    @>
    OdiSqlUnload "-FILE=<@=v_path@>" "-DRIVER=<%=odiRef.getInfo("DEST_JAVA_DRIVER")%>" "-URL=<%=odiRef.getInfo("DEST_JAVA_URL")%>" "-USER=<%=odiRef.getInfo("DEST_USER_NAME")%>" "-PASS=<%=odiRef.getInfo("DEST_ENCODED_PASS")%>" "-FILE_FORMAT=VARIABLE" "-ROW_SEP=\r\n" "-DATE_FORMAT=yyyy/MM/dd HH:mm:ss" "-CHARSET_ENCODING=ISO8859_1" "-XML_CHARSET_ENCODING=ISO-8859-1"
    select * from <%=odiRef.getTable("L","ERR_NAME", "W")%>
    It was executed well and below is the Execution code of the above code
    Execution Code:
    <@
    String OS = System.getProperty("os.name").toLowerCase();
    String v_path="";
    if((OS.indexOf("win") >= 0))
    v_path="D:\Unload_Dir\1341360.xlsx";
    else if (OS.indexOf("mac") >= 0)
    v_path="path details";
    else if (OS.indexOf("nix") >= 0 || OS.indexOf("nux") >= 0 || OS.indexOf("aix") > 0 )
    v_path="/odi_a/Middleware/logs/wcds/odi_logs/1341360.xlsx";
    else if (OS.indexOf("sunos") >= 0)
    v_path="soliaris path";
    @>
    OdiSqlUnload "-FILE=<@=v_path@>" "-DRIVER=oracle.jdbc.OracleDriver" "-URL=jdbc:oracle:thin:@10.75.114.146:1521:POCWCDS" "-USER=wcds" "-PASS=<@=snpRef.getInfo("DEST_ENCODED_PASS") @>" "-FILE_FORMAT=VARIABLE" "-ROW_SEP=\r\n" "-DATE_FORMAT=yyyy/MM/dd HH:mm:ss" "-CHARSET_ENCODING=ISO8859_1" "-XML_CHARSET_ENCODING=ISO-8859-1"
    select * from WCDS.E$_CDS_COMPANY
    Please confirm me if the above Code is correct or not, if Not, please correct it and DESC_ENCODE_PASS is not encoding the password
    Regards
    Phanikanth
    Edited by: Phanikanth on Feb 18, 2013 1:09 AM

  • How to specify different horizontal restore & collapse icon for af|panelSplitter using Skinning based on Style class or position?

    Hello,
    I am trying to provide different horizontal restore & collapse icon for af|panelSplitter using Skinning based on Style class or position. I have 2 af:panelSplitter with orientation="horizontal" - One with positionedFromEnd="true" one with positionedFromEnd="false". I want to specify the horizontal collapse and restore icon using Skinning. I want specify different icons based on positionedFromEnd. When I specify icons they are appearing for both splitters. I gave 2 different styleClass to these splitter but it is not taking them in account,
    JSPX Page -
    <af:panelSplitter orientation="horizontal" splitterPosition="196" positionedFromEnd="false" id="pnlSplitterLeft" collapsed="false" styleClass="panelSplitterLeftClass">
      <f:facet name="first">
      <!-- Content of First Facets -->
      </f:facet>
      <f:facet name="second">
      <af:panelSplitter orientation="horizontal" splitterPosition="196" positionedFromEnd="true" id="pnlSplitterRight" collapsed="false" styleClass="panelSplitterRighClass">
      <f:facet name="first">
      <!-- Content of First Facets -->
      </f:facet>
      <f:facet name="second">
      <!-- Content of First Facets -->
      </f:facet>
      </af:panelSplitter>
      </f:facet>
    </af:panelSplitter>
    CSS Skinn
    af|panelSplitter::horizontal-restore-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Left_Open.gif");
    af|panelSplitter::horizontal-collapse-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Left_Close.gif");
    af|panelSplitter.panelSplitterLeftClass::horizontal-restore-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Left_Open.gif");
    af|panelSplitter.panelSplitterLeftClass::horizontal-collapse-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Left_Close.gif");
    af|panelSplitter.panelSplitterRighClass::horizontal-restore-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Right_Open.gif");
    af|panelSplitter.panelSplitterRighClass::horizontal-collapse-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Right_Close.gif");
    It is always showing Left_Open.gif and Left_Close.gif for both splitters. But I want different image.
    How to specify different horizontal restore & collapse icon for af|panelSplitter using Skinning based on Style class or position?
    - Sujay

    CSS attribute selectors are what you are talking about, but binding the selector with EL is a more-common approach. Using selectors like this require you to ensure browser support.
    af|panelSplitter.panelSplitterRighClass::horizontal-collapse-icon [positionedFromEnd=true]

  • How to specify which of 2 wifi cards to use

    Hi All,
    I recently installed Arch Linux on a USB (not live, a persistant installation). I have 2 wifi cards: one that came with the laptop and is used via PCIe, which is an Intel Centrino Wireless-N 2200. It's awful. The other, which is a USB wifi card and which I want to use, is an ASUS USB-N10. I checked linux-wless.passys.nl to see if the N10 was supported, and it said it was, and also said: "Supported by the rtl8192su and r8712u staging drivers in the mainline Linux kernel. Firmware from userspace is required." I can't get wifi working properly in Arch Linux, which makes it impossible to progress because I can't install anything and am stuck in just using terminal. I don't know how to specify which card to use in Arch. Any help would be much appreciated.
    Thank you for your answers in advance!

    After running ip addr, it doesn't display names for the different devices in a way that I can tell which ones they are. The names that it gave me are: "lo", "enp3s0", "wlp4s0", and "wlp0s20u2". I know that 2 of those are virtual ports for wireless devices that aren't being used, but I don't know how to differentiate.
    EDIT: Also, when I try to navigate to etc/netctl/examples/wireless-wpa, it says "Correcting wireless-wpa to ."
    EDIT 2: "lo" seems to be a generic interface, and I've narrowed down the names so now I know that my two wireless cards are 'wlp4s0" and "wlp0s20u2". When I ran iwconfig, I got
    wlp4s0 IEEE 802.11bgn ESSID:off/any
    Mode:Managed Access Point: Not-Associated Tx-Power=15dBm
    Retry long limit:7 RTS thr:off Fragment thr:off
    Encryption key: off
    Power Management: off
    wlp0s20u2 unassociated Nickname:"rtl_wifi"
    Mode:Auto Access Point: Not-Associated Sensitivity: 0/0
    Retry:of RTS thr:off Fragment thr:off
    Encryption key:off
    Power Management:off
    Link Quality:0 Signal level:0 Noise level:0
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0
    lo no wireless exentions
    enp3s0 no wireless extensions
    I'm assuming that this means that the latter two interfaces are the unused virtual interfaces. Does this tell you anything important?
    Last edited by TheAtomicGoose (2014-04-07 21:05:28)

  • How to specify which version of a function to use

    I tried to do what it said, but that resulted in error
    PowershellPS C:\WINDOWS\system32> Import-dscResource -ModuleName @{ModuleName="xPSDesiredStateConfiguration";ModuleVersion="3.4.0.0"}Import-dscResource : The term 'Import-dscResource' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.At line:1 char:1+ Import-dscResource -ModuleName @{ModuleName="xPSDesiredStateConfigura ...+ ~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Import-dscResource:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

A: How to specify which version of a function to use

(Btw: The Edge Web browser doesn't show the formatting toolbar in these text editors... I switched to IE to write this)I have this script and the problem is, there's two versions of xPSDesiredStateConfiguration in the wildTextconfiguration HTTPPullServer{ # Modules must exist on target pull server Import-DSCResource -ModuleName xPSDesiredStateConfiguration Node dc { WindowsFeature DSCServiceFeature { Ensure = "Present" Name = "DSC-Service" } WindowsFeature IISConsole { Ensure = "Present" Name = "Web-Mgmt-Console" } xDscWebService PSDSCPullServer { Ensure = "Present" EndpointName = "PSDSCPullServer" Port = 8080 PhysicalPath = "$env:SystemDrive\inetpub\wwwroot\PSDSCPullServer" CertificateThumbPrint = "AllowUnencryptedTraffic" ModulePath = "$env:PROGRAMFILES\WindowsPowerShell\DscService\Modules" ConfigurationPath = "$env:PROGRAMFILES\...

(Btw: The Edge Web browser doesn't show the formatting toolbar in these text editors... I switched to IE to write this)I have this script and the problem is, there's two versions of xPSDesiredStateConfiguration in the wildTextconfiguration HTTPPullServer{ # Modules must exist on target pull server Import-DSCResource -ModuleName xPSDesiredStateConfiguration Node dc { WindowsFeature DSCServiceFeature { Ensure = "Present" Name = "DSC-Service" } WindowsFeature IISConsole { Ensure = "Present" Name = "Web-Mgmt-Console" } xDscWebService PSDSCPullServer { Ensure = "Present" EndpointName = "PSDSCPullServer" Port = 8080 PhysicalPath = "$env:SystemDrive\inetpub\wwwroot\PSDSCPullServer" CertificateThumbPrint = "AllowUnencryptedTraffic" ModulePath = "$env:PROGRAMFILES\WindowsPowerShell\DscService\Modules" ConfigurationPath = "$env:PROGRAMFILES\...

  • How do you specify which email address to use in a group list?

    Hi All,
    I've got several group lists created in Address Book. When I want to send an email to a group using Mail I cannot specify which email address gets used for a person that has multiple addresses in Address Book.
    My process is as follows: create a new blank message, address the note to myself, move to the bcc field, click the "Address" button at the top of the message pane. When I click on a name that has multiple email addresses I can click on the one that I want, but when I click to another name and click back the previously selected address is highlighted again. It seems that the selection of the address won't 'stick'. Is there any way to force the selection? Also, I originally thought that the group list defaulted to the home address, but I noticed that some entries have their work address selected by default.
    Thanks for any help.
    -Chris

    Thank you, thank you, thank you!!! I knew there was an option to do that somewhere. For some reason I had it in my mind that you made those selections in Mail.
    Kappy wrote:
    Open Address Book and select a group. CTRL- or RIGHT-click on the group and select Edit Distribution List. You may then scan through the group members selecting the desired email address for each one with multiple addresses.

  • How to specify -preview when launching via AppleScript

    I have an InDesign Server CS5.5.I have a shell script that waits for xml files to be placed into a certain directory on the server. When it sees a file in the folder it launches an applescript that controls InDesign Server. I need to know how to specify the -preview option for the InDesign Server binary so the files generated by the server will have previews when they are opened in InDesign client. The apple scripts look like this:
    tell application "InDesign Server"
         -- do some stuff
    end tell
    Where/how would I specify the -preview option. I see nothing referring to the -preview option in the Library for indesign.

    There's two ways to set it:
    1) in command line when you launch the executable, there's a preview option. I don't remember off hand the exact syntax.
    2) In the script itself (using Javascript syntax -- Applescript would be similar) app.serverSettings.imagePreview = true;
    Harbs

  • Maybe you are looking for