GetProperties( ) (all attributes) for BLOBs

Hello,
I am using Oracle 11g R2 SOE.
I am trying to practice this example that is similar to the one in the doc about :
getProperties( ) (all attributes) for BLOBsBut nothing gets updated in my table, even though it tells on the output 1 row is updated (as you can see below)
if I change the statement into Insert, it works perfectly.
What could be the reason ????
DECLARE
  img_data              BLOB;
  img_attrib        CLOB;
  mimeType          VARCHAR2(4000);
  width             NUMBER;
  height            NUMBER;
  fileFormat        VARCHAR2(32);
  contentFormat     VARCHAR2(4000);
  compressionFormat VARCHAR2(4000);
  contentLength     NUMBER;
BEGIN
   SELECT content, attrib, mimtype, width, height, fileformat, contentformat,
     compressionformat, contentlength INTO img_data, img_attrib, mimeType, width,
     height, fileFormat, contentFormat, compressionFormat, contentLength
     FROM com_photos WHERE id = 1012 FOR UPDATE;
  ORDSYS.ORDImage.getProperties(img_data, img_attrib,
         mimeType, width, height, fileFormat,
         contentFormat, compressionFormat, contentLength);
   DBMS_OUTPUT.put_line('Size of XML Annotations ' ||
                   TO_CHAR(DBMS_LOB.GETLENGTH(img_attrib)));
   DBMS_OUTPUT.put_line('mimeType: ' || mimeType );
   DBMS_OUTPUT.put_line('width: ' || width );
   DBMS_OUTPUT.put_line('height: ' || height );
   DBMS_OUTPUT.put_line('fileFormat: ' || fileFormat );
   DBMS_OUTPUT.put_line('contentFormat: ' || contentFormat );
   DBMS_OUTPUT.put_line('compressionFormat: ' || compressionFormat );
   DBMS_OUTPUT.put_line('contentLength: ' || contentLength );
   UPDATE com_photos SET
       content=img_data,
       attrib=img_attrib,
       mimtype=mimeType,
       width=width,
       height=height,
       fileformat=fileFormat,
       contentformat=contentFormat,
       compressionformat=compressionFormat,
       contentlength=contentLength
    WHERE id = 1012;
   COMMIT;
EXCEPTION
   WHEN OTHERS THEN
   RAISE;
END;and I get this result
Size of XML Annotations
mimeType: image/jpeg
width: 800
height: 500
fileFormat: JFIF
contentFormat: 24BITRGB
compressionFormat: JPEG
contentLength: 55966
1 row(s) updated.Another point, I am interested in getting only the width and the height of the image, but as I got i have to feed ORDSYS.ORDImage.getProperties with all parameters. Is there a way to get around ?
Best regards,
Fateh

I think you don't need the SELECT for ... UPDATE statement since you are not updating the BLOB. In the UPDATE statement there is no need to update the BLOB since you have not changed the BLOB at all, you are just reading the properties embedded in the image using getProperties.
However, I can't see anything obviously wrong.
You could drop the SELECT for ...UPDATE statement, which you is a good thing anyway.

