Include In Head adaptive Tag and Webcenter Default CSS questions

Hello I'm fairly new to Webcenter
I`m currently working on a project that`s requiring us to do a lot of customizing of Templates and Stylesheets changes, I have a couple of questions I was hoping someone might be able to help me with.
1) I want to inject some code into the page header of all webcenter pages. I understand that there is an adaptive tag "includeinhead", documented here:
http://download.oracle.com/docs/cd/E13174_01/alui/devdoc/docs60/Portlets/Adaptive_Portlets/Using_Adaptive_Tags/plumtreedevdoc_integration_portlets_adaptive_namespacetoken.htm
This works, for the most part. However, for IE I would like to include the 'ie shim' which fixes behaviours for IE (adding things like border radius), etc...this code goes as follows:
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
As you can see, there are 'comment' tags that are not really comments, but directives to IE to process the script. This unfortunately gets parsed out by webcenter because (I assume) it just sees the whole block as a comment...So I am wondering what can be done about this.
2) I am wondering where the 'default' stylesheet that webcenter uses resides. By default, I am referring to the styles that get applied in the cases where tags are not defined in the skin file. I am having some difficulties around this because often Webcenter injects inline CSS into the controls where I don't really want it to... For example, in the "panel header" control, webcenter injects code for the title field and automatically sets the width of the cell. I would like to override this and control it completely.
Thanks.

Is that really a big deal or is it ok .... ? I'm always thinking .... oh god how heavy that is , anytime you call up the page the browser has to go through all that first ... is it actually ok or are there any tricks or tips ?
It's always a good idea to worry about how heavy the LINKED files are since they contribute to the overall weight of the page.  The contribution of the links themselves, though, is negligable.  There is also benefit in managing the order in which those links appear.  Put CSS links first and follow them with javascript links (since the CSS will affect the page rendering, while the javascript most likely will not), so the browser can begin to render the page even while it's waiting for the js files to be fetched.
2 - Templates are great but If a spry is only needed on some pages,how do we handle that ? By setting up another template ? Or is there a better way ?
If you are applying Spry effects to a Template child page, DW is smart enough to drop those links into the editable region in the head of the page (which is what it should do).  Just make sure that the editable region falls BETWEEN your CSS links and your JS links to allow you to arrange things as mentioned above.  There is never a real need to have more than one Template per site.
3 - is it better to have 1 single compressed css file with ALL styles in it or various css files ?
There is a small performance hit everytime you have to go back to the server for another file.  So two pages of the same overall weight, one with 1 externally linked file, and the other with 10 externally linked files will show a difference in their download time.  How significant that difference is will depend on many variables, but it will be a real difference.  That being the case, it's always better to opt for a single file than multiple files.  Practically speaking, the difference will usually be small, especially when you consider how small these 'incremental' css files usually are....

