Including CSS in xml defination instead of using labelattribute tag every where

I am creating a report using XMl defination
but i don't wanna type all the font syle color for each field , i want to use css
so that i can include css and use class for
each element just like we use in html/css
i have seen the documentaion , i could'nt find it , can some one help me with example
thanks
Manks
null

I think it would be simpler to use just a normal report template that can define the colors and font for the different sections in the report.

Similar Messages

  • How to include .css file into jsp file in portal application

    Hi,
    I have included a .css file in a .jsp file using following tag :
    <link rel="<%=componentRequest.getWebResourcePath()%>/css/ts.css">.
    I have kept .css file under /dist/css folder.
    Preview of jsp file is fine but when I upload the jsp file and .css file to server, Look and feel of the screen is changing. When I paste the style code in jsp file, look and feel is fine.
    Can some body suggest me that why the look and feel is changing when I put the style code in css file and include it in jsp.
    Thanks in advance.
    Manish

    Hello
    We're using <link rel="stylesheet" type="text/css" href="http://ourserver/eclib/css/ecstandard.css">
    between <head> and </head>
    It works.
    Hope it helps.
    Regards
    Benoit

  • Use JSTL tags for ATG droplets and beans

    Hi,
    I am trying to display profile values in a JSON object in jsp.
    <dsp:getvalueof var="json" bean="ProfileFormHandler.ProfileJSON"></dsp:getvalueof>
    <c:out value="${json}" />
    but instead of using dsp tag is there a way for accessing ProfileFormHandler using JSTL tag
    Also how can we use droplets in ATG like ForEach using JSTL tags only
    <dsp:droplet name="ForEach">
    <dsp:param name="array" param="catalogItems.rootCategories"/>
    <dsp:param name="elementName" value="categoryItem"/>

    I am trying to display profile values in a JSON object in jsp.
    <dsp:getvalueof var="json" bean="ProfileFormHandler.ProfileJSON"></dsp:getvalueof>
    <c:out value="${json}" />
    but instead of using dsp tag is there a way for accessing ProfileFormHandler using JSTL tagIn the <dsp:importbean> use var to give an EL variable name to the component you are importing.You can also set its scope attribute to page, request, session, or application with page scope being the default. You can then access it as a page scoped attribute. So this should do:
    <dsp:importbean var="profileFormHandler" bean="/atg/userprofiling/ProfileFormHandler" />
    <c:out value="${pageScope.profileFormHandler.ProfileJSON}" />In case you change the scope in importbean you can accordingly use pageScope, requestScope, sessionScope or applicationScope.
    Also how can we use droplets in ATG like ForEach using JSTL tags only
    <dsp:droplet name="ForEach">
    <dsp:param name="array" param="catalogItems.rootCategories"/>
    <dsp:param name="elementName" value="categoryItem"/>Any ATG droplet is nothing but a servlet which is also a Nucleus component. So essentially you want to call a servlet from JSTL which as such shouldn't be done in a well written script-less JSP. You can probably try to use the droplet as a bean and use JSTL on top of it but since ATG droplets also have different types of parameters like input, output and open so you will have to specially handle those.

  • Flex 4, exporting a Release Build does not include CSS/XML?

    Hello
    So I'm using external CSS and XML. I'm pulling the CSS with <fx:Style source="CSS/styles.css" /> and am using HTTPService to fetch the XML data.
    It works great, until I export as a Release Build.
    It doesn't include the CSS or XML files, but still pulls the CSS colors and whatnot, I just can't update them.
    What gives? How can I get the CSS and XML external files to.. well, stay "external"?
    I need the user to be able to update the CSS and XML on their end, but can't if the Release Build embeds the CSS and XML files before exporting..
    Any help would be appreciated, thanks!

    dont think Flex can read a raw CSS sheet. You have to precompile them, right click on the file in project explorer and chose compile CSS to SWF
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f8c.html

  • Problem when using templates in report 6i with xml defination

    Iam trying to generate a report through xml defination , and iam including the template
    in the xml . but when i include a user parameter in the template and try to map that UI parameter as f_1 in margin (you can look in object navigator) and run the report through xml then report is hanging, But it works fine when i add the template to the rdf . I doesn't when i include that tdf in the xml and run it. can any one solve this problem.
    manks
    null

    In the template you should change both the font for headings and for data.
    Those are 2 different section in the template.

  • Is it possible to configure CF10 or CF11 to use Xerces XML parser instead of Saxon XML parser?

    Could anyone tell me if it is possible to configure CF10 or CF 11 to use the older Xerces XML parser instead of the Saxon XML parser.
    I am in the process of migrating a website from CF8 to CF11. Several sections rely on XML transformation, which no longer work in CF11. After investigating the problem it seems to be that the Saxon Parser is more strict, causing these errors.

    Well I guess Parsers would be better solution. As u said u need to insert node at specific location.
    so now u have to decide which parser u need to choose according to u r requirmnet. DOM or SAX maily.
    Both has adv and di-advs.
    ...yogesh

  • How can i develop charts using only xml defination

    how can i develop charts using only xml defination.can any one please let me know
    manks

    hello,
    in reports 6i the charts are created using oracle graphics which stores the chart definitions in a separate file (.OGD). there is not XML interface for graphics.
    with reports 9i and the introduction of the BIgraphBean the definition of the chart-properties is also done in XML.
    reports 9i will be available with iAS Release 2.
    regards,
    the oracle reports team

  • Do I need the 'java-polling-amf in my services-config.xml if I'm using coldfusion

    Do I need the 'java-polling-amf in my services-config.xml if I'm using coldfusion?
    Im using IntelliJ IDEA with a flex project and for some reason its stopping comilation with this error:
    [SUITE (Flex Application 1)] flex.messaging.config.ConfigurationException: The services configuration includes a channel-definition 'java-polling-amf' that has an endpoint with a context.root token but a context root has not been defined. Please specify a context-root compiler argument.
    when I was using flex builder with CF builder I never needed to specify the context.root

    I don't use IDEA, so I don't know what kind of configuration settings it has for Flex project development.
    You don't need the java-polling-amf channel for CF development. By default, CF development uses CF-specific channels:
    my-cfamf
    cf-polling-amf
    my-cfamf-secure
    any custom channels you've created yourself for CF to use
    That said, all the channels require a context root setting for your project to compile properly. If you still have Flash Builder handy, take a look at your compiler switches for a project there to see what you're missing in IDEA.
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/

  • Concurrent Program Open in XML format Instead of PDF in R12

    Hi ,
    I register 1 concurrent program and set its output in "XML" also attach this CP with XML template , when i run CP it show warning but output show in XML format instead of PDF format which is define in XML Template .
    Below text is log file of CP
    When i run concurrent program from oracle r12
    Custom Application: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXSGHAPCPV module: SGH Payment Voucher Report
    Current system time is 18-SEP-2012 10:12:50
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_ORG_ID='88'
    P_VOUCHER_NUMBER='60000001'
    P_VOUCHER_NUMBER_TO='60000001'
    Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    AMERICAN_SAUDI ARABIA.AR8MSWIN1256
    Enter Password:
    REP-0004: Warning: Unable to open user preference file.
    Report Builder: Release 10.1.2.3.0 - Production on Tue Sep 18 10:12:51 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    1703
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 1218186 on node ERPPRDAS1 at 18-SEP-2012 10:12:53.
    Post-processing of request 1218186 failed at 18-SEP-2012 10:16:53 with the error message:
    The Output Post-processor is running but has not picked up this request.
    No further attempts will be made to post-process this request, and the request will be marked
    with Warning status.
    Setting the profile option Concurrent: OPP Response Timeout to a higher value may be necessary.
    ------------- 2) PRINT   -------------
    Not printing the output of this request because post-processing failed.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 18-SEP-2012 10:16:53
    Thanks ,
    Zulqarnain

    plz see
    R12: Request Logs Contain the Message "REP-0004: Warning: Unable to open user preference file" [ID 1120529.1]
    Concurrent Processing - Concurrent Reports Failing With Errors REP-0004,REP-0082 and REP-0104 [ID 844976.1]
    R12: Executing a Report fails with REP-0004: Warning: Unable to open user preference file. [ID 1303903.1]
    also
    - xml output is correct?
    - what type of execution method for cp?
    - when you run cp the template picked up for cp?

  • Error while Validating xml against a schema using jaxp

    Hi All,
    Following code validates xml against a schema using JAXP .It gives SAXNotRecognizedException error when you run the program.
    static final String JAXP_SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
    static final String W3C_XML_SCHEMA = "http://www.w3.org/2001/XMLSchema";
    SAXParserFactory myFactory = SAXParserFactory.newInstance();
    myFactory.setNamespaceAware(true);
    myFactory.setValidating(true);
    javax.xml.parsers.SAXParser parser;
    String filename = "C:/Note.xml";
    File xmlFile = new File(filename);
    try
         DefaultHandler handler = new DefaultHandler();
         parser = myFactory.newSAXParser();
         parser.setProperty(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
         parser.parse(xmlFile, handler);
    catch (ParserConfigurationException e)
         // TODO Auto-generated catch block
         e.printStackTrace();
    catch (SAXException e)
         // TODO Auto-generated catch block
         e.printStackTrace();
    catch (IOException e)
         // TODO Auto-generated catch block
         e.printStackTrace();
    Error Details :
    org.xml.sax.SAXNotRecognizedException: http://java.sun.com/xml/jaxp/properties/schemaLanguage
         at org.apache.xerces.framework.XMLParser.setProperty(XMLParser.java:1682)
         at org.apache.xerces.parsers.SAXParser.setProperty(SAXParser.java:770)
         at org.apache.xerces.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:183)
    How do i fix the above mentioned problem ?
    Thanks in Advance.
    Ansh

    Validate with the JAXP DOMParser instead of the JAXP SAXParser.
    To validate with a SAXParser use the xerces SAXParser.
    thanks,
    Deepak

  • Attach an xml to a pdf using ADS

    Hi all,
    I have a scenario where we are sending a Base64 encoded PDF (a bill) and the corresponding xml data from SAP backend on level 4.6C to PI 7.1. In PI we should attach the xml data to the PDF. I have already succeeded to do this using iText but we have a requirement to do this with ADS instead. In Netweaver Developer Studio I created an example project where I am reading a PDF as a byte array, also reading an XML file and try to attach the XML to the PDF using the ADS api. The project successfully built in NWDS but when I am running the project it failes.
    I am using standard code to attach the xml stream to the pdf, the error message is thrown when the following line is executed:
    IWDPDFDocument document = context.execute();
    Exception in thread "main" java.lang.ExceptionInInitializerError
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.impl.PDFDocumentAccessibleContextWDImpl.execute(PDFDocumentAccessibleContextWDImpl.java:99)
         at com.eon.xi.dijnet.base64.PdfWithAttachment.addAttachmentWithSap(PdfWithAttachment.java:129)
         at com.eon.xi.dijnet.base64.PdfWithAttachment.main(PdfWithAttachment.java:218)
    Caused by: java.lang.NullPointerException
         at com.sap.tc.webdynpro.services.sal.deployment.core.DeployableObjectInternal.getSystemDeployableObjectName(DeployableObjectInternal.java:53)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.AdobeFormHelper.<clinit>(AdobeFormHelper.java:115)
         ... 3 more
    Is it the problem with the PDF that it is not an Interactive Form?
    Or the problem is simply that I am trying to run the project on my local machine where ADS is not available?
    Thanks for your help.
    Pal
    Edited by: Pal Somogyi on Oct 17, 2010 10:30 PM
    Edited by: Pal Somogyi on Oct 18, 2010 11:44 AM

    Hi Pal,
    There is a requirement to generate an Adobe Form using SAP Interactive forms, and then, send this PDF to a non-SAP system using Base-64 encoding. The receiving system will decode this file and re-generate a PDF.
    I have heard that this could be done in the PI layer, using the Conversion Agent.
    Another approach which I can think of is convert PDF to binary and then use the cl_http_utility=>encode_base64 to convert binary to base64.
    You have mentioned that you have had to send a base 64 encoded pdf. Could you pelase guide me through the process?
    Thanks,
    Preethi.

  • XML attributes instead of elements in data contract serialisation in Rest WCF implementation

    I want to uses XML attributes instead of elements, I implemented IXmlSerializable and
    public partial class Id : IXmlSerializable {
    /// <remarks/>
    [XmlAttribute]
    public string lmsId;
    /// <remarks/>
    [XmlAttribute]
    public string unitId;
    /// <remarks/>
    [XmlAttribute]
    public string lmsPresId;
    /// <remarks/>
    [XmlAttribute]
    public string callId;
    public System.Xml.Schema.XmlSchema GetSchema()
    return null;
    public void ReadXml(System.Xml.XmlReader reader)
    //implement if remote callers are going to pass your object in
    public void WriteXml(System.Xml.XmlWriter writer)
    writer.WriteAttributeString("lmsId", lmsId.ToString());
    writer.WriteAttributeString("unitId", unitId.ToString());
    writer.WriteAttributeString("lmsPresId", lmsPresId.ToString());
    writer.WriteAttributeString("callId", callId.ToString());
    But my service help is showing request and response as unknown
    I tried even XmlSerializerFormat public partial class Id : IXmlSerializable {
    /// <remarks/>
    [XmlAttribute]
    public string lmsId;
    /// <remarks/>
    [XmlAttribute]
    public string unitId;
    /// <remarks/>
    [XmlAttribute]
    public string lmsPresId;
    /// <remarks/>
    [XmlAttribute]
    public string callId;
    public System.Xml.Schema.XmlSchema GetSchema()
    return null;
    public void ReadXml(System.Xml.XmlReader reader)
    //implement if remote callers are going to pass your object in
    public void WriteXml(System.Xml.XmlWriter writer)
    writer.WriteAttributeString("lmsId", lmsId.ToString());
    writer.WriteAttributeString("unitId", unitId.ToString());
    writer.WriteAttributeString("lmsPresId", lmsPresId.ToString());
    writer.WriteAttributeString("callId", callId.ToString());
    then I am getting everything in the xml as xmlElements instead of XmlAttributes But I am getting all the data as elements instead of Xmlattributes

    I will test it.
    I sale myself ONLY half CNY!

  • Idoc is recieved as  xml format instead of text format

    hi i am new to XI , I am right now i am trying with Idoc to file scenario
    i am sending idoc from an R/3 system and i am receiving it as file in another R/3 system. In accordance to that i have designed &#38; configured all settings, But when i am sending idoc thru my communication channel i am able view a '" *.txt " file with all my necessary details  in xml  format instead of text format.
    desin details
    my source and target fields are
    FLCUSTOMER_CREATEFROMDATA idoc to the file which as the only few important fields of idoc.
    configuration details
    in communication cahnnel :
    adapter type : file
    message protocol: file
    processing parameters:
    constructution mode : create
    file type : binary
    advance mode
    row.fieldNames : with its fields seperated buy comma
    row.fieldSeparator : ,
    row.endSeparator : 'nl'
    i stuked up with this level for the past  10 days ur valuble suggestion will  help me lot to reach my target
    Regards
    saravanakumar P.K.

    You have selected the wrong message protocol: to get an file not XML you should select File Content converion as message protocol
    change it to folowing
    configuration details
    in communication cahnnel :
    adapter type : file
    message protocol: file content conversion
    processing parameters:
    constructution mode : create
    file type : binary
    advance mode
    row.fieldNames : with its fields seperated buy comma dnt use this
    row.fieldSeparator : ,
    row.endSeparator : 'nl'
    specify only field sepratator and endseparator dnt have to specify fielnames for receiver adapter in contant conversion.

  • XML report output displays xml code instead of pdf

    Hi,
    My Release is R12.1.1, An xml report whose output is set as pdf. when running this report output is coming as xml code instead of pdf
    another xml report ouput is coming in word instead of pdf
    is there any additional settings required to display in pdf format
    eventhough i configured pasta.csg & ixlib.cfg files
    Thanks,
    Alig
    Edited by: user12257829 on Jun 2, 2010 11:41 PM
    Edited by: user12257829 on Jun 2, 2010 11:41 PM

    Hi,
    Helios
    Even i tried both MOS documents u have referenced, as both reports compeleting normally without any error
    one thing i want to know can application use the same pasta.cfg file for pdf and text format
    as i have a single pasta.cfg configured
    Thanks
    Alig
    Edited by: user12257829 on Jun 3, 2010 1:18 AM
    Edited by: user12257829 on Jun 3, 2010 1:18 AM

  • Issue with XML post when port used with server name

    Hi Guys,
    We are currently using an agent on our application servers which puts a server in "inservice standby" if the CPU load on the system goes above 75%. This agent is using an XML post on the CSM to achieve this and put the server back inservice using XML post as well.
    Currently we are trying to use the same agent for another application which has a port number defined as well and it does not seem to work.
    To give an example where it works:
    serverfarm TEST
    nat server
    nat client TEST
    real name BLABLA
    inservice
    The example where it does not work:
    serverfarm TEST
    nat server
    nat client TEST
    real name BLABLA 50000
    When we get the server name via XML we see that CSM returns the name as BLABLA: 50000 however using the same in the script does not work.
    Would someone know how to put the port number in an XML script so that the CSM understands which server need to be changed.
    Thanks,
    Murtaza

    It would be some thing in line with the following example
    <?xml version="1.0" ?>
    The DTD for CSM XML will let you know what tags and attributes are available to use:
    http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/mod_icn/csm/csm4
    _1_2/icn/xmldtd.htm
    HTH
    Syed

Maybe you are looking for

  • Is there a way to have all icons in Bridge CC scale in size?

    There are tons of features that make it appealing to myself as a designer, and I really want to get into using it. There are, however a few things that break up the fluid and humanized experience. There are many icons, including folder icons, drives,

  • Deletion of production order in ECC / APO

    Hi, It is not possible to set DLFL (Deletion flag) when the order is in CRTD status also when the order is DLV or TECO with no actual cost or open order value . It is happening in both the scenarios when 1. Plan order is created in APO and then conve

  • Managing iTunes Library

    I need help to re-arrange the order of the songs listed in my iTunes library. Simple as it sounds I have been unsuccessful and do not know how to arrange my entire list of songs in my whole library sorted by the author. I would be so grateful for som

  • Photo file numbers - duplicates

    Hi, My digital camera can take 9999 photos. I have just this week taken more than that this year and the camera started over with numbering the files (0001, 0002 etc.) When I put these into iphoto will it over write the photo files I took earlier in

  • Delta and Init Process when R/3 is connected to multiple BW systems

    I have a scenarion where one R/3 system connected to 2 BW systems. In R/3 we plan to have a LO extractor feeding delta to 2 BW systems. I understand delta works fine as delta queue in RSA7 is target system specific. How are the initializations handle