How expand/collapse a HGrid controller programmatically?

Hi all

How expand/collapse a HGrid controller programmatically?

I saw that what follows does not work in ProcessFormRequest: "setAutoExpansionMaxLevels" (throws the following error: bean Web properties cannot be changed in the method of processFormData or processFormRequest controller.)

My requirement is when I click on a button, the expand, should all work, some features and collapse again return.

Pls let me know if any ideas.

Thank you
Rudra

Hello

-Initially wht it shows... ? is it works. B4, click the button.

Try below:

If (webBean! = null)
{
pageContext.writeDiagnostics (this, "Webean if id", 1);
webBean.setExpandAllEnabled (false);
}

-Let me know it prints the log message or nt... ?

Concerning
Meher Irk

Published by: Meher Irk January 7, 2011 20:25

Tags: Oracle Applications

Similar Questions

  • How expand/collapse region ADF

    I have a requirement to show a region in mode collapsed when the page is loaded for the first time. When the user clicks '+' icon in the header of the region, then the region should expand. is it possible in the ADF. any ideas are appreciated.

    Kind regards
    Surya

    There are several components in ADF Faces that can enlarge / reduce.
    For example the showDetail:
    http://jdevadf.Oracle.com/ADF-richclient-demo/components/ShowDetail.JSPX

  • How expand/collapse text fields?

    I'm working on a newsletter in Acrobat format. What I want to do, it's a paragraph & at the end of the paragraph, have a link 'more' that the user can click to enlarge to read the rest of the story. Then at the end of the story, have a 'less' link that collapses the info. Is it still possible in Acrobat? I use Acrobat X.

    Depends on... Make you the text field hidden/visible, but it won't really

    minimization/maximization in the sense that when it is not visible, you will just have

    a large blank area, where is the hidden field.

  • Hide icons to expand/collapse tree/TreeTable ADF

    JDev Version: 11.1.1.6

    How to hide ADF tree/TreeTable expand/collapse icons and ToolTips? I tried using the adf tree / selectors treeTable, can still see the ToolTips and icon container box.

    Thank you

    Kala

    Hello

    Hide the icon using css container,

    give, display: none for the container icon in css

    John

  • How to test the domain controller security policy works or not?

    How to test the domain controller security policy works or not?

    So far, I put a security policy in the domain controller security policy, however, I do not affect client computers joined to the domain controller. and so far, if I apply the domain security policy work.

    LiuAlex

    Server must wonder about the Technet site.  http://social.technet.Microsoft.com/forums/en-us/home

  • How to remove a domain controller that was removed from the Internet works but not demoted

    How to remove a domain controller that has been remove from the Internet works but not demoted

    got two domain controllers and been deleted but not retrograde

    can help pls

    Hello

    Your Windows is better suited for the directory on TechNet Services. You can follow the link to ask your question: http://social.technet.microsoft.com/Forums/en-us/winserverDS/threads

    I hope this helps.

  • How to restore the multimedia controller and multimedia video controller to the system?

    How to restore the multimedia controller and multimedia video controller to the system? These items are indicated with yellow exclamation point in the conflict. How to solve these elements to correct the situation?

    Scan your computer with Speccy, Pc Wizart or SIW software and download the driver from manifacturied of the material.

  • Expand collapse folders in my documents is not and jumps down and so I have to move the folders I want to actually see this all the time is there a default to always develop?

    Expand collapse folders in my documents is not and jumps down and so I have to move the folders I want to actually see this all the time is there a default to always develop?

    Also I have to move the colum line to the right all the time to see the date size etc. is there a default value or why not microsoft built in a value by default do not cut off the name of the file that I always have to make more time to see the full file name

    Thank you

    Greg

    Hello

    Unfortunately, you cannot save the settings for the fall down in my documents. As this is normal.
    If you want to suggest changes in the design here is the link you can make reference to: Microsoft Connect - back products and bug reports. Microsoft.
    https://connect.Microsoft.com/dashboard/Info/

    To resize the size of the column:
    1. you can resize the column by pointing the mouse on the name of the category.
    2. Once you can drag the slider to the right, double click it to get the optimal size.

    Thank you, and in what concerns:
    Swati Keni-Microsoft Support Engineer

  • Expand/collapse PanelBox behave differently on wls integrated and stand-alone wls

    12.1.3 jdev

    WebLogic 12.1.3

    I have a test page which Expand/Collapse PanelBox according to a logic managed bean when a button is clicked. User can also manually click on the small triangle to open/close the group box.

    If I run my integrated weblogic Server page of jdev, everything works fine. PanelBox develops or reduced depending on the result of my bean managed after that I click on a button. After that I have manually expand/collapse it, by clicking the button again can expand or collapse the group box.

    But when I deploy my test on stand-alone weblogic server, by clicking on the button can expand/collapse the box. But if I manually expand/collapse the box for once, while clicking on the button after will not not expand/collapse the box not more.

    I check all the associated adf jars on integrated wls and wls autonomous. I have not noticed any difference.

    No idea why the same code behaves differently on different servers? Any suggestions that pot I should double check?

    Thank you.

    The difference has something to do with the doctors that we have configured on wls. We did the following and now the panelbox open/close correctly.

    1 Add a class to extend ComponentChangeFilter.

    SerializableAttribute public class RejectPanelComponentChangeFilter extends ComponentChangeFilter {}

    @SuppressWarnings("compatibility:-4979717484313581204")

    private public static final long serialVersionUID =-3565272558295489717 L;

    public RejectPanelComponentChangeFilter() {}

    Super();

    }

    Public ComponentChangeFilter.Result accept (ComponentChange, componentChange, UIComponent uIComponent) {}

    If (RichPanelBox instanceof uIComponent & "disclosed".equals (((AttributeComponentChange) componentChange) .getAttributeName ()) ") {}

    Return ComponentChangeFilter.Result.REJECT;

    }

    else {}

    Return ComponentChangeFilter.Result.ACCEPT;

    }

    }

    }

    2 and in the bean of backup of the page with panelBox on the PanelBox setter, follow these steps:

    {} public void setFinderCriteriaPanelBox (RichPanelBox finderCriteriaPanelBox)

    this.finderCriteriaPanelBox = finderCriteriaPanelBox;

    int filterCount = ((UIXComponentBase) finderCriteriaPanelBox) .getComponentChangeFilters () .length;

    If (filterCount == 0) {}

    finderCriteriaPanelBox.addComponentChangeFilter (new RejectPanelComponentChangeFilter());

    }

    }

  • How to set the initial value programmatically in af:selectOneChoice

    Hi all

    How to set the initial value programmatically in af:selectOneChoice

    filled with view object instance, but I want to show the value initial programmactically

    This can help you: Re: how to set the default value of the component selectOneChoice in ADF

    and the default af:selectOneChoice programmatically from backing bean

  • Hide icons to expand/collapse for Table of contents (ToC)?

    Hello

    I have a project that requires the summary function that comes with the table of contents turning. However I do not want a visible knock on it.
    I went to overlay, set it to collapse all and the alpha value to 0%, which pretty much done the work, but I find myself with the arrows to expand/collapse on my slides.
    I read that you can replace these transparent png files and I want to do, but don't know where to find the icons to replace them.
    Can anyone tell me what their file names or folder in which they are stored in please?

    Simply use the navigation buttons to select your transparent png

  • How to set the ToolTip text programmatically?

    Anyone know how to set the ToolTip text programmatically? forms10g, db10g.

    Thank you
    m.

    Hello

    You can use the SET_ITEM_PROPERTY to define the criterion of an element tool tip.

    SET_ITEM_PROPERTY('.', TOOLTIP_TEXT, '');
    

    Kind regards

    Manu.

    If my answer or the answer to another person has been useful or appropriate, please mark accordingly

  • Expand/collapse all regions

    I have 5 show/hide regions on a page. is it possible to expand/collapse all regions by clicking on a button or link ' show/hide all. any ideas are appreciated.

    Thank you
    Surya

    Hi Surya,

    Yes it is possible. Add later somewhere at the bottom of the page (I tend to create a new HTML box on the point before header and put this kind of thing in the Source):

    <script type="text/javascript">
    showHideAll('block');
    </script>
    

    Once in place, whenever the page is loaded, the function showHideAll() is called immediately, and areas are open. Note that this will occur whenever the page is reloaded - is that ok?

    Andy

  • How programmatically expand/collapse tree nodes?

    I use mx.controls.Tree and Flash Builder 4.5 Premium.

    http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/MX/controls/tree.html

    In certain circumstances when the user returns to the screen, I want to show the tree in the State wherever it was when the user closes the application.

    I can't find a way to expand a node.  It develops if the user clicks on the icon of the disclosure, but I can't find a way to do it programmatically.   I would like to be able to do the reverse, automatically close an open node based on certain events.

    Can anyone help?

    I hope that it is easy and I can not find!  If it is impossible, I'll be shocked.  It has to come a lot.

    I tried to save the tree open and later open it programmatically.

    Try this code

    http://ns.Adobe.com/MXML/2009.

    xmlns:s = "library://ns.adobe.com/flex/spark".

    xmlns:MX = "library://ns.adobe.com/flex/mx" >

    import flash.events. *;

    Mx.controls import. *;

    Mx.events import. *;

    private var openedFolders: Object = {};

    private var folderList:XMLList;

    private var so: SharedObject;

    private function initTree (): void

    {

    folderList = MailBox.source;

    So = SharedObject.getLocal("opendFoldersData","/");

    }

    private void openedBefore(folder:XML):Boolean

    {

    var boolean: Boolean = false;

    for each (var openedFolder:Object in openedFolders)

    {

    if(openedFolder.@label == Folder.@Label)

    {

    Boolean = true;

    break;

    }

    }

    return a Boolean value;

    }

    protected function save(event:MouseEvent):void

    {

    so. Data.open_folder_list = lessonlist.openItems;

    }

    private function openSavedFolder (): void

    {

    openedFolders = so.data.open_folder_list

    for each var file: XML (in folderList)

    {

    If (openedBefore (Folder))

    {

    lessonlist.expandItem (folder, true);

    var subfolders: XMLList = file... file;

    for each var subfolder: XML (in subfolders)

    {

    If (openedBefore (subfolder))

    {

    lessonlist.expandItem (subfolder, true);

    }

    }

    }

    }

    }

    ]]>

    Width = "150" height = "170".

    labelField="@label".

    creationComplete = "initTree (); » >

  • How to recover the file users programmatically in LabVIEW

    Hello

    I would create custom LabVIEW User Manager tool, but I can't get the user container. I am able to get the table of users (I have only 'administrator' item in the users file), but I'm not able to get the Subproperty I get error-17306 in GetNumSubProperties.

    I tried with the following code.

    How to copy all users files to the LabVIEW tree control programmatically Or at least all tabular list.

    First of all I can tell you that it will always be 5 on the NumSubProperties.

    The problem is that you use the name as the lookupString.  Pass an empty string and you'll see what you want.  An empty string will get the number of the subproperties of the current PropertyObject, which in this case is the user.

    Or you can convert your GetPropertyObjectByOffset reference to a user using a variant of data and use a constant refnum affect the API TestStand user.  In this way, you can use the TestStand API for the user to get what you want.  I have attached a small example of using LabVIEW and TestStand 2010 2011

Maybe you are looking for