Displaying custom node group sequences (and their creation)

Hi,
firstly my usual disclaimer :) I am a newbie at JavaFX and only jump back in when I have a little time here and there.
What I'm trying to achieve, is to create an Object call MyItem which is essentially a Group with a rectangle, image and text. I want to be able to create multiple of these MyItem's and add them to a sequence (list, array).
Then do a foreach item MyItems --> insert into myGroup.content[];
But it keeps saying that either a Node or a Sequence is not what it's looking for...
See below which should be able to describe the problem better than my confusing explanation above:
Main.fx
package exampleitems;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.paint.LinearGradient;
import javafx.scene.paint.Stop;
import javafx.scene.paint.Color;
import javafx.scene.Node;
public var stg = Stage {
            title: "TestApp"
            scene: Scene {
               fill: LinearGradient {
                  startX: 0.0
                  startY: 0.0
                  endX: 0.0
                  endY: 1.0
                  stops: [
                     Stop {
                        color: Color.web("#0c8ec4") //Color.BLACK
                        offset: 0.0
                     Stop {
                        color: Color.web("#0a1945") //Color.GRAY
                        offset: 1.0
               width: 800
               height: 600
               content: []
            resizable: false
var man=Manager{};
public function insertThem(){
   var myItemsHere = man.getItems();
   for(node in myItemsHere){
      insert node as Node into Main.stg.scene.content;
function run(){
   stg;
   insertThem();
}Manager.fx
package exampleitems;
public class Manager {
   var itemsListHolderAA=AAItems{};
   package function getItems(){
      return itemsListHolderAA.getItems();
}AAItems.fx
package exampleitems;
public class AAItems {
   var icon="{__DIR__}images/AA.png";
   package function getItems() {
      var i = 1;
      var myItems=[];
      //while(i < 10){
         insert Items{xPos: 20*i, yPos: 20*i, iconItem: icon} into myItems;
         //i++;
      return myItems;
}Items.fx
package exampleitems;
import javafx.scene.shape.Rectangle;
import javafx.scene.paint.Color;
import javafx.scene.CustomNode;
import javafx.scene.Node;
import javafx.scene.image.ImageView;
import javafx.scene.image.Image;
import javafx.scene.text.Text;
import javafx.scene.text.Font;
public class Items extends CustomNode{
   public var xPos: Integer;
   public var yPos: Integer;
   public var iconItem: String;
   override protected function create () : Node {
      Rectangle {
         width: (750), height: (470/20)
         fill: Color.TRANSPARENT
         stroke: Color.web("#0c8ec4") //Color.TEAL
         strokeWidth: 1.0
         arcWidth: 20
         arcHeight: 20
         smooth: true
      ImageView {
         translateX: 2, translateY: 1
         image: Image {
            url: iconItem
         fitWidth: (470/20)
         fitHeight: (470/20)
      Text {
         translateX: ((470/20)+5)
         translateY: ((470/20)*0.666)
         font : Font {
            size: 10
         content: "Hello!"
}As you can see, my main problem seems to be that the last Node in Items.fx gets displayed, and not all three (try commenting out Text node and image appears etc...)
So, either I get the Items.fx to return as a Group (?), but then I get the error that it expects a sequence etc.
So how can I get the myItems[] in AAItems.fx to fill up with a "group" of nodes and then be able to iterate through them on the Main.fx ?
I hope that's clear? :/
What I want is a list of Items(.fx) created in AAItems(.fx) and be able to then display (iterate through) them in Main(.fx).
I'm sure it's a concept flaw on my part on how to implement it. Any help appreciated.

Oops. I guess not "exactly" what I wanted:
The Stack container arranges its managed content nodes in a back-to-front Stack. The z-order of the content is defined by the order of the content sequence with content[0] being the bottom and content[sizeof content-1] being the top...
D'Oh! Just replacing Stack with Group does the job... man... I need a holiday!!! :D

Similar Messages

  • How to retrieve the Role of a custom sharepoint Group Progrmatically and also assigning the same roles to new user?

     I want to retrieve the roles assigned to custom group progrmatically and assigning the same roles to new user?

    Hi,
    According to your post, my understanding is that you want to retrieve the Role of a custom sharepoint Group Progrmatically and also assigning the same roles to new user.
    To retrieve the Role of a custom sharepoint Group, you can refer to:
    http://www.sharepointfix.com/2011/05/find-rolepermissions-of-currently.html
    To assign the same roles to new user, you can refer to:
    http://msdn.microsoft.com/library/Microsoft.SharePoint.SPRoleAssignment
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Fundamentals: Custom Nodes vs Methods and Controller in MVC

    I have a couple quick questions that I'd consider somewhat fundamental that I should have a better grasp this far along in development...
    - First of all, what do you guys/gals consider the best way to structure your JavaFX classes. I almost always create custom nodes (XCustomNodes usually... from JFXtras) representing certain "panels" filled with content (buttons, labels, text, etc). I realize you could also create a separate class/method to simply return HBoxes, VBoxes, Groups, etc. So... thoughts?
    - Second, I see all these articles/posts saying ghat JavaFX is a perfect MVC language. I agree for the most part, but what would you consider the Controller? Aren't the View and Controller pretty well married together in JFX? Separating the Controller into its own entity seems like it'd be more work than help.
    Just trying to extend my knowledge reach... Thanks in advance!

    evnafets
    Thank you!!!
    While I do not understand how to do this:(though I understand principle of it... the misunderstanding is the whole problem)
    To make this example work all in one file, you have to make RemindTask2 an
    inner class of Reminder (which is already an inner class)
    I do not always understand packages....and doing what you suggested, in forming the packages, and sorting the classes, will help me understand the structure better...plus get me in the norm of always creating packages !
    So what I'm going to do right now is go tear my code down into various packages
    and source files.....however...if you or anyone else could explain/show example
    of how to do what you said(for inner classes, not packages...understand packages) , it would be appreciated.
    This fundamental inner class creation is obviously a major bump right now...and creating the packages and linking the classes will be easy, because I understand how to do it when I already have functional classes created.
    I do not always understand class/method creation/implementation..such as here.
    (IE: can create network apps/gui apps of simple nature....but this easy ol' thing has been driving me nuts.)
    Creating those classes however,,,,even if not the most efficient way is something
    needed for my basic Java knowledge.
    Thank you,,,,VERY GOOD project/training is going to come from this !!
    Really, thank you in any case...if you do not have the time(100% understand) please lmk, will just give you your duke award.
    AEWSOME

  • ZBAPI to display Supply source/vendor/material and their descriptions...

    Hi Frnds,
    I need to write 3 ZBAPIs to list (1)all supply source and their text (2)all vendors and their text,(3)materials and their text
    by calling some std Fm in the source code.
    IF you know any STD BAPI/ RFC FM/ FM to get those datails, please  provide me...
    Note: I shd get all existing vendors with their texts. i.e., what we get when we press F4 like that.
    Regards,
    Kiran.

    Hi Frnds,
    I need to write 3 ZBAPIs to list (1)all supply source and their text (2)all vendors and their text,(3)materials and their text
    by calling some std Fm in the source code.
    IF you know any STD BAPI/ RFC FM/ FM to get those datails, please  provide me...
    Note: I shd get all existing vendors with their texts. i.e., what we get when we press F4 like that.
    Regards,
    Kiran.

  • Purchasing group sequence and defaults

    Folks
    We are in SRM 50 and was wondering if anyone has tinkered with the sequence of purchasing groups for a buyer, while creating a shopping cart ? If so, how?
    To explain, when the buyer logs in and he/she is responsible for say 4 purchasing groups, the system seems to be sorting purchasing groups based on the organization ID and it assigns the first purchasing group as default (It used to be the last one in the order in EBP 30, before we upgraded). Even this has exceptions at times. How is the sort sequence of the purchasing group determined/controlled?
    Any insights would be appreciated.
    Suresh

    Hi
    Welcome to the world of SRM. )
    Actually, it depends on the Organizational chart maintained in the SRM system using PPOMA_BBP transaction. For each company code in SRM, there will be at least one Puchase organization assigned to it, which in turn might be linked with several Purchase groups. (this is what you have maintained in PPOMA_BBP , inside the Extended Attributes section of the main root node of the Organization )
    - Well it depends .. sometimes, you might maintain the attributes at every level of the org units.
    Anyways, I will try to help you out on the Defaulting Purchasing group logic as well.
    Well, until, SRM 4.0, we have noticed, purchasing groups based on the organization ID and it assigns the first purchasing group as default. It is sure.
    After SRM 5.0, this purchasing group defaulting is changed to last, as in your case... ( I am not sure.. about this), might be some other reason can be behind this...
    Which SRM scenario are you using ?
    <u>You can control the Puchasing group by implementing the BADIs.. The Standard SRM system provides various BADIs to get this job done.</u>
    Please do read the standard documentation available with them, before writing any code for the custom BADI Implementations.
    Refer to the following Business Add-Ins (BADIs) in SE18 Transaction.
    <b>BBP_DOC_CHANGE_BADI
    BBP_PGRP_FIND_BADI</b>
    <u>In BBP_DOC_CHANGE_BADI, you can change the already defined Purchasing group, based on your business logic and requirements.</u>
    In BBP_DOC_CHECK_BADI, you can issue customer error messages incase the Purchasing group selected does not match with the company code, etc.. as per you business requirements.
    Similarly, In BBP_PGRP_FIND_BADI, you can make your changes accordingly.
    Let me know incase you face any issues.
    Regards
    - Atul

  • Best way to group figures and their legends

    In an article, I have figures (images) and associated legends (text). They should stay together and anchored to certain places in text. Sometimes, the legend text should wrap the figures.  In addition, in exported html, I wish that the div tag of both the image and the text are wrapped in a outter div tag, and the image and the text div tag should have differnt class name.
    I tried to first group the image frame and the text frame, and then put them in an object frame. This strategy seems to not produce the results I desired. So what is the best way of achiving my goals?
    Thank you.

    @eric2013 – did you try anchoring objects to get the right hierarchy?
    Just a shot in the dark…
    Uwe

  • Groups/users and their priviligies

    Hi,
    I have created an application and that application has forms, reports, meunes, page with three tabs for Admin, Librarian and Reports. I put some portlets of Forms etc in different tabs. Now i want that the Admin can access and see all tabs, Librarian can access and see Librarian and Reports tab while Users just can see and run Reports. For that i created three groups
    Admin_group, Librarian_group and user_gropus. For each group i created test users and attach or add these users to the group. To each group i gave execute permission of the application. After that i went to the page and on the page i assign follwoing permission to the tab.
    Reports: all three groups(view only)
    Librarian: Librarian_group and admin_group view_only
    Admin: Admin_group view_only.
    Then i log on as a test user of the User_groups but i was just able to see the report tab but not the menue (which is portlet in this page). Same with other tabs and users. I want to know what i am missing.
    Your help will be highly appreciated.
    Thanks
    Muhammad Ejaz Azimi

    Hi,
    I have created an application and that application has forms, reports, meunes, page with three tabs for Admin, Librarian and Reports. I put some portlets of Forms etc in different tabs. Now i want that the Admin can access and see all tabs, Librarian can access and see Librarian and Reports tab while Users just can see and run Reports. For that i created three groups
    Admin_group, Librarian_group and user_gropus. For each group i created test users and attach or add these users to the group. To each group i gave execute permission of the application. After that i went to the page and on the page i assign follwoing permission to the tab.
    Reports: all three groups(view only)
    Librarian: Librarian_group and admin_group view_only
    Admin: Admin_group view_only.
    Then i log on as a test user of the User_groups but i was just able to see the report tab but not the menue (which is portlet in this page). Same with other tabs and users. I want to know what i am missing.
    Your help will be highly appreciated.
    Thanks
    Muhammad Ejaz Azimi

  • Suppress auto sequence and trigger DDL for surrogate keys?

    Is there a way to suppress trigger and sequence creation for surrogate keys when export to DDL file?
    I know most of the time the automatic sequence and trigger creation is welcome and very handy.
    However I'm migrating from an old Designer model and there only the needed sequences are created.
    They have a different name and trigger logic is custom (and  generated outside designer).
    There is a lot of package code depending on this. So I prefer to create and use different sequences.
    Is there a way to achieve this? Any tips are welcome.Create

    Hi,
    Note that generating the DDL for Oracle 12c means that it will attempt to use your Oracle 12c Physical model.  So if you normally use Oracle 10g or 11g, you will find that any details from your Oracle 10g or 11g Physical Model will not be included.  So this approach may have other implications for you.
    If you are not using Oracle 12c, there are some relevant properties on the Auto Increment tab of the Relational Model properties dialog for the Column which may help:
    Sequence Name - allows you to specify the name of the Sequence (which can be the name of a Sequence defined in the relevant Physical Model).
    Trigger Name - allows you to specify the name of a Trigger (which can be the name of a Trigger that is defined for the Table in the Physical Model).
    Generate Trigger - unsetting this will stop the Trigger being generated.
    David

  • Display "group name" values and their average formulas (calculation of average age) on a single line or row

    <p>I have four groupings, Domain, Area, Priority (3rd level of grrouoping) and then Problem ID. Priority group could have values such as &#39;1&#39;, &#39;2&#39;, &#39;3&#39;, &#39;4&#39; and &#39;5&#39; with corresponding "average" age formula on these group level. values.</p><p>Example:  1         Avg Age= 30</p><p>               2         Avg Age= 45</p><p>               3         Avg Age= 69</p><p>Reguirement:  Display group name values and their corresponding average formula on a single line/row.</p><p>Sample Solution:   Priority 1 = 30, Priority 2 = 45, Priority 3 = 69 </p><p> ***solution above should be displayed/concatenated on one line.</p><p>Your help is greatly appreciated, thank you in advance.</p>

    So right now - your report looks like this
    GroupHeader 1
       GroupHeader 2
           Priority 1 = 50         (actual display of Group 3)
           Priority 2 = 75         (actual display of Group 3)
           Priority 3 = 45         (actual display of Group 3)
           Priority 4 = 9          (actual display of Group 3)
           Priority 5 = 8          (actual display of Group 3)
    And you want to change that so that it displays horizontally.
    If there will only ever be 5 priorities, I think I would cheat the system a bit.  Create a formula that runs at the group 3 level and dumps the values into 5 separate variables (formula below).
    Then create 5 separate display formulas and put them in Group Footer 2 (if you already have a GF2 - then create a second one and move it above your current GF2).  Suppress the G3 section and you should be close to what you are after (unless you also have detail sections, then we'll need to revisit).
    This could also be accomplished with a multi-column subreport at the G2 or G3 level if you need more flexibility.
    formula *******
    numbervar priority1;
    numbervar priority2;
    numbervar priority3;
    numbervar priority4;
    numbervar priority5;
    if {DB.Priority} = 1 then priority1:= {@avgGroupPriorityAvgAge}
    else if {DB.Priority} = 2 then priority2:= {@avgGroupPriorityAvgAge}
    else if {DB.Priority} = 3 then priority3:= {@avgGroupPriorityAvgAge}
    else if {DB.Priority} = 4 then priority4:= {@avgGroupPriorityAvgAge}
    else if {DB.Priority} = 5 then priority5:= {@avgGroupPriorityAvgAge}

  • Sorting sequence of custom nodes

    How can one sort a sequence of custom nodes based on an arbitrary value?
    For example:
    Say you create a custom node of a person with their favorite number:
    var myNode : CustomNode = CustomNode{
        var personName: "John Smith"
        var personFavoriteNumber: 15
    //Create a sequence of CustomNode with different names and favorite numbers
    var customNodeSequence : CustomNode[] = .....My question is, how can you sort the sequence based off 'personName' (Alphabetically) or by their favorite number 'personFavoriteNumber' sequentially?
    I was reading [this article|http://blogs.sun.com/michaelheinrichs/entry/creating_javafx_sequences_in_java] and I'm curious to know more about this when he mentions the following:
    sort - Creates a new sequence by sorting the elements of a given sequence. The order can be induced either by the natural order of the elements, if they implement java.util.Comparable, or by providing a java.util.Comparator of the elements.+
    I believe it's related to [this thread|http://forums.sun.com/thread.jspa?threadID=5330227&tstart=31] , but I'm trying to figure out how to actually compare a custom node's variable with that of another. I'm not entirely sure how the comparator illustrated in this thread works.

    Found a solution.
    Here's a reference page: click
    var sortSeq = Sequences.sort(customNodeSequence , Comparator{
            public override function compare(o1 : Object, o2 : Object) : Integer{
                (o1 as CustomNode).personName.toLowerCase().compareTo((o2 as CustomNode).toLowerCase().personName);
    var customNodeSequenceSorted = (sortSeq as CustomNode[]); //sortSeq returns as object[], so you may have to type cast if you explicitly casted the destination sequence somewhere else

  • Displaying custom UI elements on timeline in Sequence Monitor

    Is it possible to display custom UI elements in the region highlighted in red?
    I'm looking for a way to highlight certain frames in the Sequence Monitor in Premiere Pro. For example imagine my plugin made some changes in frame 10, 16, 20. I'd like to highlight those frames on the timeline so the user can find them easily.
    Is this possible?
    Many thanks

    Ann's right, markers are the way to go.
    Yoshi, you're referencing the C++ plug-in SDK; the HTML5 panel SDK supports adding and manipulating markers. Here's the sample panel (which, conveniently, adds and manipulates markers):
    https://github.com/Adobe-CEP/Samples/tree/master/PProPanel
    Here's how to set up a panel development environment:
    https://github.com/Adobe-CEP/Samples/blob/master/PProPanel/payloads/PPro_Panel_QuickStart_ Guide.pdf
    Feel free to ask me anything; here, if the topic is of general interest, or directly at [b b b at adobe dot com] if it's proprietary.

  • Xs:group refs and "ORA-30936: Maximum number (1) of XML nodes exceeded'

    We registered a subset of the IBM DITA schemas in Oracle XDB. These schemas contain a lot of xs:group definitions where references to these groups contain "minOccurs" and "maxOccurs" atttributes, for instance:
    <xs:group name="category">
    <xs:sequence>
    <xs:element ref="category"/>
    </xs:sequence>
    </xs:group>
    <xs:complexType name="metadata.class">
    <xs:sequence>
    <xs:group ref="audience" minOccurs="0" maxOccurs="unbounded"/>
    <xs:group ref="category" minOccurs="0" maxOccurs="unbounded"/>
    <xs:group ref="keywords" minOccurs="0" maxOccurs="unbounded"/>
    <xs:group ref="prodinfo" minOccurs="0" maxOccurs="unbounded"/>
    <xs:group ref="othermeta" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="mapkeyref" type="xs:string"/>
    <xs:attributeGroup ref="global-atts"/>
    <xs:attribute ref="class" default="- topic/metadata "/>
    </xs:complexType>
    When we create an instance document that contains more than one "category" element under the element "metadata" element, like:
    <metadata>
    <audience type="purchaser" othertype="" job="using" otherjob="" experiencelevel="general"/>
    <category/>
    <category/>
    </metadata>
    we get the error: ORA-30936: Maximum number (1) of 'category' XML node elements exceeded
    This error is not consistent with the schema and XML parsers like Xerces and the Oracle "XDK parser" think the instance is fine.
    When we skip the reference to the group and reference the element definition "category" directly the problem is gone:
    <xs:complexType name="metadata.class">
    <xs:sequence>
    <xs:group ref="audience" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element ref="category" minOccurs="0" maxOccurs="unbounded"/>
    <xs:group ref="keywords" minOccurs="0" maxOccurs="unbounded"/>
    <xs:group ref="prodinfo" minOccurs="0" maxOccurs="unbounded"/>
    <xs:group ref="othermeta" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="mapkeyref" type="xs:string"/>
    <xs:attributeGroup ref="global-atts"/>
    <xs:attribute ref="class" default="- topic/metadata "/>
    </xs:complexType>
    In this case the problems for the other group references like "audience" remain.
    It looks like Oracle XDB doesn't honor the cardinality attributes "minOccurs" and "maxOccurs" on xs:group elements that are references. Does anyone experienced similar problems?
    Thanks,
    Maarten

    This sounds like bug 5204107. You'll need to open a tar with Oracle Support if you need a fix for this..
    It happens when a group is used once without a maxOccurs and then later with a maxOccurs.
    The workaround is 'in-line' the group before registering the XML Schema. This can be done as follows (assuming the group definition and reference are in the same XML Schema)..
    procedure expandGroup(xmlschema in out xmltype, groupName varchar2,xsdDirectory varchar2)
    is
      xsdSchemaPath varchar2(512);
      groupModel xmltype;
      sequenceModel xmlType := xmlType('<xsd:sequence ' || xdb_namespaces.XMLSCHEMA_PREFIX_XSD || '><xsd:sequence/></xsd:sequence>');
      maxOccursValue binary_integer;
    begin
      -- FInd the Group Definition
      if xmlSchema.existsNode('/xsd:schema//xsd:group[@ref="' || groupName || '"]',NAMESPACES) = 1 then
        if xmlSchema.existsNode('/xsd:schema/xsd:group[@name="' || groupName || '"]',NAMESPACES) = 1 then
          select extract
                   xmlSchema,
                   '/xsd:schema/xsd:group[@name="' || groupName || '"]',
                   NAMESPACES
            into groupModel
            from dual; 
        else
          dbms_output.put_line('xsdDirectory = ' || xsdDirectory);
          select PATH,
                 extract
                   CONTENTS,
                   '/xsd:schema/xsd:group[@name="' || groupName || '"]',
                   NAMESPACES
            into xsdSchemaPath, groupModel
            from (
                   select PATH, xdburitype(path).getXML() CONTENTS
                     from PATH_VIEW
                    where under_path(res,xsdDirectory) = 1
           where existsNode
                   CONTENTS,
                   '/xsd:schema/xsd:group[@name="' || groupName || '"]',
                   NAMESPACES
                 ) = 1;
           dbms_output.put_line('Resolved ' || groupModel.extract('/xsd:group/@name',NAMESPACES).getStringVal() || ' in Schema ' || xsdSchemaPath);
        end if;
        if groupModel.existsNode('/xsd:group/xsd:annotation',NAMESPACES) = 1 then
          select deleteXML
                   groupModel,
                   '/xsd:group/xsd:annotation',
                   NAMESPACES
            into groupModel
            from dual;
        end if;
        -- create a sequence that can be placed in-line in the XML Schema to replace the <group ref=""/>
        groupModel := groupModel.extract('/xsd:group/*',NAMESPACES);
        select updateXML
                 sequenceModel,
                 '/xsd:sequence/xsd:sequence',
                groupModel,
                 NAMESPACES
          into sequenceModel
          from dual;
        if xmlSchema.existsNode('/xsd:schema//xsd:group[@ref="' || groupName || '" and not(@maxOccurs)]',NAMESPACES) = 1 then
          select updateXML
                   xmlSchema,
                   '/xsd:schema//xsd:group[@ref="' || groupName || '" and not(@maxOccurs)]',
                  sequenceModel,
                   NAMESPACES
            into xmlSchema
            from dual;
        end if;
        select insertChildXML
                 sequenceModel,
                 '/xsd:sequence',
                 '@maxOccurs',
                 'unbounded',
                 NAMESPACES
          into sequenceModel
          from dual;
        if xmlSchema.existsNode('/xsd:schema//xsd:group[@ref="' || groupName || '" and @maxOccurs="unbounded"]',NAMESPACES) = 1 then
          select updateXML
                   xmlSchema,
                   '/xsd:schema//xsd:group[@ref="' || groupName || '" and @maxOccurs="unbounded"]',
                   sequenceModel,
                   NAMESPACES
            into xmlSchema
            from dual;
        end if;
        while xmlschema.existsNode('/xsd:schema//xsd:group[@ref="' || groupName || '"]',NAMESPACES) = 1 loop
          maxOccursValue := xmlSchema.extract('/xsd:schema//xsd:group[@ref="' || groupName || '"]/@maxOccurs').getNumberVal();
          select updateXML
                   sequenceModel,
                  '/xsd:sequence/@maxOccurs',
                   maxOccursValue,
                   NAMESPACES
            into sequenceModel
            from dual;
          select updateXML
                   xmlSchema,
                   '/xsd:schema//xsd:group[@ref="' || groupName || '" and @maxOccurs="' || maxOccursValue || '"]',
                   sequenceModel,
                   NAMESPACES
            into xmlSchema
            from dual;
        end loop;
      end if;
    end;
    --

  • Display users and their resposibilites

    Dear all,
    I need a query to display all the application users with their responsibility assigned and the request group (ids).
    Atlease let me know from which tables I can fetch those details.....
    Thanks
    Yusuf

    Yusuf,
    You may try the following:
    SQL> SELECT distinct u.user_id, u.user_name, r.responsibility_name
    FROM fnd_user u,
    fnd_user_resp_groups g,
    fnd_application_tl a,
    fnd_responsibility_tl r
    WHERE g.user_id(+) = u.user_id
    AND g.responsibility_application_id = a.application_id
    AND a.application_id = r.application_id
    AND g.responsibility_id = r.responsibility_id
    ORDER BY 2;

  • What is it with Verizon lately and their lack of concern for customer satisfaction?

    I am increasingly frustrated with Verizon and their lack of concern for customer satisfaction.  I have been with them since they began and through the years they have become less and less customer friendly.  All I want to do is do an early upgrade to the IPhone 6, I have one line that is out of contract, two that will be up in May and one in October.  All the lines are eligible for early edge but only if we take a Motorola phone we do not want because they have some contact with them to push phones no one wants.  Seriously Verizon what the heck is wrong with you, trying to force people who have been loyal to you to take a phone they don't want because they paid you to do so.  I'm not trying to leave for the competition but at this point I may have to.  I had even checked back in November when I saw we were eligible for the early edge and was told we could only do the Motorola phone but that promotion would be over Dec 31 and after that we could upgrade to any phone we wanted.  Imagine my disappointment when we go to a verizon store to find out that was a lie and they entered into another lame contract with Motorola to push a diffent phone (last years model that didn't sell) and we would be forced to take one.  I contact customer service and was told to bad, sorry we lied to you but it's either that phone or wait out your contract.  Well maybe it's time to switch because it's very obvious that Verizon no longer cares about their customers, hey Verizon can you hear me now?

    I'm not trying to get out of my contract, I have been with Verizon for 15+ years and have always been able to do an early upgrade, we just forgo the discount $50 or $100 we would get off the new phone.  I have been told several times by Verizon employees that if I am within 6 months of my contract end I could do an early upgrade I just would not get the additional money off.  I was also told in November that I could do the edge up for any phone after Dec 31st.   I was lied to and that seems to be happening more and more.  Verizon has been changing its practices to the detriment of its loyal customers.  One of the reasons I liked Verizon and stayed with them for so long was because they were always willing to work with their customers and Verizon can change or alter their agreements anytime they want.  I wish they would train their emploves not to be deceptive and tell people one thing and then do another. I can understand if I was trying to cancel my contract but I am not and would be extending my contract by two years as opposed to leaving in the next 6 months.

  • Creation of sequence and trigger for each table!!!!!!!1

    Hi
    I am new to trigger and Sequence field. In one of my database we have many tables with fields for specifing ID numbers. Iam planning to insert the ID field with help of a Sequence and trigger...that trigger fires by adding the sequence value from the dual table. Now the point is here we r having around *60* table with ID field. And i am planning use the above process for each table by creating sequences and trigger for each table.
    Will this affects the performance of database.
    Is there any other option other than the above process, I mean other than creating sequences and trigger for each table.
    PLzz help to resolve this issuee......
    Shiyas
    Edited by: user13170361 on Jun 7, 2010 12:37 AM

    Tiger, I didn't mind about your comment, but the point is try to use
    select NVL(max(a) + 1,1) into i from p1_temp;This line in your trigger code and see what is happening. The problem is with your trigger. You are using group by function and you will not get no_data_found !
    For more help, this is some modification of your code.
    SQL> create table p1_temp (a number(10) primary key, b number(10));
    Table created.
    SQL> create or replace trigger trg_p1_temp
      2  before insert on p1_temp for each row
      3  declare
      4  i number(10);
      5  begin
      6  begin
      7  select NVL(max(a) + 1,1) into i from p1_temp;
      8  exception
      9  when no_data_found then
    10  i := 1;
    11  end;
    12  :new.a := i;
    13  end;
    14  /
    Trigger created.
    SQL> insert into p1_temp(b) values (1);
    1 row created.
    SQL> insert into p1_temp(b) values (2);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select * from p1_temp;
             A          B
             1          1
             2          2
    SQL> Edited by: Saubhik on Jun 7, 2010 2:30 AM

Maybe you are looking for

  • What's the maximum size of an array in labview? LV run out of memory

    I want to create a 1D array of 40M element of Double: so I use Initialize Array, element is double 1, dimension size is 40M (and put a Sum at the end so as to make sure lv do attempt to create that array). Supposed this only need 320M of memory, and

  • Open to File bookmark gets broken during installation

    When I try to create a bookmark with the action "Open to File", everything works perfectly until I install the PDF to another computer. I use InstallShield 2009 to create the same file structure on the new computer but when the user clicks on the lin

  • Problems while performing lookup for Local EJBs

    Can anybody tell me how can i perform local ejb lookup in Sun app Server 8.0/8.1 ? I have following entries in ejb-jar.xml. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"

  • Custom date format -every time? dd/mm/yy

    I'm ding my first biggish form so there is a list of issues I'm trying to resolve here, bear with me... I'm in europe and we like the dd/mm/yy date format but this isn't a default option to choose from so I have to put in custom, dd/mm/yy every time

  • Safari can not open page-but I can open manually

    my default page is my yahoo page that used to open when I opened a new web page It was working fine yesterday. I started safari and I get the can't open page message. I can open it manually but not when I open a new window. It was working fine and th