Components visibility depending on permission

Hi all,
WebCenter Spaces (and Composer in custom apps as well)
currently using WebCenter 11gPS1
What I want to achieve: components that are added to a Space/page at run time are visible only for users/Space members with a certain role/permission.
I am thinking about setting the Component visibility using an EL Expression. I am looking for the EL expression to use that refers to permissions of the current user. I have found #{securityContext.userName} . Now I try to find some expression that allows me to test whether a user has a permission (something like #{securityContext.hasPermission['some permission']}).
Does anyone know how I can use EL to test for the current user's permission(s)?
Or alternatively: does anyone know another way to define access to components - such as images, rich text blocks and custom task flows or portlets - based on permissions?
thanks.
Lucas

In order to make use of WebCenter Spaces classes such as Space, SpaceContext and WCSecurityManager, I had to add the WebCenter Spaces Client library to project. To ensure the compilation from the Ant script succeeds, I also have to add the required Jar files to the internal-targets.xml file (or at least that was a way to get it work):
<path id="library.WebCenter.Spaces.Client">
      <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/webcenter-core-api.jar"/>
      <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/spaces-api.jar"/>
      <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/spaces-webservice-client.jar"/>
   </path>
  <path id="classpath">
     <path refid="library.ADF.Common.Runtime"/>
     <path refid="library.WebCenter.Spaces.Client"/>
   </path>Note: my colleague Aino Andriessen takes all the credits here.
