Define Bundle in Skin

Hi,
I use JDeveloper 11.1.1.0.0. I define a skin to my ADF application and use a custom bundle class for it and change trinidad-config.xml for using my skin .
<skin>
<id>mySkin.desktop</id>
<family>mySkin</family>
<extends>blafplus-rich.desktop</extends>
<render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id>
<style-sheet-name>css/GlobalCss.css</style-sheet-name>
<bundle-name>oes.platform.view.bundle.FundationlBundle</bundle-name>
</skin>
every thing is OK except some text don't change. for example I add
org.apache.myfaces.trinidad.UIXEditableValue.REQUIRED also oracle.adf.view.faces.UIXEditableValue.REQUIRED and REQUIRED_TIP keys to my bundle class for required validation
messages but when a required validation fire I see default messages.
please help me.
Thanks very much.

Hi,
bet way to address Trinidad issues is on the Trinidad mailing lists.
http://myfaces.apache.org/trinidad/trinidad-1_2/mail-lists.html
Frank

Similar Messages

  • Define skin bundle in Skin resource ?

    Is it possible to define a skin translation bundle to a skin resource defined in the generic-site-resources.xml ?
    The only possible way that i found is the ADF way by declaring it in the trinidad-skins.xml, but then you cannot modify the skin at runtime.
    <resourceType name="skin" resourceBundle="">
          <resource contentDir="/oracle/webcenter/siteresources/scopedMD/shared" createdBy="system" createdDate="2012-02-13T18:51:07.481+01:00" description="Default Portal Skin" displayName="Default Portal Skin" guid="gsrb01fc392_b112_41dd_9727_6f7152fec940" metadataFile="/oracle/webcenter/portalapp/skins/portal-skin.css" modifiedBy="system" modifiedDate="2012-02-13T18:51:07.481+01:00" resourceBundle="oracle.webcenter.framework.translations.TranslationsMDSResourceBundle" seeded="false" usesCustomSecurity="false" version="11.1.1.4.0" visible="FALSE">
             <customAttributes>
                <customAttribute name="skinId" seeded="true" value="portal.desktop" visible="ALWAYS"/>
                <customAttribute name="skinFamily" seeded="true" value="portal" visible="ALWAYS"/>
                <customAttribute name="skinExtends" seeded="true" value="fusionFx-v1.desktop" visible="ALWAYS"/>
             </customAttributes>
          </resource>I tried overriding the resourceBundle attribute in the example above but that didn't change it. Don't know what it is used for also.
    Thx in advance
    Edited by: 904980 on Feb 14, 2012 1:37 PM

    Any pointers plz?

  • Skin resource bundle

    Hi,
    I'm using a paged af:table and getting in the logs "<RenderingContext> <getTranslatedString> Could not fetch resource key Page from the skin myskin.desktop" (roughly translated).
    Solution in non-portal application is to specify resource bundle with specified key in trinidad-skins.xml/skins/skin/bundle-name but what is the proper solution in a portal application if I still want to allow for runtime selection of skin?
    The "update portal resource" dialog does not provide input of resource bundle name.
    The generated generic-site-resources.xml contains a reference resourceBundle="oracle.webcenter.framework.translations.TranslationsMDSResourceBundle" that indicates there might be some proper place to put skin bundle resources. (I tried editing the xml manually testing changing resourceBundle="MyBundle" and also adding <customAttribute name="skinBundleName" seeded="false" value="MyBundle" visible="ALWAYS"/> but to no avail).
    Best bet, if it is indeed possible to translate the "???Page???" in an af:table in a portal application, would be to add something to ResourceLibraryBundle but I don't know what trans-unit id.
    There's a handful of this exact question (e.g. https://forums.oracle.com/message/10620083) but no answers, either the solution is very obvious or there is no solution other than hard-coding the skin (which would not be that much of a problem).
    Any ideas?

    Thank you again!
    I'm using JDeveloper 10g.
    First, I've created a custom resource bundle (com.ieci.mugeju.view.resource.MugejuResourceBundle) and overrided the default resource string values.
    Second, I've created the file adf-faces-skins.xml like this:
    <?xml version="1.0" encoding="windows-1252" ?>
    <skins xmlns="http://xmlns.oracle.com/adf/view/faces/skin">
    <skin>
    <id>MugejuSkin</id>
    <family>MugejuSkin</family>
    <render-kit-id>oracle.adf.desktop</render-kit-id>
    <bundle-name>
    com.ieci.mugeju.view.resource.MugejuResourceBundle
    </bundle-name>
    </skin>
    </skins>
    Third, I set the skin-family property of the file adf-faces-config.xml to 'MugejuSkin'.
    If I follow all these steps, I achieve to change the text in ADF Faces components, as I wanted, but I lost the oracle styles (skin-family = oracle) that I had before following these steps.
    I must be doing someting wrong. I would like both, to mantain the oracle styles and to change the text in ADF Faces components.
    Thank you very much.

  • Skin's resource bundle

    Hello,
    I'm using the Oracle skin in an ADF application. I would need a new "skin's resource bundle" for an unsupported locale. How could I do it? Which is the name of the Oracle Resource bundle class (or properties file)?
    Thanks in advance!

    Thank you again!
    I'm using JDeveloper 10g.
    First, I've created a custom resource bundle (com.ieci.mugeju.view.resource.MugejuResourceBundle) and overrided the default resource string values.
    Second, I've created the file adf-faces-skins.xml like this:
    <?xml version="1.0" encoding="windows-1252" ?>
    <skins xmlns="http://xmlns.oracle.com/adf/view/faces/skin">
    <skin>
    <id>MugejuSkin</id>
    <family>MugejuSkin</family>
    <render-kit-id>oracle.adf.desktop</render-kit-id>
    <bundle-name>
    com.ieci.mugeju.view.resource.MugejuResourceBundle
    </bundle-name>
    </skin>
    </skins>
    Third, I set the skin-family property of the file adf-faces-config.xml to 'MugejuSkin'.
    If I follow all these steps, I achieve to change the text in ADF Faces components, as I wanted, but I lost the oracle styles (skin-family = oracle) that I had before following these steps.
    I must be doing someting wrong. I would like both, to mantain the oracle styles and to change the text in ADF Faces components.
    Thank you very much.

  • Problem with css reload (custom adf skin)

    I have defined a custom skin but changes in the css does not immediately show in the page. I have not figured out what triggers a rreload of the css. When I delete the generated css from the embedded OC4J a new one i immediately created but with the old values.

    Hello,
    This depends on the version of ADF your using.
    If its 10G, as far as I know, changes will only get picked up after a redeploy and even then you need to force the browser to re download the css (using a force refresh, shift + F5 or the refresh key normally)
    If its 11G, the redeploy should not be needed as long as you force a browser refresh.
    As long as the previously mentioned context parameter is present:
      <context-param>
        <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
        <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
        <param-value>true</param-value>
      </context-param>-Anton

  • Deployment crash / change done was applying customs skins

    I created a new skin to extend fusion.desktop and configure it into my application. After that i got this error when executing in embedded wls.
    IntegratedWebLogicServer started.
    [Running application iEducation on Server Instance IntegratedWebLogicServer...]
    [09:26:21 PM] ---- Deployment started. ----
    [09:26:21 PM] Target platform is (Weblogic 10.3).
    [09:26:22 PM] Retrieving existing application information
    [09:26:23 PM] Running dependency analysis...
    [09:26:23 PM] Deploying 2 profiles...
    [09:26:24 PM] Wrote Web Application Module to C:\Users\michel\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\iEducation\FlexParameterViewControllerWebApp.war
    [09:26:24 PM] Wrote Enterprise Application Module to C:\Users\michel\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\iEducation
    [09:26:24 PM] Deploying Application...
    <25 févr. 2010 21.26. h CET> <Warning> <Deployer> <BEA-149124> <Failures were detected while initiating deploy task for application 'iEducation'. Error is: '[Deployer:149164]The domain edit lock is owned by another session in exclusive mode - hence this deployment operation cannot proceed.'>
    [09:26:25 PM] #### Deployment incomplete. ####
    [09:26:25 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application iEducation due to error deploying to IntegratedWebLogicServer.
    [Application iEducation stopped and undeployed from Server Instance IntegratedWebLogicServer]
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
             version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
      <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>client</param-value>
      </context-param>
      <context-param>
        <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
        <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
        <param-value>true</param-value>
      </context-param>
      <context-param>
        <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
        <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
        <param-value>false</param-value>
      </context-param>
      <filter>
        <filter-name>JpsFilter</filter-name>
        <filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
        <init-param>
          <param-name>enable.anonymous</param-name>
          <param-value>true</param-value>
        </init-param>
      </filter>
      <filter>
        <filter-name>trinidad</filter-name>
        <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
      </filter>
      <filter>
        <filter-name>adfBindings</filter-name>
        <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
      </filter>
      <filter-mapping>
        <filter-name>JpsFilter</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>INCLUDE</dispatcher>
      </filter-mapping>
      <filter-mapping>
        <filter-name>trinidad</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
      <filter-mapping>
        <filter-name>adfBindings</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>REQUEST</dispatcher>
      </filter-mapping>
      <listener>
        <listener-class>oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack</listener-class>
      </listener>
      <listener>
        <listener-class>oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack</listener-class>
      </listener>
      <listener>
        <listener-class>oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack</listener-class>
      </listener>
      <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet>
        <servlet-name>resources</servlet-name>
        <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>BIGRAPHSERVLET</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.GraphServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>BIGAUGESERVLET</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.gauge.GaugeServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>MapProxyServlet</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.geoMap.servlet.MapProxyServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>GatewayServlet</servlet-name>
        <servlet-class>oracle.adfinternal.view.faces.bi.renderkit.graph.FlashBridgeServlet</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/adf/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/afr/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>BIGRAPHSERVLET</servlet-name>
        <url-pattern>/servlet/GraphServlet/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>BIGAUGESERVLET</servlet-name>
        <url-pattern>/servlet/GaugeServlet/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>MapProxyServlet</servlet-name>
        <url-pattern>/mapproxy/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/bi/*</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>GatewayServlet</servlet-name>
        <url-pattern>/flashbridge/*</url-pattern>
      </servlet-mapping>
      <jsp-config>
        <jsp-property-group>
          <url-pattern>*.jsff</url-pattern>
          <is-xml>true</is-xml>
        </jsp-property-group>
      </jsp-config>
    </web-app>
    <?xml version="1.0" encoding="windows-1252"?>
    <trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
      <skin-family>flex</skin-family>
    </trinidad-config>
    <?xml version="1.0" encoding="UTF-8" ?>
    <skins xmlns="http://myfaces.apache.org/trinidad/skin">
      <skin>
        <id>flex.base</id>
        <family>flex</family>
        <render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id>
        <extends>fusion.desktop</extends>
        <style-sheet-name>css/flex-fusion-extension.css</style-sheet-name>
        <!--
        <translation-source>
        </translation-source>-->
        <!--
        <bundle-name>
        </bundle-name>-->
      </skin>
      <skin-addition>
        <skin-id></skin-id>
        <style-sheet-name></style-sheet-name>
        <!--
        <translation-source>
        </translation-source>-->
        <!--
        <bundle-name>
        </bundle-name>-->
      </skin-addition>
    </skins>flex-fusion-extension.css
    .af_resetButton {
      padding-left: 5.0px;
      padding-right: 5.0px;
      padding-bottom: 3.0px;
    }

    goto console and click the button "Activate Changes" on the left side. This should resolve your issue.
    or
    stop the server and search for the .lok file under your server directory.

  • Problem with Scrollbar skinning

    Hello guys...
    I'm witnessing a weird behaviour in my application and I thought I should get your opinions on the matter.
    I've created two scrollbar skins in Flash Catalyst (one horizontal, one vertical).
    Its working great when I test the application so I took it and imported it on Flash Builder, copied the components and defined the new skins in my css file for the HScrollbar and VScrollbar.
    The skin is working, all the buttons are ok. But, the scrollbar isnt resizing for some reason. It remains in the same height I've designed it to be regardless of the content it is bound to.
    It scrolls the content in all the ways it should be but it doesnt resize and the thumb isnt getting all the way down.
    Anyone else having similar problems?

    hmmmm...
    I just checked it and no root tag of any of the skins used by the scrollbar skin has a width or height property defined.
    Also I've noticed the following.
    I have a custom component acting as a list. It extends Group and contains a Scroller. So at one place of the application the Scrollthumb is getting lower than on another place where the same custom list is used.
    I have to mention that this scroller works perfectly without a custom skin.

  • Skin Customization not working in OBIEE 11.1.1.5.0

    Hi,
    I followed the Oracle white paper (http://www.oracle.com/technetwork/middleware/bi/customizing-oracle-biee-11g-176387.pdf) & defined the custom skin and stylesheet in analyticsRes folder. I also defined the CustomerResourcePhysicalPath,DefaultSkin and DefaultStyle tag in instanceconfig.xml.
    When I restart the services, it works fine and I am able to see the custom skin. When I do a "view page source", I can see that it's referring to analyticsRes folder. But after couple of hours it again reverts back to original skin (sk_blafp). When I restart the services then it works fine. But it again reverts back to original after couple of hours.
    I am not sure if I am missing something.
    Thanks,
    Satya
    Edited by: Satya on Mar 22, 2012 8:46 AM

    Are you in a single environment or a clustered one. If you are on a clustered environment, the folder needs to be setup on both servers.

  • Choosing adf skinning programmatically

    Hey guys,
    In my ViewController project, I have several skins defined in trinidad-skins.xml.
    I have created the skins files in a separate way, and these are working fine.
    The thing is, I have to choose in a programatically way, which skin I will use for each use case, before I enter in the use case page.
    For this purpose, I have a Managed Bean with a String property. When I browse for an use-case there's a invoked method bean in my task-flow which is responsible for setting the appropriate skin.
    Everything is working fine until here. The problem is the adf fragment page (jsff) loaded after the invoked mbean method, it is showing the last choose skinning. If I refresh my web browser (F5), the skinning is refreshed.
    It seems to be that ADF task-flow is keeping the skinning in cache or something like that. Anyone could help me?

    Hi,
    your application needs to re-direct after applying a new skin. This means that instead of a bounded task flow you set the skin on the parent page and then redirect to the same view id. This will make the screen flicker once but this is how skinning gets applied
    Frank

  • Component labels not rendering correctly after applying fusion skin

    Hi
    I have been using ADF 11g with blaf-plus-rich skin. Recently I upgraded to 11g R1 Patch Set 1 . I applied the new fusion skin and after that labels on the components are not appearing in the right color. They are appearing in white color as the back ground color of panel box in which they are in.
    Any help is greatly appreciated
    Thanks
    AC

    Hi Frank,
    Please see the code below :
    1. Code snippet from page template used by our app :
    <f:facet name="second">
    <af:panelStretchLayout id="pt_psl1">
    <f:facet name="center">
    <af:decorativeBox id="contentBody" theme="contentBody">
    <f:facet name="center">
    <af:facetRef facetName="content"/>
    </f:facet>
    </af:decorativeBox>
    </f:facet>
    <f:facet name="bottom">
    <af:facetRef facetName="contentBottom"/>
    </f:facet>
    </af:panelStretchLayout>
    </f:facet>
    2. Code snippet from trinidad-config.xml
    <?xml version="1.0" encoding="windows-1252"?>
    <trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
    <skin-family>mystyle</skin-family>
    </trinidad-config>
    3. Code Snippet from trinidad-skins
    <?xml version="1.0" encoding="windows-1252" ?>
    <skins xmlns="http://myfaces.apache.org/trinidad/skin">
    <skin>
    <id>mystyle.desktop</id>
    <family>mystyle</family>
    <extends>fusion.desktop</extends>
    <render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id>
    <style-sheet-name>common/css/mystyle</style-sheet-name>
    <bundle-name>myBundle</bundle-name>
    </skin>
    </skins>
    4.Code snippet from a jspx page
    <af:panelGroupLayout layout="scroll" id="pgl1">
    <af:panelHeader text="test"
    inlineStyle="padding:2px;" id="ph1"/>
    <af:panelBox text="search"
    id="id" inlineStyle="padding:2px;"
    styleClass="AFStretchWidth">
    <af:panelGroupLayout layout="vertical" id="pgl6" valign="top">
    <af:panelGroupLayout layout="horizontal" id="pgl2" valign="top">
    <af:panelFormLayout id="pfl1" labelWidth="75"
    inlineStyle="margin-right:30px;">
    <af:group id="grp1">
    <af:panelLabelAndMessage label="Test Label"
    id="plam1" for="supplierId">
    <af:inputListOfValues popupTitle="Lov Title"
    simple="true" id="supplierId"
    model=""
    value=""
    autoSubmit="true"
    valueChangeListener=""
    columns=""
    converter="javax.faces.Long"
    maximumLength="10"
    searchDesc=""
    binding=""
    disabled="">
    <f:validator binding=""/>
    </af:inputListOfValues>
    </af:panelLabelAndMessage>
    </af:panelFormLayout>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </af:panelBox>
    </af:panelHeader>
    </<af:panelGroupLayout>
    The label for the LOV is rendering in white color. If I change my template theme to "medium" or "light", the labels
    are rendred correctly , but text values in disabled input text appear as white.

  • Can you resize Video Skins in Flash CS3

    I am inserting a Flash Video into a file and trying to
    include the automatic skin from the import dialogue box. If I have
    a small video (say around 180 pixels wide), the skin juts out
    obtrusively off to the sides. Is there a way to manage the size of
    the skin?

    I don't know about about as3 versions but the as2 versions
    can have a minimum width which I think from memory is defined in
    the skin file itself.
    You could make your own skin by copying one of the existing
    skin flas and changing it to suit , including the line of code that
    specifies the minimum width.

  • Bundle big servers with arch?

    I'm wondering if any of arch devs would like to bundle arch with big DBs/servers such as Oracle and JBoss etc. It would be very great for devs like me (and may attract more users)
    Here is a list I can think of (all free):
    - GlassFish (J2EE 5 app server)
    - IBM DB2 Express-C
    - JBoss Application Server
    - Oracle Database Express
    - Resin Open Source
    - Sun Java System Web Server (was iPlanet, Netscape Server)
    - Sybase ASE Express
    - VMware Server

    phrakture wrote:define "bundle" a bit more, I have no idea what you're talking about...
    you want these things "packaged" ? try the AUR
    packaging them automatically is a big problem since some of them use installers; Also, the system may need to change in special config such as sysctl.

  • Working with WebCenter Portal & ADF Skin Editor Together

    Hi all.
    I want to ask to webcenter community developers about the best practice to work with ADF Skin Editor for WebCenter Apps.
    I usually deployed my ADF Skin JAR Libraries as Shared Libs and consumed them from pure ADF Applications without problems.
    However, in WebCenter Portal Framework Applications resources are readed at MDS Path: /oracle/webcenter/portalapp/skins/... (like portal-skin.css) or at the shared lib called oracle.webcenter.skin
    My objetive is to provide more Skin's to WebCenter Portal Application from ADF JAR Librarys created by ADF Skin Editor and be selectable (like /oracle/webcenter/portalapp/skins/... resources) in Runtime in Administration page.
    How can i achieve it easly? (Please don't provide off doc, i read it).
    Have i to override SkinPhaseListener of WebCenter to read from another locations?.
    Thanks.

    Hi.
    Finally for WebCenter Portal Applications we are using ADF Skin Editor as support to skin ADF Components.
    When we've got our skin defined in ADF Skin Editor then copy to CSS file under MDS folder (/oracle/webcenter/portalapp...) and create a Portal Resource of it.
    If you want to deploy your ADF Skins as Shared Libs or included directly to WebCenter Portal App as ADF JAR Library then you'll see that they don't appear at Runtime to be selectable in admin page.
    If you want these skins be selectable at runtime you have to register them in generic-resources.xml manually.
    PD: Setting trinidad skins at "FINEST" level debug you can see what trinidad-skins is WebCenter loading.
    I hope this help you.
    PD: Your problem is little different because you are in WebCenter Spaces.
    Regards.

  • Applying skin to popup windows

    We have extended the classic skin (added CSS and javascript stuff) to define styles
    for our content that match the look and feel of the classic skin, etc. When our
    portal renders, the portal framework inserts link and script tags in the head
    for each of the css and js files defined in the skin, which is great. I'm wondering
    if there is a way (tag, whatever) to similarly "apply" the skin to windows popped
    up from the portal, so that our popups also adopt the same look as our portal
    and portal content. Any ideas? Thanks.

    Phil,
    I'm sure this must have been worked around ????
    No, but the solution is as follows:
    1. Be advised that passing character data around (other than simple primary keys) in URLs is inadvisable as we've gone over many times.
    2. You cannot pass colons in the argument value component of an f?p URL. Encoding them during HTTP transport is not a remedy.
    3. To pass commas in the argument value component of an f?p URL, you can encode the entire value between backslashes. When you do this in javascript, the javascript rules require you to escape the backslash with a backslash, so an argument value of A,B would be represented as \\A,B\\.
    Scott

  • Design View skin resolution

    Hey there,
    is it possible to get custom skins to appear in design view without creating a Theme?
    My ultimate goal is to improve the design-time experience for a custom component that I have.  The component extends SkinnableContainer and I have a skin file to go along with it.  Component and skin live in the same project as the rest of the app, but different packages.  We have several views, i.e. composite components holding chunks of the app.  Almost everything in my 'views' will live inside of one of these custom containers.  But since the skin is not getting resolved at design-time, I see the content, but not the surrounding look and feel defined in the skin.
    Everything works at run-time.
    1) First try, setting the skin Class in the stylesInitialized override
         override public function stylesInitialized():void
              super.stylesInitialized();
              this.setStyle("skinClass", HeaderContainerBSkin );
    2) Assigning the skinClass in a global css file:
         cc|HeaderContainerB
              skinClass: ClassReference("components.sparkSkins.HeaderContainerBSkin");
    It seems that the only way I can get the skin to appear is to explicitly set the skinClass on the control instance or through a style placed directly in the view that I am working in.  Is there a Global way that I am missing?  is it possible to have a css file sourced prior to any design view update?
    But...  I can't even get a custom button skin to appear in design view.
    Please help.
    Thanks,
    Jeff

    So it sounds like there is no way for a skin to be resolved at design-time if it exists in the the same project where you are making use of the control.  Unless of-course you explicitly set the skinClass on the instance of the control.  So even if you were to create a custom skin for a button and set it as the default skin for all buttons, it can never be resolved at design-time.
    Unless I am missing something and you can have a package within a project compiled as a SWC just-in-time for the design view to display it.  Something tells me this is not possible.  What about a second project that contains the skins and is in the same workspace as the main project.  Is there any way to make design view happy in that scenario?
    I'm getting a little frustrated with the lack of support for Spark in FB4.
    Any additional thoughts on this are appreciated.

Maybe you are looking for