Similar Messages

  • [svn:fx-trunk] 5587: Adding @namespace to halo and haloclassic defaults. css themes.

    Revision: 5587
    Author: [email protected]
    Date: 2009-03-26 12:06:28 -0700 (Thu, 26 Mar 2009)
    Log Message:
    Adding @namespace to halo and haloclassic defaults.css themes.
    QE: Could you please check if this fixes the recent themes issues, and that -compatibility-version=3.0.0 still works as expected too?
    Dev: No
    Doc: No
    Checkintests: Pass
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/halo/defaults.css
    flex/sdk/trunk/frameworks/projects/haloclassic/defaults.css

    I just saw that we are using xmlns:mx="http://www.adobe.com/2006/mxml" in all our custom components written in mxml, including our main application.
    In our custom css, I have the default namespace set to:
    @namespace "library://ns.adobe.com/flex/mx";
    could this result in these warnings ?

  • Version control not synchronizing the rhvariable.apj and default.css

    After we had many problems with the 8.0.2 update, we managed to get a compile that was mostly correct and it buys us a couple weeks.  We are still having problems with the rhvariable.apj and the default.css files.  We had to edit the .cpd file in MS Access to get our global variables back from just before the update.  I did not want to manually enter 800+ variables again.  If my colleague edits the rhvariable file, i can't edit the file and i get an error.  If I edit the file, he can't read my file.  In order to get a compile with the variables we cut and pasted my variables into his .cpd file and it worked, but, now we are adding more variables and changing others resulting in only one of us having a working copy.  My system complained about the default .css which did not come down from the server so i just pasted his file to my directory and it is working but we are having problems editing that file also.  This is crazy.  The 8.0.2 really hurt us and is still hurting.  We are trying to run with it but having some significant problems.
    Got any ideas?

    Try this test.
    Create a new project and create a variable with no value. Close the project and open rhvariable.apj with a text editor. You will see nothing has been saved, the variable name will not be there.
    Now open the project and enter a value. Close the project and open the rhvariable file again, now you will see the variable and the value.
    This seems to confirm that RH does not allow a null value variable to be created in the rhvariable.apj file. It may show it in the interface but that was not the problem.
    See www.grainge.org for RoboHelp and Authoring tips
    Follow me @petergrainge

  • Defaults.css sporadically ignored

    I have a shared library project that specifies skins for common elements (scrollbars, buttons, etc.) in a defaults.css file.  The AIR and Flex applications that use this library usually pick up the styles fine, but sometimes they seem to be overridden by normal skins.  Skins for custom components are always found, as there's no other skin specified for them anywhere.  Components from other shared libraries with local skins also often default to their library skins rather than the local ones.
    Sometimes I can resolve this by cleaning my projects a few times.  I've hit it a few times though where even cleaning didn't resolve the problem, and the only resolution was to delete all of the projects and check them out of SVN again.  Is this a known issue?  I can't produce it consistently enough to create a test case to attach to a Jira.

    hello,Darrell
    I created a new set of Flex component library slib.swc (Flex 4.5). Would also like to have a default style. defaults.css file, making it the default style of the component library.
    Like flex the builder install directory of sdks \ 4.5.0 \ frameworks out \ libs directory has a spark.swc file, open with Winrar will see defaults.css this file. Defaults.css file defines the default style of the flex spark components.
    How can it be achieved?
    As follows
    slib.swc contains a CLabelEx components, and a defaults.css file
    defaults.css source file as follows:
    @ namespace s "library :/ / ns.adobe.com / flex / spark";
    @ namespace mx "library :/ / ns.adobe.com / flex / mx";
    @ namespace cn "http://os.slib.cn";
    cn | CLabelEx
            styBackgroundAlpha: 1;
            styBackgroundColor: # 569CC0;
            styBorderAlpha: 1;
            styBorderColor: # 569CC0;
            styBorderWeight: 1;
            styCornerRadius: 3;
    In slib.swc the application MyLabel.mxml of the source file as follows:
    <? xml version = "1.0" encoding = "utf-8"?>
    <s: Application, the xmlns: fx = "http://ns.adobe.com/mxml/2009
                               xmlns: s = "library :/ / ns.adobe.com / flex / spark"
                               xmlns: mx = "library :/ / ns.adobe.com / flex / mx"
                               xmlns: cn = "http://os.slib.cn
                               the minWidth = "955" The minHeight = "600">
            <fxeclarations>
            </ fxeclarations>
            <cn:CLabelEx x="67" y="112"/>
    </ s: Application>
    I hope CLabelEx default use cn | CLabelEx, style to display its appearance.
    I refer to above approach, but failed to achieve. Can you please re-Detailed
    thanks,

  • Gatewaying and adaptive tags expansion in content types other than html

    I notice that the default configuration of the portal does not transform adaptive tags / URLs when the content type is Javascript (ie I am gatewaying a .js file loaded from a <javascript src=&#034;..&#034;/> tag  in which I want some transformations).  Is there a configuration option which determines what file types / content types are transformed which I can set to get transformation in my .js files?

    The problem stems from the fact that ProductInformationView_Browse.jsp is blindly executing the <jbo:ViewCriteria> tag on each page rendering.
    Internally, the view criteria tag is issuing an executeQuery() on the view object, and this basically sets the current record pointer back to zero. This is why we're never able to scroll more than one page full beyond the initial page full.
    I fixed the problem by making the <jbo:ViewCriteria> tag
    execute conditionally based on the lack of presence of the jboEvent parameter.
    I added the following snippet before the <jbo:ViewCriteria> tag...
    <%
    String jboEvent = request.getParameter("jboEvent");
    if (jboEvent == null || jboEvent.equals("")) {
    %>
       <jbo:ViewCriteria id="vc" datasource="ds" action="new">And the following snippet after the closing tag:
       </jbo:ViewCriteria>
    <% } %><%-- end if --%>And this then allows me to scroll next and previous as expected.
    I'll try to have the author of this sample fix its source code so others don't hit this problem.

  • I need to make a copy of an entire email, including the header w/the sender's info and time, etc. to insert into a letter, etc. How can I do this w/out cutting and paste and doing the header separately from the text.

    I need to make a copy of an entire email, including the header w/the sender's info and time, etc. to insert into a letter, etc. How can I do this w/out cutting and pasting   the header separately from the text. I know there is a way besides a screen shot but I've spend hours trying to find it.

    Smurfslayer wrote:
    For the particularly persnickety types you might want to expose the full headers in the email message as well.  It's easy enough to do, from mail's 'menu' select "view"; then "message"; then all headers.
    Another option you could use is a screen capture using Grab.
    Activate Grab, then shift + command + w (for a window screen shot).  Then confirm the window selection and click the mail message. 
    Dave
    Why are you addressing this to me...?
    I am not the OP...

  • I downloaded and installed Photoshop Elements & Premiere Elements.  I then launched Photoshop Elements Organizer and imported approx. 28,000 photos (including some videos).  A window opened indicating that many of the photos had tags, and asking if I want

    I downloaded and installed Photoshop Elements & Premiere Elements.  I then launched Photoshop Elements Organizer and imported approx. 28,000 photos (including some videos).  A window opened indicating that many of the photos had tags, and asking if I wanted to add the tags.  I said yes, and the process began.  When it reached 60% a window opened indicating that "Elements 13 Organizer has stopped working", with the only option being to "Close program."
    I've since tried to open organizer several times, but it goes immediately to "Elements 13 Organizer has stopped working".  I was able to open Editor, and tried opening Organizer from Editor, but encountered the same problem.
    FYI, I have an open case (#0214505556), but have not received the help I need.

    This issue is with respect to Elements 13.

  • Include a New Meta Tag in head section of OBIEE generated HTML

    Hi,
    Is there any xml place holder, that we can modify / add any additional HTML tags to the <HEAD> section of the HTML that OBIEE is going to generate.
    Requirement is to add the following tag in the <HEAD> section.
    <meta http-equiv="X-UA-Compatible" content="IE=8, IE=9, IE=10" />
    Thanks
    Kaushik

    Try in this file
    OFM\Oracle_BI1\bifoundation\web\msgdb\l_en\messages\productmessages.xml
    Search for kmsgProductGeneral
    add it after <HTML> tag
    make sure you use <HEAD> tag and you close them properly for required tags.
    If helps pls mark as correct, else let me know.

  • JAXB / Needs to add header tag and close the header tag at the bottom

    I have successfully generated a XML file based on the XSD. I want to add another tag to my generated XML which is not the part of the XSD. Its like adding my whole xml inside a new tag. Is there a way to achieve it?User_10111723083878.xml
    to this xml, I want to add as the parent element "<addRequest targetID="BottomLineTarget" executionMode="asynchronous" xmlns="urn:oasis:names:tc:SPML:2:0">
    <data>" and close it at the bottom of the xml.
    Is it possible?

    the easiest way would be to create an xsd which includes this new wrapper element, and wrap the original object with your new wrapper object before serializing.
    an alternative would be to serialize the original object into a DOM object, then add the wrapper element manually before serializing that DOM object to your final destination (e.g. the xml file).

  • Export Masters to include star ratings, places, faces, and tags?

    I have 25,000 photos at about 2.5 mb each that I have imported into Aperture. The original import file was about 60gb. The current Aperture file is about 205gb. If I export masters, I get a file that is 60gb (same aas the orignal import file. If I export versions, I get a file that is about 150gb. During import, I may have had the import adjustment preset at "quick fixes"; possibly creating a new version for all 25,000 photos.
    I tried importing orignal masters with no auto adjustments ad by setting previews at lower quality and the dimensions that match my macbook pro with about a 40% change in file size.
    All of my photos have now been adjusted, tagged, geo-tagged, and facial recognized. I do not want t lose that.
    I am trying to export the masters to an external drive with all of my star ratings, places, faces, and tags in order to import them to a smaller file.
    Once, I get all of my adjusted photos into Aperture, I do not really care about the masters.
    How do I export my master files with all of the tags? Or how do I export my versions without having to keep the bloated file of 150gb instead of 60gb? What is attached to the versions that would more than double th efile size?
    Thank you

    Sunblock,
    Once, I get all of my adjusted photos into Aperture, I do not really care about the masters.
    Don't take this the wrong way, but what you are trying to accomplish goes agains the most basic design of Aperture.  Aperture is intended to keep your masters safe and unadulterated, while giving you the opportunity to export your versions on demand.
    If I export masters, I get a file that is 60gb (same aas the orignal import file. If I export versions, I get a file that is about 150gb.
    Your versions do not take up 150 GB in the Aperture library.  They take up several K for the "recipe", and then some small thumbnails and preview images.  The only reason you see that the versions are 150 GB is because you exported them and looked at what Aperture generated at your request.
    How do I export my master files with all of the tags? Or how do I export my versions without having to keep the bloated file of 150gb instead of 60gb? What is attached to the versions that would more than double th efile size?
    Your masters are supposed to stay exactly the same as when you imported them.  However, when exporting masters, you can choose, in the Metadata selection, to "Include IPTC"; this includes some of the metadata.  I am unsure of the exact items it includes, though.  Some of the things you can do in Aperture are not supported by general metadata formats.
    As for exporting the versions, you don't get a "bloated file". Rather, you get many (25000?) files.  Depending on your export preset, it is entirely possible that each exported version is larger than its corresponding imported master.  Check the "Export Preset" selection when you export versions to see what format Aperture is making.  There is nothing "attached" to versions.  Each one is a completely independent picture file.
    I am trying to export the masters to an external drive with all of my star ratings, places, faces, and tags in order to import them to a smaller file.
    Not sure what you are getting at here.  What do you mean by "import them into a smaller file?"  Do you mean that you want to get rid of your Aperture library package (which is actually hundreds of thousands of files) and replace it with a different Aperture library which is smaller?  Again, you might want to rethink this.  It is not what Aperture is intended for -- you are giving up good, quality photos for something inferior.  Why do you want to replace your photos with something inferior?
    nathan

  • How to delete tag and link in webcenter spaces .

    After logging into the webcenter spaces i am getting tags and link on the hight hand corner of the page .
    Can anyone provide some idea how can i delete or make it invisible .
    Thanks ,
    Arun.

    I'm not quiet sure about about how to fix but i have some ideas in mind... I don't have currently a spaces environment so i can't check...
    1) Try disabling the links and tag services. This is done in the group space configuration, service tab. I'm not sure if they are there but if, you can disable them and it should solve your problem.
    2) It's also possible that the links and tags section is implemented in the template of the page. In order to modify this, you can create your own template or modify the existing one. There was a nice whitepaper about templates in WCS but it seem to be removed because of the PS3 release.
    Are you using 11.1.1.3 or 11.1.1.4.
    It would be easier if you are using the latest one but since it has only been released since today...

  • Want to include ?xml tag and  schema when creating XML

    My database table that need to be generated in to XML are large and therefore I must use OracleXMLQuery.getXMLSAX . The output is missing the <?xml version="1.0" ?> tag. How do I get it? I am on 9i but have imported the .jar containing oracle/xml/parser/v2/XMLSAXSerializer from 10g XDK.
    Also, I want the schema to be written next, before the actual XML table values.
    I know that a command line parameter exists, which works for small XML files:
    java oraclexml getxml -user "scott/tiger" -withDTD "select ....
    How do I get the equivalent of '"-withDTD" when using
         OracleXMLQuery qry = new OracleXMLQuery(conn, "select * from "+table_name );
         qry.getXMLSAX(myStream);
         myStream.flush();
    Thank you,
    Elaine

    No. Actually, I can get the <?xml tag and DTD if my select statement contains 'where rownum=0', as the resultset is small which lets me use getXMLMetaData() .
    I write it to one output file, then do another OracleXMLQuery, repeating the select statement without the where clause, and run that through getXMLSAX to get the detail.
    Next, I need to scrub the data of special characters acceptable in the database but which cause problems to a browser or XML validator. (e.g. accented characters).
    Finally, I will concatente the two files.
    Is there a simpler way to do this?
    Thanks,
    Elaine

  • New MVC with Standard Tags and DB sample

    I have posted initial build of a new learning application on
              SourceForge "basicPortal" under CVS
              http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal
              It is using Struts with Standard Tags and X: Transform from DB, Realm
              base security, CURD, etc. etc. I have big plans for this, to be 20% of
              code that gets used 80% of time and "faces" and expression language
              compliant.
              (Err.. this build is not for newbies, but I will update it .... a lot
              and often.)
              To keep up on this and related topics, there is a mail list
              http://www.netbean.net/mailman/listinfo/mvc-programmers
              that also gets you password to other baseBeans.com features.
              and a newsgroups readers news.baseBeans.com.
              Hope you like,
              Vic C.
              

    Looking at the XFILES.5.xml file and Install.vbs files of the XFILES installer, it appears that the XDBPM_SUPPORT and XFILES_DBA_TASKS actions will only be run if you enter a SYSDBA user in the "DBA User" field of the installer. However, for some reason, Oracle seems to have commented out the command that checks to ensure that the DBA user you entered is a SYSDBA user, and the "DBA User" field defaults to SYSTEM, which is not a SYSDBA user. Since I got things working I haven't tried rerunning the installer with a SYSDBA user, but maybe it will work better. The installation documentation and/or the installation scripts need to be updated to reflect the need for a SYSDBA user.
    Regarding the APEX version of XFILES, this has not installation instructions whatsoever, and there are prerequisite steps to get this to install correctly as well. I tried importing the f102.sql file into APEX and it failed on the prereq validation because an "XFILES/Apex" folder wasn't found in XML DB. I went looking for anything that creates this directory and I found that there is another XFILES_DBA_TASKS.sql script specifically for the APEX version. It is included in the f102.sql file. So I cut and paste the contents into SQL*Plus and ran it as SYS. I was then able to install the f102 application.

  • Download from ALV are all in one column including the header

    Hello All,
    We are having problems with the download of excel from ALV grid. what happens is that instead of the data dispalying in different columns, it is all in one column, including the header. what could be the problem? this only occurs in the production system but in the development and quality it is ok.
    Thanks for your help.

    Hi,
    We also used the option download to local file and it works fine. Only the button download to excel is not working as expected.

  • All "Site Content and Structure" default views incorrectly showing "There are no items to show in this view"

    Hi All,
    On my SharePoint Online site (Office 365) all my “Site Content and Structure” default views are showing “There are no items to show in this view”. For example the “Checked out To Me” view shows “There are no items to show in this view” (shown in screenshot
    below). I know this is incorrect and should show at least ten items that have been checked out to me for over two months. I am also a member of the Site Collection Administration and Owner groups.
    What I am trying to do is view all the "Checked Out items" within a Site Collection including it's sub-sites.
    Is there a feature that needs to be activated to get the correct information from the “Site Content and Structure” default views?
    I hope you can help
    Colin

    Hi Colin,
    As I understand, all “Site Content and Structure” default views are showing “There are no items to show in this view” in your SharePoint online site.
    Check things below:
    1. Go to site content and structure logs in site setting to check if there is correct information.
    2. Create a new site collection to check if there are items in Site Content and Structure.
    3. Switch another computer to check if it can work.
    If the issue still exists, I recommend you to post it in the O365 forum.
    http://community.office365.com/en-us/f/default.aspx
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • ABAP Short Dump - COMPUTE_BCD_OVERFLOW - CX_SY_ARITHMETIC_OVERFLOW

    Runtime errors      COMPUTE_BCD_OVERFLOW Exception              CX_SY_ARITHMETIC_OVERFLOW I want to move Currency variable with 4 decimals to another currency variable with 2 decimals. Please advice me with a suitable solution without causing short d

  • Inbound EDI Message Flow

    Hi, Am using AS2 and OFTP adapter in seeburger and want to understand the inbound flow of messages. As I have read some blogs and searched couple of entries in SDN, I want to make sure whether my understandings are correct. The big doubt in my mind i

  • Product Hierarchy and COPA

    Can any one tell me what is a prodcut heirarchy and how it is related to Controlling ( specially with COPA and Product costing). If the product heirarchy is changed, what are the things need to be adjusted in configuration for COPA and Product costin

  • How to Display RTF data with images from SQL database in Crystal Report

    I am using Crystal report in my WPF application, I have generate Question Paper Report, in which have Question with images. Question with images are stored in SQL Server in rtf format, I want to generate Question report with RTF Text and Images in re

  • Print selection in Firefox

    I've loaded a Print Selection service (either Shubert's or Chin's, no way to identify) and it works in Safari, but in Firefox the Services menu for it is grayed-out. Why? As a second question, how do I remove a service if I decide I no longer want it