Maximum width of a smartform window

Hi all,
    I have created a smartform table with 36 fields. I tried to show all the fields within the 29 CM table width.     But its saying that 'MAIN WINDOW DOES NOT FIT INTO PAGE'.
I used the Landscape format only. Even then, its not allowing me to extend the table width to 29. If i reduce this, the output does not looks good.
So how to solve this pbm.
How to extend it to 29.  Coudl anyone tell me..
Regards,
Shanthi

Hi,
in landscape format it allows us to extend the page upto 29.70 CM.
So Click on Page and in Output options select the orientation as Landscape.
To Extend this Click on Main winow>output Options>Width 29,70 CM
Then Dbl Click on Table >Click On Table Tab>Click On Details-->Give the table width as 29.70 CM
regards
Sandipan
Edited by: Sandipan Ghosh on Apr 8, 2008 4:04 PM

Similar Messages

  • Smartform window borders not appearing in dot matrix printer Epson FX-1170

    Hi all. I have a smartform with boxes (made out of windows and its borders) and texts inside those boxes. In the print preview, it shows the window borders. However, when the actual printout comes, the window borders do not appear. I have tried to change the 'output options' of the windows - I tried using millimeters, centimeters, point, lines, as well as inches, for the unit and also tried changing the width, but it still doesn't appear. Has anyone encountered a similar problem with dot matrix printers? Please help.

    Hi,
      the dot-matrix printers cannot "draw" lines and pictures, so, it is not capable of drawing the vertical and horizontal lines you have defined in the smartform windows. I think that you need to write the horizontal lines using the '-' or '_' characters but I am not sure about the vertical ones. Of course, as you realize, this requires big development effort.
    Regards,
    George

  • Maximum width of portal

    Hello,
    I was wondering if there is a easy way to define the maximum width of a portal.
    I'm now dealing with the problem that when I load a certain portlet, this portlet
    becomes to big to have a one-screen view. I want my portal to be viewable on one
    screen-width. Is there any way to do this?
    Greets,
    Koen

    Hello Koen,
    There is not an "out-of-the-box" setting in WLPS 3.5 for the width of a portlet,
    but there are a few things you could do to solve your problem:
    One option is to customize portalcontent.jsp, which lays out the portlets in an HTML
    table. Look at portal.jsp, which contains portalcontent.jsp, which contains an HTML
    table that contains each portlet.jsp... You may be able to use a group property such
    as "widthOfMyBigPortlet" to build the table on the fly.
    The easiest thing may be to use a maximizable portlet (
    http://e-docs.bea.com/wlcs/docs35///////portal/portldev.htm#1025077 ). That way, you
    could show an index or summary of content in the portlet and show the full portlet
    when it is maximized. The maximized content can be different than the content in the
    non-maximized portlet.
    Alternatively, you could include a link in your portlet that opens a new window
    containing the contents of your portlet in a stand-alone JSP page (use the <a>
    "TARGET" attribute to open the new window. If you want WLPS session attributes
    available in your standalone portlet (or you want to use rules) then you should go
    through the FlowManager servlet to your JSP page. To do this, send a request to the
    registered name of your FlowManager (probably "application") with pathinfo that
    contains the name of the Application Init property set for your application
    (something like "exampleportal"). Include the real (or final) destination in the
    query string as a parameter like this
    "dest=/portals/repository/portlets/mybigportlet.jsp". Make sure that the real
    destination is under your working directory (defined in your application init
    property set) so you don't get a SecurityException. The FlowManager servlet will not
    forward requests to JSP pages that are not in your working directory. The URL would
    look something like this:
    application/exampleportal$dest=%2Fportals%2Frepository%2Fportlets%2Fmybigportlet.jsp.
    After you get the link working, you should try creating the URL using the methods of
    JspBase.
    Koenpp wrote:
    Hello,
    I was wondering if there is a easy way to define the maximum width of a portal.
    I'm now dealing with the problem that when I load a certain portlet, this portlet
    becomes to big to have a one-screen view. I want my portal to be viewable on one
    screen-width. Is there any way to do this?
    Greets,
    Koen--
    Ture Hoefner
    BEA Systems, Inc.
    2590 Pearl St.
    Suite 110
    Boulder, CO 80302
    www.bea.com

  • Dynamic smartform window

    Can we define dynamic size  window in smartform
    window could be any window ( not only main window).

    Hi Savita,
    Welcome.
    It is not posiible to have dynamic updations on windows as the field to size them are strictly numerical and does not accept variables.
    But if you want you can have same windows in more than one page with different sizes. But for main window once the width is defined it will remain constant for all windows only you can alter the height.
    Regards,
    Amit

  • If Condition in Smartform - window text- without program lines

    Hi,
       I have faced one problem in smartforms. In smartforms i have a window (main.) It has five lines. For Fifth line only i need to check one condition. if it is true then print the Line otherwise i need one Blank line to print.
    How i write if condition in smartforms window - text. 
    Mahesh.

    Hi Mahesh,
    You need to create and alternative node and put your text into that.  An alternative will check a condition, and process one of two nodes depending if it is true or false.  Based on your condition, on true you can have your current text element and on false a text element containing a blank line.
    Regards,
    Nick

  • PDF-File in Smartform Window

    Hi Experts,
    is there any chance to include a pdf-file in a smartforms window? We don't want to attach a pdf-file as second page but need to show the content of a pdf-document in a window.
    Regards
    Nicola

    IMO, You have the option not to display the Smartform, but out of Smartform's OTF, you can convert it to PDF and display it in the custom screen...
    Hope this gives you an alternative.
    Thanks & regards,
    Hadiman

  • Maximum width

    Hi,
    I have mulitple dropdown menus that needs to be on the one line (horizontally).
    As the dropdown menus have pretty long "values" within them, i have to resize the dropdown menus so that they all sit on the one line (going horizontally across the page).
    However, the user has mentioned that even thou he can select the "correct option" when clicking the dropdown menu, he cannot view the rest of the line once the dropdown has been selected?
    Is there any way to make all the dropdown fit on the 1 line and for the user to view his selection?
    What other options do I have if I want the user to view his selection?
    P.S I have already using the maximum width for the survey.
    Regards,
    Edwin

    Edwin,  have you widened the form to it's maximum width of 1500 px?  I know you mention that you are using the maximum width but I want to make sure.  The form can be widened by selecting the right edge of the "page" and dragging it to the right. 
    Another step that you can do is to make the font of the fields smaller and/or use a different font.  Times New Roman is quite a bit "tighter" than the other fonts.
    Hope this helps.
    Jeff Canepa
    Software Quality Engineer
    Adobe Systems, Inc.
    [email protected]

  • JTable column auto-maximum width

    Hi,
    Does anyone have an idea on how to make the JTable to support column auto-maximum width resize, like we always see in a microsoft's table component, you double click on the column seperater and the column resized to its maximum size according to the content in it.
    Thanks
    Yutong

    Hi again,
    I wrote two methods to solve this kind of problem... take a look at them and tell me what you think about it...
       /** Adjusts the widths of a JTable columns
        * @param  table    the table
       public static void resizeTableColumns(JTable table) {
          table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);                    
          TableColumn c = null;
          FontMetrics fm = table.getFontMetrics(table.getFont());
          for (int i=0; i<table.getColumnCount(); i++) {
             c = table.getColumn(table.getColumnName(i));
             c.setPreferredWidth(determineColumnWidth(c, table.getModel(), fm));
       /** Returns the preferred width of a JTable column. The resulting width
        * is 5 pixels wider than the biggest column
        * @param  col    the column
        * @param  model  the table model
        * @param  fm     the font metrics
        public static int determineColumnWidth(TableColumn col, TableModel model,
                                              FontMetrics fm) {
          String value = (String)col.getHeaderValue();
          int headerWidth = fm.stringWidth("." + value.trim() + ".");
          int columnNumber = col.getModelIndex();
          int max = headerWidth;
          int columnWidth = 0;
          int nrows = model.getRowCount();
          String cell = "";
          for (int i=0; i<nrows; i++) {
             value = (String)model.getValueAt(i, columnNumber);
             columnWidth = fm.stringWidth("." + value.trim() + ".");
             if (columnWidth > max) max = columnWidth;
          return max + 5;

  • How to avoid that the last column in a datagrid increase the width out of the window?

    I have a datagrid with this configuraction:
    <DataGrid.Columns>
    <DataGridTextColumn Header="Column01" Binding="{Binding Property1, Mode=OneWay}"/>
    <DataGridTextColumn Header="Column02" Binding="{Binding Property2, Mode=OneWay}"/>
    <DataGridTextColumn Header="Column03" Binding="{Binding Property3, Mode=OneWay}"/>
    </DataGrid.Columns>
    The last column is a description, so the text can be a bit large. so I would like that the width don't be wnough greater than makes the datagrid has a width out side the window.
    For this, I have read that I can use Width="Auto" in all the columns and in the last column width="*", but in this case all the coloumns has a very low width so I can't read anything.
    The code that I have used in this case is:
    <DataGrid.Columns>
    <DataGridTextColumn Header="Column01" Binding="{Binding Property1, Mode=OneWay}" Width=""Auto"/>
    <DataGridTextColumn Header="Column02" Binding="{Binding Property2, Mode=OneWay}" Width=""Auto"/>
    <DataGridTextColumn Header="Column03" Binding="{Binding Property3, Mode=OneWay}" Width=""*"/>
    </DataGrid.Columns>
    I am using visual studio community edition and wpf 4.5.1.
    Thank so much,

    >>For this, I have read that I can use Width="Auto" in all the columns and in the last column width="*", but in this case all the coloumns has a very low width so I can't read anything.
    Can't you just set an explicit width for the first two columns then?, e.g.:
    <DataGrid.Columns>
    <DataGridTextColumn Header="Column01" Binding="{Binding Property1, Mode=OneWay}" Width="100"/>
    <DataGridTextColumn Header="Column02" Binding="{Binding Property2, Mode=OneWay}" Width="100"/>
    <DataGridTextColumn Header="Column03" Binding="{Binding Property3, Mode=OneWay}" Width=""*"/>
    </DataGrid.Columns>
    There is also a MinWidth property that you can use to prevent the columns from being to narrow:
    <DataGrid.Columns>
    <DataGridTextColumn Header="Column01" Binding="{Binding Property1, Mode=OneWay}" Width="Auto" MinWidth="100"/>
    <DataGridTextColumn Header="Column02" Binding="{Binding Property2, Mode=OneWay}" Width="Auto" MinWidth="100"/>
    <DataGridTextColumn Header="Column03" Binding="{Binding Property3, Mode=OneWay}" Width=""*"/>
    </DataGrid.Columns>
    Hope that helps.
    Please remember to mark helpful posts as answer to close your threads and then start a new thread if you have a new question.

  • Read only text Items uses the maximum width

    Folks,
    I have a form with 3 regions and each region has 6 or more text items each with a different width (40, 30 24, 2...). I am using a Read Only Condition Type on all these items to disable them. I am setting the background color as bgcolor="#DCDCDC" in the Read Only Element Table Cell Attributes.
    All my elements are disabled (Gray color) but with the maximum width of 40 bytes. I don't want a 2 byte text item 40 bytes long and grayed out. How can I set a specific width for individual items in Read only Condition? Please help
    Thanks
    Raje.

    Try this alternative by disabling the HTML Form Item at the required process point.
    I added this JavaScript to the HTML Header of the page which will allow me to disable the required item, plus set its background and color:-
    <script language="JavaScript1.1" type="text/javascript">
        function disableFormItem(p_item, p_background, p_color){
                        disItem = document.getElementById(p_item);
                        disItem.style.background = p_background;
                        disItem.disabled = true;
                        disItem.style.color = p_color;
    </script>In the Region Footer of the Region where my items are located I added this JavaScript code:-
    <script language="JavaScript" type="text/javascript">
       ** Only disable the required Form Items if the Primary Key value is present,
       ** in this case it is P12_UEI. (Won't be present for new records as populated
       ** by on-insert db trigger and sequence.)
       if (html_GetElement('P12_UEI').value > 0)
          disableFormItem('P12_URESI', 'lightyellow', 'black');
          disableFormItem('P12_UZI', 'lightgray', 'black');
          disableFormItem('P12_UBI', 'lightgray', 'black');
    </script> The resulting page is a lot better looking than using the APEX read only text item.
    Regards,
    Phil

  • How to reduce the length of  lines in Smartform windows

    Hi,
           In  smartform  Mainwindow or any window,  how to draw the vertical lines and horizontal lines and how to reduce the lengths...very urgent please explain.
    Thanks and Regards,
    surya

    Hi Surya,
    You should use templates for this purpose.
    and if you are in table then you can not use templates. Here you should go for the line type.
    and in either case there will be pattern tab in the right side bottom.
    if double click on the teplate it will get display.
    click on the select pattern and select the required format and give the line width
    ex 15 TW
    I think this will help you

  • Maximum width for symbols?

    I am creating a staff with animated notes. I plan to have the whole thing scroll from right to left so that the current note 'lights' as it comes under a playhead effect. I have a movieclip with a staff and notes, but there seems to be a limit as to how large I can make it, or perhaps it's how I can work on something so long. I'm running into the 'edge' of the flash window no matter how large I make the staff width.
    Is there a max width? How would you work on something really long within flash?

    There is a maximum stage size, but it is pretty large.  The max width grows with every new version of Flash, and I am unsure what it is in the newest versions.  The last time I had a problem with this sort of thing was in Flash MX04, and a trial of Flash 8 fixed it for me.  I think the size of my object then was something like 5000 pixels, but its been a few years so I may be mistaken.
    A quick google found this on a different forum "they can be 4096*4096 with a max of 8192 for any dimension."
    So it sounds like the maximum object can be 8192 pixels wide, and, if it is wider, the object won't work correctly.  This is for player 10 (CS4).  Earlier versions of flash have a smaller limit.

  • Smartform: windows in different pages having the same name

    Hi all gurus,
    first of all, please forgive me if I'm missing something, I'm quite new on the Smartform argument.
    Shortly; I have to modify some smartforms made by someone else in order to meet customer's desiderata.
    These smartforms are all different but share a common "structure", which is:
    2 pages definition, P_FIRST and P_FOLLOW, which have actually the same internal "structure": they have a LOGO window, then a TITLE window, then a MAIN window, then a FOOTER, and so on.
    In order to do my task, I added a new window in both P_FIRST and P_FOLLOW, let's call it CERTIFICATION_LOGO.
    Moreover, I inserted a new graphic element under the LOGO window.
    Modifying the smartforms, I noticed I have two different kind of behaviour:
    1) in almost all these SF, I add a window called CERTIFICATION_LOGO in P_FIRST, then I have to add a windows to P_FOLLOW which cannot have the same name ( e.g. I called it CERTIFICATION_LOGO_FOLLOW);
    2) in just one SF, when I add a window P_FIRST, then the exactly same window is added to P_FOLLOW. When I modify CERTIFICATION_LOGO window in P_FIRST, also CERTIFICATION_LOGO in P_FOLLOW is updated.
    I can't find a reason why such different behaviour. Actually I'm testing my solution and found that the only smartform that does not work is the only one which I have described with 2). So my guess is that there's some setting anywhere which leads to that different behaviour and this could be a cause of a raised exception... but maybe it's just a case, also because I found in debug that in this standard call in the form PROCESS_TEXT_WINDOW:
    perform xsf_window_open using docentry-tdwindow
                                    docentry-tdwtype.
    where docentry-tdwindow = 'LOGO' and tdwtype = 'T', the system exit the process at the first execution of:
    check xsfop-xsf = c_true.
      check not xsf_obj is initial.
    What does xsfop-xsf should mean? In my case xsfop-xsf = false and xsf_obj is initial... then the SF is not generated.
    What am I missing gurus?
    Thanks in advance,
    Matteo
    Edited by: Matteo Montalto on Aug 26, 2011 4:49 PM

    When you have common windows (LOGO on page first and logo on page next, etc.) you actually have one window definition.  What you put in the window is therefore always displayed for all pages.  In your case, instead of creating your new window and copying it into the follow page, you have two different windows, which now must be separately maintained, as to content, placement, borders, shading, conditions, etc.

  • Problem with smartform windows

    Hi guys,
    I'll be making a windows in smartforms which should not be torn in between pages... that is they should be together in just a page, window 1 could not be in page 1 and window 2 in page...
    If page 1 could not anymore accomodate the windows, they must be in page 2...
    what could be done for this? Thanks a lot!

    Hi
    ABAP Development
    Regards
    Pavan

  • Smartform:Window Tilte Texts r  junk values in PDF of my forms

    Dear all
    Smartform: i get header title & Window Tilte Texts r  not appearing, some  junk values does appear in PDF of my forms .
    Whr to check ?
    thnx
    Moni

    Hello,
    The reason why I proposed the reinstallation of Adobe Acrobat is due to the reason that the font which you used in SSF ( font size also matters ) may NOT be available in Adobe Acrobat.
    May be you can try out with some other font and try.
    Hope this helps you.
    Best Regards, Murugesh AS

Maybe you are looking for

  • 10.9.2 audio

    Dear collegues. I am a professional musician and electronic music teacher. I had for about one year a plaguing problem with my iMac 27" late 2009 quad-core i7. It has been discussed many times over the net as an "audio stutter" and "CPU Spike" proble

  • Error message when trying to import a CD into iTunes

    I get an error message when I try to import a CD into iTunes that says the disk cannot be found. I recently requested to uninstall Tune-up because I kept receiving annoying messages to purchase the software. It looks like Tune-up is deactivated, but

  • Adobe Acrobat has stopped working ... why is this happening

    I just downloaded this trial earlier this evening and I keep getting error messages, even tho' I set up the compatibility to what was offered on the list and now it says that it has stopped working and will not launch.. what????

  • [SOLVED] mozc and skype and other qt applications

    I got mozc up and running. i have ibus-qt and i followed what i found here http://askubuntu.com/questions/51716/mo - plications and https://bbs.archlinux.org/viewtopic.php?id=111087 but i can't get mozc to work in any qt applications when i add expor

  • Agent Desktop Recording and Silent Monitoring with IP Communicator.

    Reading through the forums I have seen several posts which make me think this should work, but I can't seem to get silent monitoring or recording using the agent desktop to work when the agent is connected through IP communicator.   Currently I have