Display text on Page Zero

Hi,
I've got a Page Zero with HTML text region. This text is displayed in the middle of the page, however I want the text to be displayed on the right of the page (in the same region) instead of in the middle. How would I do this? Thanks.

Hi,
I don't think you understood what I want.
My display point parameter at the moment is "Page Template Region Position 5". I dont want to change this parameter. I only want to change the position of the text in this display point from the center/left to the right. I figure that I have to add something to the Region HTML table cell attributes, but i don't know what.

Similar Messages

  • Displaying text whenever there is no value present in Database

    Post Author: Sujitha
    CA Forum: WebIntelligence Reporting
    Hi
    My business demands that a text 'Defaulted to Zero' be displayed if for a given combination of columns there is no data present in the Fact table.We use oracle 9i.
    I have already used the number format where we put a value for the undefined value to display a text N/A where ever the value is not applicable.But i need to display text "Defaulted to Zero" wherever the value is applicable but NOT present in database!!
    Can this be acheived in Bo level,I am using BO XI R2.?
    This is a very urgent requirement as my project delivery is scheduled.!!
    Many Thanks!!!

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    Suzie,
    You can create a new local variable to report (called something like "NVP"), leave it as a "Dimension" and in the formula type:
    if([col_a]=0 or [col_b]=0;"NO VALUE PRESENT")
    Basically, you are using the "if" function and the syntax is very much like used in excel except you separate the arguments with a semi-colon versus a comma.  You start out with "if()" and within the parenthesis is a logic statement followed by when true do this else that (with the "else that" portion optional as shown above).  The drawback to using a local variable is that every report you write must be customized with the local variable versus establishing this logic in a "case" statement when building the data mart and thus it becomes resident and usable like any other column of data in your database.  In some cases you are forced in using it as a local variable due to variations in the data and the logical outcome is not known until the very end of all computations, and at other times you can get away with embedding the logic at the time of constructing your data mart -- it all depends on how the data is used and sliced and diced.  Good luck and write back if you have any further questions.

  • How to display text on last but one page in SAPSCRIPTS

    how to display text on last but one page in SAPSCRIPTS

    u have create one Foooter window , this has to be called in  only One Page.So hardcode /assign this window to only one PAGE number.
    regards
    Prabhu

  • When I click on - View - Page Source, I want to edit with NotePad - note just display text in fancy colors

    I like to edit my web pages easily,
    - click to see html, edit it, (file name already there), save it
    - hit restore on browser - see what I did -
    Just changed from IE
    which gave me NotePad, which is just fine for me
    Just changed to FireFox
    and it displays text in a non-editor,
    can't edit and save easily
    What to do??
    Even worst - after installing FireFox
    IE no longer clicks to NotePad
    but that fancy non-editor :-(((

    ViewSourceWith: https://addons.mozilla.org/firefox/addon/394
    See also:
    http://kb.mozillazine.org/view_source.editor.external
    http://kb.mozillazine.org/view_source.editor.path

  • Pages will only display the first page of text.

    Pages will only display the first page of text. New pages are created as usual but blank and pages are visible through quick views. Reinstalling does not fix the problem, I don't know if it is an issue with settings. Pages v 4.1 on OS 10.7.4. Running on new macbook with retina.
    This is apparently a retina issue. Update hopefully soon

    You have not said but it sounds like you are using a Macbook pro with retina display.
    Pages is exhibiting all sorts of problems with the Retina display which Apple is supposedly working on.
    Peter

  • My Safari displays text in certains spots on a web page as mixed characters

    My Safari displays text in certains spots on a web page as mixed characters. Is there a fix for this or does anyone have an idea what may be going on? I have looked at my fonts and everything seems to be working just fine. I can't quite figure out why this only happens to certain text and not others. But I can't read half of the pages on the web because of this. I can copy the mixed up text out of Safari and past it in another application and the copy is in perfect english then.
    an example of what I am talking about is below:
    (Kvg"Urgekhkeu"/Crmg"/"Crmg"Fgumvqru
    Here is what it says when I copy the same characters out of Safari and paste them below:
    (Item Specifics - Apple Desktops)
    Any help or advice will be greatly appreciated

    I work as a graphic designer so I keep a very clsoe eye on my font library. In fact I don't use font Book, I use Suitcase Fusion. But i went to font book and double checked and I don't have any duplicae fonts in there. Would you have any other ideas?
    thanks for your help!

  • Displaying text messages CRM Home Page

    Hi Gurus!
    Is there a way to display text messages on the opening page within CRM? For example, if you wanted to alert CRM users to outages, news or system changes.
    If anybody knows. I'll be grateful.
    Regards!
    Maria.

    Hey Maria,
    you can just have a look at this thread
    IT Service Management - IT News on Home Page
    It also refers to a link of Raquel Pereira de Cunha, who is doing some IT-News Content stuff for the Solution Manager.
    Configure External Web Links in IT News Content Block
    These are the interal possiblities you have in SAP CRM. A workaround could also be to create a mashup with a newsfeed and bind that into your dashboard. Content about that is available here:
    SAP CRM 7.0 EhP1 - Web Mashup Functionality

  • How to display text on last but one page

    how to display text on last but one page

    Hi Preeti,
      If u r working on a smartform then click on th window go to the condition tab there
      at the end u will find events click on the the event on which u want to trigger the 
      print.
      If u r working on a script then create a text element and call this text elemtn at
    the end of processing of the main window, this will make sure that thetext element
    is triggered only at the end.
    I hope that helps u , if not pls let me know.
    Regards,
    Vaibhav B Gawali.

  • How to reformat a text in Pages?

    Does anybody know how to " clear format" a text in Pages? You can do in Word. Thanks a lot.

    Happily, Pages isn’t a clone of Word.
    It’s not supposed to replicate its features.
    Here is a slightly modified version of a script posted about a month ago.
    Open the Pages Word Processing document to treat then apply the script.
    As it was written as a demo of what may be done, you will have to edit some instructions to get the exact wanted format (mainly those applying colors).
    --{code}
    --[SCRIPT clear_Pages_format]
    Enregistrer le script en tant que Script : clear_Pages_format.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Pages:
    Il vous faudra peut-être créer le dossier Pages et peut-être même le dossier Applications.
    Ouvrez un document traitement de texte de Pages.
    Aller au menu Scripts , choisir Pages puis choisir “clear_Pages_format”
    Le script appliquera la police Courier et quelques autres attributs au texte du document.
    --=====
    L’aide du Finder explique:
    L’Utilitaire AppleScript permet d’activer le Menu des scripts :
    Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case “Afficher le menu des scripts dans la barre de menus”.
    Sous 10.6.x,
    aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
    puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
    --=====
    Save the script as a Script: clear_Pages_format.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Pages:
    Maybe you would have to create the folder Pages and even the folder Applications by yourself.
    Open a Pages Word Processing document.
    Go to the Scripts Menu, choose Pages, then choose “clear_Pages_format”
    The script will apply the font Courier and some other attributes to the embedded text.
    --=====
    The Finder’s Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the “Show Script Menu in menu bar” checkbox.
    Under 10.6.x,
    go to the General panel of AppleScript Editor’s Preferences dialog box
    and check the “Show Script menu in menu bar” option.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2011/12/27
    --=====
    on run
              tell application "Pages"
    ruler units (centimeters/inches/picas/points)  *)
                        set |unité| to ruler units
                        set ruler units to centimeters
                        tell document 1
    >>>>>>>  Here is the list of document's properties which may be defined with this script.
    body text (text) : The main text flow of the document.
    bottom margin (real) : The bottom margin of the publication.
    facing pages (boolean) : Whether or not the view is set to facing pages.
    footer margin (real) : The footer margin of the publication.
    header margin (real) : The header margin of the publication.
    inside margin (real) : The inside margin of the publication when facing pages is enabled.
    left margin (real) : The left margin of the publication.
    outside margin (real) : The outside margin of the publication when facing pages is enabled.
    page attributes (page setup) : Page settings for printing
    right margin (real) : The right margin of the publication.
    selection (selection-object) : The current selection or insertion point. Use the "select" command to change the selection. Setting of this property replaces the current selected object. E.g., set selection of document 1 to "hello".
    top margin (real) : The top margin of the publication.
                                  set header margin to 0.0
                                  set footer margin to 0.0
                                  set top margin to 1.5
                                  set left margin to 1.5
                                  set right margin to 1.5
                                  tell body text
    >>>>>>>  Here is the list of text's properties which may be defined with this script.
    alignment (center/justify/left/right) : The horizontal alignment.
    baseline shift (real) : Raise or lower the target text.
    bold (boolean) : Whether the font style is bold.
    capitalization type (all caps/normal capitalization/small caps) : Whether a capitalization style is applied.
    character background color (color) : The color of the character's background.
    character style (character style) : The representative character style of the object.
    collapsed (boolean) : Whether the paragraph is collapsed in the outline view.
    color (color) : The color of the font.
    contents (any)
    first line indent (real) : The space between the first line of the paragraph and the left margin.
    following paragraph style (text) : The name of the following paragraph style. The empty string implies this style.
    font name (text) : The name of the font.
    font size (real) : The size of the font.
    hidden (boolean) : Whether the paragraph is hidden in the outline view.
    indent level (integer) : The list indent level assigned to the paragraph, from 1 through 9.
    italic (boolean) : Whether the font style is italic.
    keep lines together (boolean) : Keep all lines of the paragraph on the same page.
    keep with next paragraph (boolean) : Keep the target and following paragraph on the same page.
    label baseline shift (real) : The amount to move the label up or down relative to the first line of the paragraph.
    label image data (image binary) : The image used for the label.
    label indent (real) : The distance from the left margin to the list label.
    label size (real) : When "scale with text" is disabled the label size is a text point size for text labels or a multiplier of original image size for image labels. When enabled, it is always a multiplier of the representative font size of the paragraph.
    label type (image bullet/none/number/text bullet/tiered number) : The type of label to use.
    left indent (real) : The space between the paragraph and the left margin.
    ligatures (all ligatures/default ligatures/none) : Remove ligatures from the target text if the document is set to use ligatures.
    line spacing (real) : The amount of space between lines in the current spacing style.
    line spacing type (at least/inbetween/relative) : The type of line spacing.
    list style (list style) : The list style, if any, for the target.
    number label style (letter lower paren one/letter lower paren two/letter lower paren zero/letter upper paren one/letter upper paren two/letter upper paren zero/number paren one/number paren two/number paren zero/roman lower paren one/roman lower paren two/roman lower paren zero/roman upper paren one/roman upper paren two/roman upper paren zero) : The type of label for number and tiered number types.
    number label tiered (boolean) : Whether a numeric label displays the complete hierarchy for each level or just the label of the level.
    outline (boolean) : Whether the font style is outline.
    paragraph background color (color) : The color of the object's fill.
    paragraph style (paragraph style) : The representative paragraph style of the text.
    prevent widows and orphans (boolean) : Prevent the first or last line of a paragraph from appearing alone on a page.
    remove hyphenation (boolean) : Remove hyphenation from the paragraph if the document is set to hyphenate words automatically.
    right indent (real) : The space between the paragraph and the right margin.
    scale with text (boolean) : Whether the label size proportionally changes with the paragraph text size.
    shadow (boolean) : Whether the object casts a shadow or not.
    shadow angle (real) : The directional angle, in degrees, that the shadow is cast.
    shadow blur (integer) : The relative amount of blur of images seen through the shadow.
    shadow color (color) : The color of the shadow.
    shadow offset (real) : The offset from the text box content that the shadow extends to.
    shadow opacity (real) : The amount of opacity for the shadow, in percent.
    space after (real) : The space after the paragraph, in points.
    space before (real) : The space before the paragraph, in points.
    start new page (boolean) : Start the paragraph at the beginning of the next page.
    strikethrough color (color) : The color of the strikethrough line(s).
    strikethrough type (double strikethrough/none/single strikethrough) : Whether one or more lines are drawn through the characters.
    subscript (boolean) : Decrease the font size and lower the baseline of the text.
    superscript (boolean) : Decrease the font size and raise the baseline of the text.
    text indent (real) : The distance from the label to the text.
    text label string (text) : One to nine characters can be specified for a text label.
    tracking (real) : The space between text characters, in percent.
    underline color (color) : The color of the underline(s).
    underline type (double underline/none/single underline) : Whether the font style is underline.
                                            set font name to "Courier"
                                            set font size to 10.0
                                            set first line indent to 1.0
    CAUTION : I guess that it's a bug but we can't use 
    set color to {25700, 17990, 0}
                                            set properties to {color:{25700, 17990, 0}}
                                            set paragraph background color to {60000, 60000, 60000}
                                  end tell -- body text
                        end tell -- document
                        set ruler units to |unité|
              end tell -- Pages
    end run
    --=====
    --[/SCRIPT]
    --{code}
    Yvan KOENIG (VALLAURIS, France) lundi 26 décembre 2011 12:03:51
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : http://public.me.com/koenigyvan
    Please : Search for questions similar to your own before submitting them to the community
    For iWork's applications dedicated to iOS, go to :
    https://discussions.apple.com/community/app_store/iwork_for_ios

  • Page Zero

    I am trying to display some header text on every page. So I did it on page zero in the page header after I created page zero. Unfortunately it does not display it on every page, just on page zero. Would anybody know why.
    Thanks
    Aron

    Aron,
    The best way to debug this would be for you upload your application to the public server, however if I had to have a 'guess' at what the problem is I'd say try looking at the "Conditional Display" to make sure that it's correct for what you're trying to achieve.

  • Master page Dynamic data not getting displayed in consecutive pages

    Hi,
       I have buit a dynamic form which has some dynamic content in master page and a dynamic table in the body page.
    Layout is
    Master page
          Sub form
                 Field1 -TextView
                 Field2 - TextField      bind with Node1--->Attribute1
                 Field2- TextField       bind with Node2---->Attribute2
                Field n - TextField
    all the text fields are bound to various nodes from RFC
    Body Page
             Sub form
                  Table -Grows Dynamically
    When i run the application all the fields are displayed perfectly in the first page.
    when the table data goes more than one page the problem arises
    The Text fields in the master page is  not displaying the values in the second page ,but the text views and the table values are fine.
    The values are getting displayed in both pages if i put any attribute inside the parent node.Is there any property i need to set at node level or subform level?
    Thanks in advance,
    Siva

    Hi
    I Would like to give a suggestion eventhough i don,t have answer to you question.
    Master Page is used for static content as per SAP and Adobe like company logo and  company address footer section and placing  watermarks etc....
    I feel because of the Dynamic behavior in master page it Leeds this problem.
    Regards
    Malli

  • How to display a website page in a JSP textarea ?

    Hi all...
    I am developing an application where i need to display a web page in a text area, the same
    way it gets displayed in a web browser (like IE, mozilla). After that i will read the page and will extract text from it for further processing.
    My JSP contains a text field where i can type the URL address (say http://www.yahoo.com)
    What i want is, when i will click a submit button, the web page at the given URL should be retrieved and should get displayed in the textarea that is present on the same page. (It should be displayed in the same way as it
    gets displayed on the browser.)
    Is that possible ? Can it be done using some other ways ?
    It is a small application that i am developing using struts 1.1.
    Can some one help in this regard ?
    Thanks in advance..
    Regards
    Prasad

    Thanks BalusC..
    I have used iframe now and it is working for the URL specified.
    But even then i have couple of doubts..
    1. How should i use the iframe if i want to navigate on the further web pages within the same frame ?
    (e.g. if with URL say http://www.yahoo.com, the home page is displayed in the frame, now if i click any link
    on the page the next navigation should occur within given frame only.)
    2. Can i read the page from the frame and write the text into some file say text file ?
    Hope you understand my problem...
    Thanks a lot..
    Prasad

  • Problem while displaying top of page in list display

    Hi,
    M facing problem in displaying top of page in list .
    M using following methods:-
    lr_outer_grid TYPE REF TO cl_salv_form_layout_grid,
    lr_inner_grid TYPE REF TO cl_salv_form_layout_grid,
    lr_label TYPE REF TO cl_salv_form_label,
    lr_text TYPE REF TO cl_salv_form_text.
    For displaying the top of page m using event TOP_OF_PAGE.
      CREATE OBJECT lr_outer_grid.
    *Outer grid
      lr_inner_grid = lr_outer_grid->create_grid(
      row = 1
      column = 1 ).
    *... create lable information in inner_grid
    User ID
      lr_label = lr_inner_grid->create_label(
      row = 1
      column = 1
      text = text-h03 ).
    *... create text information in inner_grid
      lr_text = lr_inner_grid->create_text(
      row = 1
      column = 2
      text = sy-uname ).
    *... set label for text
      lr_label->set_label_for( lr_text ).
    But while m going to do same coding for second parameter its not intializing length so adding extra spaces while displaying second row.
    e.g
    USERID       abcdefghjik
    PLANT         jhk            to hjk
    I want that output should look like
    USERID      abcdefghjik
    PLANT        jhk to hjk
    Please tell me the solution what should i do for avoiding extra space

    Hi Neelema,
    You could try this sample code.
    [http://sap-img.com/fu037.htm]
    [http://sap-img.com/abap/sample-alv-heading-in-alv.htm]
    Regards,
    Amit.

  • How to retrieve data and display in JSP page

    hi,
    i am trying to retrieve data from SQL server 2000 and display in JSP Page. I have already place the codes of the retrieve in the bean file. I wanna ask is that how to display in the JSP page. If possible, can provide example codings for mi to reference?
    Thanks
    Regards,
    shixuan

    HI Tan ,
    I pressume that you wanted to make use of PDK, the code can go like this .
    <b><u>1) JAVA file</u></b>
    import com.sapportals.htmlb.DropdownListBox;
         import com.sapportals.htmlb.InputField;
         import com.sapportals.htmlb.event.Event;
         import com.sapportals.htmlb.page.DynPage;
         import com.sapportals.htmlb.page.PageException;
         import com.sapportals.portal.htmlb.page.JSPDynPage;
         import com.sapportals.portal.htmlb.page.PageProcessorComponent;
         import com.sapportals.portal.prt.component.IPortalComponentRequest;
         import com.sapportals.portal.prt.component.IPortalComponentSession;
         import com.sapportals.portal.prt.component.IPortalComponentContext;
         import java.sql.*;
         public class P_SAP_B_User extends PageProcessorComponent
         * Method          :           getPage()
         * Description      :                         
         * Input Parameters     :     None
         * Returns          :          Object of Class DynPage     
              public DynPage getPage()
                  return new P_SAP_B_UserDynPage();
                }     // end of dynPage()
                public static class P_SAP_B_UserDynPage extends JSPDynPage
                  /* Variable Declaration     */
                   /* Object of bean class P_SAP_B_CreateUser initialised to null */
                       private P_SAP_B_CreateUser createUserBean = null;
                  /* Flags for checking the occurance of Event & Error. */
                  private int iFlag=0;
                  private int iErrFlag=0;
                  /* Variables for storing the information
                          entered by user in each text field */
                  private String sFname;
                  private String sSname;
                  private String sAge;
                  private String sExp;
                  private String sSkill;
                  private String sUnit;
         * Method          :           doInitialization()
         * Description      :                         
         * Input Parameters     :     None
         * Returns          :          None
                  public void doInitialization()
                         IPortalComponentSession componentSession = ((IPortalComponentRequest)getRequest()).getComponentSession();
                         Object o = componentSession.getValue("createUserBean");
                         if(o==null || !(o instanceof P_SAP_B_CreateUser))
                           createUserBean = new P_SAP_B_CreateUser();
                           componentSession.putValue("createUserBean",createUserBean);
                        }     // end of if
                         else
                             createUserBean = (P_SAP_B_CreateUser) o;
                         }     // end of else
                   }//end of doInitialisation()
         * Method          :           onUpdate()
         * Description      :                         
         * Input Parameters     :     object of Event class
         * Returns          :          None
                   public void onUpdate(Event e)throws PageException
                        /*     sets flag to 1 when update button is clicked. */
                        iFlag=1;
         * Method          :           doProcessAfterInput()
         * Description      :                         
         * Input Parameters     :     None
         * Returns          :          None
                  public void doProcessAfterInput() throws PageException
                             InputField ifFirstName = (InputField) getComponentByName("FirstName");
                             InputField ifSecondName = (InputField) getComponentByName("SecondName");
                             InputField ifAge = (InputField) getComponentByName("Age");
                             InputField ifExp = (InputField) getComponentByName("Exp");
                             InputField ifSkill = (InputField) getComponentByName("Skill");
                             DropdownListBox dlbUnit = (DropdownListBox) getComponentByName("Unit");
                             int iAge,iExp;
                             IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
                            IPortalComponentContext myContext = request.getComponentContext();
                             P_SAP_B_CreateUser myNameContainer = (P_SAP_B_CreateUser) myContext.getValue("createUserBean");
                             if(ifFirstName != null)
                                  this.sFname = ifFirstName.getValueAsDataType().toString() ;
                             }     // end of if
                             if(ifSecondName!= null)
                                  this.sSname = ifSecondName.getValueAsDataType().toString() ;
                             }      // end of if
                             if(ifAge!= null)
                                  this.sAge = ifAge.getValueAsDataType().toString() ;
                             }     // end of if
                             if(ifExp!= null)
                                  this.sExp = ifExp.getValueAsDataType().toString() ; 
                             }     // end of if                         
                             if(ifSkill != null)
                                  this.sSkill = ifSkill.getValueAsDataType().toString() ;          
                             }     // end of if
                             if(dlbUnit != null)
                                  this.sUnit = dlbUnit.getSelection().toString() ;     ;
                             }      // end of if
                          /* Data Validation */
                             /* try block for numeric Exception */
                             try
                                 /* checking for any field left blank by the user */
                                  if(sFname.equals("") || sSname.equals("") ||  sAge.equals("")|| sExp.equals("") || sSkill.equals(""))
                                        /* set error flag to 1 in case of any field left blank */
                                        iErrFlag=1;
                                  } // end of if
                                  else
                                        /* converting Age and Experience fields (String) to integer */
                                         iAge= Integer.parseInt(sAge);
                                         iExp= Integer.parseInt(sExp);
                                       /* setting the boundaries on the value in Age Field */
                                         if(iAge<0)
                                             /* set error flag to 2 in case of age below 0 */
                                             iErrFlag=2;
                                         }// end of if
                                       /* setting the boundaries on the value in Experience field */
                                          else if(iExp<0 ||(iExp/12)>=iAge)
                                              /* set error flag to 3 in case of experience below 0 or exceeding the age in years */
                                              iErrFlag=3;
                                          }// end of else if
                                          /* In case of no error */
                                          else
                                             /* setting the bean variables */
                                             try
                                                 Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                                                 Connection con = DriverManager.getConnection("jdbc:odbc:Test");
                                                 String query="insert into UserData values(?,?,?,?,?,?)";
                                                 PreparedStatement prestat=con.prepareStatement(query);
                                                 /* setting the values to be inserted into the user table */
                                                 prestat.setString(1,sFname);
                                                 prestat.setString(2,sSname);
                                                 prestat.setString(3,sAge);
                                                 prestat.setString(4,sExp);
                                                 prestat.setString(5,sSkill );
                                                 prestat.setString(6,sUnit);
                                                 prestat.executeUpdate() ;
                                                 prestat.close();
                                                 con.close();
                                                 myNameContainer.setSFname(sFname);
                                                 myNameContainer.setSLname(sSname);
                                                 myNameContainer.setSAge(sAge);
                                                 myNameContainer.setSExp(sExp);
                                                myNameContainer.setSSkill(sSkill);
                                                myNameContainer.setSUnit(sUnit);
                                             } // end of inner try block
                                              catch(Exception sqle)
                                                 myNameContainer.setErrMessage("Update failed ! Please try again." );
                                              } // end of catch corresponding to inner try
                                                           } // end of inner else
                                                      } //end of outer else
                                   } //end of outer try block
                                   catch(Exception e)
                                     /* setting flag to 4 in case of non-numeric age/experience values */
                                     iErrFlag = 4;
                                     /* Displaying error message corresponding to the value of error flag */
                                  switch(iErrFlag)
                                    /* Empty Field */
                                    case 1:myNameContainer.setErrMessage( "Please Fill all the fields");
                                    break;
                                    /* Invalid Value in the age field */
                                    case 2:myNameContainer.setErrMessage( "Enter a valid value in Age field.(Hint : Have you entered Age<0 ?");
                                    break;
                                    /* Invalid Value in the experience field */
                                    case 3:myNameContainer.setErrMessage( "Enter a valid value in Experience field.(Hint : Experince should not be negative or greater than your age in months)");
                                    break;
                                    /* Non-numeric value in the Age/ experience fields */
                                    case 4:myNameContainer.setErrMessage( "Please Enter Numeric Value for Age and Experience");
                                    break;
                                 } // end of switch-case block
              } //end of doProcessAfterInput()
         * Method          :           doProcessBeforeOutput()
         * Description      :                         
         * Input Parameters     :     None
         * Returns          :          None
                  public void doProcessBeforeOutput() throws PageException
                       /* Displays Form for new user creation by default */
                       this.setJspName("P_SAP_B_UserCreationForm.jsp");
                         /* In case of an error display an error message page */
                         if(iErrFlag!=0)
                              setJspName("ErrorPage.jsp");
                         } //end of if
                         /* Displays the user's information as entered in the SQL
                            database after its been uploaded by the user */
                         else if(iFlag==1)
                             setJspName("hello.jsp");      
                          } // end of else if
                  } // end of doProcessBeforeOutput()
              } // end of P_SAP_B_UserDynPage Class
         } // end of P_SAP_B_User class
    * End of File P_SAP_B_User.java
    2) Bean
    package com.sap.usercreation;
    import java.io.Serializable;
    public class P_SAP_B_CreateUser implements Serializable
         private String sFname;
         private String sLname;
         private String sUnit;
         private String sSkill;
         private String sExp;
         private String sAge;
         private String errMessage;
         * @return
         public String getSFname() {
              return sFname;
    * @return
    public String getSLname() {
         return sLname;
    * @param i
    * @param string
    public void setSFname(String string) {
         sFname = string;
    * @param string
    public void setSLname(String string) {
         sLname = string;
    * @return
    public String getSUnit() {
         return sUnit;
    * @param string
    public void setSUnit(String string) {
         sUnit = string;
    * @return
    public String getSSkill() {
         return sSkill;
    public void setSSkill(String string) {
         sSkill = string;
    * @return
    public String getSAge() {
         return sAge;
    * @return
    public String getSExp() {
         return sExp;
    * @param string
    public void setSAge(String string) {
         sAge = string;
    * @param string
    public void setSExp(String string) {
         sExp = string;
    * @return
    public String getErrMessage() {
         return errMessage;
    * @param string
    public void setErrMessage(String string) {
         errMessage = string;
    3) The Jsp file i have already posted.
    See if you copy this code and paste it wont work as i have not given you full code ,But yes this gives you an overview of how things can be done .
    Thanx
    Pankaj

  • Page Zero and Pop-up Windows

    Hello:
    I am trying to create a pop-up window that doesn't have some/all of the page zero regions. I don't want to create another page just for the pop-up window, I would like to use the same page but with(out) some privileges. I just don't want the user to be able to navigate to other pages (page zero lets you do that) from the pop-up window. Is there a way some/all page zero regions can be not shown when a pop-up window is displayed?
    Thanks,
    -Bino
    Edited by: bino on Jun 2, 2010 7:11 AM

    Hi Bino -- I'm not sure how you are bringing up your pop-up window, but you can set conditions on the regions in page 0 just like any other page so, for example, you could have a certain region not appear if the user is not logged on or if an item has a certain value, etc. If you are going to use an item value, when you bring up the pop-up window, you could set the value of that item right in the URL as one option.
    Rgds/Mark M.

Maybe you are looking for

  • Multiple select statements in PL/SQL

    Hi All I am new to PL/SQL and my experience is in writing TSQL. There we can write a SQL statement like this to return 3 result set SELECT empname FROM Employee SELECT authname FROM Author SELECT athname FROM sport how can we write the same 3 stateme

  • Solaris Kernel

    Hello Experts, Kindly provide the steps to do the Kernel upgrade on Solaris/oracle -Abap + Java My system is (Abap + Java).  I downloaded the Abap kernel files from the service market places. note :(I know the kernel upgrade on windows operating syst

  • Computer not supported

    Hi After installing Itunes 10.3 I receive this message: "You can't open the application iTunes because it is not supported on this type of Mac" does anyone have any idea why? I am running Mac OS X 10.6.7 on a Mac Air with 2GB

  • Iweb won't let me select images, shapes, nothing!

    So.. i have a page. i put photos on it, shapes, whatever. now i click like a maniac on the images to move them, to add text, to do whatever, and nothing happens. I click on a shape (a line, arrow, that I just placed). the two dots on each end do not

  • Backup and synching with a Windows Server, what 3rd party software do I need.

    I have a Macbook Air.  We just got a new Server, a Dell PowerEdge T420 running Windows Small Business Server 2011 CAL Suite. I am told my Macbook Air will not Snych to backup files from a defined folder (like My Documents) and e-mail in Outlook.  Mac