How to let Trinidad Tag use outside css classes instead of skin?

In my project, we asked vendor company to create the UI and css of the whole web application. We are using Trinidad in the project, trinidad use skin to customize the look and feel of the page. Since we have already had a set of css classes, we don't want to apply these css classes to the trinidad skin one by one. Is that a solution to achieve that?

Can we now use jdk 1.5 with Studio Creator? I tried setting the AS_JAVA in
C:\Sun\Creator\SunAppServer8\config\asenv.bat
set AS_JAVA=C:\Program Files\Java\jdk1.5.0_04
however in the help about still says its running 1.4
There must be someway to use 1.5 with the new version of Creator or no?
R
S

Similar Messages

  • Re: How do you create and use "common" type classes?

    Hi,
    You have 2 potential solutions in your case :
    1- Sub-class TextNullable class of Framework and add your methods in the
    sub-class.
    This is the way Domain class work. Only Nullable classes are sub-classable.
    This is usefull for Data Dictionary.
    The code will be located in any partition that uses or references the supplier
    plan.
    2- Put your add on code on a specific class and instanciate it in your user
    classes (client or server).
    You could also use interface for a better conception if needed. The code will
    also be in any partition that uses or references the supplier plan where your
    add on class is located.
    If you don't want that code to be on each partition, you could use libraries :
    configure as library the utility plan where is your add-on class.
    You can find an example of the second case (using a QuickSort class,
    GenericArray add-on) with the "QuickSort & List" sample on my personal site
    http://perso.club-internet.fr/dnguyen/
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    http://perso.club-internet.fr/dnguyen/
    Robinson, Richard a écrit:
    I'm relatively new to forte and I'd like to know how can you handle utility
    type classes that you want to use through out your application? Ideally
    what I want is a static class with static methods.
    Let's say that I have a StringUtil class that has a bunch of methods for
    manipulating strings.
    My problem is that we have code that runs on the client and code that runs
    on the server. Both areas could use the StringUtil class, but from what I
    understand, I have to create StringUtil in a plan and then create a server
    object of type StringUtil. The server object will eventually get assigned
    to a partition. That's not good since I really want the server object to
    physically reside at the server end and at the client end. (Actually, I
    don't want a server object, I just want to invoke a static method of a
    static class).
    Any clues on how to solve this problem would be appreciated.
    Also, what is the url at Sage-it that has a summary of all emails that have
    been posted to [email protected]? Perhaps this question has been
    answered previously.
    Thanks in advance
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi Richard,
    Your question about "utility classes" brings up a number of issues, all of
    which are important to long-term success with Forte.
    There is no such thing as a static method (method that is associated with a
    class but without an implicit object reference - this/self/me "pointer") in
    TOOL, nor is there such thing as a global method (method not associated
    with a class at all). This is in contrast to C++, which has both, and
    Java, which has static methods, but not global classes. Frequently, Forte
    developers will write code like this:
    result, num : double;
    // get initial value for num....
    tmpDoubleData : DoubleData = new;
    tmpDoubleData.DoubleValue = num;
    result = tmpDoubleData.Sqrt().DoubleValue;
    tmpDoubleData = NIL; // send a hint to the garbage collector
    in places where a C++ programmer would write:
    double result, num;
    // get initial value for num....
    result = Math::Sqrt(num);
    or a Java programmer would write:
    double result, num;
    // get initial value for num....
    result = Math.sqrt(num);
    The result of this is that you end up allocating an extra object now and
    then. In practice, this is not a big deal memory-wise. If you have a
    server that is getting a lot of hits, or if you are doing some intense
    processing, then you could pre-allocate and reuse the data object. Note
    that optimization has its own issues, so you should start by allocating
    only when you need the object.
    If you are looking for a StringUtil class, then you will want to use an
    instance of TextData or TextNullable. If you are looking to add methods,
    you could subclass from TextNullable, and add methods. Note that you will
    still have to instantiate an object and call methods on that object.
    The next issue you raise is where the object resides. As long as you do
    not have an anchored object, you will always have a copy of an object on a
    partition. If you do not pass the object in a call to another partition,
    the object never leaves. If you pass the object to another partition, then
    the other partition will have its own copy of the object. This means that
    the client and the server will have their own copies, which is the effect
    you are looking for.
    Some developers new to Forte will try to get around the lack of global
    methods in TOOL by creating a user-visible service object and then calling
    methods on it. If you have a general utility, like string handling, this
    is a bad idea, since a service object can reside only on a single
    partition.
    Summary:
    * You may find everything you want in TextData.
    * Unless you anchor the object, the instance will reside where you
    intuitively expect it.
    * To patch over the lack of static methods in TOOL, simply allocate an
    instance when required.
    Feel free to email me if you have more questions on this.
    At the bottom of each message that goes through the mailing list server,
    the address for the list archive is printed:
    http://pinehurst.sageit.com/listarchive/.
    Good Luck,
    CSB
    -----Original Message-----
    From: Robinson, Richard
    Sent: Tuesday, March 02, 1999 5:44 PM
    To: '[email protected]'
    Subject: How do you create and use "common" type classes?
    I'm relatively new to forte and I'd like to know how can you handle utility
    type classes that you want to use through out your application? Ideally
    what I want is a static class with static methods.
    Let's say that I have a StringUtil class that has a bunch of methods for
    manipulating strings.
    My problem is that we have code that runs on the client and code that runs
    on the server. Both areas could use the StringUtil class, but from what I
    understand, I have to create StringUtil in a plan and then create a server
    object of type StringUtil. The server object will eventually get assigned
    to a partition. That's not good since I really want the server object to
    physically reside at the server end and at the client end. (Actually, I
    don't want a server object, I just want to invoke a static method of a
    static class).
    Any clues on how to solve this problem would be appreciated.
    Also, what is the url at Sage-it that has a summary of all emails that have
    been posted to [email protected]? Perhaps this question has been
    answered previously.
    Thanks in advance

  • How do you get to use an animated finger instead of the cursor?

    Hello. I've seen in a screenshot video that a developer was showing how his app works by using an animated finger instead of the regular arrow (cursor). Does anybody know what's the name of that finger program/app?
    Thanks!

    Actually, i just found it. It's called PhoneFinger: wonderwarp.com/phonefinger/

  • How to retrieve character '#' when use Shift key + 3 instead of use Option key + 3?

    Hi everyone,
    Kindly advice how to retrieve character '#' when use Shift key + 3 instead of Option key + 3.
    Thank you in advance.

    Hi Tom,
    Thanks for your proposed solution. The problem has been solved.

  • Validation Using a MessageResources Class Instead of a Property File

    We have a WL 8.1 portal application that performs XML-based validation as described here:
    http://e-docs.bea.com/workshop/docs81/doc/en/core/index.html
    It works fine. Each jpf specifies the validation error messages like this:
    * @jpf:message-resources resources="Validation.Validations"
    This pulls the error messages from the Validations.properties file, as expected.
    We'd like to move the validation error messages out of the property file and into the WL content store.
    Has anyone successfully done something similar with a portal application?
    I've done some research and there are a number of examples that show how to do this with a Struts application. For example, the DBMessageResources looks like a step in the right direction.
    http://sourceforge.net/project/shownotes.php?release_id=320056&group_id=49385
    Modifying those files to produce ContentMessageResourcesFactory and ContentMessageResources gives us access the WL content store.
    The piece that I'm missing is this:
    How can we get the XML-based validation to get its messages using ContentMessageResources rather than the property files specified by the @jpf:message-resources annotation?
    According to the documentation (and just to show that I made an attempt to read the fine manual), both the @jpf:message-resources annotation and the netui-data:declareBundle tag can be used to reference property files. I'm looking for instructions on getting XML-based validation to use a MessageResources class, instead.

    Problem solved. Here's the solution in case someone else has a similar question in the future.
    I added the following to strutsValidator-merge-config.xml and confirmed that constructors for both ContentMessageResources and ContentMessageResourcesFactory are called when the application is accessed for the first time.
    <message-resources
    factory="com.carlson.lss.common.util.ContentMessageResourcesFactory"
    key="org.apache.struts.action.MESSAGE"
    parameter="300"/>
    Using a key of "org.apache.struts.action.MESSAGE" is critical to making this work. I found that tidbit here:
    http://forums.bea.com/bea/click.jspa?searchID=600352721&messageID=600044412
    I removed the @jpf:message-resources annotation but left the following annotation in the JPF:
    * @jpf:controller nested="true" struts-merge="/WEB-INF/strutsValidator-merge-config.xml"
    Triggering a validation error results in calls to the getMessage method in the ContentMessageResources class.
    W^5 (which was what we wanted)

  • How to let SAP user use SSO to access Application in DMZ?

    Hi All,
    Our J2EE application is running on a system in DMZ which can not be connected with LDAP. So I am wondering if it's possible to let SAP user use SSO to access our application.
    After talking with my colleague I think the only way is to import SSO public key to our WebAS and create user in UME and then assign user to the corresponding public key, but anybody know where to download SSP verification file or is it allowed to download and import into another system at all?
    Regards,
    Bin

    Hi,
    Take a look at this example, it uses property nodes to select tha
    active plot and then changes the color of that plot.
    If you want to make the number of plots dynamic you could use a for
    loop and an array of color boxes.
    I hope this helps.
    Regards,
    Juan Carlos
    N.I.
    Attachments:
    Changing_plot_color.vi ‏38 KB

  • How to generate empty tag using XMLForest

    Hi,
    I am creating an XML document using XMLAgg, XMLForest and XMlElement functions.
    At some point I have an XMLForest embedded in the other XMLForest
    XMLForest( e.indicator as "col1",
               e.participant_id as "col2",
      XMLForest( tableAlias.col11 as "address1",
                 tableAlias.col12 as "address2",            
               ) as "items",
    )           and within the last one I have some expressions which are empty, so the XML tags are not generated, however I have to have an empty tags:
    <address2></address2>I tried to replace an expression using "NVL" or "DECODE", but the results were the same.
    I also tried to replace an embedded XMLForest with an XMLElement :
    XMLForest( e.indicator as "col1",
               e.participant_id as "col2",
      *XMLElement("items"*
                 *XMLElement("address1"),*
                 *XMLElement("address2")*
               *) as "items",*)           however it created 2 <items> tags :
        <items>
             <items>
                <address1>value</address1>
                <address2></address2>
             </items>
         </items> I am working with Oracle 11.2.0 db.
    Is there any way to generate an empty tag when using XMLForest function?
    thank you in advance.
    Edited by: user624274 on Apr 3, 2013 8:52 AM
    Edited by: user624274 on Apr 3, 2013 8:53 AM

    Hello Odie_63.
    Your argument is valid, but it does not mean the solution I provided is bad.
    If you are concerned about the size of the result, it is simple, you can use like:
    REPLACE(XMLForest( NVL(e.indicator, '#NULLValue#') as "col1",  NVL(e.participant_id, '#NULLValue#') as "col2").getClobVal(), '#NULLValue#', '')
    According to Oracle documentation, REPLACE is smart and will return a CLOB (not a varchar2) because it changes the type of return according to the type of the first parameter. So you will not have issues with size.
    I believe the first question was related to use the final result to record to a table or send to another system (to use as integration). If it will be used just in a select field, it does not matter if it is not there or if it is there as NULL, the select of the field will always return ''.
    Other hint, I never use xmltype to store on database, because it is not compatible with other databases or integration tools. I use CLOB because it is the natural serialization of the object and I can convert and work with it inside and outside Oracle.
    But that is up to the architect and/or developer. If the system is running only on Oracle and there is no integration, maybe xmltype will save a lot of time in conversions.
    Regards.
    Rodolpho

  • How to let other users use my customization?

    Hello,
    I have a few nice dynamic pages with bind variables.
    I use the user PORTAL to customize my bind variables, but what I customize is not for other users, they see the result of the default bind variables.
    Surely there is a way to set the customization from a designer for the whole comunity. My question is how to pull that off.
    Thanks for any information in advance.
    Kind Regards,
    Arnoud M. Barth

    Hi,
    You can set customizations at the system level by clicking on the edit defaults link of the portlet. This changes the default values of the portlet. In 309 or release 1 clicking on the edit page will show you the edit defaults link on the right hand corner of the portlet. In case of 902 or release 2 each portlet has a actions icon. Clicking on that will bring you a list of actions you can perform on a portlet. You will have "Edit Defaults" link here.
    Thanks,
    Sharmila

  • I have NDS 4.16, and I have iMS 5.1 running on Sun, Solaris 8. I want to know how can I add users using the command line instead of the console. My problem is how to set the password to this user?

     

    You can use ldapmodify found in <ServerRoot>/shared/bin
    for example
    ./ldapmodify -h ldaphost -D "cn=directory manager" -w password -f <name of LDIF file>
    Here's an example LDIF file
    dn: uid=cms,ou=people,o=balius.com,o=Universe
    changetype: add
    objectClass: person
    objectClass: organizationalPerson
    objectClass: inetOrgPerson
    objectClass: inetUser
    objectClass: ipUser
    objectClass: inetMailUser
    objectClass: inetLocalMailRecipient
    objectClass: nsManagedPerson
    objectClass: userPresenceProfile
    cn: Chad M. Stewart
    sn: Stewart
    initials: CMS
    givenName: Chad
    pabURI: ldap://host:389/ou=cms,ou=people,o=balius.com,o=Universe,o=pab
    mail: [email protected]
    mailDeliveryOption: mailbox
    mailHost: my.mailhost.com
    uid: cms
    dataSource: Chad by hand
    userPassword: users-password-here
    inetUserStatus: active
    mailUserStatus: active
    mailQuota: -1
    on a subsequent search you'd see something like
    userpassword: {SHA}S3e+L/K6

  • How to set all pages using template A to instead use template B?

    I am using Dreamweaver Web CS4.
    I have inherited a website that uses Dreamweaver templates.  In the website, the previous webmaster used several different templates for different sections of the site.
    I am trying to redesign the website to use PHP includes to decrease the bloat of the site.  As such, I am trying to change the template for all pages on the site to the new one that I have designed.  I have not found a way to do this.  I can select pages individually and change their templates but I have not found a way to do a batch template update.  Is there a way to do this?  If not, can anyone think of a better way to standardize the website rather than updating templates individually?

    You would definitely want to add the title editable region.  Each page should have a page-specific title for optimal SE exposure.  Without that editable region, you wouldn't be able to create page-specific titles.
    So - add the title editable region.  Now your two templates have the same number of editable regions, each with the same name.
    Then all you have to do is to close *all* files in DW.  Then do a find and replace like this -
    FIND -
    /Templates/template_A.dwt
    REPLACE -
    /Templates/template_B.dwt
    Make a backup of the whole site first.
    Finally, open template_B, make a trivial change and reverse it.  Save template_B and update the whole site.  That should do the trick.

  • Content assist for Trinidad tags in RAD

    I am using RAD 7.0.0.1 and using trinidad tags in JSF pages having .jspx extension. I am not able to get content assist for trinidad tags using cntrl+space. Can anybody help me in resolving this?
    Thanks in advance

    great, that looks really good and useful!
    -Henrik
    Am 31.07.2015 um 15:19 schrieb Juergen Haug:
    > Hi all,
    >
    > there is a new improved version of the content assist in the action code editor. It provides intuitive completion proposals for chained expressions of model elements. With that you can easily write expression for many actions like sending messages, invoking operations or accessing data attributes. As before, these expression get automatically translated to target code during generation. In addition, the proposals are annoted with type information, so that you can safely embed them in your target detail code.
    >
    >

  • CSS class ordering

    Hello,
    I am using JDeveloper 11.1.1.6 and Oracle ADF Skin Editor 11.1.2.3. I have browsed the community sites and not found a question / answer about the issue I'm facing.
    I have been able to create custom CSS classes in my custom skin and apply them to my WCP project via JDeveloper. My custom CSS class (.HeaderTitle1) is being applied to the ADF component (outputText) via the styleClass property. I can see (in my browser) that my custom class and the built-in ADF class are being applied to the outputText component.
    The problem is that the built-in ADF class takes precedence over my class. Based on CSS rules (see this example), this is because the ADF class is defined later in the CSS file (or loaded later if in a separate file). I've looked at the CSS file in the Chrome Developer Tools, and I can see that there is just 1 CSS file and that my custom CSS classes are in the middle of the file with ADF classes before and after them.
    Question: Is there any way I can control the order of the declarations in the CSS file? How can I ensure that my custom CSS classes will take precedence?
    Thanks!

    Sure, Alejandro. It's actually not an outputText (that's one of our use cases), but applying a custom style to the goLink component that is giving us grief.
    Here is my css:
    .HeadingTitle1
      font-weight: bold;
      font-size: 24px;
      text-transform: uppercase;
    Here's how I'm referencing this css in my .jsp file:
    <af:goLink text="My Loan" id="gl1" styleClass="HeadingTitle1" />
    The result (via Google Chrome Tools):
    <a id="pt1:r1:0:gl1" class="HeadingTitle1 af_goLink" href="edit-address.jspx">Edit Address</a>
    Hmm, actually it looks like I've solved my own problem. Looking at the source of the CSS file, I can see that the HeadingTitle1 class is defined AFTER than the af_goLink class (containing the properties I'm concerned with):
    .af_goLink
         font-size: 15px;
    .HeadingTitle1
      font-size: 24px;
    Based on this CSS demo, I thought this problem was that the af_goLink class is defined later in the CSS file, so that it took precedence over my custom CSS class, but it looks like it's behaving the way I need / expect it to.
    Not sure why I wasn't seeing this all along. Thanks for the help, Alejandro and Frank.

  • Reg: Passing Image url through CSS Class

    Hi,
    How can i pass the image through Css class ?
    Thanks in advance.

    Hi,
    I am not sure if that can be done in css file though.
    I suppose you are using the backing bean for setting the skin (just read your old thread). If yes, you can add two images to your page and set the visible property according to the current skin. Something like
    <af:image id="i1" source="../images/first_logo.gif" visible="#{seesionScope.currentSkin == 'First'}"/>
    <af:image id="i2" source="../images/second_logo.gif" visible="#{seesionScope.currentSkin == 'Second'}"/>
    If i select Second CSS file then the logo will be change according to the style class defined in First CSS file .AFAIK, the company logo would be static ;) .
    -Arun

  • Css class & Templates

    Hi,
    how can i find and edit the css classes which used in the standart report templates ?
    Thanks,
    Uli

    Hi Tring,
    Please check this link for instructions on how to enable "Apply CSS class"
    CSS Styles are Missing in WYSIWYG Editor
    Regards,
    Gaurav Aggarwal

  • Robohelp 8 & CSS Class attribute

    I have been trying to use the CSS Class attributes but it doesn't seemed to be recognized by Robohelp 8. Here is an example of my code:
    My external style sheet:
    Test {
              width: 562px;
              height: 16px;
              text-align: center;
              font-family: Arial, Helvetica, sans-serif;
              font-weight: bold;
              color: #ffff00;
    Test1 {
              background-color: #00900;
    Test2 {
              background-color: #008000;
    In my file:
    <link rel="Stylesheet" href="layout.css" type="text/css" />
    <div class="Test Test1">
         I type something here
    </div>
    The text that I type is rendered but none of the formatting.  What am I doing wrong?
    Does anyone know if there is a problem with Robohelp 8 not supporting CSS classes?
    Thanks!
    Message was edited by: Lakooli

    Hi,
    Add a dot (.) before the class definitions in your css:
    .Test -> All elements that have the class test
    Or even better:
    div.Test -> Only DIV element that have the class test
    Greet,
    Willam

Maybe you are looking for

  • MP3s in iTunes 6.0.3

    hallo. i'm downloading mp3's (legally) from sub pop records and opening them in itunes 6.0.3 into my library. i've done this loads of times and i've never had a problem with it until now. once they've downloaded and come into itunes they show a 0.00

  • Support message and change requests only for production system

    Hi guys, I would like to connect the solman helpesk with CHARM ( CHARM is still running ). In CHARM I have to create a CR only for production system. ( don't know why - but works as designed). In SAP helpdesk I can create support messages for every k

  • Upgrading from a MacBook Pro to a MacBook Air?

    I have been using a MacBook Pro for the last 3+ years.  The processor is slowing down markedly and I seem to see the 'wheel of death' all too frequently.  I am looking to change hardware to a MacBook Air - lighter to carry and from new.  My MacBook P

  • Using X.509 Client Certificates - SAP ABAP Webgui (SSL)

    Hello, current runs the integrated ITS (Webgui). We now want the smart card and have adapted to the configuration: RZ10: icm/server_port_0=PROT=HTTPS,PORT=1443,TIMEOUT=180                                                                               

  • How can I find out what is wrong with swap image in a library

    I had a DW8 site that used  a library item on many pages with the calls to the macromedia swap image function.  Everything was fine. I've now converted to CS5.5 and I find that: a) When the library item is changed, the updated pages don't have proper