This allowed us to deploy and run a bean with code like this:
    public String getText() {
        String text = "start:";
        Space space = SpacesContext.getCurrentInstance().getCurrentSpace();
        WCSecurityManager secMgr;
        text = text + "members";
        try {
            secMgr = space.getSecurityManager();
            List<MemberInfo> m = secMgr.getMemberInfo();
            for (MemberInfo minf : m) {
                text = text + ";" + minf.getName();
                text = text + "roles:";
                List<oracle.webcenter.webcenterapp.security.RoleInfo> roles =
                    minf.getRoles();
                for (RoleInfo rinf : roles) {
                    text = text + "-" + rinf.getName() + "|" + rinf.getPolicyRoleName() + "/";
        } catch (SpacesException e) {
        } catch (WCSecurityException e) {
        return text;
    }

Similar Messages

  • MRP type "VB" components generated dependent reqt. after MRP by sales order

    Good morning to all SAP gurus
            I hav scenario for mech. industry where we r going to implement MRP run , having FERT which is MTO scenario and " PD" MRP type.and its BOM components having MRP type "VB" with no strategy type. At MRP run after creating sales order system generated purchase requisition for components(ROH) depends on sales order requirements along with reorder point PR. So please help me system shouldn't generate PR depends on sales order requirements should create as per reorder point PR only.
           EX.   To manu. 1 nos of FERT  (PD) required 1 nos of ROH (VB) . we r creating sales order of 10 nos. , reorder pt is 11 and
    stock is 15. after mrp run system generated PR for 10 nos which is dependent for sales order.
           Pls elaborate regarding above scenario. Thanks in advance.
    Regards
    siva

    Dear
    Practically speakig , system should generate special stock PR as you are dealing with MTO sales order and MRP should plan the depedent requirement accordingly based on the MRP4 -Indiviaul and Collective Indicator -1 .
    But , if you do not want to consider it as special stock  , then you need to assing MRP4 Individual and Collective Indicator -2  and run MRP MD02-2,1,1,3,3  .
    In you case , you have already stock 15 pc  and ROP -10 , so system will not genreate any PR because , it will fullfill the requurement ( 10 PC FERT -10 ROH)  .Once the stock fall behind 10 , then it will trigger PR  .
    Hope this is clear
    Regards
    JH

  • Makeing subforms visible depending on what is selected from the dropdown

    Good day all;
    Looks like I am batting “0” today. For some reason I am not able to get a number of things to work today… Maybe I should just write this day off as a loss..;>))
    Any way; I am trying, without success to get sub forms to become visible depending on what is selected from a dropdown. I have tried using “switch” (see below) but I end up getting the famous “Syntax” error.
    I have also tried an “if” (see below) statement, but that did not seem to work either.
    What I would like to have happen is when a user selects 1 of 2 choices 1 of 2 sub forms becomes visible.
    As well, if the user has initially selected the wrong dropdown and they select now select the correct one, I would like the incorrect sub form to become invisible again.
    I would appreciate any help
    switch (this.rawValue)
        case "2":
        staffing_inter.presence = "visible";
    else
    staffing_inter.presence = "hidden";
        break;
    IF statement
    if(this.rawValue = 2 )
        staffing_inter.presence = "visible"
    else{
    staffing_inter.presence = "hidden";

    Thank you Jono and Niall;
    I was looking through the forum and found a post by Niall that appears to be working; I was wondering if this should be used or the one that Jono has posted...
    staffing_inter.presence = "hidden";
    staffing_inter.preAsence = "hidden";
    // Then show the appropriate one
    if (this.rawValue == "2") {
    staffing_inter.presence = "visible";
    else if (this.rawValue == "3") {
        staffing_exter.presence = "visible";

  • Developing new Swing Components - Visibility problems with UI classes

    I was wondering if anyone out there had run into the following problems when developing new Swing components. If so it might be worth banding together and putting pressure on Sun to fix them. However, if no one else develops new Swing components then I guess I'm just a lone voice...
    I have been writing a new dockable toolpanel Swing component and when it came to implementing the UI manager I was unable to access many of the standard features in basic and metal LAFs because they had been made package protected. This forced me to reimplement quite a bit of existing code which took time as well as being bad practice.
    While in some cases I can understand this from a security POV I am pretty sure that in this case it is the result of lazy programming practice. Appart from basic architectural reasons for this I have noticed a trend where newer code seems to suffer from this more than the original code. The practice of using package protection reminds me of C++ style coding, or just that of an inexperienced developer who does not understand the need to code for extensibility.
    An additional problem arises because the Security manager stops you cheating the system by putting new classes into the javax.swing.plaf... package structure. Thus the only way to solve this nicely is a proper fix.
    This would entail going through all the UI PLAF classes and rationalizing the visibility to either public or protected as appropriate. Really there should be minimal use of package protection unless it is vital for security concerns.
    Some Examples (there are many more):
    javax.swing.plaf.basic.LazyActionMap
    javax.swing.plaf.basic.BasicBorders.RolloverMarginBorder
    javax.swing.plaf.basic.BasicBorders.SplitPaneDividerBorder (why are just these two classes package protected when all the others are public?)
    javax.swing.plaf.metal.MetalUtils
    javax.swing.plaf.metal.MetalBumps
    Anyway, I am happy to give advice to other poor saps who wind up fighting the UI manager but it would be better if we could get Sun to sort out this mess (after all they created it).
    Cheers, Lewis

    It may be more a case of creating new Swing components and trying to provide support for all the standard LnFs.
    This is very awkward although you can sometimes achieve what you want by borrowing resources from UIManager (a border here, an icon there etc.).
    Essentially the problem is that Swing is designed to have new components added to it but the standard LnFs aren't quite so accommodating!

  • Field visibility depending profile

    Hello,
    Is it possible to hide fields depending the user profile?
    On a Service Request, we would like to have a field which is visible and editable by the manager, but hidden on the agent screen.
    As we will implement 2 different profiles for these 2 kind of users, if I create 2 different Service Request page layout, one for each profile, will it work?
    I have created a weblink which copy my SR (not all fields). Will it copy my hidden field?
    Thanks in advance

    Ok, thanks!
    I know R17 will provide the Copy function, but here, it is a kind of selective copy function. I do not copy all field... But the hiden field should be copied.
    If I integer the field in the URL, will it be copied? even if the agent do not see it on its screen?
    Thanks in advance,
    Laurent

  • Making tab pages visible depending on user

    i am having 4-5 tabs in my application.
    i want to appear them depending on the previlages of users .
    i mean if that user is eligle to see that dta then only that corrosponding tab shud be visible.
    how to do this?
    thanx in advance
    chaitali

    Click the edit option on the Tab,
    then click the Advanced Options tab
    and choose Specify Access Settings.

  • JDialog size and components visibility

    hi
    I have a JDialog in which i have a panel and in the panel i have the components arranged as
    Label1 Label2
    Label3 TextBox1
    Label4 TextBox2
    Button1 Button2
    I have used GridBagLayout for the panel as well as for the Dialog.The following is the code i have used to create the JDialog,panel and its components
    JDialog inputdialog=new JDialog(this,true);
    inputdialog.setTitle("Modify");
    GridBagLayout layout=new GridBagLayout();
    JPanel panel=new JPanel();
    panel.setLayout(layout);
    GridBagConstraints gbc = new GridBagConstraints();
    JLabel key=new JLabel("Key");
    gbc.gridx=0;
    gbc.gridy=0;
    gbc.gridwidth=1;
    gbc.gridheight=1;
    gbc.anchor=gbc.CENTER;
    layout.setConstraints(key,gbc);
    panel.add(key);
    JLabel keylabel=new JLabel();
    keylabel.setText("SIMPLE");
    gbc.gridx=1;
    gbc.gridy=0;
    gbc.gridwidth=1;
    gbc.gridheight=1;
    gbc.anchor=gbc.NORTHWEST;
    // gbc.insets=new Insets(0,0,0,200);
    layout.setConstraints(keylabel,gbc);
    panel.add(keylabel);
    JLabel value=new JLabel("Value");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.gridwidth=1;
    gbc.gridheight=1;
    gbc.anchor=gbc.CENTER;
    layout.setConstraints(value,gbc);
    panel.add(value);
    JTextField valueTextField=new JTextField();
    gbc.gridx=1;
    gbc.gridy=1;
    gbc.gridwidth=1;
    gbc.gridheight=1;
    gbc.anchor=gbc.NORTHWEST;
    gbc.ipadx=100;
    layout.setConstraints(valueTextField,gbc);
    panel.add(valueTextField);
    JLabel comment=new JLabel("Comment");
    gbc.gridx=0;
    gbc.gridy=2;
    gbc.gridwidth=1;
    gbc.gridheight=1;
    gbc.anchor=gbc.CENTER;
    gbc.insets=new Insets(0,125,0,3);
    layout.setConstraints(comment,gbc);
    panel.add(comment);
    JTextField commentTextField=new JTextField();
    gbc.gridx=1;
    gbc.gridy=2;
    gbc.gridwidth=3;
    gbc.gridheight=1;
    gbc.ipadx=300;
    gbc.insets=new Insets(0,0,0,70);
    gbc.anchor=gbc.NORTHWEST;
    layout.setConstraints(commentTextField,gbc);
    panel.add(commentTextField);
    JButton ok=new JButton("OK");
    gbc.gridx=1;
    gbc.gridy=3;
    gbc.gridwidth=1;
    gbc.gridheight=1;
    gbc.ipadx=30;
    gbc.ipady=10;
    layout.setConstraints(ok,gbc);
    panel.add(ok);
    JButton cancel=new JButton("Cancel");
    gbc.gridx=2;
    gbc.gridy=3;
    gbc.gridwidth=1;
    gbc.gridheight=1;
    gbc.ipadx=30;
    gbc.ipady=10;
    gbc.insets=new Insets(0,0, 0,150 );
    layout.setConstraints(cancel, gbc);
    panel.add(cancel);
    inputdialog.setLayout(layout);
    gbc.gridx=0;
    gbc.gridy=0;
    gbc.ipadx=0;
    gbc.ipady=0;
    gbc.anchor=gbc.FIRST_LINE_START;
    gbc.insets=new Insets(80,0,900,1000);
    layout.setConstraints(panel,gbc);
    inputdialog.getContentPane().add(panel);
    inputdialog.setSize(400,200);
    inputdialog.setVisible(true);
    My question is i have set the Dialog size using setSize(400,200) but when the dialog is opened the components are not visible for that size of the dialog,the components appear only when the Dialog is maximized,i do not want that to happen i want the components to appear in the Dialog when the size of the Dialog is (400,200) and not when it is maximized.What should i do?
    thanks

    Hopefully this example would give you some ideas:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class DialogTest extends JFrame implements ActionListener {
         public DialogTest() {
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JButton button = new JButton("Show Dialog");
              button.addActionListener(this);
              getContentPane().add(button);
              pack();
              setLocationRelativeTo(null);
              setVisible(true);
         public void actionPerformed(ActionEvent e) {
              JDialog dialog = new JDialog(this, true);
              dialog.setTitle("Testing");
              JPanel panel = new JPanel(new GridBagLayout());
              GridBagConstraints c = new GridBagConstraints();
              JLabel label;
              JButton button;
              JTextField textField;
              label = new JLabel("Key");
              c.gridx = 0;
              c.gridy = 0;
              c.insets = new Insets(5, 10, 5, 10);
              c.anchor = GridBagConstraints.CENTER;
              c.fill = GridBagConstraints.HORIZONTAL;
              panel.add(label, c);
              label = new JLabel("SIMPLE");
              c.gridx = 1;
              c.gridy = 0;
              panel.add(label, c);
              label = new JLabel("Value");
              c.gridx = 0;
              c.gridy = 1;
              panel.add(label, c);
              label = new JLabel("Comments");
              c.gridx = 0;
              c.gridy = 2;
              panel.add(label, c);
              textField = new JTextField(10);
              c.gridx = 1;
              c.gridy = 1;
              c.gridwidth = 2;
              c.insets = new Insets(5, 10, 5, 120);
              panel.add(textField, c);
              textField = new JTextField(20);
              c.gridx = 1;
              c.gridy = 2;
              c.insets = new Insets(5, 10, 5, 10);
              panel.add(textField, c);
              button = new JButton("OK");
              c.gridx = 1;
              c.gridy = 3;
              c.ipadx = 50;
              c.gridwidth = 1;
              panel.add(button, c);
              button = new JButton("Cancel");
              c.gridx = 2;
              c.gridy = 3;
              c.insets = new Insets(5, 5, 5, 50);
              panel.add(button, c);
              dialog.getContentPane().add(panel);
              dialog.pack();
              dialog.setVisible(true);
         public static void main(String[] args) { new DialogTest(); }
    }

  • CMOD Transaction - no project components visible

    Hi!
    I have created a project in CMOD, some enhancements are assigned as well and project is activated, but when I press on Components - nothing happens...
    As well when I try to assign enhancement LVEDF001 to project, it sais that this enhancment is assigned already, but not visible in the list of enhancements.
    Any ideas?
    Will reward,
    Mindaugas

    Hi,
    The system will tell you that enhancement LVEDF001 was belong to which project(existing) when you try to assign to your new project (CMOD)
    Regards,
    Ferry Lianto

  • Making components visible

    Hi there,
    Heres my problem.I ask the user how many textboxes the require.If they say ten then I create 10 textboxes ,add theese to a panel and then add the panel to the main frame.This works but the panel is not visible until the main frame is resized.How can I get the panel and its components to appear.I have tried setvisible(),repaint() and all them.Has anyone any ideas?
    Thankyou
    Peter

    Have you tried validate() on the main frame?

  • SharePoint 2013 Discussion items "visibility" depending on permession for specific groups and users

    Hello,
    I have a blank site in SharePoint 2013 in which i activated `CommunityFeature` and i created a discussion board app which is displayed in a web part.
    Now, i want to be able to change the discussion visibility ... E.g. when i click on new discussion i want to have a people picker that allows me to choose people or groups that are allowed to see and reply for that discussion...
    How can this be made? can anyone help me please?

    Hi,
    The OOTB feature “Audience Targeting” on list item will be capable of your requirement.
    “List or library items can be targeted to appear only to people who are members of a particular group or audience”.
    More information about
    Audience Targeting:
    http://office.microsoft.com/en-001/sharepoint-server-help/target-content-to-specific-audiences-HA010169053.aspx
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Combobox visible depending on the selection in a previous combobox

    I've 5 Combo Box
    please help me to find a way to resolve my problem :
    i want that when I select in the first combobox, the second one becomes visible and the first one becomes invisible, and when i select in the second one, the third one becomes visible and the second invisible ...........etc
    the code :
    1st combobox :
    search_motif.prompt = "Select Motif";
    var xmlLoader:URLLoader = new URLLoader();
    var xmlData:XML = new XML();
    var xmlAry:Array = new Array();
    xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
    xmlLoader.load(new URLRequest("motif.xml"));
    function LoadXML(e:Event):void {
        xmlData = new XML(e.target.data);
        trace(xmlData..motifName.length());
        for(var i:uint=0;i<xmlData..motifName.length();i++)
            xmlAry.push(xmlData..motifName[i]);
            search_motif.addItem( { label: xmlAry[i], data:xmlAry[i] } );
    2nd combobox :
    search_age.prompt = "Select age";
    var xml2Loader:URLLoader = new URLLoader();
    var xml2Data:XML = new XML();
    var xml2Ary:Array = new Array();
    xml2Loader.addEventListener(Event.COMPLETE, LoadXML2);
    xml2Loader.load(new URLRequest("age.xml"));
    function LoadXML2(e:Event):void {
        xml2Data = new XML(e.target.data);
        trace(xml2Data..ageName.length());
        for(var j:uint=0;j<xml2Data..ageName.length();j++)    {
            xml2Ary.push(xml2Data..ageName[j]);
            search_motif.addItem( { label: xmlAry[j], data:xmlAry[j] } );
    and 3rd combobox, 4th combobox .....................

    import fl.data.DataProvider;
        import flash.display.MovieClip;
    import flash.events.Event;
    import fl.events.ComponentEvent;
    import fl.controls.ComboBox;
    var allUserbase:Array = [];// contains all dgtc like in xml
    var currentUserbase:Array = [];// contains dgtc that need to be displayed
    var _loader:URLLoader = new URLLoader();
    var _data:XML = new XML();
    _loader.addEventListener(Event.COMPLETE, readXML);
    _loader.load(new URLRequest("userbase.xml"));
    function readXML(event:Event):void
    _data = new XML(event.target.data);
    for each (var usr in _data.user)
    allUserbase.push({grv: usr.@grv, dgtc: usr.@dgtc, age: usr.@age, motif: usr.@motif, motif2: usr.@motif2, motif3: usr.@motif3, motif4: usr.@motif4, motif5: usr.@motif5, motif6: usr.@motif6, motif7: usr.@motif7, motif8: usr.@motif8, motif9: usr.@motif9, motif10: usr.@motif10, exneuro: usr.@exneuro, expleuro: usr.@expleuro, excardio: usr.@excardio ,exabdo: usr.@exabdo, pl: usr.@pl});
    currentUserbase = allUserbase.concat();
    updateList();
    function updateList():void
    userList.dataProvider = new DataProvider ();
    for (var i:int = 0; i<currentUserbase.length; i++)
    userList.addItem({label:currentUserbase[i].dgtc, data: currentUserbase[i].id});
    // Combobox age:
    search_age.prompt = "Select age";
    var xml2Loader:URLLoader = new URLLoader();
    var xml2Data:XML = new XML();
    var xml2Ary:Array = new Array();
    xml2Loader.addEventListener(Event.COMPLETE, LoadXML2);
    xml2Loader.load(new URLRequest("age.xml"));
    function LoadXML2(e:Event):void {
        xml2Data = new XML(e.target.data);
        trace(xml2Data..ageName.length());
        for(var j:uint=0;j<xml2Data..ageName.length();j++)    {
            xml2Ary.push(xml2Data..ageName[j]);
            search_motif.addItem( { label: xmlAry[j], data:xmlAry[j] } );
    // Combobox motif:
    search_motif.prompt = "Select Motif";
    var xmlLoader:URLLoader = new URLLoader();
    var xmlData:XML = new XML();
    var xmlAry:Array = new Array();
    xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
    xmlLoader.load(new URLRequest("motif.xml"));
    function LoadXML(e:Event):void {
        xmlData = new XML(e.target.data);
        trace(xmlData..motifName.length());
        for(var i:uint=0;i<xmlData..motifName.length();i++)
            xmlAry.push(xmlData..motifName[i]);
            search_motif.addItem( { label: xmlAry[i], data:xmlAry[i] } );
    // Combobox exneuro:
    search_exneuro.prompt = "Examen neurologique";
    var xml3Loader:URLLoader = new URLLoader();
    var xml3Data:XML = new XML();
    var xml3Ary:Array = new Array();
    xml3Loader.addEventListener(Event.COMPLETE, LoadXML3);
    xml3Loader.load(new URLRequest("exneuro.xml"));
    function LoadXML3(n:Event):void {
        xml3Data = new XML(n.target.data);
        trace(xml3Data..exneuroName.length());
        for(var d:uint=0;d<xml3Data..exneuroName.length();d++)
            xml3Ary.push(xml3Data..exneuroName[d]);
            search_exneuro.addItem( { label: xml3Ary[d], data:xml3Ary[d] } );
    search_motif.visible=false;
    search_exneuro.visible=false;
    search_expleuro.visible=false;
    search_excardio.visible=false;
    search_age.addEventListener(Event.CHANGE,ageChangeF);
    search_motif.addEventListener(Event.CHANGE,motifChangeF);
    search_exneuro.addEventListener(Event.CHANGE,exneuroChangeF);
    search_expleuro.addEventListener(Event.CHANGE,expleuroChangeF);
    search_excardio.addEventListener(Event.CHANGE,excardioChangeF);
    function ageChangeF(e:Event):void{
    search_age.visible=false;
    search_motif.visible=true;
    function motifChangeF(e:Event):void{
    search_motif.visible=false;
    search_exneuro.visible=true;
    search_expleuro.dataProvider = new DataProvider([{label:"RAS",data:"RAS"},{label:"Male",data:"Male"},{label:"Female",data:"F emale"}]);
    search_excardio.dataProvider = new DataProvider([{label:"RAS",data:"RAS"},{label:"Souffle",data:"Souffle"},{label:"Tachycard ie",data:"Tachycardie"}]);
    search_exabdo.dataProvider = new DataProvider([{label:"RAS",data:"RAS"},{label:"Hepatomegalie",data:"Hepatomegalie"},{labe l:"Splenomegalie",data:"Splenomegalie"}]);
    search_pl.dataProvider = new DataProvider([{label:"RAS",data:"RAS"},{label:"Bacterie",data:"Bacterie"},{label:"Virus", data:"Virus"}]);
    bt_search.addEventListener(MouseEvent.CLICK, search);
    function search(MouseEvent):void
    currentUserbase = [];
    for (var n:int = 0; n<allUserbase.length; n++)
    if ((allUserbase[n].motif == search_motif.selectedItem.data  || allUserbase[n].motif2 == search_motif.selectedItem.data || allUserbase[n].motif3 == search_motif.selectedItem.data  || allUserbase[n].motif4 == search_motif.selectedItem.data || allUserbase[n].motif5 == search_motif.selectedItem.data || allUserbase[n].motif6 == search_motif.selectedItem.data || allUserbase[n].motif7 == search_motif.selectedItem.data || allUserbase[n].motif8 == search_motif.selectedItem.data || allUserbase[n].motif9 == search_motif.selectedItem.data || allUserbase[n].motif10 == search_motif.selectedItem.data || search_motif.selectedItem.data=="Any") && (allUserbase[n].exneuro == search_exneuro.selectedItem.data || search_exneuro.selectedItem.data=="RAS") && (allUserbase[n].expleuro == search_expleuro.selectedItem.data || search_expleuro.selectedItem.data=="RAS") && (allUserbase[n].age == search_age.selectedItem.data || search_age.selectedItem.data=="Any") && (allUserbase[n].excardio == search_excardio.selectedItem.data || search_excardio.selectedItem.data=="RAS") && (allUserbase[n].exabdo == search_exabdo.selectedItem.data || search_exabdo.selectedItem.data=="RAS") && (allUserbase[n].pl == search_pl.selectedItem.data || search_pl.selectedItem.data=="RAS"))
    currentUserbase.push(allUserbase[n]);
    updateList();

  • Out of stage components visible 

    Hello,
    A very newbie question. Here is what I did:
    1. Opened a new blank Flash File (AS3) with the default stage
    size (550, 400)
    2. In the first frame I drew a rectangle and converted it
    into a movie clip (RectMC).
    3. I moved RectMC out of the stage.
    I published the file, and uploaded it to a webserver. Instead
    of viewing the .html page, I viewed the .swf file and I could see
    my RectMC which was placed outside the stage, which I did not
    expect to see.
    How can I display only the objects placed in the stage and
    hide all out-of-stage components? Do I have to tweak the publish
    settings?
    Thanks.
    .Bala.

    You're not supposed to be viewing the SWF file directly. For
    web browsers you need the SWF to be loaded inside of an HTML
    container.
    What you have to do here is use Publish in the file menu.
    This will create an HTML and a SWF file, assuming you're using the
    default settings. That HTML will have the proper embed code for a
    550 x 400 SWF, and should show the stage itself when it loads the
    SWF.

  • How i can make some components visible on comboBox selection change ?

    Hi
    Thank you for reading my post
    how i can make some of form component visible/ invisible when user changed a combobox selected item ?
    can we use partial rendering ?(i just read that ADF support partial rendering)
    thanks

    http://technology.amis.nl/blog/?p=1211

  • On combo selection, components visibility need to change

    1) I have one combobox --> with values 1, 2, 3
    2) If i am selecting 1, one textfield need to be shown
    3) If i am selecting 2, one calendar need to be shown
    4) If i am selecting 3, 2 textfields need to be shown
    How it can be achived using JSF/Richfaces package

    Hello DJChase,
    first off, the maximum amount of video (incl. slideshow and DVD menu) for an SL DVD is two hours, so wether you will be able to fit in everything will depend on the overall length of everything.
    When exporting from FCP you should generally export as QT movie and not use the QT Conversion option, as this usually degrades the video somewhat (even if the export settings match the sequence settings).
    Question here: if you're using FCP, why don't you create the DVD using DVDSP/Compressor? The output quality will surely surpass that of iDVD.
    hope this helps
    mish

  • OA Components visibility in JDeveloper [patch 8431482]

    Hi, I downloaded jDeveloper from patch 8431482 for R12.1.1 apps. When I create OA workspace & OA Project under <JDEV_USER_HOME>/<userprojects>, I don't see any of these i.e Page, Regoin are enabled for creating new page. But if I create OA Workspace & OA Project under
    <JDEV_USER_HOME>/myprojects, those Menus i.e Page, Regoin under Web Tier => OA Components are enabled.
    Should we use <JDEV_USER_HOME>/myprojects directory default for all new workspaces/projects?

    Yes - use the /myprojects directory. Java files get created in the hierarchy under this directory while class files are put into <JDEV_USER_HOME>/myclasses.
    Kristofer Cruz

Maybe you are looking for