Designing the presentation layer

I am a web developer, please i need to know how to do the following
1. using table to encapsulate a form for me to achieve a better design (I.e <table width="780">)
2. how do i specify the with of my page to be 780px and aligning it to the center.

Are you looking to use Table component. The following might help
http://blogs.sun.com/winston/category/Creator
http://blogs.sun.com/divas/entry/table_component_sample_project

Similar Messages

  • DTO, DAO - Displaying/Formatting Data in the Presentation Layer

    I need display multiple fields from a DTO throughout the presentation layer. What is the best way to format display data without duplicating the logic throughout presentation layer?
    Example
    I have a Person DTO that has first name, last name, and suffix 'getters' and am constantly showing the data out as "first last, suffix"
    Options
    1 - Create a utility class that formats the name of the Person DTO.
    public class DisplayUtil{
         public static String DisplayName(PersonDTO person){
              return person.getFirstName() + " " + person.getLastName() + ", " + person.getSuffix();
    }2 - Add a getter into the DTO that gets the data
    public class PersonDto{
         //Other fields, getters, and setters
         public String getName(){
              return person.getFirstName() + " " + person.getLastName() + ", " + person.getSuffix();
    }3 - Create a domain object (aka business object) using the "entity inherits from transfer object strategy".
    public class Person extends PersonDto{
         public String getName(){
              return person.getFirstName() + " " + person.getLastName() + ", " + person.getSuffix();
    }The easiest to implement now would be Option 2 above but it distorts what the DTO is supposed to be used for (which is transferring data).
    What have you done in the past? What is an "acceptable" best practice? Are there other options that I haven't listed above that you use?

    So, from what you advise you would have the following
    code in <b>all</b> of the JSP pages of the Struts
    app?
    <c:out value="${person.firstName} ${person.lastName}"
    />
    <c:logic test="${not empty person.suffix}">
         <c:out value=", ${person.suffix}" />
    </c:logic>The problem that I see with this is that changes
    would be incredibly difficult at a later date, since
    every page contains the logic about displaying the
    proper name format. (Say the client wanted to change
    to always display the last name first instead of the
    first name for all the pages. With this logic code
    being on every "template", their could be hundreds of
    pages to change. This is where I could see the
    benefit of a utility class like Option 1.)This is what the include directive is for. The JSP tags in your example should not exist (physically ) in each JSP file. They should be stored in a single JSP fragment file.
    The JSP fragment file is then "included" in each page via include directive. If you need to change anything for this at a later date, then you go to the single fragment file and make the change once.
    <html>
    <head><title>Including Shared Stuff in JSP Pages</title></head>
    <body>
    <%@include file="shared/text.jspf" %><br/>
    <font size="10">What It Do</font><br/>
    <jsp:include page="shared/text.jspf" />
    </body>
    </html>When each JSP file is converted to a Java servlet by the JSP Engine, it will grab the shared fragment and include it in the code for the servlet.

  • Reordering the presentation layer in BI Server repository

    Is there a way to re-order the presentation layer in the BI server repository? Currently if I add something new to a table in a subject area - it is always placed at the bottom. Also, if I add a whole new table - it is also placed at the bottom. I then have to remove everything below where I want it - and add it back. It seems like there must be an easier way! Any help is most appreciated.

    I figured there is something, and I know it sounds dumb, but i've looked everywhere - and no up or down buttons. On right click I have rename... I am in the Administrator tool for the repository.

  • Accessing the presentation layer

    Does anybody know how to access the presentation layer using a tool other than the OBIEE front end? What if I wanted to query the presentation layer from Excel or SQL Developer. Does anyone know how to do that?

    You need to use the ODBC connection. OBI Presentation Dashboard use it and Excel also.
    Here an example how to access the presentation catalog from Excel :
    http://gerardnico.com/wiki/dat/obiee/import_data_from_obiee_to_excel
    And here how to set up the ODBC :
    http://gerardnico.com/wiki/dat/obiee/obiee_client_tools#setting_up_odbc

  • Columns are not displaying in a Dimension in the presentation layer

    Hi All,
    I have a Dimension in one of the subject area which has 3 columns. It was working fine but yesterday, we have an issue about this. These columns are not displaying anymore in the dimension.
    I have checked in the Repository and from the Presentation services for the permissions and they look fine. Is there anything else am missing. If so, where I need to check.
    Kindly help me on this.
    Thanks,
    Imtiaz.

    Hi,
    Check three things.
    1. Try to login Admin user and check whether those columns are present or not.
    2. Try to login different browser.
    3. Cross check privileges for login user (what role has assigned ).
    Note: Clear the browser cache and all Bi server cache and check.
    Hope this help's
    Thanks,
    Satya Ranki redddy

  • Renaming the Presentation Layer objests

    Hi
    Can any one please guide me for the below problem
    After creating reports in Dashboard or answer when i tried changing the name of presentation catlog or presentation table or presentation column, the previous name gets store in alias and my reports also work fine... but now when i want to make some changes or modify my reports It does not allow me for that.. and says either i do not have an access or that presentation catalog does not exist.
    I am working on OBIEE 10.3.*
    What i want is to rename and could also able to make the changes.
    Or if any best Possible Solution for the same .. so please .. welcome ..
    Cheers,
    Rishabh
    Edited by: user10589822 on Feb 14, 2010 7:26 PM

    Best way to correct this is to use the catalog manager. Do an "XML Search and Replace"...search for "YourOldPresentationTableName" and replace with "YourNewPresentationTableName".
    Cheers,
    C.

  • How can I import db column comments into the OBIEE presentation layer?

    We have a very well designed data mart - it is a star schema and all the fact and dimension table columns have comments in them with their definition and use. There is virtually no change required in the physical or business layer. The only modifications done in the presentation layer was to hide the Pk/Fk columns.
    Is there a way to import these column comments into the presentation layer so that the business user can see this comment in the tool tip while hovering over the presentation column in Answers?
    Thanks for your help!

    Hi,
    I assume the comments you mean are stored in user_tab_comments and user_col_comments.
    When this is the case you should do the following:
    Go to your subject area in your presentation layer. For now I assume the name of this subject area is "Subject Area".
    Then right click on this subject area and check "Externalize Descriptions".
    Then create an initialization block (session) using this query:
    (select 'CD_Subject_Area_' || table_name, comments from user_tab_comments)
    union all
    (select 'CD_Subject_Area_' || table_name || '_' || column_name, comments from user_col_comments)
    Use "Row-wise initialization" for this initialization block.
    Two comments:
    1) Like I said, I assume Subject Area is the name of your subject area in your presentation layer, so I guess you need to replace this with the name of your Subject Area.
    But be sure that you replace each space ' ' with an underscore '_'.
    2) Maybe you need to refine above querys by filtering on table_name for those table_names you are using.
    Good luck.
    Regards,
    Stijn

  • JSF presentation layer

    hi im new to JSF
    i just want to know when i design a presentation layer tier,
    which situation i need to use .jsp or .jspx..
    i saw some examples using .jsp and some use .jspx..
    i was wondoring why...dont understand
    can anyone explain this and give me some example when using .jsp or .jspx

    I'd maybe seek out a more specific JSF forums on the web somewhere -- the JDeveloper forum here on OTN may be a good place to send this question since they tend to be more specialized in JSF.
    -steve-

  • Issue adding a new column to OBIEE presentation layer

    Hi,
    I am pretty new to OBIEE so this may be a silly question. I am facing some problems trying to add a new column from a physical table the OBIEE presentation layer.
    Below are the steps I followed:
    Task: add a product category set to the presentation layer.
    Steps:
    1) First verified that the product category set is being populated in the W_PROD_CAT_DH table in the datawarehouse. this was done by running the following sql
    SELECT W_PROD_CAT_DH.TOP_LVL_PRODCAT_NAME
    FROM W_PROD_CAT_DH, W_INVENTORY_PRODUCT_D
    WHERE W_PROD_CAT_DH.integration_id = W_INVENTORY_PRODUCT_D.INV_PROD_CAT1
    This sql gave the right category value.
    2) created a "Alias" of the table W_PROD_CAT_DH in the OBIEE Admin tool physical layer. (done by right clicking W_PROD_CAT_DH >>New Object>> Alias)
    3) named the Alias of W_PROD_CAT_DH as "Dim_W_INV_MKT_CAT" and created a key of the alias named "integration id" on the column "integration_id"
    4) opened the pre-existing alias of W_INVENTORY_PRODUCT_D the alias was called "Dim_W_INVENTORY_PRODUCT_D" and added a key called "MKT_CAT" on the column "INV_PROD_CAT1" in this alias (Dim_W_INVENTORY_PRODUCT_D of the table W_INVENTORY_PRODUCT_D)
    5) in the alias of the "W_INVENTORY_PRODUCT_D" called "Dim_W_INVENTORY_PRODUCT_D" added a "Foreign Keys" the expression of the key is following: ("Oracle Data Warehouse"."Catalog"."dbo"."Dim_W_INV_MKT_CAT"."INTEGRATION_ID" = "Oracle Data Warehouse"."Catalog"."dbo"."Dim_W_INVENTORY_PRODUCT_D"."INV_PROD_CAT1")
    Logical layer
    6) Opened the existing logical folder called "Dim - Inventory Product" and clicked on "Sources" tab then double clicked the source "Dim_W_INVENTORY_PRODUCT_D" and added a new mapping under "Map to these tables" under "General" tab. The column that was added was the physical alias "Dim_W_INV_MKT_CAT"
    7) added a new column mapping to the same logical table source (Dim_W_Inventory_PRODUCT_D) this new mapping was a column from the alias "Dim_W_INV_MKT_CAT" (column name "TOP_LVL_PRODCAT_NAME")
    Presentation Layer
    8) dragged the newly added column (TOP_LVL_PRODCAT_NAME) from the logical layer "Dim - Inventory Product" to the presentation layer "Product" folder.
    ISSUE
    after adding everything and checking global consistency and save and checking-in my work when i login from the front end presentation services. I see the newly added column is showing under the "Product" folder. on dragging the column by itself to the Ad-Hoc analysis I can see the different values of the category. On adding a second column from the same logical folder (Dim - Inventory Product in logical layer) i still see the right product name and corresponding category. BUT when I drag any other column from any other folder (such as "Day" from "Time" or any fact values) the result does not fetch any data (message: The specified criteria didn't result in any data.)
    I am not sure if I am missing any step but I know I am mapping the new table alias to the inventory_product_d since i see right results on creating analysis of columns in those two folders. but no other folders give me any data.
    I also know that the logical folder "Dim - Inventory Product" is joined with other tables as I can see results when i do not add the newly added catagory column but other folder and other columns of "Dim - Inventory Product"
    I would really appreciate any insight to this very much. we are using OBIEE 11.1.1.6 with the Oracle 11.5.10 Adaptor (SDE_ORA11510_Adopter)
    I will try to upload some screenshots if needed but presently not sure if its something really simple.

    Hi Prassu,
    thanks for the responce. and Apologies for the delay in getting back to you.
    1) 1.First of all set the logging level to 3 in the admin tool save it.
    You can get the SQL query from here
    settings(Answers right top)-->Administration-->manage sessions-->view log
    When I try to do this I get the following message. and no log files.
    Error
         Log Could Not Be Retrieved
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <3790667783>: Syntax error [nQSError: 26012] . (HY000)

  • Designing the Business Model diagram issue

    I need help from the experts.
    We have many tables in the physical layer but for our scenario consider only Dim 1, Dim 2, Fact 1, Fact 2, Fact 3.
    Fact 2, Fact 3 are the lowest granularity and relationship b/w
    Fact 1 ---> Fact 2 is one-to-many
    Fact 1 ---> Fact 3 is one-to-many
    Dim 1 ---> Dim 2 is one-to-many
    Dim 1 is linked to Fact 1
    Dim 2 is linked to Fact 2
    Need suggestion designing the bmm layer Star schema structure in the above scenario.
    Thanks,
    Tom
    Edited by: user3130064 on Jun 28, 2011 10:46 AM

    Thanks JV for the quick response.
    This is what I did yesterday before seeing your response, let me know if this is correct.
    I created single logical fact table (Log Fact 1) in the BMM layer and moved all the columns from the three physical fact tables (Fact 1, Fact 2, Fact 3) into the BMM logical fact table. We removed the relationship b/w Dim1 and Dim2 in the data model. Dim 2 is connected to Fact 2 only in the physical layer now.
    Dim 2 is logical join with "Log Fact 1" in the BMM layer.
    Tool did not complain with any errors or warnings, but I'm not sure if this is correct way of doing it.
    Awaiting for your thoughts/inputs.
    Thanks,
    Tom

  • Hiding columns in Presentation Layer, but still accessible in a report.

    Hi BI Devs,
    I have a question on how to hide certain columns in the presenation layer but still make them available in a dashboard/report.
    We have 3 sections in our Presenatation Layer...section_a, section_b, section_c. We have two groups created, group_max and group_lite. Group_max will have access to all the sections in the presentation layer but group_lite will only have access to section_a and section_b
    We have a report in a dashboard (lets call it full_dashboard) that contains columns from section_a, section_b and section_c. We want all users (group_max and group_lite) to have access to the report, run the report and return data.
    Our requirement is that the group_lite will not have access to the section_c in "Answers".
    When we set the permissions in the RPD for the different sections, the permissions work correctly in hiding the section_c from group_lite, but when they run the report full_dashboard, the report errors out for group_lite users.
    Is there a way to grant access to the group_lite users so that they can run full_dashboard but still deny them access to the columns in Answers?

    Here is my thinking about duplicationg the section_c
    1. If i duplicate section_c, it will still be visible to group_lite in the presenation layer.
    2. If i duplicate section_c, i will have to change the dashboard (a very complex one too) to point to the duplicated section. How will I be able to hide the duplicated section?
    I am just not sure how to hide section_c from the group_lite users and still have the reports in the dashboard access the columns, without having to change the report.
    Edited by: empyre on Mar 16, 2011 8:21 AM

  • Show the presentation variable on table column header

    hi, experts,
    is it possible to show the presentation variable on the table column header.
    I have created a edit box with presentation variable on the prompt.
    I would like to show the value the user entered on the column header because the values under that column are driven by the presentation variable.
    Thank you very much!

    You cannot put variables in the column headers, as they get considered as text and the same shows in the reports.
    However, you can use the session or repository variables in the alias field in the presentation layer.
    You should make sure, that in this case, all the calculations are done in the BMM layer and not in answers, for the columns where you will be using the variables.

  • Presentation Layer Property

    Hi experts,
    In administratrion tool for obiee 10g, there are some property,such as export logical keys ,impilict fact column, in presentation layer. Can anybody tell me what it is and how to use it?
    Thank you.

    Refer to documentation, you can find the following on pg 300, E10540-02.
    Exporting Logical Keys in the Subject Area
    For each subject area in the Presentation layer, you can decide whether to export any logical keys as key columns to tools that access it. Exporting logical keys is irrelevant to users of Oracle BI Presentation Services, but it may be advantageous for some query and reporting tools. If you decide to export logical keys, make sure that the logical key columns exist in the table folders. In this situation, your business model should use logical key/foreign key joins. When you select the option Export logical keys in the Subject Area dialog, any columns in the Presentation layer that are key columns in the Business Model and Mapping layer are listed as key columns to any ODBC client. This is the default selection. In most situations, this option should be selected.
    Setting an Implicit Fact Column in the Subject Area
    For each subject area in the Presentation layer, you can set an implicit fact column. The implicit fact column is added to a query when it contains columns from two or more dimension tables and no measures. The column is not visible in the results. It is used to specify a default join path between dimension tables when there are several possible alternatives or contexts.

  • Errors in Presentation Layer

    Hi
    We are customizing an out of box BI Apps solution and are experiencing the following issues in the Presentation Layer:
    1. Undecipherable label name
    2. Data not displayed for various parameters though the data resides in the database
    3. data had labels such as unspecified in the Presentation Layer
    Appreciate your inputs in resolving these errors.
    Regards
    KSK.

    Hi,
    can you explain these errors in more details?
    Regards
    Cosimo

  • Presentation Layer column name change effects on existing reports ?

    Hello Gurus,
    I have one requirement where user are not sure about the column names in Presentation Layer.
    so they want us to create the reports and once the reports are delivered they will give us the column name as per their requirement.
    now i read couple of blogs related to this, that does it affects the exiting reports?
    in couple of blogs they says that i won't. becaus BI server creates the alias for the old name and will reflects it wherever it's used in reports..
    So can anyone tell me where this alias name has been stored in OBIEE?
    and is there any precaution that needs to be done while doing this beacuse we are expecting to create around 40-50 reports and changing the column name after changing the presentation layer name change will increase lots of work..
    Thanking You..

    I've confirmed it on a 10g environment that when you rename the column in the RPD the existing reports reflect the change.
    What I was referring to in the statement you highlight is that a column name can be changed when being used as the definition of a report. If somebody specifies an abbreviation of the current name to fit it in a table or chart then it will not be updated from a name change in the RPD.
    So long as you build reports using the name provided by the RPD and none of the developers take the liberty of renaming it in the column properties of the request/analyses the single rename should take effect through all the reports you build.
    You can also manage the column name by renaming it in a report and using the save as system wide default. But the way you intend to do it would be the best method.
    Edited by: James - Projected on 25-May-2012 14:07

Maybe you are looking for