Similar Messages

  • Retrieve all attributes for a specific objectClass using ldapsearch

    Hi everybody,
    Question : is it possible to retrieve all attributes for a specific objectClass (by example person) using ldapsearch tool ?
    I tried something like that, but it doesn't work :
    ldapsearch -v -h XXX -p XXX -b "cn=schema" -s base "objectclass=person" attributetypes
    Thanks a lot,
    Franck

    Ok, Thanks for you help,
    But my question is : For a specific objectClass, by example, I would like to have all attributes for the objectClass called "inetOrgPerson"
    something like that :
    ldapsearch -D "cn=Directory Manager" -w pwd -h host ...objectClass="inetOrgPerson"
    and the response could be :
    audio || businessCategory || departmentNumber || displayName || givenName || initials || jpegPhoto || labeledUri || manager || mobile || pager || photo || preferredLanguage || mail || o || roomNumber || secretary || userPKCS12
    I dont't know how to do ????
    Thanks
    Franck

  • Looking for a reference manual that actually describes in detail all attributes for a command

    I am using CS5. I am teaching myself Photoshop using their book, "Classroom in a book".
    Thought the lessons, they will suggest specific setting for command attributes without describing exacting what these values mean.. For example, on page 88 they give the student specific settings for the Refine Edge dialog bog under the Quick Selection tool. They say, "To prepare the edge for a drop shadow, set Smooth to 24, Feather to 0.5, Contrast to 12, and Shift Edge to -21". Note: I am calling things like Smooth, Feather, Contrast, etc command attributes.
    My question is not about this specific example, but all these attribute values for all the commands. For example, what does Shift Edge really do when negative or positive. My question is: does a reference, either a book, pdf, or a non-Adobe product (probably a book) exist that actually explains when each attribute actually does for every command? Basically looking for a boring detailed reference guide so when I am using a specific command, I can read about the attributes for the specific command and understand what the values really mean and not guess my trial and error.
    Thanks in Advance,
    LouF

    Lou Fuchs wrote:
    For example, I just happen to have my book open to page 113 and it is showing me (at the bottom of the page) the dialog box for Layer Style.  I was hoping for a reference manual that explains every option in the that dialog box in detail and tells you what each option means and how it effects the image.
    I hope this clarifies what I am looking for.
    Here's a little snippet from the info about Layer Styles in the Adobe manual.
    Layer style options
    To the top
    Altitude For the Bevel and Emboss effect, sets the height of the light source. A setting of 0 is equivalent to ground level, 90 is directly above the layer. Angle Determines the lighting angle at which the effect is applied to the layer. You can drag in the document window to adjust the angle of a Drop Shadow, Inner Shadow, or Satin effect.
    Anti-alias Blends the edge pixels of a contour or gloss contour. This option is most useful on small shadows with complicated contours. Blend Mode Determines how the layer style blends with the underlying layers, which may or may not include the active layer. For example, an inner shadow blends with the active layer because the effect is drawn on top of that layer, but a drop shadow blends only with the layers beneath the active layer. In most cases, the default mode for each effect produces the best results. See Blending modes. Choke Shrinks the boundaries of the matte of an Inner Shadow or Inner Glow prior to blurring. Color Specifies the color of a shadow, glow, or highlight. You can click the color box and choose a color. Contour With solid-color glows, Contour allows you to create rings of transparency. With gradient-filled glows, Contour allows you to create variations in the repetition of the gradient color and opacity. In beveling and embossing, Contour allows you to sculpt the ridges, valleys, and bumps that are shaded in the embossing process. With shadows, Contour allows you to specify the fade. For more information, see Modify layer effects with contours. Distance Specifies the offset distance for a shadow or satin effect. You can drag in the document window to adjust the offset distance. Depth Specifies the depth of a bevel. It also specifies the depth of a pattern. Use Global Light This setting allows you to set one “master” lighting angle that is then available in all the layer effects that use shading: Drop Shadow, Inner Shadow, and Bevel and Emboss. In any of these effects, if Use Global Light is selected and you set a lighting angle, that angle becomes the global lighting angle. Any other effect that has Use Global Light selected automatically inherits the same angle setting. If Use Global Light is deselected, the lighting angle you set is “local” and applies only to that effect. You can also set the global lighting angle by choosing Layer Style > Global Light. Gloss Contour Creates a glossy, metallic appearance. Gloss Contour is applied after shading a bevel or emboss. Gradient Specifies the gradient of a layer effect. Click the gradient to display the Gradient Editor, or click the inverted arrow and choose a gradient from the pop-up panel. You can edit a gradient or create a new gradient using the Gradient Editor. You can edit the color or opacity in the Gradient Overlay panel the same way you edit them in the Gradient Editor. For some effects, you can specify additional gradient options. Reverse flips the orientation of the gradient, Align With Layer uses the bounding box of the layer to calculate the gradient fill, and Scale scales the application of the gradient. You can also move the center of the gradient by clicking and dragging in the image window. Style specifies the shape of the gradient. Highlight or Shadow Mode Specifies the blending mode of a bevel or emboss highlight or shadow. Jitter Varies the application of a gradient’s color and opacity. Layer Knocks Out Drop Shadow Controls the drop shadow’s visibility in a semitransparent layer. Noise Specifies the number of random elements in the opacity of a glow or shadow. Enter a value or drag the slider. Opacity Sets the opacity of the layer effect. Enter a value or drag the slider. Pattern Specifies the pattern of a layer effect. Click the pop-up panel and choose a pattern. Click the New Preset button          to create a new preset pattern based on the current settings. Click Snap To Origin to make the origin of the pattern the same as the origin of the document (when Link With Layer is selected), or to place the origin at the upper-left corner of the layer (if Link With Layer is deselected). Select Link With Layer if you want the pattern to move along with the layer as the layer moves. Drag the Scale slider or enter a value to specify the size of the pattern. Drag a pattern to position it in the layer; reset the position by using the Snap To Origin button. The Pattern option is not available if no patterns are loaded. Position Specifies the position of a stroke effect as Outside, Inside, or Center. Range Controls which portion or range of the glow is targeted for the contour. Size Specifies the radius and size of blur or the size of the shadow. Soften Blurs the results of shading to reduce unwanted artifacts. Source Specifies the source for an inner glow. Choose Center to apply a glow that emanates from the center of the layer’s content, or Edge toapply a glow that emanates from the inside edges of the layer’s content. Spread Expands the boundaries of the matte prior to blurring.
    Style Specifies the style of a bevel: Inner Bevel creates a bevel on the inside edges of the layer contents; Outer Bevel creates a bevel on the outside edges of the layer contents; Emboss simulates the effect of embossing the layer contents against the underlying layers; Pillow Emboss simulates the effect of stamping the edges of the layer contents into the underlying layers; and Stroke Emboss confines embossing to the boundaries of a stroke effect applied to the layer. (The Stroke Emboss effect is not visible if no stroke is applied to the layer.)
    Technique Smooth, Chisel Hard, and Chisel Soft are available for bevel and emboss effects; Softer and Precise apply to Inner Glow and Outer Glow effects.
    Smooth Blurs the edges of a matte slightly and is useful for all types of mattes, whether their edges are soft or hard. It does not preserve detailed features at larger sizes. Chisel Hard Uses a distance measurement technique and is primarily useful on hard-edged mattes from anti-aliased shapes such as type. It preserves detailed features better than the Smooth technique.
    Chisel Soft Uses a modified distance measurement technique and, although not as accurate as Chisel Hard, is more useful on a larger range of mattes. It preserves features better than the Smooth technique. Softer Applies a blur and is useful on all types of mattes, whether their edges are soft or hard. At larger sizes, Softer does not preserve detailed features.
    Precise Uses a distance measurement technique to create a glow and is primarily useful on hard-edged mattes from anti-aliased shapes
    such as type. It preserves features better than the Softer technique. Texture Applies a texture. Use Scale to scale the size of the texture. Select Link With Layer if you want the texture to move along with the layer as the layer moves. Invert inverts the texture. Depth varies the degree and direction (up/down) to which the texturing is applied. Snap To Origin makes the origin of the pattern the same as the origin of the document (if Link With Layer is deselected) or places the origin in the upper-left corner of the layer (if Link With Layer is selected). Drag the texture to position it in the layer.

  • Querying XML Column in SQL to get all attributes for a element

    I have data in a XML column that is formatted as such:
    <TestTemplate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <MTouch TabKey="20" Priority="0">
    <MMouse MouseKey="21" Priority="0" /> </MTouch>
    <MTouch TabKey="11" Priority="1" />
    <MTouch TabKey="14" Priority="2" />
    <MTouch TabKey="17" Priority="3" />
    <MTouch TabKey="23" Priority="4">
    <MCategories CatKey="8" Priority="0" />
    <MMouse MouseKey="27" Priority="1" />
    <MMouse MouseKey="30" Priority="2" />
    <MMouse MouseKey="26" Priority="3" />
    <MCategories CatKey="9" Priority="4" />
    <MGroups GroupKey="3" Priority="5" />
    <MMouse MouseKey="28" Priority="6" />
    <MCategories CatKey="7" Priority="7" />
    <MMouse MouseKey="29" Priority="8" />
    </MTouch>
    <MTouch TabKey="6" Priority="5">
    </MTouch>
    </TestTemplate>
    In my query I am getting the following results :
    ElementName
    AttributeName
    TabKey
    CategoryKey
    MTouch
    MCategories
    6
    7
    MTouch
    MCategories
    6
    8
    MTouch
    MCategories
    6
    9
    MTouch
    MCategories
    11
    7
    MTouch
    MCategories
    11
    8
    MTouch
    MCategories
    11
    9
    MTouch
    MCategories
    14
    7
    MTouch
    MCategories
    14
    8
    MTouch
    MCategories
    14
    9
    MTouch
    MCategories
    17
    7
    MTouch
    MCategories
    17
    8
    MTouch
    MCategories
    17
    9
    MTouch
    MCategories
    20
    7
    MTouch
    MCategories
    20
    8
    MTouch
    MCategories
    20
    9
    MTouch
    MCategories
    23
    7
    MTouch
    MCategories
    23
    8
    MTouch
    MCategories
    23
    9
    This is my query:
    SELECT DISTINCT
    'MTouch' AS ElementName,
    'MCategories' AS AttributeName,
    n.y.value('@TabKey', 'int') AS TabKey,
    e.y.value('@CatKey', 'int') AS CategoryKey
    FROM TXML cross apply tablename.columnname.nodes('//TestTemplate//MTouch//MCategories') AS e(y)
    cross apply tablename.collumnname.nodes('//TestTemplate//MTouch') AS n(y)
    I would like my results to show only the catkey attribute value to show only for MTouch TabKey 23. I need help on how to write the query. Below is the result I am looking for. Notice the Categorykey column is null for all except where
    the Element Name of MTouch has a TabKey value of 23.
    ElementName
    AttributeName
    TabKey
    TouchPriority
    CategoryKey
    MTouch
    MCategories
    6
    5
    MTouch
    MCategories
    11
    1
    MTouch
    MCategories
    14
    2
    MTouch
    MCategories
    17
    3
    MTouch
    MCategories
    20
    0
    MTouch
    MCategories
    23
    4
    7
    MTouch
    MCategories
    23
    4
    8
    MTouch
    MCategories
    23
    4
    9
    Thanks in advance
     

    As per the this explanation
    I would like my results to show only the catkey attribute value to show only for MTouch TabKey 23
    it should be this
    select
    t.u.value('@TabKey[1]','int') AS tabKey,
    t.u.value('@Priority[1]','int') AS Priority,
    m.n.value('@CatKey[1]','int')
    from @x.nodes('/TestTemplate/MTouch')t(u)
    outer apply u.nodes('.[@TabKey="23"]/MCategories')m(n)
    ORDER BY 1,3
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to see all attributes of a particular namespace in a context

    I can see the value of a attribute for a partiuclar namespace using following query
    select sys_context ('USERENV','TERMINAL') FROM DUAL;
    select sys_context ('USERENV','DB_NAME') FROM DUAL;
    but, how to find out all attributes for a given namesapce like here 'USERENV' or any user defined namespace. Is there any query or dba view which will list all attributes for a given namespace
    Thanks for your help

    This is table called DICT, where you can find many other things.
    SS
    SQL> select * from dict where table_name like '%CONTEX%'
      2  /
    TABLE_NAME
    COMMENTS
    ALL_CONTEXT
    Description of all active context namespaces under the current session
    USER_EVALUATION_CONTEXTS
    rule evaluation contexts owned by user
    ALL_EVALUATION_CONTEXTS
    rule evaluation contexts seen by user
    USER_EVALUATION_CONTEXT_TABLES
    tables in user rule evaluation contexts
    ALL_EVALUATION_CONTEXT_TABLES
    tables in all rule evaluation contexts seen by the user
    USER_EVALUATION_CONTEXT_VARS
    variables in user rule evaluation contexts
    ALL_EVALUATION_CONTEXT_VARS
    variables in all rule evaluation contexts seen by the user
    ALL_POLICY_CONTEXTS
    All policy driving context defined for all synonyms, tables, or views accessable to the user
    USER_POLICY_CONTEXTS
    All policy driving context defined for synonyms, tables, or views in current schema
    9 rows selected.

  • Retrieve all attributes with specified name attribute

    hi all,
    how to extract the ancestor attributes with given name which is also an attribute?
    for eg.
    <country>
    <sponsor id="1" level="1" name="john">
    <sponsor id="2" level="2" name="mary">
    <sponsor id="3" level="3" name="ken">
    <sponsor id="4" level="4" name="mick"/>
    </sponsor>
    </sponsor>
    <sponsor id="2" level="2" name="kary"/>
    </sponsor>
    </country>
    (the structure above will be deemed as unlimited nested nodes)
    +how to get ancestor given name=mick, will return one way ancestor sponsor named: ken,mary and john?
    +the attribute name is the key to travese up or down, how to get the value?
    please advise, and thanks
    regards,
    wesley

    i solved one part of my problem.
    But, now i have to get all attributes for each users and i couldn't find them. The getattributes method doesn't return anything (i 'd like to retrieve the first name, last name, adress ...)
    thanx for help

  • When printing a list in Address Book, how can I select more than the default Attributes and keep them selected when I print again? I want to print ALL information for contacts so I have email address, notes, phone, company, title, etc all on one page.

    When printing a list in Address Book, how can I select more than the default Attributes and keep them selected when I print again? I want to print ALL information for contacts so I have email address, notes, phone, company, title, etc all on one page. I don't want to have to check off an additional 5 or 6 attributes each time I print out contact information. Is there a way to change the default setting for printing lists, so it is not just "phone," "photo," and "job title?"

    I have a user who wants to do this same thing. I did not find any way either to default the attributes to anything other than what you see the first time. Seems like such a trivial thing, hard to believe they do not allow it. I did find a program for this called iDress but I can't seem to download it from any links on the Internet. Not sure if it is free or not, but it was recommended by a link on the Mac support site.

  • Size limitation for all attributes in user objects in Active Directory????

    hi geeks , i wanna know maximum size limit of an user objects attribute in   active directory ... like max amount of character first name attribute can hold ... Thank in advance..

    You can use ADSI Edit to view the properties of the attributes in the Schema container of your AD. In the Schema container you can select an attribute, like Company, right click, select properties, and find the rangeUpper property of the attribute. This
    is the maximum length in characters (or bytes). You can also use dsquery to retrieve rangeUpper for an attribute. For example:
    dsquery * "cn=Schema,cn=Configuration,dc=MyDomain,dc=com" -filter "(LDAPDisplayName=streetAddress)" -attr rangeUpper
    where your domain is MyDomain.com. This finds the maximum length for the "street address" attribute. A few values in my test domain (the values can be modified, so these are the defaults):
    company                      64
    streetAddress              1024
    physicalDeliveryOfficeName  128
    initials                      6
    st                          128
    postOfficeBox                40
    name                        255
    cn                           64
    You can use the first two spreadsheets on this page to help identify attributes in AD (with no Exchange):
    http://www.rlmueller.net/UserAttributes.htm
    The first spreadsheet documents the attributes corresponding to the fields on most of the tabs of ADUC. For example, "st" is the attribute for state, "physicalDeliveryOfficeName" for the field labeled "office". You need the
    LDAPDisplayName's of the attributes, like I used in the dsquery command above. The second spreadsheet documents all attributes in AD with more information, like the syntax and which class each applies to.
    Richard Mueller - MVP Directory Services

  • Generate public names for ALL attributes?

    Hi all,
    What suggestions do you have to generate public names for ALL attributes in OPM 10.4?
    We're trying to pretty up the decision report by setting invisible ALL attributes, except for: the top goal, structural reference number, and base data.
    Seems like the only way to get it done is to go in the build model and manually create public name one-by-one.
    Thanks,
    Isamu

    Hi Isamu,
    It sounds like you could use the silent property to customise your decision report.
    If Attribute A is proven by B, C and D, you can set A to silent and it will hide B, C and D from a decision report...there is no need to individually set B, C and D to invisible.
    Check out the help file here http://docs.oracle.com/html/E27987_01/Content/Decision%20reports/Hide_information_in_decision_report.htm
    What's really helped me in the past is creating a Visual Browser file (or multiple files if your rulebase is large) of the rules, and identifying the attributes you want in the decision report by colour coding the visualization. After you have the visual picture, it becomes much easier to see which attributes you should set to silent & invisible to achieve the correct report.
    Let me know if this helps!
    Cheers,
    Ben

  • JSTL Expression Support For All Attributes

    There are mentions of JSTL expression support for the
    modelReference attribute within the specification (although I have found problems in the EA3 in this regard), but
    but I did not find any mention of supporting the same for all
    attributes. To me, this seems very important, especially for
    attributes like "onClick" where I might want to do something special:
    <c:foreach ...
    <h:graphic_image modelReference="model.myImage" onClick="onDelete({status.index})"/>
    </c:foreach>
    In the case above, this would allow me to call a single javascript function that triggers a delete action based on the current index within a list based view.
    There are many cases that I can think of that this would be incredibly useful.

    maybe you have forgotten the $
    onClick="onDelete(${status.index})"
    or I've misunderstood something...

  • How to get all attributes of a component

    Hi all,
    In a component I'm trying to get attributes of some primefaces components, but somehow I cannot retrieve them all.
    Here's a little bit of a table:
              <p:dataTable styleClass="ptable100" title="${msg.contractlist_title}" id="contractlistTable" var="contract" value="#{contractList.contracts}" width="100%" height="200px"
                        emptyMessage="#{msg.all_lists_no_records_found}" paginator="#{contractList.rowSize > 10}" rows="10" rowsPerPageTemplate="5,10,20,50,100"
                        paginatorTemplate="{FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink}  #{msg.all_lists_numberOfRowsDisplayed_label}{RowsPerPageDropdown}">
                   <p:column id="column_id" resizable="true" sortBy="#{contract.id}" style="white-space:normal">
                      <f:facet name="header"><h:outputText styleClass="headerText" value="#{msg.contractlist_contract_id}" /></f:facet>
                         <h:outputLink value="#{path.dynamicUrl}contract/detail.xhtml" onclick="Richfaces.showModalPanel('busy_nav');">
                             <h:outputText value="#{contract.id}"/>
                             <f:param name="contractid" value="#{contract.id}" />
                         </h:outputLink>
                  </p:column>Then, I try to get the attributes like this (where table is the UIData component):
              String title = "";
              System.out.println("table.getAttribs.keys= " + table.getAttributes().keySet());
              System.out.println("table.getAttribs.vals= " + table.getAttributes().values());
              if (table.getAttributes().containsKey("title")) {
                   title = String.valueOf(table.getAttributes().get("title"));
              }The function getAttributes() is implemented on UIComponentBase so I believe it's independent of the component.
    This prints the following:
    table.getAttribs.keys= [com.sun.facelets.MARK_ID]
    table.getAttribs.vals= [5756abfa]When I do the same for the columns, all attributes I get is MARK_ID, style and styleClass.
    Obviously I'd like to get all attributes, in this case the "title" on the p:dataTable.
    Any thoughts why this isn't working and how I could do that?
    Thank you,
    Steven

    Hi all,
    In a component I'm trying to get attributes of some primefaces components, but somehow I cannot retrieve them all.
    Here's a little bit of a table:
              <p:dataTable styleClass="ptable100" title="${msg.contractlist_title}" id="contractlistTable" var="contract" value="#{contractList.contracts}" width="100%" height="200px"
                        emptyMessage="#{msg.all_lists_no_records_found}" paginator="#{contractList.rowSize > 10}" rows="10" rowsPerPageTemplate="5,10,20,50,100"
                        paginatorTemplate="{FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink}  #{msg.all_lists_numberOfRowsDisplayed_label}{RowsPerPageDropdown}">
                   <p:column id="column_id" resizable="true" sortBy="#{contract.id}" style="white-space:normal">
                      <f:facet name="header"><h:outputText styleClass="headerText" value="#{msg.contractlist_contract_id}" /></f:facet>
                         <h:outputLink value="#{path.dynamicUrl}contract/detail.xhtml" onclick="Richfaces.showModalPanel('busy_nav');">
                             <h:outputText value="#{contract.id}"/>
                             <f:param name="contractid" value="#{contract.id}" />
                         </h:outputLink>
                  </p:column>Then, I try to get the attributes like this (where table is the UIData component):
              String title = "";
              System.out.println("table.getAttribs.keys= " + table.getAttributes().keySet());
              System.out.println("table.getAttribs.vals= " + table.getAttributes().values());
              if (table.getAttributes().containsKey("title")) {
                   title = String.valueOf(table.getAttributes().get("title"));
              }The function getAttributes() is implemented on UIComponentBase so I believe it's independent of the component.
    This prints the following:
    table.getAttribs.keys= [com.sun.facelets.MARK_ID]
    table.getAttribs.vals= [5756abfa]When I do the same for the columns, all attributes I get is MARK_ID, style and styleClass.
    Obviously I'd like to get all attributes, in this case the "title" on the p:dataTable.
    Any thoughts why this isn't working and how I could do that?
    Thank you,
    Steven

  • Can i create more than one attributes for the custom class created using java API

    Hello everyone,
    I have been creating class and its attributes programatically using java APIs, I want to know that is there any way to create multipal attributs for the same class in just one call of API with all the options for each attributes,
    thanks

    You can create a new class and define all of the Attributes at the time the class is created - this is the preferred way of creating classes. Use the addAttributeDefinition() method on ClassObjectDefinition. If you need to add attributes to existing classes, you can only add them one at a time (using the addAttribute() method on ClassObject).
    (dave)

  • The attributes for user could not be determined --

    Hi,
    Our is extended classic scenario:srm5.0 & ECC6.0
    we are getting the following error in the org plan:
    "The attributes for user could not be determined "
    The error is occuring , when we log into the web browser.
    we also have a error in the org plan, under the user at the check tab,"No attribute found for scenario BBP".
    when we run the BBP_ATTR_CHECK & BBP_BP_OM_Integrate, we have no errors...
    Thanks in advance,
    RK.

    Hi All,
    Thanks for your support...
    I check the T-code:BBP_ATTR_CHECK & BBP_BP_OM_INTEGRATE.
    I also checked the attributes for the CP are ok,still i had the error appearing in the WEB.
    The solution:
    The CP has been deleted from the org plan.
    Once again,we generated the users from USERS_GEN and assign CP to the org plan again at the same.Now the Attributes error is gone.... and the issue is resolved.
    Thanks and Regards,
    RK.

  • Urgent: How to Remove assignment of a marketing attribute for an BP

    Hi Guys,
                In my project we are  maintaining two marketing attributes for all the business partners.
    But there is a need now based on some condition we want to remove one of the assignment for the BP (I.e which ever BP matching the condition)..
    I dont want to remove this manually  using the transaction code..
    Is there  any function module to remove the assignment of the marketing attribute  for the BP.
    Would appreciate an early reply...Since it is very urgent...
    Regards,
    Sundar

    HI Sundar you should follow the following steps.
    1. Create a target group in the segment builder selecting all the business partners that meet your criteria.
    2.  Go to the Expert tools (transaction CRMD_MKT_TOOLS)
    3. Select the Deletion of an Attribute for All BP Assignments to a Target Group  option.
    4. enter in the name of your target group, the attribute set and attribute you want to remove.
    Nima

  • An error occured while creating the original attribute for message no26 296

    Hi All,
              I am new to DMS , we are trying to store PM documents on content server , created a storage category and while assigning files to storage category then on saving the document i get the below error :
    An error occured while creating the original attribute for
    Message no. 26 296
    Diagnosis
    An error occured while creating an original in the Knowledge Provider.
    System Response
    The original could not be created.
    Procedure
    Contact the systems administrator and check the log file (transaction Evaluate application log, object SDOK).
    Please let me know what configs i am missing ...
    Thanks in advance
    regrds
    pushpa

    Hi Pushpa,
    Which enhancement package are you on currently? This is observed in cases where originals in DIR's are invisible and sometimes error message 26296 occurs in transaction CV01n. Hence,please check your entries in the table SDOKPROP to avoid such a problem in your system.
    Further,suggest you explore if the below resolutions can be adopted in your case.
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=10321987
    http://wiki.sdn.sap.com/wiki/display/PLM/OriginalsinvisibleafterEHP3or+EHP4
    Regards,
    Pradeepkumar haragoldavar

Maybe you are looking for