Using the attribute "TruncateAt"

Hi,
so as many readers or posters i´m new to JDeveloper. Now i have a problem. It looks like there´s no 'TruncateAt' attribute for the af:goLink. With af:outputText he´s doing well. So are there any possibility's to cut an URL which is shown in a column? Thx for suggestions.
Dirk

Normally, Roel's advice is good. However, if you DO want DDT to use existing attributes as your foreign key columns, you can do it. Make sure that your primary key attributes are noted as such. I believe that the column name of the foreign key in the detail table does need to be the same as the column name of the primary key in the master table.
In DDT, press the Settings button and select the tab labeled "Keys". Uncheck the checkbox labeled "Create surrogate keys for all new tables". Of course, if you have some tables for which you DO want DDT to create key columns, you'll have to generate these in a separate DDT batch. You can always see exactly what DDT proposes to create by pressing the "Show Run Set" button.

Similar Messages

  • How can I customize the toolbar when using the attribute browser

    In CVI 2012, the toolbar changes depending on the environment, e.g. it is different for the source window and the UI editor. The toolbar can be customized using the menu Options / Toolbar...
    Unfortunately, when using the attribute browser of the UI editor, another toolbar is displayed, i.e. not the UI editor toolbar.... I would have assumed that the attribute browser belongs to the UI editor, obviously it doesn't... So how can I customize the toolbar when using the attribute browser?
    Solved!
    Go to Solution.

    Luis,
    It's nice to have you back 
    Thank you for the clarification, so I'll elaborate a bit more: In the regular workspace toolbar, I have a disk symbol to save the file. This symbol is gone in the attribute browser...
    So I have three different toolbars, for source code (workspace), UI editor, and the UI editor displayed but the attribute browser clicked on (selected)... 
    Thanks
    Wolfgang
    Source code:
    UI editor:
    Attribute browser:

  • How to raise message using the attributes created in Theme

    Hi,
    I have created an attribute in the theme of the internet service.
    I want to raise a message using alert, how can i use this attribute in the javascript method?
    Regards
    Sohit

    Hi,
    try
    <script language="javascript">
    alert('Attribute:' + `yourAttribute`);
    </script>
    mind the backtics `` !!!
    kind regards,
    ralph

  • Getting the value of an element using the attribute value

    I have a Document object and I want to get the value from the element that has an attribute value of "college". Does that make sense?
    <TEAM>
         <FIELD name="city">Phoenix</FIELD>
                        <SECTION name="NASH">
                              <FIELD name="college">Santa Clara</FIELD>
                              <FIELD name="grad">1997</FIELD>
                              <FIELD name="years">9</FIELD>
                              <FIELD name="PPG">19.2</FIELD>
                             <FIELD name="AST">10.4</FIELD>
                            <FIELD name="REB">4.2</FIELD>
            </SECTION>
    </TEAM>
    Thanks!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    I have a Document object and I want to get thevalue
    from the element that has an attribute value of
    "college". Does that make sense?
    <TEAM>
         <FIELD name="city">Phoenix</FIELD>
    <SECTION name="NASH">
    <FIELD name="college">Santa
    FIELD name="college">Santa Clara</FIELD>
    <FIELD
    <FIELD name="grad">1997</FIELD>
    <FIELD
    <FIELD name="years">9</FIELD>
    <FIELD
    <FIELD name="PPG">19.2</FIELD>
    <FIELD
    <FIELD name="AST">10.4</FIELD>
    <FIELD
    <FIELD name="REB">4.2</FIELD>
    </SECTION>
    </TEAM>
    Thanks!
    /TEAM/SECTION/FIELD[@name='college']
    if you just want the text then:
    /TEAM/SECTION/FIELD[@name='college']/text()

  • Select the printer tray using the Java Print Service with JDK 1.4.2

    Hello,
    I have got a problem with 1.4 Printing. I would like to specify the printer tray for printing on Windows platform (XP and NT4.0). I am trying to use the attribute javax.print.attribute.standard.MediaTray class (ex. MediaTray.BOTTOM).
    Howerver, I can control the printer tray if I use the PCL driver of the printer. If I user the postscript driver I am not able to control the printer tray. I can reproduce the problem with 3 different printers (HP, Lexmark and Nashuatec).
    I used the getSupportedAttributeValues to check the supported values of the Media
    Media med[] = (Media[])service.getSupportedAttributeValues(Media.class, null, null);
    for (int k=0; k<med.length; k++) {
    System.out.println("Name : " + med[k].getClass() + " - Value : " + med[k].getValue());     
    With the PCL driver I have the following output and I can control the printer tray.
    Name : class javax.print.attribute.standard.MediaTray - Value : 0
    Name : class javax.print.attribute.standard.MediaTray - Value : 2
    Name : class javax.print.attribute.standard.MediaTray - Value : 4
    Name : class sun.print.Win32MediaTray - Value : 0
    Name : class sun.print.Win32MediaTray - Value : 1
    With the postscript driver I have the following output and I cannot control the printer tray
    Name : class sun.print.Win32MediaTray - Value : 5
    Name : class sun.print.Win32MediaTray - Value : 6
    Name : class sun.print.Win32MediaTray - Value : 7
    Name : class sun.print.Win32MediaTray - Value : 8
    Name : class sun.print.Win32MediaTray - Value : 9
    As I must use the postscript printer, can someone help me?
    Thanks.

    Hello,
    Can you tell me how it's possible to selet the tray using the PCL?
    I print on the following way:
    PrintService[] services = PrintServiceLookup.lookupPrintServices(null, null);
    AttributeSet aset = new HashAttributeSet();
    aset.add(new PrinterName("\\\\107208\\SBE08111", null)); // select printer
    ......Now I tried to add your code and I get the following output:
    0: Name : class javax.print.attribute.standard.MediaSizeName - Value : 40
    1: Name : class javax.print.attribute.standard.MediaSizeName - Value : 41
    2: Name : class javax.print.attribute.standard.MediaSizeName - Value : 45
    3: Name : class javax.print.attribute.standard.MediaSizeName - Value : 42
    4: Name : class javax.print.attribute.standard.MediaSizeName - Value : 4
    5: Name : class javax.print.attribute.standard.MediaSizeName - Value : 5
    6: Name : class javax.print.attribute.standard.MediaSizeName - Value : 27
    7: Name : class javax.print.attribute.standard.MediaSizeName - Value : 46
    8: Name : class javax.print.attribute.standard.MediaSizeName - Value : 59
    9: Name : class javax.print.attribute.standard.MediaSizeName - Value : 60
    10: Name : class javax.print.attribute.standard.MediaSizeName - Value : 55
    11: Name : class javax.print.attribute.standard.MediaSizeName - Value : 38
    12: Name : class javax.print.attribute.standard.MediaSizeName - Value : 16
    13: Name : class javax.print.attribute.standard.MediaSizeName - Value : 57
    14: Name : class javax.print.attribute.standard.MediaTray - Value : 0
    15: Name : class javax.print.attribute.standard.MediaTray - Value : 2
    16: Name : class javax.print.attribute.standard.MediaTray - Value : 1
    17: Name : class javax.print.attribute.standard.MediaTray - Value : 6
    18: Name : class javax.print.attribute.standard.MediaTray - Value : 4
    19: Name : class sun.print.Win32MediaTray - Value : 0
    20: Name : class sun.print.Win32MediaTray - Value : 1
    It's a printer with to trays, so I suppose the last two lines are important, but I'm not possible to effectively select the tray I want to print..

  • How to get the attribute values out?

    Hi everyone,
    <root>
    <category name="Mens Clothing" id="0">
    <subcategory>Active/Baselayer Tops</subcategory>
    <subcategory>Active/Baselayer
    Bottoms</subcategory>
    </category>
    <category name="Womens Clothing" id="1">
    <subcategory>aaa</subcategory>
    <subcategory>bbb</subcategory>
    </category>
    </root>
    How to get the attribute values out? For example "Mens
    Clothing" and "Womens Clothing".
    // the line below returns "Active/Baselayer Tops" and
    "Active/Baselayer Bottoms"
    var myXml:XML = new XML(event.result);
    Thanks,
    May

    Here is attribute identifier operator from FB Help:
    @ attribute identifier Operator
    Usage myXML.@attributeName
    Identifies attributes of an XML or XMLList object. For
    example, myXML.@id identifies attributes named id for the myXML XML
    object. You can also use the following syntax to access attributes:
    myXML.attribute("id"), myXML["@id"], and myXML.@["id"]. The syntax
    myXML.@id is recommended. To return an XMLList object of all
    attribute names, use @*. To return an attribute with a name that
    matches an ActionScript reserved word, use the attribute() method
    instead of the @ operator.
    Operands attributeName:* — The name of the attribute.
    Example
    How to use examples
    The first example shows how to use the @ (at sign) operator
    to identify an attribute of an element:
    var myXML:XML =
    <item id = "42">
    <catalogName>Presta tube</catalogName>
    <price>3.99</price>
    </item>;
    trace(myXML.@id); // 42The next example returns all attribute
    names:
    var xml:XML =<example id='123' color='blue'/>
    var xml2:XMLList = xml.@*;
    trace(xml2 is XMLList); // true
    trace(xml2.length()); // 2
    for (var i:int = 0; i < xml2.length(); i++)
    trace(typeof(xml2
    )); // xml
    trace(xml2.nodeKind()); // attribute
    trace(xml2
    .name()); // id and color
    } The next example returns an attribute with a name that
    matches a reserved word in ActionScript. You cannot use the syntax
    xml.@class (since class is a reserved word in ActionScript). You
    need to use the syntax xml.attribute("class"):
    var xml:XML = <example class='123'/>
    trace(xml.attribute("class"));

  • How to use the infoobject in multicube?

    I want to use the attribute of a infoobject in the query, but this infoobject is not in any of the base cube of my multicube, this infoobject is the combination of 0material and 0country which all in my base cube, how can I do this? I know I can add this into my base cube and reload data, but I do not want to reload. Experts, please advise.

    Thanks for your information, can you please give me more help on how to create such as infoset? Multicube can not be conponent of infoset, so I want to create a infoset links the infoobject and base cubes first and then add it back to the origina multicube, but how shall I join this infoobject with these basic cube? only link the 0material/0country from basis cube and infoobject? Anything need to link in terms of the KY?

  • How do I use the ? operator in JSF tag attributes?

    I want to do something like this:
    <h:inputText styleClass="${myBean.valid ? 'styleA' : styleB'}" ...>
    What do I have to do to use this Expression language?
    With the #{...} expression the ? operator doesnt seem to be available.
    When I use the ${...} expression I am getting this error:
    javax.servlet.ServletException: ServletException in '/WEB-INF/body/Test.jsp': /WEB-INF/body/Test.jsp(12,5) According to TLD or attribute directive in tag file, attribute styleClass does not accept any expressions
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)
    Can anybody please help?
    Thanks!

    Personally, i'd do:
    <h:inputText styleClass="styleA" rendered="#{myBean.valid}"/>
    <h:inputText styleClass="styleB" rendered="#{!myBean.valid}"/>

  • How do I use the same css style but different attributes, Without affecting another page.

    Hey everyone,
    I am using the "NivoSlider", for my dreamweaver page but I am not sure how to tell styles that one page has one attribute and the other one will have a different attribute.
    For example: in my "about us" I have a small slideshow with its own pictures. I then put  a gallery page with its own pictures, yet, I want to make that slideshow box larger without affecting the other small slideshow.
    I am using just one Style.CSS for the slideshow.
    Anyways, is their a way to tell tell the code that one page is going to be a different width then the other?
    Thank you!

    Embedded CSS rules take priority over styles in external style sheets.   So you can add page specific rules between your document's <head> tags and after all other links to external CSS files.
    <style>
         page specific rules here....
    </style>
    Nancy O.

  • How to read the attribute of the xml file using jaxb

    Thanks,
    Buddy as i have a issue i have to read the xml file using jaxb and xml file contains this data and i have read the attribute like name , desc and action for a particular menu name pls tell the code how to do this it will be a great favour to me
    thanx in advance
    Rasool
    <contextmenu>
    <menu name='Lead' >
    <menuitem name='newlead' desc='New Lead' action='/leads.do?dispatch=insert' />
    <menuitem name='editlead' desc='Edit Lead' action='' />
    <menuitem name='leadinfo' desc='Lead Information' action='' />
    </menu>
    <menu name='Cases' >
    <menuitem name='' desc='' action='' />
    <menuitem name='' desc='' action='' />
    <menuitem name='' desc='' action='' />
    </menu>
    <menu name='Contact' >
    <menuitem name='' desc='' action='' />
    <menuitem name='' desc='' action='' />
    <menuitem name='' desc='' action='' />
    </menu>
    </contextmenu>

    What my program do is to get the encoding of XML files and convert them to UTF-8 encoding files, while I need this "encoding" information of the original XML document thus I can convert...
    After reading specifications and JDOM docs, the truth turns to be disappointed, no function is provided to get this information in JDOM level 2(the current released one), while it's promissed that this function will be provided in JDOM level API....
    Thanx all for your help and attention!!!

  • Error occurred in deployment step 'Add Solution': A feature with ID '' has already been installed in this farm. Use the force attribute to explicitly re-install the feature.

    Hi I am getting the error
    Error occurred in deployment step 'Add Solution': A feature with ID 10495515-2482-41fd-98eb-3c87f739f54b has already been installed in this farm.  Use the force attribute to explicitly re-install the feature.
    when trying to deploy web parts
    question 1 - how do i use the force attribute when deploying from visual studio
    question 2 - am i deplying it to the right place, if i deply it to the
    url:port that points to my central admin tool it deploys but i cant seem to see it in any of my webs in my site collection, if i deploy it to the
    url:port that points to my site collection I get this error.
    im new to all this by the way :)
    thanks in advance

    If you are deploying from Visual Studio then please follow this post:
    http://sharepointfordeveloper.blogspot.com/2014/03/solved-visual-studio-issue-error.html
    Open the visual Studio and navigate to the feature XML file and add the bellow attribute.
    AlwaysForceInstall="TRUE"
    The <FeatureName>.Template.Xml output would be some think link this.
    <?xml
    version="1.0"
    encoding="utf-8"
    ?><Feature
    xmlns="http://schemas.microsoft.com/sharepoint/"
    AlwaysForceInstall="TRUE"></Feature>

  • How can i add custom attributes to a new Class Object using the API ?

    Hello everyone,
    Here is my problem. I just created a subclass of Document using the API (not XML), by creating a ClassObjectDefinition and a ClassObject. Here is the code :
    // doc is an instance of Document
    ClassObject co = doc.getClassObject();
    ClassObjectDefinition cod = new ClassObjectDefinition(ifsSession);
    cod.setSuperclass(co);
    cod.setSuperclassName(co.getName());
    cod.setName("MYDocument");
    ClassObject c = (ClassObject)ifsSession.createSchemaObject(cod);
    Everything seems to be OK since i can see the new class when i use ifsmgr. But my question is : how can i add custom attributes to this new class ? Here is what i tried :
    AttributeDefinition value = new AttributeDefinition(ifsSession);
    value.setAttribute("FOO", AttributeValue.newAttributeValue("bar"));
    c.addAttribute(value);
    But i got the following error message :
    oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
    java.sql.SQLException: ORA-01400: impossible d'insirer NULL dans ("IFSSYS"."ODM_ATTRIBUTE"."DATATYPE")
    oracle.ifs.server.S_LibraryObjectData oracle.ifs.beans.LibrarySession.DMNewSchemaObject(oracle.ifs.server.S_LibraryObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.NewSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.createSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    void fr.sword.ifs.GestionDocument.IFSDocument.createDocument(java.lang.String)
    void fr.sword.ifs.GestionDocument.IFSDocument.main(java.lang.String[])
    So, what am i doing wrong ?
    More generally, are we restricted in the types of the attributes ? (for example, would it be possible to add an attribute that would be an inputStream ? Or an object that i have already created ?).
    Any help would be appreciated. Thanks in advance.
    Guillaume
    PS : i'm using Oracle iFS 1.1.9 on NT4 SP6 and Oracle 8.1.7
    null

    Hi Guillaume,
    you're welcome. Don't know exactly, but assume that ATTRIBUTEDATATYPE_UNKNOWN
    is used to check for erronous cases only
    and it shouldn't be used otherwise.
    Creating your own objects could be simply done via
    ClassObject ifsClassObject;
    DocumentDefinition ifsDocDef = new DocumentDefinition(ifsSession);
    // get class object for my very own document
    ifsClassObject = ClassObject.getClassObjectFromLabel(ifsSession, "MYDOCUMENT");
    // set the class for the document i'd like to create
    ifsDocDef.setClassObject(ifsClassObject);
    // set attributes and content for the document...
    ifsDocDef.setAttribute("MYFOO_ATTRIBUTE",....);
    ifsDocDef.setContent("This is the content of my document");
    // create the document...
    PublicObject doc = ifsSession.createPublicObject(ifsDocDef);
    null

  • How to get cm:search to use the max attribute when creating the SQL query?

    When we use the max attribute in the cm:search tag, it does not seem to honor the max attribute when creating the SQL query. However, the result returned from the tag is limited to the number specified by the max attribute. Then the tag seems to work as intended, but the performance will be sub optimal when the SQL query returns unnecessary rows to the application.
    We use the cm:search tag to list the latest news (ordered by date), and with the current implementation we have to expect a decrease in performance over time as more news is published. But we can’t live with that. We need to do the constraint in the SQL query, not in the application.
    The sortBy attribute of cm:search is translated to “order by” in the SQL query, as expected.
    Is it possible to get cm:search to generate the SQL query with an addition of “where rownum <= maxRows”?

    Hi Erik,
    The behavior of a repository in regards to the search tag's max results parameter is dependent on the underlying repository's implementation. That said, the OOTB repository in WLP does augment the generated SQL to limit the number of rows returned from the database. This is done in the parsing logic. This behavior may differ with other repository implementations.
    -Ryan

  • Using the value "Image/*" for the accept attribute of the HTML input Element, how can I add .pdf to the array of preconfigured file types (.jpe, .jpg, .jpeg, .?

    On a form, using the value "image/*" for the accept attribute of the HTML input Element, how can I add .pdf to the array of pre-configured file types (.jpe, .jpg, .jpeg, .gif, .png, .bmp, .ico, .svg, .svgz, .tif, .tiff, .ai, .drw, .pct, .psp, .xcf, .psd, .raw)?
    Say I wanted to add .gif, .jfif or .ico. I find this array limited, how can I add types to image?
    <input type="file" name="file" accept="image/*" id="file" />
    mimeTypes.rdf does not seem to allow this.

    ''mimeTypes.rdf'' has nothing to do with web development. It's a file that stores your file handling preferences (e.g. if you want ZIP files automatically saved or opened).
    You can't change the file types of the pre-defined content specifiers (audio/*, video/*, image/*), but you can specify additional MIME types. To add PDF to your above example,
    <pre><nowiki><input type="file" name="file" accept="image/*,application/pdf" id="file" /></nowiki></pre>
    For details, see
    * [https://developer.mozilla.org/En/HTML/Element/Input developer.mozilla.org/En/HTML/Element/Input]

  • Populating CRM marketing attributes using the APD

    Hi Experts
    We are having problems with populating CRM marketing attributes using the APD. When we run our process we get the error message:
    CRMBW_ATTR_WRITE005: Error when processing function module CRMBW_UPDATE_BPMKT_5. Message no. RSAN_MDL024
    As you can see, we are using the new function module CRMBW_UPDATE_BPMKT_5 since the old CRMBW_UPDATE_BPMKT did not work either.
    Do we have to add a reference to a infoobject in transaction CRMBWTARGETS? We have not done this because the marketing attribute in CRM doesn’t have decimals and all the objects in BI have. Could this be the cause of the error?
    Kind regards
    Erik

    Hi Ramesh,
    Thanks for quick reply.
    I have already followed the procedure you have described. Since there is not common objects between ODS and Bpatner infoobject, i am not able to do mapping.
    for eg. my ZBPARTNER infoobject has attributes like zfooty, ztennis and zrugby but my ODS has char name , char value, counter for multiple values infoobjects.
    I am following the example in the demo content to work out the process but could not understand how the data is getting uploaded from ODS to Business partner.
    http://help.sap.com/saphelp_nw70/helpdata/en/bf/5df63bf9deaf09e10000000a114084/frameset.htm
    Thanks,
    Sandeep Jogde

Maybe you are looking for

  • How to modify the new mask/track feature after you've left the clip?

    After you've created an ellipse or polygon mask with the new filter feature, positioned it where you want it in the Program panel, then gone on to other editing, how do you later come back and grab that mask to move it's position?  Clicking on it in

  • Apple ID updated to email address, cannot update apps!

    I had to updated my apple ID to an email address ( as required) when I updated my OS on my Mac. All my apps were purchased with the previous ID so now I cannot seem to updated them as my previous ID does not exist. What do I do?

  • Error in import development config

    hello. i have NWDS sp15 and i get the error "java.lang.IllegalStateException: INTERNAL ERROR: Global root folder for pre-installed component archives not defined.      at com.sap.tc.devconf.impl.DevConfFileSystemLayout.getRootPathForCompartment(DevCo

  • Address book list used many times with mail merge, now all come back undeliverable - why?

    I have about 140 email addresses in an address book, and I have sent emails using mail merge many times. Suddenly, this week, when I send out an email, I get all of them back marked undeliverable. Don't know why it suddenly won't send them. the only

  • Iphone is disabled, try again in 1 minute

    Yesterday I updated to 8.1.2.  Today I received a phone call, and near the end I could hear buzzing of a notification -- two of them.  When I hung up the phone (maybe 5-10 seconds later) it had the message "iphone is disabled, try again in 1 minute"