Can I use grid layout in JSF visual page designer ?

Hello dears...
I am using Jdeveloper 11 g and 10 g .
When I tried to use JSF visual editor (from the component palette), and when I drag any control to the page I found that the control go to the top left of the page
and I even can not move the control to another place in the page by the mouse.
the JSF visual designer seems to use flow layout for the page . (the same as using flow layout in the swing applications).
The question is Can I change the page layout to be grid layout instead of flow layout ?????? (to be able to move any control to anywhere in the page.)
Note that in netbeans 6.1 , when u design JSF page , you have 2 options for the page layout, grid layout and flow layout and u can choose as u like.
Is this feature found in jdeveloper 11 ?????
if not , Can anybody tell me any workaround to design JSF pages without using flow layout ????
Thanks in advance
Samy
Edited by: user10653280 on Nov 29, 2008 1:30 PM

We don't provide absolute positioning for JSF application - this is a bad practice since it fills your JSF page with CSS code and create applications that are not portable between different screen/monitor resolutions - so we use flow layout instead and provide a much richer set of layout components.
See info here:
http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/af_orgpage.htm#CACCBCCI

Similar Messages

  • How can I use java swing class in JSP page design

    I am a new developer in Java server pages. I want to use layout managers available in java swing classes to design the page. Can any body suggest me a way to do this.Is it possible if I do it with servelets.

    So, you want to use layout managers within your JSPs?
    The immediate answer is that "it isn't a good idea". The more considered answer is "tell us what you're up to".
    Are you coding all presentation within a traditional JSP? That is, HTML, customer or library tags and/java scriptlets?
    Or are you building your HTML within your servlets and sending that back to the browser?
    If the first, then you are probably better off either using explicit HTML tables (or the equivalent custom tags) or finding a library that you can use.
    If the second, you can write classes similar to the Swing layout managers that end up being a fancy way of putting elements into an HTML table. We have exactly that in my current environment. I wouldn't recommend rolling your own and I'd tend to leave all that presentation stuff to the JSP.
    In any case, you can't really use the Swing layout managers as they are for an entirely different pradigm.

  • Add grid rows in panel grid layout in adf UI page

    I'm using panel grid layout in adf UI page. I need to add a dynamic grid row in panelGridLayout. Or in simple way programatically I need to add grid rows in panel grid layout in adf UI page.Timo Hahn Frank Nimphius Shay Shmeltzer-Oracle

    Hi Shay,
    It is a dynamic grid.
    there can be one dropdown, two dropdown.... n dropdown.
    Please tell me if there is any specific method to add children.

  • Can I Use Swing Components in a JSP Page

    Hi,
    Can I use Swing Componnents in a JSP Page.If so,Can anybody provide with a sample code.
    Thanks.

    hi,
    I wanted to use the JTabbedPane for tab buttons in my
    Jsp Page.Is that possible?I am afraid that you can't.
    As for GUI (graphics) in the HTML page you can use only the html form elements (but you should simulate other behaviours by dynamically reloading the page).-
    Ionel.

  • How can i use my own Fonts in iCloud Pages?

    How can i use my own Fonts in iCloud Pages?

    Baluk wrote:
    And WebHosted Fonts like GoogleFonts?
    No.
    To tell Apple you want such features added, go to
    http://www.apple.com/feedback

  • Creating Adaptive Designs Using Fluid Grid Layouts in Dreamweaver CS6 | Digital Design CS6 | Adobe TV

    Adobe Evangelist Greg Rewis shows how to create adaptive designs using Fluid Grid Layouts in Dreamweaver CS6.
    http://adobe.ly/Iq7L8z

    maybe someone here can answer this. Can I take an existing website and apply the fluid grid layout feature to it? I have one regular website that is not responsive. I've tried copying and pasting into the dreamweaver grid layout, but it doesn't respond as expected. Is this even possible?

  • Please help me out with problems i am facing using Grid Layout

    i can't figure out what's wrong !!
    But the following codw doesn't make a grid of 5 x 4 rather it makes a grid of 5x2
    same thing is happening when i am using a grid in my other applications... the no. of columns are not correctly executed..
    import javax.swing.*;
    import java.awt.*;
    public class GridDemo extends JFrame
        public GridDemo() {
        JButton b1 = new JButton("b1");
        JButton b2 = new JButton("b2");
        JButton b3 = new JButton("b3");
        JButton b4 = new JButton("b4");
        JButton b5 = new JButton("b5");
        JButton b6 = new JButton("b6");
        JButton b7 = new JButton("b7");
        JButton b8 = new JButton("b8");
        JButton b9 = new JButton("b9");
        JPanel f = new JPanel();
        f.setLayout(new GridLayout(5, 4));
        f.add(b1);
        f.add(b2);
        f.add(b3);
        f.add(b4);
        f.add(b5);
        f.add(b6);
        f.add(b7);
        f.add(b8);
        f.add(b9);
        JFrame f1 = new JFrame();
        f1.add(f);
        f1.setVisible(true);
        f1.setSize(400, 400);
        f1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        public static void main(String s[])
        new GridDemo();
    }

    If you want the simplest experience out of layouts, you can try the custom layout I made. It uses the versatility of SpringLayout, but can actually be understood by humans. It has easily been my favorite creation b/c it has made my life SO much easier.
    Here is the code:
    import javax.swing.SpringLayout;
    import java.awt.Container;
    import java.awt.Component;
    public class CoordinateLayout extends SpringLayout
         //Container Variable
         Container cont;
         //Constructor
        public CoordinateLayout(Container ct)
             //Extend SpringLayout
             super();
             //Set Layout to Container
             ct.setLayout(this);
             //Initialize Container Variable
             cont = ct;
        //Method to Add Components -- (0,0) is top left of container
        public void addComponent(Component comp, int x, int y)
             //Adds Component to Container
             cont.add(comp);
             //Set both x and y SpringLayout contraints
             super.putConstraint(SpringLayout.WEST, comp, x, SpringLayout.WEST, cont);
              super.putConstraint(SpringLayout.NORTH, comp, y, SpringLayout.NORTH, cont);
    }And here is a basic program that just creates a frame and uses my layout to place the items. If you have any questions, feel free to ask.
    import javax.swing.*;
    import java.awt.*;
    public class CoordinateLayoutTest
        public static void main(String[] args)
             //Create Frame and Panel
             JFrame mainFrame = new JFrame("TEST");
             JPanel first = new JPanel();
             //Create Layout and send it the Panel
             CoordinateLayout layout = new CoordinateLayout(first);
             //Create components
             JLabel l1 = new JLabel("First Name:");
             JTextField b1 = new JTextField(10);
              JLabel l2 = new JLabel("Last Name:");
              JTextField b2 = new JTextField(10);
              JLabel l3 = new JLabel("Home City:");
              JTextField b3 = new JTextField(10);
              JLabel l4 = new JLabel("Home State:");
              JTextField b4 = new JTextField(10);
              JLabel l5 = new JLabel("Account Number:");
              JTextField b5 = new JTextField(10);
              //Add components
              layout.addComponent(l1,5,5);
              layout.addComponent(b1,105,5);
              layout.addComponent(l2,5,35);
              layout.addComponent(b2,105,35);
              layout.addComponent(l3,5,65);
              layout.addComponent(b3,105,65);
              layout.addComponent(l4,5,95);
              layout.addComponent(b4,105,95);
              layout.addComponent(l5,5,125);
              layout.addComponent(b5,105,125);
              //Simplify adding components by creating JLabels when you use them
             JTextField b1 = new JTextField(10);
              JTextField b2 = new JTextField(10);
              JTextField b3 = new JTextField(10);
              JTextField b4 = new JTextField(10);
              JTextField b5 = new JTextField(10);
              layout.addComponent(new JLabel("First Name:"),5,5);
              layout.addComponent(b1,105,5);
              layout.addComponent(new JLabel("Last Name:"),5,35);
              layout.addComponent(b2,105,35);
              layout.addComponent(new JLabel("Home City:"),5,65);
              layout.addComponent(b3,105,65);
              layout.addComponent(new JLabel("Home State:"),5,95);
              layout.addComponent(b4,105,95);
              layout.addComponent(new JLabel("Account Number:"),5,125);
              layout.addComponent(b5,105,125);
             //Finish creating Frame
             mainFrame.setSize(300,300);
             mainFrame.setContentPane(first);
             mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             mainFrame.setVisible(true);
    }

  • Can I use Text Layout Framework with Flex 3 SDK?

    Greetings,
    I have to develop a complex custom widget, with custom text wrapping behaviour. Text Layout framework seem to offer fine level of control, but we are trying to keep our project in Flash player 9, and therefore we are using Flex 3 sdk.
    Can I use the framework with flex sdk 3 and therefore flash player 9?
    Best Regards
    Seref

    For that you need to install flex sdk 3.5 framework and choose your defauls framework to flex 3.5 it will work and as well instal flash player 10

  • Can we use Grid Infrastructure 11.2 to protect a single instance database?

    Hi all,
    I would like to use Oracle Grid Infrastructure to protect a single-instance database.
    I found these docs:
    http://www.oracle.com/technetwork/products/clusterware/overview/em-db-failover-128585.pdf (for 10.2)
    http://www.oracle.com/technetwork/products/clusterware/overview/si-db-failover-11g-134623.pdf (for 11.1)
    I was unable to find a similar document for GI 11.2 . Do you know if such a document exists?
    At the moment I only know that the GI is free if used for an Oracle Product, but I am not shure whether it can be used to protext external applications or single-instance databases
    Andrea

    Hi,
    while this still works (the scripts for failover you find in the demo folder $GI_HOME7/crs/demo/coldfailover), the document does not exists, since with 11gR2 there is a supported solution called RAC ONE Node, hence rendering the manual setup obsolete.
    For more information see:
    Oracle Clusterware and Application Failover Management (Doc ID 790189.1)
    Regards
    Sebastian

  • DW6 fluid grid layout issue: writes to page instead of css file

    Using DW6 (version 12, owned, build 5861) on Windows 7 64 bit.
    Following tutorials and the help files to use the fluid grid layout.
    Start a blank page on a new site, which inserts the starter div and new css file
    Immediately save page, which also generates/saves ancillary files (js and css).
    Remove inner div that's created in order to use my own (have also tried leaving the default one in place and using that)
    Insert new div, within the "gridContainer clearfix" div.
    Place cursor just after that new div, still inside "gridContainer clearfix" and add new "fluid grid layout div tag", new row.
    Following same method, do so again.
    Dreamweaver adds the generated CSS code to the actual page instead of the expected div, visibly (minified)....and everything breaks. It does *not* add the code into the CSS file from there on and the only way to have it display the div (which does not show any visual indicators since the CSS is basically lost that would do so, is to CTRL-Z to undo the last step. It undoes the CSS showing as the only content in the HTML file, and *does* show a div with the name I'd given it. If I copy/paste that generated CSS into the fluid css file *then* CTRL-Z, it looks the way it's supposed to, with drag handles, visible indentations and so on.
    If I then change div widths or position, it does record those changes in the CSS file, so it appears this is only when inserting new divs after the second one that's a problem (third div inside the container is when it starts choking; none overlap).
    This is repeatable, on both desktop and laptop, running the same version. I've tried saving after every div insertion, only saving at the start, code view only, split only...
    I've tried searching for someone else having this issue and must not be wording the search properly, can't find anyone else seeing this. It's a weird one.
    If anyone can point me to something to try so the workaround isn't needed, it would be appreciated.

    OK try this workflow.
    Create a new FGLayout and SAVE.  This will save your CSS file with whichever name you give it.
    Switch to Design View.  Click on Mobile Display.  Build your mobile layout first since this is what everything else is based on.
    Insert a few Divs and don't worry about content.  Just get the basic Div structure stacked one on top of the other like this:
    <div class="gridContainer clearfix">
         <div id="div1">
              Div 1
         </div>
          <div id="div2">
              Div 2
         </div>
         <div id="div3">
              Div 3
         </div>
          <div id="div4">
              Div 4
         </div>
    </div>
    Hit Save and name your HTML file.   Do not edit the CSS file.  DW will generate the necessary layout code for you.
    Switch to Tablet Display.
    Grab the right side handles to resize divs and move to row above as desired.
    Save often during development.
    Switch to Desktop Display and repeat.
    Once your layout is built, test media queries by previewing in browsers by resizing viewport
    When you are completely satisfied with your responsive layout, begin adding content and use a separate external style sheet for content styles.  DO NOT EDIT boilerplate or Layout CSS files as doing so could break your layout.
    Nancy O.

  • Alv grid layout display in 2 pages

    Hi All,
    I am presently working in ALV programming.
    The client requierment is "GL line items and summary sheet will be listed in separate pages."
    i am dispalying the output using ALV grid layout display.
    Can you please conform that how to write logic for summary sheet.that will display after the line items and also saparate page.
    Thanks,
    Sridhar

    Hi ,
          Use event END OF PAGE .
    Write a Form for end of page
    then do calcualtions.
    Reward if useful.

  • Can I use SetFld during GenPrint for banner page fields?

    I have a banner page form that has multiple variable fields on it to display information specific to the batch it's being included with (for out post-composition handling area). I currently set those fields' values by assigning variables of the same name (as the fields) within a DAL script called as my BachBannerBeginScript for that batch. The fields on the Banner page form/section have a rule of NOOPFUNC, so without that assign process happening during the DAL script, they inherently hold no value. This has worked fine so far.
    Now I have a new banner page for a different process/batch, and it's purpose will be to be a "summary report" of sorts, detailing on the banner page high-level information about each document within that batch. I take information from the batch file (bch), read in an additional external file and aggregate the data in GVMs (to form an array, basically) during the BatchBannerBeginScript. The problem I now have is that I have a variable-sized array (based on the document-count within my batch file), yet my understanding is that I can't use functions available to me in GenData, so I have to basically pre-define as many instances of the section (if I do a report line per section) or field (if I do one section with all instances of the field on it) as I think are possible (max-case scenario, basically).
    However, after I have my Section/Fields defined, I still need to use DAL scripting to populate those fields. I tried to use SetFld to populate them, but the values don't show up in my output, leading me to believe that function/rule doesn't work in GenPrint. Is there a better way to set all those fields than to explicitly assign each instance of a field? I'd rather have a short While loop that takes a GVM's instance and assigns it to a variable field name than have hundreds of assign statements where I explicitly assign each possible field.
    Thanks,
    Gregg

    Aha. So you have an existing script that is executing somewhere to assign some other field during print. Depending upon what and when this script runs, you may be trying to set your banner fields too late. You see, as a default the banner page is temporary. Generally it is created, printed, then destroyed all before the first real page of your transaction prints. If you are not using the TransBannerBeginScript INI option as mentioned earlier, you might try to use that method to run your script which should be while the banner page is still alive.
    There is another way that you could try to run your script on the given page using what is called a "print time" or "macro" field. This would involve creating one more field on your banner section and name it like this:
    ~DALRUN MyScript.DAL
    Yes, you can name your script something other than MyScript.DAL.  The key is the ~DALRUN at the start, which will be interpreted at print time to mean that you want to run the DAL script and return a value. Now, of course you don't need a real value for this field, but there's nothing to stop the script from assigning data into the other fields at that time.
    You do have to make sure that this field is the first in sequence on the section. Otherwise, some of your fields may print before it gets to the point to evaluate this "print time" request.
    To make sure this is the first field in sequence will differ depending upon whether you are using DMStudio or the older Image Editor. Since you mentioned 11.5,  you could use either. In DMStudio, simply click on the "Objects" tab when the section is open and then click on the field to highlight it in the tree. Then use the button bar just above there to move the field to the top of the list.

  • How can i use AME for the new OAF page.

    Dear all,
    I have developed a new OAF page and registered under Employee Self Service.
    How can i use AME for the approval process.
    Appreciate your ideas?
    zamora

    I will try to answer based on my experience of working with iProcurement and AME. It depends on how you want to make a call to AME , directly from OAF Page or from Workflow and your requirement. You didn't specify what you want to show the users on OAF Page and your business requirement.
    Before calling AME Engine from the OAF page or workflow, I guess you did already setup AME Transaction Type and it's Approval Groups, Conditions, Action Types and Rules. Do some testing from AME Business Analyst Test Workbench. Please note that, AME provides lot of PL/SQL API's that you have to call from your programs (java or workflow pl/sql)
    Let's look at the workflow and putting an OAF Page as notification.
    As Sameer said, you have kick-off workflow process from PR of CO and with in the workflow function, you make a call to AME Engine API's with the AME Transaction ID. This transactionId belongs to the AME Transsaction Type that you setup. Based on the rules setup, AME Engine generates list of approvers/approver and stores them AME Tables for that transactionId. Then, it sends a notification to the approver.
    In the workflow, where that notification is defined, in the message body you have to put an attribute(&XX_WF_FWK_RN) of type document/send. And this attribute will have the constant JSP:/OA_HTML/OA.jsp?OAFunc=XX_FUNC&paramId=-&DOCUMENT_ID-. This function is SSWA Jsp function that makes a web html call to your OAF Region.
    If your requirement is to just show the list of approvers on the OAF Page, you may have to call AME API diectly passing your AME TrasnactionId with other parameters. Then AME generates list of approvers and stores them in AME tables with each approver status. You can pickup those approvers using VO and show them on OAF Page.
    Hope this gives some idea.

  • Can I use OA framework to create custom pages

    Hi,
    My client is using 11.5.8 and the Framework version is 5.6.
    And we want to add a custom page to iSupplier application.
    Can I use OA Framework extension to develop the page and add it to the application without upgrading the applications techstack.? If Yes, what version of the OA patch do I need to use for development.
    If not, is there any way to add a custom page to this application?

    OAF can be technology of choice only after 11.5.9 . Use JSP instead to develop your custom pages.
    --Mukul                                                                                                                                                                                                                                                               

  • Can I use Adobe AIR applications in web pages?

    I want to use an air application in web page .can I do this?
    please help me!

    If you haven't used any AIR specific packages then the swf is same as the flash SWF for web and you can use it directly.
    Somebody correct me if I am wrong...

Maybe you are looking for

  • Need help fast!

    Last night I was told (on this forum) I should password protect my wireless router so this AM I printed out the instructions and followed the steps. http://192.168.1.1 and went to Wireless>Wireless Security Set to WEP Typed a passpphrase and hit gene

  • Finder Window - Date Modified Column Keeps Changing

    When I open a Finder window, change the size of the "Date Modified" column then close the Finder window, the next time I open the same Finder window, the "Date Modified" column will compress the size of the column. Why isn't Finder 10.9 maintaining m

  • JMS using JBoss !!!

    Hey, ich just have a problem realizing jms over the jboss server. Actually, if you want to implement a JMS-Producer or JMS-Consumer you need to define a �*-servie.xml� file which hast to be copied in the deployed directory of the server and it has to

  • Sign in Issue with FaceTime

    I keep trying to sign in to FaceTime on my MacBook Pro.  It asks for my Apple ID and password and signs me in, then it asks whether I would like to use my phone number or email.  Regardless of what I select, when I hit next, it shoots me back to the

  • Opening and browsing Mail takes forever (memory overloaded) ?

    Since I have moved to Maverick, Mail is taking times for opening and when using. Memory is overloaded and Mail "do not answer" any more for a while ... Could you help me ?