Layout + T Container.

Hello Friends,
I am having some layout issues.... its following...
I have a Tab which contains one T.container. ( Gridlayout with 1 colum ). Inside this container I have haing 4 containers.... All 4 container are having labels and input fields.... I want to make all four container left indent....(hAlign)... but when I do in  some container left padding.... it looks fine, but on different resulotions, the place of container varries....... how I can fix this issue...
thanks and regards,

Hi,
let me try to explain you how to proceed with layouts.......
First thing to remember is use of matrix layout.........
1. first set the size of your rootuielement according to your requirement.... say 100%...set layout to matrix.....
2. insert a transparent container and set its width....... say 100% again.... set layout to matrix...
3. now according to your requirements insert UI elements.............
note... if you want to insert 3 input fields say and want thm to be fix my sgst would be first insert three Transparent container and in these insert your input field....
regards
Pranav
Edited by: Pranav Nagpal on Dec 19, 2008 5:46 AM

Similar Messages

  • 'Missing layout for container' error on deleted child containers

    Hi all, here was the problem: I have a Web Dynpro app built using NWDS 7.1 SP01 PAT0000 Build ID 200811152209. In this app I have a view where I had existing containers and child controls. I selected one of my existing transparent containers and used "Copy / Paste" to make a copy of it. Then I went underneath the pasted transparent container (which of course had a copy of all the original child controls) and started deleting the ones I didn't need.
    When I did a deployment, however, I had this strange set of errors:
    [wdgen] [Error]   TransparentContainer 'tcPortHdr1.Layout': Missing layout for container.
    [wdgen] [Error]   TransparentContainer 'tcPortHdr1': Missing 'Layout'.
    [wdgen] [Error]   TransparentContainer 'tcPortSelect1.Layout': Missing layout for container.
    [wdgen] [Error]   ScrollContainer 'tcPortSelectData1.Layout': Missing layout for container.
    [wdgen] [Error]   ScrollContainer 'tcPortSelectData1': Missing 'Layout'.
    [wdgen] [Error]   TransparentContainer 'tcPortSelect1': Missing 'Layout'.
    [wdgen] [Error]   TransparentContainer 'tcPortNew1.Layout': Missing layout for container.
    [wdgen] [Error]   TransparentContainer 'tcPortNew1': Missing 'Layout'.
    The funny thing about these guys--they were the child controls I had deleted from the designer UI after doing the paste. In the graphical view designer, they didn't show up. However, when I do a search for one of the offending items (say, tcPortHdr1) using Ctrl+H, then I get one match found in RoadMap03SelectMethodView.wdview. That makes sense; it's the file SAP uses to create the view.
    Double-clicking on that file brings up the visual view designer, which does not show the "missing" control in question. So, I tried right-clicking on the wdview file and using the Open With... -> Text Editor option. That brings up an XML file and voila the control is in there:
    <TransparentContainer name="tcPortHdr1">
      <ViewElement.Definition>
        <Core.Reference package="com.sap.ide.webdynpro.uielementdefinitions"
          name="TransparentContainer" type="UIElementDefinition"/>
      </ViewElement.Definition>
      <UIElementContainer.Children>
        <UIElement name="ftvPort1">
          <ViewElement.Definition>
            <Core.Reference package="com.sap.ide.webdynpro.uielementdefinitions"
              name="FormattedTextView" type="UIElementDefinition"/>
          </ViewElement.Definition>
        </UIElement>
      </UIElementContainer.Children>
    </TransparentContainer>
    Wow! Even though I have deleted the child controls from the UI, they are still in the XML file. So, just for kicks, I try deleting the controls manually from the XML file using this handy-dandy regex and CtrlF: *Port[\w_]\d*
    The above regex found four controls (all of 'em, of course, I had already deleted from the designer using the UI). I do another deployment and the build works great! So, it looks like problem solved and the only issue being some nasty little bug in the UI that doesn't really delete controls from the backing XML file when you delete them from the visual designer, right?
    Edited by: ANDY BRUCE on Feb 3, 2009 7:24 PM
    Edited by: ANDY BRUCE on Feb 3, 2009 7:29 PM
    Edited by: ANDY BRUCE on Feb 3, 2009 7:30 PM
    Edited by: ANDY BRUCE on Feb 3, 2009 7:30 PM

    Dear Andy,
    I think this should go in the Web Dynpro forums?!
    Regards,
    George.

  • 'Missing layout for container' error on deleted child container

    At times in Web Dynpro apps I run into this compiler error. I thought I would share my investigation into it.
    Hi all, here was the problem: I have a Web Dynpro app built using NWDS 7.1 SP01 PAT0000 Build ID 200811152209. In this app I have a view where I had existing containers and child controls. I selected one of my existing transparent containers and used "Copy / Paste" to make a copy of it. Then I went underneath the pasted transparent container (which of course had a copy of all the original child controls) and started deleting the ones I didn't need.
    When I did a deployment, however, I had this strange set of errors:
    [wdgen] [Error]   TransparentContainer 'tcPortHdr1.Layout': Missing layout for container.
    [wdgen] [Error]   TransparentContainer 'tcPortHdr1': Missing 'Layout'.
    [wdgen] [Error]   TransparentContainer 'tcPortSelect1.Layout': Missing layout for container.
    [wdgen] [Error]   ScrollContainer 'tcPortSelectData1.Layout': Missing layout for container.
    [wdgen] [Error]   ScrollContainer 'tcPortSelectData1': Missing 'Layout'.
    [wdgen] [Error]   TransparentContainer 'tcPortSelect1': Missing 'Layout'.
    [wdgen] [Error]   TransparentContainer 'tcPortNew1.Layout': Missing layout for container.
    [wdgen] [Error]   TransparentContainer 'tcPortNew1': Missing 'Layout'.
    The funny thing about these guys--they were the child controls I had deleted from the designer UI after doing the paste. In the graphical view designer, they didn't show up. However, when I do a search for one of the offending items (say, tcPortHdr1) using Ctrl+H, then I get one match found in RoadMap03SelectMethodView.wdview. That makes sense; it's the file SAP uses to create the view.
    Double-clicking on that file brings up the visual view designer, which does not show the "missing" control in question. So, I tried right-clicking on the wdview file and using the Open With... -> Text Editor option. That brings up an XML file and voila the control is in there:
    <TransparentContainer name="tcPortHdr1">
      <ViewElement.Definition>
        <Core.Reference package="com.sap.ide.webdynpro.uielementdefinitions"
          name="TransparentContainer" type="UIElementDefinition"/>
      </ViewElement.Definition>
      <UIElementContainer.Children>
        <UIElement name="ftvPort1">
          <ViewElement.Definition>
            <Core.Reference package="com.sap.ide.webdynpro.uielementdefinitions"
              name="FormattedTextView" type="UIElementDefinition"/>
          </ViewElement.Definition>
        </UIElement>
      </UIElementContainer.Children>
    </TransparentContainer>
    Wow! Even though I have deleted the child controls from the UI, they are still in the XML file. So, just for kicks, I try deleting the controls manually from the XML file using this handy-dandy regex and Ctrl+F:
    *Port[\w_]+\d*
    The above regex found four controls (all of 'em, of course, I had already deleted from the designer using the UI). I do another deployment and the build works great! So, it looks like problem solved and the only issue being some nasty little bug in the UI that doesn't really delete controls from the backing XML file when you delete them from the visual designer, right?
    Edited by: ANDY BRUCE on Feb 3, 2009 11:52 PM
    Edited by: ANDY BRUCE on Feb 3, 2009 11:54 PM

    Thanks for the advice, but I'm not interested in fixing the problem. Just in giving someone else some keywords to help resolve the problem

  • Set layout of container to flowlayout

    Hi.Could someone please help me with the following .. im battling to do this in a program..thank you.
    /* Write code that will set the layout of the container to a Flowlayout,
    then add all the GUI components to the container */

    yes i read it, it helped.
    This is what i have so far.
    public void addComponentsToPane(final Container pane)
    final JPanel compsToExperiment = new
    JPanel();
    ompsToExperiment.setLayout(experimentLayout);
    xperimentLayout.setAlignment(FlowLayout.TRAILING);
    JPanel controls = new JPanel();
    controls.setLayout(new FlowLayout());
    prompt1JLabel = new JButton(prompt1);
    prompt1JLabel.setActionCommand(prompt1);
    prompt1JLabel.setSelected(true);
    prompt2JLabel = new JButton(prompt2);
    prompt2JLabel.setActionCommand(prompt2);
    //Add buttons to the experiment layout
    compsToExperiment.add(new JButton("Button
    1"));
    compsToExperiment.add(new JButton("Button
    2"));
    compsToExperiment.add(new JButton("Button
    3"));
    compsToExperiment.add(new JButton("Long-Named
    Button 4"));
    compsToExperiment.add(new JButton("5"));
    //Left to right component orientation is selected by
    default
    compsToExperiment.setComponentOrientation(
    ComponentOrientation.LEFT_TO_RIGHT);what about :
    Container c = getContentPane();
    c.setLayout(new FlowLayout());
    //create your Panel and add components.
    (not tested but it should be good)

  • Error while running a page which contains a region

    Hi ADF Experts,
    I am having a jsff page fragment. The fragment has panelbox(with some content and button) and a panel group layout(which contains a region).
    On click of the button the panelbox is disclosed to false and the region is to be rendered.
    But on page load I am getting the below exception. Earlier the page was coming fine. After dragging the region I am getting this error.
    Hierarchy is as below:-
    <af:panelBox text="Search Filters" id="pb1" type="stretch"
                     inlineStyle="width:inherit; height:inherit;"
                     binding="#{pageFlowScope.TreeModel.searchFilterPanelBox}"
                     partialTriggers="cb3">
    <af:commandButton text="Search" id="cb3" partialSubmit="true"
                                    actionListener="#{pageFlowScope.TreeModel.searchorderProposal}"/>
    </af:panelBox>
    <af:panelGroupLayout id="pgl15" layout="scroll" binding="#{pageFlowScope.TreeModel.searchResultsDisplay}" rendered="false"
                            partialTriggers="cb3">
       <af:region value="#{bindings.BTFSearchResults1.regionModel}" id="r1"/>
    </af:panelGroupLayout>
    The region contains
    <af:panelGroupLayout id="pgl1" layout="scroll">
        <af:panelGroupLayout id="pgl16" inlineStyle="width:1239px; height:inherit;"
                             layout="horizontal">
    <!--some content-->
    </af:panelGrouplayout>
    onclick of the button the region is rendered as true and the disclosure of the panel box im setting as false.
    But after adding the region im getting below error.
    Caused by: java.io.FileNotFoundException: MDS-01500: The MDSObject /orderproposals.jsff is an XML document and cannot be loaded using StreamedObject API.
    Thanks in advance,
    Roy

    I'm not sure about this but using rendered is always a problem if you want to show show the element during a ppr (which is what you do AFAIK). Once a component has rendered='false' is removed from the component tree and can't be put back in there without a full page refresh.
    Try using the visible property instead or use an af:switcher component.
    Timo

  • Open Items Layout

    I'm sure there is a basic answer to this so hopefully someone can help.
    When accessing payment processing or customer clearing transactions (F-28, F-26, F-32) the Process Open Items screen initially has a layout which contains a number of columns including a Text column. This is the case for some users but not all.
    When you go to Settings >> Line layout, the Active variant is displayed in the pop up window. Once this pop up window is closed (even if no other layout is selected) the screen updates to a layout without the Text column. Selection of any of the layout options, including the original Active variant via Settings >> Line layout does not actually bring back the original layout, the only way to get this back to to come out of the transaction and return.
    It seems like there is a default layout which is not selectable but the screen will initially display with this "invisible" layout. Is there anyway to find this out since some users layout will default with the Text column required and some will not.
    Please note, the option for users to manually change the layout via Settings >> Change line layout produces an error ("...status not modifiable") but I'm not sure why the users should have a different default and I would like to bring their views into line with each other.

    Hi,
    Could you please check, whether there is in table TCVIEW an entry
    for the user '   .TCADMIN.'. As soon as such an entry exists,
    these informations are used when the open item list is called
    in a clearing transaction. Based on the program logic the entry of
    TCVIEW has a higher priority then the variant settings.
    That means, each time you call open items in a clearing transaction, the
    table control settings of '   .TCADMIN.' are used and the personal
    parameters are ignored.
    So please consider, if you really need this entry of user '   .TCADMIN.'
    in TCVIEW. Settings of the table control have always a higher priority
    as variants. That's the default behaviour in all SAP FI transactions.
    You will see a similar entries as the following one:
    TCVIEW
    MANDANT TCPROGRAM     TCUSERTYPE TCUSER        TCCONTROL
          SAPDF05X      A             .TCADMIN.     TC_6102 (or similar one)
    Kindly delete the same in order to get the desired result.
    Please also refer to the attached SAP note TCVIEW
    MANDANT TCPROGRAM     TCUSERTYPE TCUSER        TCCONTROL
          SAPDF05X      A             .TCADMIN.     TC_6102 (or similar one)
    Kindly delete the same in order to get the desired result.
    Please also refer to the attached SAP note 1228601 containing this
    information.
    Hope this could help you with the resolution of this issue.
    BR, Hana

  • Layout manager issue.

    I was hoping that someone could shed some light on why one layout manage will allow an applet to be inserted in a class that extends JFrame but not another.
    Here is the guts of the problem I have an class that extends applet to display a pie chart. I then have a seperate class that extends JFrame that display two input boxes and a button. When the user enters two fields and clicks draw the pie chart displays working with the two numbers. The JFrame class that works uses the border layout. I change the class to use gridbag, and now only the textboxes display. Can anyone help. Here is the code for the three classes.
    This is the applet class....
    * File: PieChart.java
    * PieChart class is an Swing applet that use a pie chart
    * to show the percentage. It is used by PieChartExample
    * to show what percetange of a payment actually goes to
    * pay interest. There is no error handling in the program.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    public class PieChart extends JApplet {
    final static Color bg = Color.white;
    final static Color fg = Color.black;
    private double percent;
    public void init() {
    //Initialize drawing colors
    setBackground(bg);
    setForeground(fg);
    percent = 1.0;
         public void setPercentage(double pct) {
              this.percent = pct;
    public void paint(Graphics g) {
    Graphics2D g2 = (Graphics2D) g;
    g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
    g2.setPaint(fg);
    drawAnnotation(g2);
    drawArc(g2, percent);
    public void drawAnnotation(Graphics2D g2) {
              // draw a small green circle
              g2.setPaint(Color.green);
    g2.fill(new Ellipse2D.Double(200, 200, 10,10));
    // draw a small red circle
    g2.setPaint(Color.red);
    g2.fill(new Ellipse2D.Double(270, 200, 10, 10));
    g2.setPaint(Color.black);
    g2.drawString("Interest", 210, 210); // write "Interest" by green circle
    g2.drawString("Principal", 280, 210); // write "Principal" by red circle
         public void drawArc(Graphics2D g2, double percent) {
    // draw the interest portion
              g2.setPaint(Color.green);
              g2.fill(new Arc2D.Double(10,10,200,200, 0, percent * 360, Arc2D.PIE));
              // draw the rest (principal portion)
              g2.setPaint(Color.red);
              g2.fill(new Arc2D.Double(10,10,200,200, percent * 360, (1-percent)*360, Arc2D.PIE));
    This is the JFrame class using Boarderlayout that works.
    * File: PieChartExample.java
    * The program demonstrate a simple use of pie chart. It takes total
    * payment and interest paid from user input and draws a pie chart
    * to show the percentage of interert to total payment. There is no
    * error handling whatsoever in the example program, so you can see
    * that it can be broken easily.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    public class PieChartExample extends JFrame {
         final static int CHART_WIDTH = 800;
         final static int CHART_HEIGHT = 300;
         JPanel panel ;
         JLabel paymentLabel;
         JTextField paymentField;
         JLabel interestLabel;
         JTextField interestField;
         JButton show;
    PieChart applet;
    public PieChartExample() {
    super("Pie Chart Example");
    panel = new JPanel();
    paymentLabel = new JLabel("Payment: $");
    panel.add(paymentLabel);
    paymentField = new JTextField(10);
    panel.add(paymentField);
    interestLabel = new JLabel("Interest: $");
    panel.add(interestLabel);
    interestField = new JTextField(10);
    panel.add(interestField);
    show = new JButton("Draw");
    panel.add(show);
    this.getContentPane().add("North", panel);
    applet = new PieChart();
    this.getContentPane().add("Center", applet);
    show.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent evt) {
                        double interest = Double.parseDouble(interestField.getText());
                        double payment = Double.parseDouble(paymentField.getText());
                        double percent = interest / payment;
                        //System.out.println("In event handler, percent is " + percent);
                        applet.setPercentage(percent);
                        applet.repaint();
    private static void createAndShowGUI() {
    PieChartExample f = new PieChartExample();
    f.pack();
    f.setSize(new Dimension(CHART_WIDTH ,CHART_HEIGHT));
    f.show();
    public static void main(String[] args) {
    //Schedule a job for the event-dispatching thread:
    //creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    This is the modified class to use GridBag that fails.
    * File: PieChartExample2.java
    * The program demonstrate a simple use of pie chart. It takes total
    * payment and interest paid from user input and draws a pie chart
    * to show the percentage of interert to total payment. There is no
    * error handling whatsoever in the example program, so you can see
    * that it can be broken easily.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    public class PieChartExample2 extends JFrame {
         final static int CHART_WIDTH = 800;
         final static int CHART_HEIGHT = 300;
         JPanel panel ;
         JLabel paymentLabel;
         JTextField paymentField;
         JLabel interestLabel;
         JTextField interestField;
         JButton show;
    PieChart applet;
    public PieChartExample2() {
    super("Pie Chart Example");
    // Get container and set layout manager
    Container contentPane = getContentPane();
    GridBagLayout gridbag = new GridBagLayout();
    GridBagConstraints c = new GridBagConstraints();
    contentPane.setLayout(gridbag);
    c.fill = GridBagConstraints.HORIZONTAL;
    panel = new JPanel();
    paymentLabel = new JLabel("Payment: $");
    panel.add(paymentLabel);
    paymentField = new JTextField(10);
    panel.add(paymentField);
    interestLabel = new JLabel("Interest: $");
    panel.add(interestLabel);
    interestField = new JTextField(10);
    panel.add(interestField);
    show = new JButton("Draw");
    panel.add(show);
    c.gridx = 0;
    c.gridy = 0;
    gridbag.setConstraints(panel, c);
    contentPane.add(panel);
    applet = new PieChart();
    c.gridx = 0;
    c.gridy = 1;
    gridbag.setConstraints(applet, c);
    contentPane.add(applet);
    show.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent evt) {
                        double interest = Double.parseDouble(interestField.getText());
                        double payment = Double.parseDouble(paymentField.getText());
                        double percent = interest / payment;
                        //System.out.println("In event handler, percent is " + percent);
                        applet.setPercentage(percent);
                        applet.repaint();
    private static void createAndShowGUI() {
    PieChartExample2 f = new PieChartExample2();
    f.pack();
    f.setSize(new Dimension(CHART_WIDTH ,CHART_HEIGHT));
    f.show();
    public static void main(String[] args) {
    //Schedule a job for the event-dispatching thread:
    //creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    }

    Ok. It seems I may be wrong and that this may not be a concurrent call issue. I overode the components setBounds and setLocation methods and it appears that an external class is updating the position of these components while layoutContainer is attempting to position them. I can see that the correct positions are being set in the setBounds method, but this is happening after layoutContainer has called getLocation on the components. To be a little more specific, I am using a JLayeredPane to display some overlapping JLabels with images. I have implemented drag and drop on these labels so that dropping one on another swaps the images. The label positions and sizes are not being changed during the drop (I don't want them to move or resize just change images). However, for some reason I have yet to discover, two calls to set bounds are being made on the labels. The first call is relocating the label to the second labels position, the second call is relocating the label back to it's original position. If anyone has any insight on why the label position are changing when I am not explicitly repositioning them please reply. I will post another reply when I have corrected the problem or found a work around for it. I am awarding the dukes to tjacobs1 since he was the only responses I've had so far.

  • ISSUE: InDesign document automatically creating "imported" paragraph styles when you open the Layout.

    Hi
    I have an InDesign layout that contains multiple boxes, which all have style sheets applied to them.
    There are a lot of unused styles on this layout too so these have been organised into folders.
    When I close it and re-open the document, it creates all of the styles on the document again at the root level (not in the folder). However, it does not create them correctly, it simply makes them 14pt Times New Roman....
    These styles look like they have been imported from Word (they have the little Floppy Disk icon next to their names). If you delete these and then save and re-open, they will be back there again.
    However, if I remove them from their folders and place them at the root level, upon saving and re-opening, they won't be re-created (assumably because it can't due to a name conflict).
    Any idea what would be causing it to want to create those styles every time?
    The styles it has created:
    Cheers
    Rich

    It's not actually linked to a word file.
    I was just using that as a way of describing the link it seems to have.
    Links panel only contains the link to the one image on the page

  • Issues in P6v7 saving layouts with UDF's and Filters

    In P6v7 have created series of layouts which contain columns for UDF's and Layout Filters based on selecting green form Indicator type UDF's
    The project activities have entries in the UDF's eg the UDF fields have entries for most but not all of activities.
    When exporting the layouts as .plf files and importing into another version of P6v7 the UDF's come in correctly however the columns are missing from the spreadsheet.
    Also when importing the layout filter criteria doesn't come across correctly - or at all.
    Is this a bug or at the least a known issue.
    Any help welcomed.

    If you don`t already yuse the xfl file format instead of the fla, try this.
    If possible dont use network drives for saving.

  • Layout Mode

    Hi
    I have created my site in dreamweaver, but it is not
    appearing in the browser as it should.
    I have two tables that need to be lined up with each other in
    the centre. Although, when I create it in layout mode it appears
    correctly but then when I preview the site in browser the tables
    are off to the left.
    Any ideas of how to fix it?
    Thanks Lou

    This post was made to the identical thread called "Layout
    Altered" - posted
    yesterday -
    Yes, it does.
    DW's timeline code is such an antique (dating from DW2, I
    believe) that it
    fails in some of the more recent browsers. Unless there is a
    compelling
    reason to use it, I wouldn't.
    It's likely that your problems stem from this code -
    <table width="748"" height="419" align="center"
    cellspacing="10"
    id="Content"
    style="border: 1px solid black; </table>
    Note that not only is the opening table tag improperly
    closed, but the whole
    thing is bogus anyhow. You cannot have
    <table></table> in your code. I
    assume that the closing </table> is an error, meaning
    that the code should
    be -
    <table width="748"" height="419" align="center"
    cellspacing="10"
    id="Content"
    style="border: 1px solid black;">
    This should fix part of your problem. You will have another
    immediate
    problem, though, that is caused by your use of absolute
    positioning with
    centering tables. The tables will center, but the absolutely
    positioned
    elements will be fixed in their location. Thus, the table's
    content will
    slide under the 'layers', breaking your layout.
    Finally, you have used Layout mode to build these tables. In
    my opinion,
    there are three serious problems with Layout Mode -
    1. Perhaps most importantly, it sits between you and *real*
    HTML tables,
    and fools you into believing that concepts like "layout cell"
    and
    "autostretch" really mean something. They do not. As long as
    you use
    Layout Mode, you'll never learn one of the most important
    things for new web
    developers - how to build solid and reliable tables.
    2. Actually, #1 wouldn't be *so* bad, except that the code
    that is written
    by Layout Mode is really poor code. For example, a layout
    table contains
    MANY empty rows of cells. This can contribute to a table's
    instability.
    In addition, if your initial positioning of the table's cells
    is a bit
    complex,
    Layout Mode will throw in col- and rowspans aplenty as it
    merges and splits
    cells willy-nillly to achieve the pixel-perfect layout you
    have specified.
    Again,
    this is an extremely poor method for building stable tables,
    because it
    allows
    changes in one tiny cell's shape (i.e, dimensions) to ripple
    through the
    rest
    of the table, usually with unexpected and sometimes
    disastrous consequences.
    This is one of the primary reasons for the final result's
    fragility - read
    this -
    http://apptools.com/rants/spans.php
    3. The UI for Layout Mode is beyond confusing - many options
    that you might
    want to use are inaccessible, e.g., inserting another table,
    or layer onto
    the page.
    I can understand the new user's desire to use this tool to
    make their life
    easier,
    but the cost is just too heavy in my opinion.
    To make good tables, keep it simple. Put a table on the page,
    and begin to
    load your content. If you would want a different table
    layout, instead of
    merging or splitting cells, consider stacking tables or
    nesting simple
    tables instead, respectively.
    And above all, do not try to build the whole page with a
    single table!
    To read more about this approach, visit the DW FAQ link in my
    sig, and run
    through the table tutorials.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Malcolm N_" <[email protected]> wrote in message
    news:[email protected]...
    > On Wed, 8 Aug 2007 12:07:34 +0000 (UTC), "LoobieLouLou"
    > <[email protected]> wrote:
    >
    >>I am not absolutely sure how the table html code
    should look, please could
    >>you
    >>show me?
    >
    > in a new file - create a new table and then look at the
    code
    >
    > it starts with a <table>
    > then a <tr> to start the row
    > then <td> or <th> to start a cell - each
    <td> needs a balancing </td>
    > to close it
    >
    > to end a row it uses a </tr>
    >
    > look at your code and you will see missing </td>
    and </tr>
    >
    > and the first table has no content i.e a <table>
    immediately followed
    > by a </table> with no rows or cells
    >
    > Just using Dw to produce a site without undertstanding
    html and css is
    > not a recipe for success.
    >
    >
    >
    >
    > --
    >
    > ~Malcolm N....
    > ~

  • Layout mode in Dreamweaver CS3. Can't draw table

    I did the same exact thing i do in dreamweaver 8, but in cs3,
    it's now working.
    I went to layout mode and with a blank page and the draw
    table button is grayed out.
    what do i do to use it. I'm already in layout mode.

    Get out of Layout mode for starters.
    In my opinion, there are three serious problems with Layout
    Mode -
    1. Perhaps most importantly, it sits between you and *real*
    HTML tables,
    and fools you into believing that concepts like "layout cell"
    and
    "autostretch" really mean something. They do not. As long as
    you use
    Layout Mode, you'll never learn one of the most important
    things for new web
    developers - how to build solid and reliable tables.
    2. Actually, #1 wouldn't be *so* bad, except that the code
    that is written
    by Layout Mode is really poor code. For example, a layout
    table contains
    MANY empty rows of cells. This can contribute to a table's
    instability.
    In addition, if your initial positioning of the table's cells
    is a bit
    complex,
    Layout Mode will throw in col- and rowspans aplenty as it
    merges and splits
    cells willy-nillly to achieve the pixel-perfect layout you
    have specified.
    Again,
    this is an extremely poor method for building stable tables,
    because it
    allows
    changes in one tiny cell's shape (i.e, dimensions) to ripple
    through the
    rest
    of the table, usually with unexpected and sometimes
    disastrous consequences.
    This is one of the primary reasons for the final result's
    fragility - read
    this -
    http://apptools.com/rants/spans.php
    3. The UI for Layout Mode is beyond confusing - many options
    that you might
    want to use are inaccessible, e.g., inserting another table,
    or layer onto
    the page.
    I can understand the new user's desire to use this tool to
    make their life
    easier,
    but the cost is just too heavy in my opinion.
    To make good tables, keep it simple. Put a table on the page,
    and begin to
    load your content. If you would want a different table
    layout, instead of
    merging or splitting cells, consider stacking tables or
    nesting simple
    tables instead, respectively.
    And above all, do not try to build the whole page with a
    single table!
    To read more about this approach, visit the DW FAQ link in my
    sig, and run
    through the table tutorials.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Dreamweaver2k2" <[email protected]> wrote
    in message
    news:[email protected]...
    >I did the same exact thing i do in dreamweaver 8, but in
    cs3, it's now
    >working.
    > I went to layout mode and with a blank page and the draw
    table button is
    > grayed out.
    >
    > what do i do to use it. I'm already in layout mode.
    >

  • Portlets not coming as per layout for the Cutomized layout structure

    I have created new Customized layout for our application.
    I could see the cutomized layout properly in Workshop. When i am adding the portlets to all of the placeholders in layout and running the portal , out put i could see all the portlets are coming in vertical and not as per structure as per i defined.
    COuld not understand why it is happening when it is displaying properly in Workshop IDE.
    One more issue i could not define the Height attribute to the placeholders .How to have cutomized heights for the placeholders?
    Here are the My layout codes
    Homelayout.layout_
    <?xml version="1.0" encoding="UTF-8"?>
    <netuix:markupDefinition xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0 markup-netuix-1_0_0.xsd">
    <netuix:locale language="en"/>
    <netuix:markup>
    <netuix:layout title="homePageLayout" description="This layout is for home page of the portal"
    skeletonUri="homePageLayout.jsp" htmlLayoutUri="/framework/markup/layout/homePageLayout.html.txt"
    markupType="Layout" markupName="homePageLayout">
    <netuix:placeholder title="top" description="The top most placeholder in this layout."
    flow="vertical" usingFlow="true"
    markupType="Placeholder" markupName="custom_Top">
    </netuix:placeholder>
    <netuix:placeholder title="center" description="The left of center placeholder in this layout."
    flow="vertical" usingFlow="true"
    markupType="Placeholder" markupName="custom_center">
    </netuix:placeholder>
    <netuix:placeholder title="bottomLeft" description="The right of center placeholder in this layout."
    flow="vertical" usingFlow="true"
    markupType="Placeholder" markupName="custom_bottomLeft">
    </netuix:placeholder>
    <netuix:placeholder title="bottomCenter" description="The right most placeholder in this layout."
    flow="vertical" usingFlow="true"
    markupType="Placeholder" markupName="custom_bottomCenter">
    </netuix:placeholder>
    <netuix:placeholder title="bottomRight" description="The right most placeholder in this layout."
    flow="vertical" usingFlow="true"
    markupType="Placeholder" markupName="custom_bottomRight">
    </netuix:placeholder>
    </netuix:layout>
    </netuix:markup>
    </netuix:markupDefinition>
    homeLayout.html.txt_
    <table class="portalLayout" id="thePortalLayout" width="100%" height="100%">
    <tr height="40%">
    <td colspan="3" class="placeholderTD" valign="top" width="100%" >
    <placeholder number="0"/>
    </td>
    </tr>
    <tr height="10%">
    <td height="10%" colspan="3" class="placeholderTD" valign="top" width="100%">
    <placeholder number="1"/>
    </td>
    </tr>
    <tr height="50%">
    <td class="placeholderTD" valign="top" width="25%">
    <placeholder number="2"/>
    </td>
    <td class="placeholderTD" valign="top" width="50%">
    <placeholder number="3"/>
    </td>
    <td class="placeholderTD" valign="top" width="25%">
    <placeholder number="4"/>
    </td>
    </tr>
    </table>
    Skelnton JSP*
    <%@ page import="com.bea.netuix.servlets.controls.layout.PlaceholderPresentationContext,
    com.bea.netuix.servlets.controls.layout.BorderLayoutPresentationContext"%>
    <%@ page import="java.util.List" %>
    <%@ page import ="com.bea.netuix.servlets.controls.layout.LayoutPresentationContext"%>
    <%@ page session="false"%>
    <%@ taglib uri="http://www.bea.com/servers/portal/tags/netuix/render" prefix="render" %>
    <%
    LayoutPresentationContext layout = LayoutPresentationContext.getLayoutPresentationContext(request);
    List children = layout.getChildren("layout:placeholder");
    PlaceholderPresentationContext custom_Top =
    (PlaceholderPresentationContext) children.get(0);
    PlaceholderPresentationContext custom_center =
    (PlaceholderPresentationContext) children.get(1);
    PlaceholderPresentationContext custom_bottomLeft =
    (PlaceholderPresentationContext) children.get(2);
    PlaceholderPresentationContext custom_bottomCenter =
    (PlaceholderPresentationContext) children.get(3);
    PlaceholderPresentationContext custom_bottomRight =
         (PlaceholderPresentationContext) children.get(4);
    %>
    <render:beginRender>
         <table border="0" ... write style attributes ... cellspacing="0" >
              <tr>
                   <td colspan="3" class="bea-portal-layout-placeholder-container"
                        <render:writeAttribute name="width" value="<%=custom_Top.getWidth()%>"/>>
    <render:renderChild presentationContext="<%=custom_Top%>" /></td>
              </tr>
              <tr>
                   <td colspan="3" class="bea-portal-layout-placeholder-container"
                        <render:writeAttribute name="width" value="<%=custom_center.getWidth()%>"/>><render:renderChild
                        presentationContext="<%=custom_center%>" /></td>
              </tr>
              <tr >
                   <td class="bea-portal-layout-placeholder-container"
                        <render:writeAttribute name="width" value="<%=custom_bottomLeft.getWidth()%>"/>><render:renderChild
                        presentationContext="<%=custom_bottomLeft%>" />
                   </td>
                   <td class="bea-portal-layout-placeholder-container"
                        <render:writeAttribute name="width" value="<%=custom_bottomCenter.getWidth()%>"/>><render:renderChild
                        presentationContext="<%=custom_bottomCenter%>" />
                   </td>
                   <td class="bea-portal-layout-placeholder-container"
                        <render:writeAttribute name="width" value="<%=custom_bottomRight.getWidth()%>"/>><render:renderChild
                        presentationContext="<%=custom_bottomRight%>" />
                   </td>
              </tr>
         </table>
    </render:beginRender>

    Sanket,
    First test it using ADF Business Components tester. Does it work there?
    If not, check your view link definition.
    If so, make sure you have defined the correct View Object Usages in your application structure file.
    Steven Davelaar,
    JHeadstart Team.

  • How to separate report layout sections in one report

    All,
    I'm trying to determine how to separate report layout sections in one report using Report Builder 10g. My requirement is to provide a user the ability to display a report in PDF, excel, RTF formats. How can I assign LayoutA to 'PDF' and 'RTF', LayoutB to 'Spreadsheet'?
    I've attempted to utilize the Header and Main sections in the paper layout, which contain unique layouts of the same report, but during generation, both sections are being displayed.
    Thanks
    Edited by: Jdavis on Apr 10, 2009 10:56 PM

    Hi there,
    How are you running the report? If you are selecting different types of output before calling the report then you could pass a parameter that is checked at runtime in the report and suppresses the layouts you do not want using format triggers.
    Mark

  • AP Elements & Layout Tables

    1. AP Div is creating the Box at the top of the page and not
    where drawn, also not displaying formatting, positioning
    coordinates are where I want the positioning, but DW Cs3 is
    ignoring it.
    2. Css formating is not showing in DW, only in IE
    3. Layout tables, DW is not accepting the table, ignores the
    action.
    The above may be related to each other, that is why I mention
    all of it.

    > 1. AP Div is creating the Box at the top of the page and
    not where drawn,
    > also
    > not displaying formatting, positioning coordinates are
    where I want the
    > positioning, but DW Cs3 is ignoring it.
    VIEW | Style Rendering > Display Styles
    > 2. Css formating is not showing in DW, only in IE
    Vide supra
    > 3. Layout tables, DW is not accepting the table, ignores
    the action.
    Huh?
    In my opinion, there are three serious problems with Layout
    Mode -
    1. Perhaps most importantly, it sits between you and *real*
    HTML tables,
    and fools you into believing that concepts like "layout cell"
    and
    "autostretch" really mean something. They do not. As long as
    you use
    Layout Mode, you'll never learn one of the most important
    things for new web
    developers - how to build solid and reliable tables.
    2. Actually, #1 wouldn't be *so* bad, except that the code
    that is written
    by Layout Mode is really poor code. For example, a layout
    table contains
    MANY empty rows of cells. This can contribute to a table's
    instability.
    In addition, if your initial positioning of the table's cells
    is a bit
    complex,
    Layout Mode will throw in col- and rowspans aplenty as it
    merges and splits
    cells willy-nillly to achieve the pixel-perfect layout you
    have specified.
    Again,
    this is an extremely poor method for building stable tables,
    because it
    allows
    changes in one tiny cell's shape (i.e, dimensions) to ripple
    through the
    rest
    of the table, usually with unexpected and sometimes
    disastrous consequences.
    This is one of the primary reasons for the final result's
    fragility - read
    this -
    http://apptools.com/rants/spans.php
    3. The UI for Layout Mode is beyond confusing - many options
    that you might
    want to use are inaccessible, e.g., inserting another table,
    or layer onto
    the page.
    I can understand the new user's desire to use this tool to
    make their life
    easier,
    but the cost is just too heavy in my opinion.
    To make good tables, keep it simple. Put a table on the page,
    and begin to
    load your content. If you would want a different table
    layout, instead of
    merging or splitting cells, consider stacking tables or
    nesting simple
    tables instead, respectively.
    And above all, do not try to build the whole page with a
    single table!
    Luckily, Adobe understands the problems created for the
    unsuspecting user
    who falls into this trap, and has elected to remove this
    feature altogether
    from the next version of DW. The time is right for you to
    begin working
    with tables properly!
    To read more about this approach, visit the DW FAQ link in my
    sig, and run
    through the table tutorials.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "EM 989-BK" <[email protected]> wrote in
    message
    news:[email protected]...
    > 1. AP Div is creating the Box at the top of the page and
    not where drawn,
    > also
    > not displaying formatting, positioning coordinates are
    where I want the
    > positioning, but DW Cs3 is ignoring it.
    >
    > 2. Css formating is not showing in DW, only in IE
    >
    > 3. Layout tables, DW is not accepting the table, ignores
    the action.
    >
    > The above may be related to each other, that is why I
    mention all of it.
    >

  • Expand All for Hierarchy in Layout

    Hi all
    Has anyone developed an 'Expand All Nodes' function for a BPS Web application? I have a layout which contains a hierarchy and I would like to be able to provide two buttons which perform an 'Expand All' and 'Collapse All'.
    Cheers
    Dimitri

    If you want expand all levels in hierarchy then you could choose the appropriate level in the 'Expand to Level' option in layout cutomization in Web Interface Builder.
    In our case i have set it to 5 so that when the layout opens all the cost elements appear.But it takes time if the layout is going to read lot of data.
    There is also another option for layout customization called 'Collapse Lead Columns'.If you want both these options in the form of button then you may have to write BSP codes for this task.

Maybe you are looking for