How to dynamically resize taskflow popup set as inlineDocument.

I've been trying to figure out how to dynamically set the WindowHeight and WindowWidth of a taskflow deployed as a inlineDocument popup. Sadly, neither the forums nor google came to the rescue so I had to actually figure this one out on my own. But at least now is my opportunity to work up some forum karma! :)
Sample workspace containing the solution is here: http://www.williverstravels.com/JDev/Forums/Threads/2337969/MaxPopupSize.zip
General Strategy for Solution:
- Pull the browser height and width using Javascript
        function browserSize(evt)
          var button = evt.getSource();
          var agent = AdfAgent.AGENT;
          var windowWidth = agent.getWindowWidth();
          var windowHeight = agent.getWindowHeight();
          AdfCustomEvent.queue(button, "customEvent",
            width: windowWidth,
            height: windowHeight
          true);
          evt.cancel();
        }- Using a clientListener and serverListener, pull this information into a managed bean and set height / width in button's setWindowWidth(), setWindowHeight() attribute.
  public void onButtonClick(ClientEvent clientEvent)
    Double dw = (Double)clientEvent.getParameters().get("width")-100;
    Double dh = (Double)clientEvent.getParameters().get("height")-100;
    this.popupButton.setWindowWidth(dw.intValue());
    this.popupButton.setWindowHeight(dh.intValue());
    ActionEvent aE = new ActionEvent(this.getPopupButton());
    aE.queue();  
  }- Due to JSF Lifecycle complications, the managed bean will need to call a different button than the one which holds the client and server listener. It will be the second button (popupButton in the code above) which then calls the popup.
Props to Frank for the client / server listener tutorial: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/56-handle-doubleclick-in-table-170924.pdf
Props to Martin Deh for the javascript insights: http://martindeh.blogspot.com/2011/03/dynamic-resizing-for-popup-dialogs.html
Hope this helps someone down the road.
Will

Thanks LovettWB ...
Your question helped me a lot...  I am able to pass these two parameters width/height to my bean and am able to set it to pop-up :)                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Dynamic resizing of popups

    Hi All,
    I am using JDev 11.1.2.4.0 and  bounded taskflows.
    In my fragment I have a popup with panel Window. I want to set the content width & height of this as per the browser
    I followed the steps as per this http://www.ateam-oracle.com/dynamic-resizing-for-popup-dialogs/
    My popup code is as below
                                       <af:popup id="pdfPopup" autoCancel="disabled" partialTriggers="cb1"
                                                  popupCanceledListener="#{rLBean.closeDetachPopup}"
                                                  contentDelivery="lazyUncached">
                                            <af:panelWindow id="pdfWindow" title="Label Design" modal="true"
                                                            stretchChildren="first">
                                                <af:panelStretchLayout id="psl7" startWidth="0px" endWidth="0px"
                                                                       topHeight="0px" bottomHeight="0px">
                                                    <f:facet name="bottom"/>
                                                    <f:facet name="center">
                                                        <af:inlineFrame id="if2"
                                                                        source="/pdfservlet?#{bindings.LId.inputValue}*#{bindings.LVn.inputValue}"/>
                                                    </f:facet>
                                                    <f:facet name="start"/>
                                                    <f:facet name="end"/>
                                                    <f:facet name="top"/>
                                                </af:panelStretchLayout>
                                            </af:panelWindow>
                                        </af:popup>
    This popup is invoked as below
         <af:commandButton text="Maximize" id="cb1" partialSubmit="true"
                                                                          clientComponent="true"
                                                                          icon="/images/maximize_detach.png"
                                                                          shortDesc="Maximize" blocking="true">
                                                            <af:clientListener type="action"
                                                                               method="openPopup('pt1:pdfPopup','pt1:pdfWindow')"/>
                                                        </af:commandButton>
    Javascript method is as below
    function openPopup(popupId, panelWindowId) {
        return function (event) {
            try {
                var agent = AdfAgent.AGENT;
                var windowWidth = agent.getWindowWidth();
                var windowHeight = agent.getWindowHeight();
                //alert('maximize.............');
                var region = AdfPage.PAGE.findComponentByAbsoluteId('r1');
                //alert(region +' ------------ '+popupId+' --------------- '+panelWindowId);
                var popup = region.findComponent(popupId);
                //alert(popup);
                var panelWindow = popup.findComponent(panelWindowId);
                alert(panelWindow);
                panelWindow.setContentWidth(Math.max(100, windowWidth - 100));
                panelWindow.setContentHeight(Math.max(100, windowHeight - 100));
                if (popup != null)
                    popup.show();
                else
                    popup.hide();
            catch (err) {
                alert(err);
    When alert is there, I am getting the ID of panel window and everything works fine.
    But if I comment the alerts, its returning null. I dont know whats going wrong.
    Kindly Help

    Issue is, with the above code, I am not able to get the panel window ID.
    As you'll can see in the javascript code, I have commented the alerts. Magically, if i uncomment one of the alerts, its able to find the ID.
    Yes..!! I have tried this code by setting the clientComponent=true for the pop-up as well as panelWindow. But it didn't help.....
    Kind Regards

  • How to dynamically resize JPanel at runtime??

    Hello Sir:
    I met a problem, I need to resize a small JPanel called panel within a main Control JPanel (with null Layout) if I click the mouse then I can Drag and Resize this small JPanel Border to the size I need at runtime, I know I can use panel.setSize() or panel.setPreferredSize() methods at design time,
    But I have no idea how to do it even I search this famous fourm,
    How to dynamically resize JPanel at runtime??
    Can any guru throw some light or good example??
    Thanks

    Why are you using a null layout? Wouldn't having a layout manager help you in this situation?

  • How to dynamically resize a Spark Label?

    If i set the text of a spark label at runtime, the label dont resize automatically. How can i resize the correct width of a spark label at runtime?
    Thanks in advance

    The sample will be helpful to you:
    <fx:Script>
            <![CDATA[
                protected function button1_clickHandler(event:MouseEvent):void
                    // TODO Auto-generated method stub
                    lbl.text = lbl.text + " hi ";
            ]]>
        </fx:Script>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:Label id="lbl" height="20" text="hello" backgroundColor="#FFcc12" x="157" y="83"/>
        <s:Button label="ok" click="button1_clickHandler(event)"  x="177" y="152"/>

  • How to dynamically resize virtualbox console (Arch within Arch setup)

    My host is Arch, and my guest is Arch.  The guest running console without X.  I got 1024x728 resolution by adding vga=772 in guest's menu.1st file.  Is there a way to dynamically resize the guest's console dimensions by dragging virtualbox's window corner, as you can with a windows guest OS?

    Dynamic resizing only works from within X, it doesn't work when in console mode, as it requires the Guest Additions installed.  It might of course work in the future if Virtualbox includes a framebuffer driver with guest additions, but somehow I very much doubt they will

  • How to dynamically resize JOptionPane

    Hi All.
    I have a JOptionPane that contains a JPanel as the message (BorderLayout). The JPanel has a JComboBox on the north part and another JPanel in the center. When the combo changes selection the panel in the center is changed. Basically the combo represents some sort of selection and the panel is changed based on the selection to enter some specific search criteria.
    The problem I have is the search criteria panels are of different sizes. Therefore I want to resize the JOptionPane every time a combo selection is made.
    Does anybody know how to do this?
    nes

    Hi ICE,
    Here is some example code explaining my problem. Sorry it is a bit long but it explains my exact requirement.
    < 74philip the problem with calling JOptionPane.createInternalFrame is that it does not block until the Ok button is pressed. That is why I cannot use this solution >
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    public class TestFrame3
        extends JFrame
        implements ActionListener
        protected JPanel m_panel = new JPanel( new BorderLayout() );
        protected JPanel m_propertyPanel1 = new JPanel();
        protected JPanel m_propertyPanel2 = new JPanel();
        protected JPanel m_propertyPanel3 = new JPanel();
        protected JDesktopPane m_desktopPane = new JDesktopPane();
        protected JComboBox m_combo;
        protected JButton m_button;
        protected JOptionPane m_pane;
        public TestFrame3()
            initGUI();
        public void actionPerformed( ActionEvent event )
            if ( event.getSource() == m_combo )
                switch ( m_combo.getSelectedIndex() )
                    case ( 1 ):
                        m_panel.remove( m_propertyPanel1 );
                        m_panel.remove( m_propertyPanel3 );
                        m_panel.add( m_propertyPanel2, BorderLayout.CENTER );
                        break;
                    case ( 2 ):
                        m_panel.remove( m_propertyPanel1 );
                        m_panel.remove( m_propertyPanel2 );
                        m_panel.add( m_propertyPanel3, BorderLayout.CENTER );
                        break;
                    default:
                        m_panel.remove( m_propertyPanel2 );
                        m_panel.remove( m_propertyPanel3 );
                        m_panel.add( m_propertyPanel1, BorderLayout.CENTER );
                        break;
                //  THIS IS WHERE I WOULD LIKE TO RESIZE/PACK THE OPTION PANE
                //       m_pane.???????
                //  BUT HOW??
                m_panel.validate();
                m_panel.repaint();
            else if ( event.getSource() == m_button )
                m_pane = new JOptionPane();
                m_pane.showInternalConfirmDialog( m_desktopPane, m_panel,
                                                  "Test",
                                                  JOptionPane.OK_CANCEL_OPTION );
        private void initGUI()
            initSelectionCombo();
            initPropertyPanels();
            m_button = new JButton( "Go For It..." );
            m_button.addActionListener( this );
            getContentPane().setLayout( new BorderLayout() );
            getContentPane().add( m_desktopPane, BorderLayout.CENTER );
            getContentPane().add( m_button, BorderLayout.SOUTH );
            setSize( 800, 900 );
            show();
        private void initSelectionCombo()
            Vector v = new Vector();
            v.addElement( "Property Panel 1" );
            v.addElement( "Property Panel 2" );
            v.addElement( "Property Panel 3" );
            m_combo = new JComboBox( v );
            m_panel.add( m_combo, BorderLayout.NORTH );
            m_combo.addActionListener( this );
        private void initPropertyPanels()
            JLabel property1 = new JLabel( "Property 1" );
            JLabel property2 = new JLabel( "Property 2" );
            JLabel property3 = new JLabel( "Property 3" );
            m_propertyPanel1.setLayout( new GridBagLayout() );
            m_propertyPanel1.setBorder( BorderFactory.createLineBorder( Color.RED ) );
            m_propertyPanel1.add( property1,
                                  new GridBagConstraints( 1, 2, 1, 1, 1, 1,
                GridBagConstraints.EAST, GridBagConstraints.REMAINDER,
                new Insets( 3, 3, 3, 3 ), 0, 0 ) );
            m_propertyPanel1.add( property2,
                                  new GridBagConstraints( 2, 1, 1, 1, 1, 1,
                GridBagConstraints.EAST, GridBagConstraints.BOTH,
                new Insets( 3, 3, 3, 3 ), 0, 0 ) );
            m_propertyPanel1.add( property3,
                                  new GridBagConstraints( 6, 5, 1, 1, 1, 1,
                GridBagConstraints.EAST, GridBagConstraints.BOTH,
                new Insets( 3, 3, 3, 3 ), 0, 0 ) );
            JLabel property4 = new JLabel( "Property 4" );
            property4.setBounds( 10, 10, 100, 20 );
            JButton property5 = new JButton( "Property 5" );
            property5.setBounds( 40, 60, 190, 40 );
            m_propertyPanel2.setBorder( BorderFactory.createLineBorder( Color.GREEN ) );
            m_propertyPanel2.setLayout( null );
            m_propertyPanel2.add( property4 );
            m_propertyPanel2.add( property5 );
            m_propertyPanel3.setLayout( new FlowLayout( FlowLayout.CENTER, 10, 10 ) );
            m_propertyPanel3.setBorder( BorderFactory.createLineBorder( Color.BLUE ) );
            JButton property6 = new JButton( "Property 6" );
            JButton property7 = new JButton( "Property 7" );
            JButton property8 = new JButton( "Property 8" );
            JButton property9 = new JButton( "Property 9" );
            m_propertyPanel3.add( property6 );
            m_propertyPanel3.add( property7 );
            m_propertyPanel3.add( property8 );
            m_propertyPanel3.add( property9 );
            m_panel.add( m_propertyPanel1, BorderLayout.CENTER );
        public static void main( String args[] )
            SwingUtilities.invokeLater( new Runnable()
                public void run()
                    new TestFrame3();
    }nes

  • How to dynamically resize a display component to avoid vertical scroll bars?

    Hi,
    I have a Flex 2 chart embedded within my html page. I have a
    hard coded height and width for the object tag. The problem is that
    my Flex 2 chart application is created dynamically based on the
    meta-data and as such may or may not be bigger in size than the
    size that I have set. In such cases, Flex shows the scroll bar.
    On creationComplete, I want to be able to detect the true
    size of the flex app i.e size that includes both the view area and
    the area that is hidden but scrollable. I have tried height, width,
    verticalScrollBar.maxHeight etc. but none of them give me the
    height and width of the whole app. Is there a way to get that in
    ActionScript?
    Thank you,
    AN

    Hi!
    Try to read this:
    http://blogs.sun.com/winston/entry/button_header_table
    I hope it will help You.
    Thanks,
    Roman.

  • How do I stop iPhone Safari from dynamically resizing the visual viewport?

    Sorry I post this here, but I couldn't access the developer forums (no error given, it just keeps returning me to this page https://developer.apple.com/devforums/) I'm not even sure wether that's been moved here and it's just the redirection non working.
    I need to Stop iPhone Safari from dynamically resizing the visual viewport, or in other words, to stop it from trying to "fit" the layout into the viewport.
    Why?
    Because any recalculation javascript does on absolutely positioned elements makes the whole site super IRRESPONSIVE.
    I don't know wether the issue is the element going out the already-set layout viewport (which triggers the page resizing to fit the visual viewport) or just the calculations being made constantly, but I can stop the calculations from happening when not "touching" the screen, but I need a way to stop the page resizing.
    I tried setting the viewport width to 1040px, as my layout width, and it fixed the header's width being narrower than the body (or shifted left?), but the whole page is still resized with every motion-frame (one every 3 seconds, due to overloading the redrawing engine)
    Is there a way to prevent that?

    No, that link doesn't solve it. It just says the same is found everywhere online.
    There's probably no way to do it, as per their way they "accidentally" omitted the oposite case: the page being wider than 980. They only mention what to do if the site is narrower. Something I learned is big companies (with reputation management) could let you run in circles for years no answer rather than telling you something is not possible.
    I'm the developer (can't access the dev forums, don't know why) and I DID setup the viewport, scale and other properties but none of them stopped from re-fitting the new re-sized layout in the viewport. They just ensure the "initial" view.
    I think the feature I'm looking for must be achieved with some JavaScript function targeting Safari-proprietary variable/property… if even possible.
    I just had to make things never reaching the edge until somebody contributes something useful

  • How do I block a popup window that I have allowed to open on Firefox once? I now have the popup blocker set to block all sites, but the popup still opens every time I open Firefox or open (sometimes) a new tab.

    How do I block a popup? I allowed this popup to open once. Now I have set the popup blocker to block all sites but this popup still opens every time I open Firefox and sometimes (usually) when I open a new tab.
    I Have stopped and restarted Firefox multiple times.
    I have rebooted the computer.
    I have set the tools/options/content/block pop-up windows/exceptions to block all sites (no exceptions).
    I have no other issues with Firefox.
    I have Adblock plus (with (1) subscription) installed
    I am currently using Firefox version 4.0 on Windows7 Ultimate.

    Just to address the last point: check your History menu to see whether you have the Restore Previous Session option and use that if you can. If that is grayed out or doesn't restore everything, check the Recently Closed Windows and Recently Closed Tabs lists for other pages.
    The unwanted window may be generated by an add-on. Try disabling ALL nonessential or unrecognized extensions on the Add-ons page. Either:
    * Ctrl+Shift+a
    * "3-bar" menu button (or Tools menu) > Add-ons
    In the left column, click Extensions. Then, if in doubt, disable.
    Usually a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.
    Any improvement?
    Here are some other things to check:
    (1) user.js file that changes Firefox startup behavior and overrides your preferences. This article describes how to track that down and delete it if you have one: [[How to fix preferences that won't save]].
    (2) Possible hijacked shortcut. Check the "target" of the desktop icon you use to start Firefox to see whether it lists the unwanted page. To do that:
    right-click the icon > Properties > Shortcut tab
    For 64-bit Windows 7, the Target should be no more and no less than this:
    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
    (3) Possible undisclosed bundle items. If you have installed any free software recently, check your Windows Control Panel, Uninstall a program for surprises. If you click the "Installed on" column head to group by date, it is easier to spot bundled junk. Remove everything suspicious or unrecognized.
    (4) Supplemental clean up scans. Our support article lists tools other Firefox users have found helpful: [[Troubleshoot Firefox issues caused by malware]].
    Hopefully that cures it.

  • How to dynamically set column name in Answers

    Hi.
    How to dynamically set column name in Answers, for example I want to put presentation variable in column header. Is this possible?
    Regards,
    Goran Ocko
    http://108obiee.blogspot.com/

    May be a rude way .. but it works.
    Add narrative view and use Java script to change the column headings based on the variables.
    <script language="javascript" type="text/javascript">
    var a = document.getElementById('idResultsTableParent');
    var rows= a.getElementsByTagName('tr');
    rows[1].cells[1].innerText ="@{Presentation Variable}";
    </script>
    Editing the same post to remove irrelevant information.
    - Girish

  • How do I populate a popup button?

    Well, I've found this snippet of code here and in various place around the 'net:
    tell window 1
        tell menu of popup button 1
            delete every menu item
            repeat with catListItem in catList
                make new menu item at end of menu items with properties {title:catListItem}
            end repeat
        end tell
    end tell
    When I use it in my AppDelegate script in a Cocoa-AppleScript Application, Xcode gives me an error: "t2t_AppDelegate.applescript:25: error: Expected end of line but found identifier. (-2741)" Line 25 is "tell menu..."
    I'm not sure what I'm missing that would allow me to dynamically populate the popup button with a list of terms (catList) that I'm drawing from another application. Any suggestions?

    Thanks for answering, Red Menace, here and elsewhere. Yes, this code was found in connection with AppleScript Studio. Silly me, I thought a Cocoa-AppleScript Application would be similar.
    I've added the
    property popCatList : missing value
    declaration and connected the Pop Up Button in my view: what I'm seeing is (Menu)-(Menu - popCatList). Then I added the
    popCatList's addItemsWithTitles_(catList)
    command. Leaving out my code to populate the initial array, here's what I've got:
    script t2t_AppDelegate
         property parent : class "NSObject"
         property popCatList : missing value
         set catList to {"1","2","3"}
         popCatList's addItemsWithTitles_(catList)
         on applicationWillFinishLaunching_(aNotification)
              -- Insert code here to initialize your application before any files are opened
         end applicationWillFinishLaunching_
         on applicationShouldTerminate_(sender)
              -- Insert code here to do any housekeeping before your application quits
              return current application's NSTerminateNow
         end applicationShouldTerminate_
    end script
    The build succeeds but I get nothing in the popup. Have I created the connection improperly (I can't figure out how to remove it -- clicking the 'x' doesn't do anything) or is there some additional code I'm missing?

  • Dynamically resizing DefaultMutableTreeNode

    Does anyone know how to resize a DefaultMutableTreeNode after it's been created and initially sized? I have a tree that can be resized, but if I dynamically resize it so that some nodes are wider than the tree, I'd like the last few visible characters within the nodes to be replaced by three dots "..." instead of just clipping the text. The JTable does this when you resize a column.
    Thanks,
    Steve Sinai

    I change the two lines below:
    1. This: textField.text = val        to this:  textField.htmlText = val;
    2.  This: return textField.text;     to this:  return textField.htmlText;
    Here we go:
    import flash.events.Event;
    import flash.text.StyleSheet;
    import mx.controls.TextArea;
    public class DynamicTextArea extends TextArea
       public function DynamicTextArea(){
          super();
          super.horizontalScrollPolicy = "off";
          super.verticalScrollPolicy = "off";
          this.addEventListener(Event.CHANGE, adjustHeightHandler);
        private function adjustHeightHandler(event:Event):void{
          //trace("textField.getLineMetrics(0).height: " + textField.getLineMetrics(0).height);
          if(height <= textField.textHeight + textField.getLineMetrics(0).height){
            height = textField.textHeight;     
            validateNow();
        override public function set htmlText(val:String):void{
          textField.htmlText = val;
          validateNow();
          height = textField.textHeight;
          validateNow();
        override public function set height(value:Number):void{
          if(textField == null){
            if(height <= value){
              super.height = value;
          }else{       
            var currentHeight:uint = textField.textHeight + textField.getLineMetrics(0).height;
            if (currentHeight<= super.maxHeight){
              if(textField.textHeight != textField.getLineMetrics(0).height){
                super.height = currentHeight;
            }else{
                super.height = super.maxHeight;         
        override public function get htmlText():String{
            return textField.htmlText;
        override public function set maxHeight(value:Number):void{
          super.maxHeight = value;

  • Dynamically Resize Flex Layout

    I am using flex inside a coldfusion page and would like to
    know how to dynamically make my swf height to fit my application.
    I have a search application and the details text get cut off.
    now I could make it scroll but would like to be able to make the
    swf height expand so my browser page can scroll. Is this possible?
    I Thought of Application.application.height but nothing. I do
    know the code is in the height in the page that resizes it, but if
    I set this to 100% can't I set the variable inside my application?
    Please help!

    LinkMc,
    If you are using the standard template it has css that says:
    body { margin: 0px;
    overflow:hidden } <- Take out the overflow:hidden. That
    is the first step. There is also a "<body scroll="no">". I
    took out the scroll='no' just to be sure. I ended up wrapping the
    javascript in the page in a <div>. Then I set the height to
    the size of the app. When the app shrinks and grow I adjust the
    height so the footer doesn't just sit at the end of a lot of
    scrolling.
    as3 --> flash.external.ExternalInterface.call(
    "adjustDivHeight", "950" );
    <script language="JavaScript">
    function adjustDivHeight(height) {
    e = document.getElementById( 'bigMo' );
    e.style.height = height + 'px';
    </script>
    Also, a couple issues I saw with IE. Does the list ever end.
    // if we've detected an acceptable version
    // embed the Flash Content SWF when all tests are passed
    AC_FL_RunContent(
    "src", "acuminderFX",
    "width", "762",
    "height", "100%",
    "align", "middle",
    "id", "acuminderFX",
    "quality", "high",
    "bgcolor", "#ffffff",
    "name", "acuminderFX",
    "flashvars",'base=https://www.jnjvision.com/',
    "allowScriptAccess","sameDomain",
    "type", "application/x-shockwave-flash",
    "pluginspage", "https://www.adobe.com/go/getflashplayer",
    "wmode", "transparent" <-- Get rid of IE black box
    // In IE the swf comes up as a black square until you roll over
    it with the mouse.
    // This focuses on the swf so that IE will pass it control.
    var acuFxObj = document.getElementById( 'acuminderFX' );
    if ( acuFxObj != null ) {
    acuFxObj.focus();
    If you look at https://www.acuminder.com/ you can see what I
    did to make it work. Also because it is secure I had to make some
    changes to the history.js. IE won't load it secure if you don't fix
    the history.js
    That should be a good start.

  • How do you resize multiple artboards in Illustrator at the same time?

    Hi,
    This is a question that has been bugging me for a while.  I'm currently on CS6 but I'm looking for a solution that can also work on CS5 for a co-worker.
    Having multiple artboards has been established since CS4 and I have yet to see an official way of resizing multiple artboards, if anything there should at least be a plug-in.
    As great of a feature it is, it seems a little short sited.  If one has multiple artboards one should be able to manage multiple artboards, right?
    I totally love having multiple artboards but I should be able to resize and manage multiple artboards as well.
    This is great for building icon sets but how can I resize the set all at once?
    I was considering trying to do an action but odds are I still would have to select an artboard one by one to do which doesn't save much time if you have like 30 artboards to apply this to. 
    I don't even see a batch render for artboards and Photoshop has that for its files.
    I'm well aware of the solution that is displayed here:
    http://forums.adobe.com/thread/1093465
    Which is a script.  I'm not sure where I'm supposed to put it.

    mec_os wrote:
    you can resize the artwork on export. no need to draw it to size.
    Unfotunately when I looked into that does not seem to be the case.  However I can resize when I "Save for Web" but that appears to only work for one artboard at a time.  I can Save As or Export multipe artboards but not adjust the size.  Believe me I would be happy if I could resize multiple artboards upon export but apparently that is not an option.
    mec_os wrote:
    you can put the scripts in illustrator's folder/presets/en_us(or whatever localization you have)/scripts. you can then access them in illustrator from the menubar/File/Scripts/
    there are also applications that will let you execute scripts with assigned shortcuts. i believe sparks is free.
    Thanks for pointing out the location. 
    Do I save it as a txt file or something else?
    (I was guessing that I would copy the script into notepad or something)

  • How to close the detach popup on click of a button in the panel collection

    Hi,
    I'm using Jdeveloper 11.1.2.3.0.
    I have an af table surrounded by panel collection. There is a button on panel collection to commit the changes in the table.
    Clicked detach button to view the table in full browser.
    On click of Commit button, the detach popup is not closed. I have set partialSubmit of that button to false. Then also detach popup is not closed.
    Can anybody suggest me how to close the detach popup on click of a button in the toolbar.
    Thanks,
    Vinod

    Hi Frank,
    Thanks for your response. Popup is not closed.
    I tried this approach, when the view tree is navigated on the Detach, I see that the tree is same as if it is traversed on the page without detach.
    Printed client id and UI component class in the while loop, result is as below.
    r1:0:pc1:t3 class oracle.adf.view.rich.component.rich.layout.RichToolbar
    r1:0:pc1 class oracle.adf.view.rich.component.rich.output.RichPanelCollection
    r1:0:ph2 class oracle.adf.view.rich.component.rich.layout.RichPanelHeader
    r1:0:pgl1 class oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout
    r1 class oracle.adf.view.rich.component.rich.fragment.RichRegion
    pgl1 class oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout
    db2 class oracle.adf.view.rich.component.rich.layout.RichDecorativeBox
    db1 class oracle.adf.view.rich.component.rich.layout.RichDecorativeBox
    psl1 class oracle.adf.view.rich.component.rich.layout.RichPanelStretchLayout
    ps1 class oracle.adf.view.rich.component.rich.layout.RichPanelSplitter
    f1 class oracle.adf.view.rich.component.rich.RichForm
    Tried with setting partialsubmit property to false on the command button, still the popup is not closed and my Faces Message are shown behind the detach popup.
    Thanks,
    Vinod

Maybe you are looking for

  • Interesting error on delete of multiple files

    Hi all, none of the posts I found with errors on deletion or recycle bin errors discussed what I found. I am a LR1.4 user, just installed LR 2 Trial, and did my first shoot review. I marked about 25 files as rejected, hit Ctrl+Backspace to remove rej

  • Error in adding multiple attachments to Human Task in BPM

    Hi Hope you are doing fine. My version is 11.1.1.5 without Feature Pack. I have a scenario where I get a set of documents from UCM, and I have all of them in an array(of type GetFileByIDResult(UCM GetFile Webservice response type)). Please note that

  • XML Source in Warehouse Builder

    When trying to use the XML functions in OWB, we are immediately getting an error: class is missing 'oracle.wh.runtime.xml.PLSQLAdapter' How do I install this class, is it something that comes with OWB or with XML Toolkit or with..?

  • ITunes From Time Capsule to WiFi enabled HiFi.

    TC 2TB - I have a new 2TB time capsule and wish to set it up to act as a WiFi sreamer for my iTunes library currently on my Imac. I have Twonky software on the iMac and this works well streaming my music to my WiFi enabled music system but I would pr

  • Adobe Reader 9 keeps asking for admin name and password

    I just installed Reader 9. Every time I open the app it asks for an admin username and password. I can click "cancel" instead of entering the name and password and the program continues to open, but this is very annoying. To clarify: I am not referri