Reporting model-layer warnings during renderModel (Steve #101 examaple)

Hi!
Everyone (almost ;) knows Steve's #101 example about reporting model-layer warnings to JSF.
It works good, but there is one caveat: it doen't report warnings ussied before prepareModel phase and after invokeApplication phase.
The first isn't a trouble, but the secons can turn in it.
For example, the entity has auto calculated field and in case of calculating want to inform user a value was changed.
In #101 i'му aded warning right in getDname() method:
getDBTransaction().getRootApplicationModule().addWarning(new JboWarning("getDname() warning"));
These warning doesn't appear on the first load to the testPage.jspx, inspite of it was added at model level during renderModel.
On second render the warning apperar but because getDname() called twice (why twice?) during process validation phase.
Does anybody faced the need of adding warnings at the renderModel phase? The cues will be apreciate...
Thanks.
Ilya Rodionov.

Hi,
Thanks for your quickly reply.I debuged my code in the two mode,first I run my application in the business component browser ,all warning are displayed as I desired .(both in base entity clase SXEntityImpl and concrete entity class applicationUserImpl)but when I run my jsf page (which include the same view object),only warning added in my concrete entity(appicationUserImpl.java) displayed on the screen.
lixinzhu
2007/09/27

Similar Messages

  • Problem about Reporting Model-layer Warnings to JSF

    hi,
    I have read not document article "Reporting Model-layer Warnings and Informational Messages to JSF [10.1.3.1]" the address is :http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#101
    and do it as it described,when I call it from concrete entity,it works very well,but when I put it in my base class,It can only displayed within bc tester,not a jsf page?what's the matter with it,how can i solve the problem?
    thank you advance
    lixinzhu
    2007/09/17

    Hi,
    Thanks for your quickly reply.I debuged my code in the two mode,first I run my application in the business component browser ,all warning are displayed as I desired .(both in base entity clase SXEntityImpl and concrete entity class applicationUserImpl)but when I run my jsf page (which include the same view object),only warning added in my concrete entity(appicationUserImpl.java) displayed on the screen.
    lixinzhu
    2007/09/27

  • How to convert Report Model to Report Designer DataSet

    To all,
    I have a two part question. One is I am experiencing the error at the end of this question when migrating SQL Server 2005 SSRS Native Reports, the report uses a Report Model, to SQL Server 2008 SSRS Native. I bring the Report and Report Model to SQL Server 2008 SSRS and get the error at the end of the question below. Background and the 2nd question are below.
    I have a bunch of Report Builder based Reports. I need to convert them to VS BIDS based Report Designer Reports with Shared Datasources and MDX based DataSets.
    How can I grab the MDX from the Report Builder Report Model so I can put it into the Report Designer DataSet Query Definition?
    What is the easiest way to make this migration between these Report development environments.
    I am able to open the Report.RDL file in VS BIDS and can see the entire UI layer. The DataSet I see here is the one that is related to the error at the end of the question. The RD/DataSet holds:
    <SemanticQuery xmlns="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rb="http://schemas.microsoft.com/sqlserver/2004/11/reportbuilder" xmlns:qd="http://schemas.microsoft.com/sqlserver/2004/11/semanticquerydesign">
      <Hierarchies>
        <Hierarchy>
          <BaseEntity>
            <!--Fact Messages-->
            <EntityID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Entity_MeasureGroup_DW_Text_Fact_Messages</EntityID>
          </BaseEntity>
          <Groupings>
            <Grouping Name="Date">
              <Expression Name="Date">
                <Path>
                  <RolePathItem>
                    <!--Dim Date-->
                    <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Date_Entity_Dimension_DW_Text_Dim_Date</RoleID>
                  </RolePathItem>
                </Path>
                <AttributeRef>
                  <!--Full Date-->
                  <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Date.Full_Date</AttributeID>
                </AttributeRef>
              </Expression>
            </Grouping>
            <Grouping Name="Hour">
              <Expression Name="Hour">
                <Path>
                  <RolePathItem>
                    <!--Dim Time-->
                    <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Time_Entity_Dimension_DW_Text_Dim_Time</RoleID>
                  </RolePathItem>
                </Path>
                <AttributeRef>
                  <!--Hour24-->
                  <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Time.Hour24</AttributeID>
                </AttributeRef>
              </Expression>
            </Grouping>
            <Grouping Name="Year">
              <Expression Name="Year">
                <Path>
                  <RolePathItem>
                    <!--Dim Date-->
                    <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Date_Entity_Dimension_DW_Text_Dim_Date</RoleID>
                  </RolePathItem>
                </Path>
                <AttributeRef>
                  <!--Year-->
                  <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Date.Year</AttributeID>
                </AttributeRef>
              </Expression>
            </Grouping>
          </Groupings>
          <Filter>
            <Expression Name="expr1">
              <Function>
                <FunctionName>And</FunctionName>
                <Arguments>
                  <Expression>
                    <Function>
                      <FunctionName>And</FunctionName>
                      <Arguments>
                        <Expression>
                          <Function>
                            <FunctionName>GreaterThanOrEquals</FunctionName>
                            <Arguments>
                              <Expression>
                                <Path>
                                  <RolePathItem>
                                    <!--Dim Date-->
                                    <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Date_Entity_Dimension_DW_Text_Dim_Date</RoleID>
                                  </RolePathItem>
                                </Path>
                                <AttributeRef>
                                  <!--Date-->
                                  <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Date.Date</AttributeID>
                                </AttributeRef>
                              </Expression>
                              <Expression>
                                <Function>
                                  <FunctionName>DateAdd</FunctionName>
                                  <Arguments>
                                    <Expression>
                                      <Literal>
                                        <DataType>String</DataType>
                                        <Value>Day</Value>
                                      </Literal>
                                    </Expression>
                                    <Expression>
                                      <Function>
                                        <FunctionName>Negate</FunctionName>
                                        <Arguments>
                                          <Expression>
                                            <ParameterRef>
                                              <ParameterName>Date  in last  (n)  days</ParameterName>
                                            </ParameterRef>
                                          </Expression>
                                        </Arguments>
                                      </Function>
                                    </Expression>
                                    <Expression>
                                      <Function>
                                        <FunctionName>Today</FunctionName>
                                      </Function>
                                    </Expression>
                                  </Arguments>
                                </Function>
                              </Expression>
                            </Arguments>
                          </Function>
                        </Expression>
                        <Expression>
                          <Function>
                            <FunctionName>LessThan</FunctionName>
                            <Arguments>
                              <Expression>
                                <Path>
                                  <RolePathItem>
                                    <!--Dim Date-->
                                    <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Date_Entity_Dimension_DW_Text_Dim_Date</RoleID>
                                  </RolePathItem>
                                </Path>
                                <AttributeRef>
                                  <!--Date-->
                                  <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Date.Date</AttributeID>
                                </AttributeRef>
                              </Expression>
                              <Expression>
                                <Function>
                                  <FunctionName>Today</FunctionName>
                                </Function>
                              </Expression>
                            </Arguments>
                          </Function>
                        </Expression>
                      </Arguments>
                    </Function>
                    <CustomProperties>
                      <CustomProperty Name="qd:FilterCondition" />
                    </CustomProperties>
                  </Expression>
                  <Expression>
                    <Function>
                      <FunctionName>Equals</FunctionName>
                      <Arguments>
                        <Expression>
                          <Path>
                            <RolePathItem>
                              <!--Dim Volume-->
                              <RoleID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Role_MeasureGroupDimension_Entity_MeasureGroup_DW_Text_Fact_Messages_Entity_Dimension_Dim_Volume_Entity_Dimension_DW_Text_Dim_Volume</RoleID>
                            </RolePathItem>
                          </Path>
                          <AttributeRef>
                            <!--Description-->
                            <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Hierarchy_Dim_Volume.Description</AttributeID>
                          </AttributeRef>
                        </Expression>
                        <Expression>
                          <Literal>
                            <DataType>String</DataType>
                            <Value>Volume</Value>
                          </Literal>
                        </Expression>
                      </Arguments>
                    </Function>
                    <CustomProperties>
                      <CustomProperty Name="qd:FilterCondition" />
                    </CustomProperties>
                  </Expression>
                </Arguments>
              </Function>
              <CustomProperties>
                <CustomProperty Name="qd:Filter" />
                <CustomProperty Name="qd:ContextEntityID">
                  <Value xsi:type="xsd:string">http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling:Entity_MeasureGroup_DW_Text_Fact_Messages</Value>
                </CustomProperty>
                <CustomProperty Name="qd:AutoChangeBaseEntity" />
                <CustomProperty Name="qd:Design">
                  <Value xsi:type="xsd:string">expr2</Value>
                </CustomProperty>
              </CustomProperties>
            </Expression>
          </Filter>
        </Hierarchy>
      </Hierarchies>
      <MeasureGroups>
        <MeasureGroup>
          <BaseEntity>
            <!--Fact Messages-->
            <EntityID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Entity_MeasureGroup_DW_Text_Fact_Messages</EntityID>
          </BaseEntity>
          <Measures>
            <Expression Name="Volume">
              <AttributeRef>
                <!--Volume-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Volume</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Auto %">
              <AttributeRef>
                <!--Automated_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Automated_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Send Now %">
              <AttributeRef>
                <!--Send_Now_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Send_Now_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Use %">
              <AttributeRef>
                <!--Use_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Use_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Stock Ans %">
              <AttributeRef>
                <!--StockAns_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_StockAns_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Charged">
              <AttributeRef>
                <!--Charged_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Charged_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Billed">
              <AttributeRef>
                <!--Billed_Pct-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Billed_Pct</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Avg TTA (s)">
              <AttributeRef>
                <!--Avg_TT_Answer-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Avg_TT_Answer</AttributeID>
              </AttributeRef>
            </Expression>
            <Expression Name="Avg TTC (s)">
              <AttributeRef>
                <!--Avg_Time_To_Customer-->
                <AttributeID xmlns:np="http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling">np:Attribute_Measure_DW_Text_Avg_Time_To_Customer</AttributeID>
              </AttributeRef>
            </Expression>
          </Measures>
          <SubtotalSets>
            <SubtotalSet>
              <SubtotalGroupings>
                <GroupingName>Year</GroupingName>
              </SubtotalGroupings>
              <SubtotalMeasures>
                <MeasureName>Volume</MeasureName>
                <MeasureName>Auto %</MeasureName>
                <MeasureName>Send Now %</MeasureName>
                <MeasureName>Use %</MeasureName>
                <MeasureName>Stock Ans %</MeasureName>
                <MeasureName>Charged</MeasureName>
                <MeasureName>Billed</MeasureName>
                <MeasureName>Avg TTA (s)</MeasureName>
                <MeasureName>Avg TTC (s)</MeasureName>
              </SubtotalMeasures>
            </SubtotalSet>
            <SubtotalSet>
              <SubtotalGroupings>
                <GroupingName>Date</GroupingName>
                <GroupingName>Year</GroupingName>
              </SubtotalGroupings>
              <SubtotalMeasures>
                <MeasureName>Volume</MeasureName>
                <MeasureName>Auto %</MeasureName>
                <MeasureName>Send Now %</MeasureName>
                <MeasureName>Use %</MeasureName>
                <MeasureName>Stock Ans %</MeasureName>
                <MeasureName>Charged</MeasureName>
                <MeasureName>Billed</MeasureName>
                <MeasureName>Avg TTA (s)</MeasureName>
                <MeasureName>Avg TTC (s)</MeasureName>
              </SubtotalMeasures>
            </SubtotalSet>
          </SubtotalSets>
        </MeasureGroup>
      </MeasureGroups>
      <Parameters>
        <Parameter Name="Date  in last  (n)  days">
          <DataType>Integer</DataType>
          <Expression>
            <Literal>
              <DataType>Integer</DataType>
              <Value>14</Value>
            </Literal>
          </Expression>
        </Parameter>
      </Parameters>
      <CustomProperties>
        <CustomProperty Name="qd:PerspectiveID">
          <Value xsi:type="xsd:string">http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/udmmodeling:Perspective_Cube_DW_Text</Value>
        </CustomProperty>
      </CustomProperties>
    </SemanticQuery>
    I have created a Shared Datasource that points the the correct Analysis Services cubes that the original Report Model pointed at.
    However, I get this error when running the report:
    An error occurred during client rendering.
    An error has occurred during report processing.
    Semantic query compilation failed: e EmptySemanticQuery The SemanticQuery does not contain any Groupings or MeasureGroups. SemanticQuery must contain at least one of these elements. (SemanticQuery '').

    Actually the error above is from running the report on SSRS 2008 Native. Does anyone know why I get this error and how it may be resolved.
    Then I try to bring the report into BIDS RD and create a SDS and DataSet. The Semantic Query above is from the RD DataSet Query window.
    I get the following error when running the report in BIDS RD:
    An error occured during local processing.
    An error has occured during report processing.
    Query execution failed for dataset 'dataSet'.
    The SemanticQuery element at line 7, column 351 (namespace http://schema.microsoft.com/sqlserver/2004/10semanticmodeling) cannot appear under Envelope/Body/Execute/Command.
    So I have two errors with two scenarios. I'd like to know how to resolve one of them.
    I'd also like to know how to get the MDX from the RB/RM report so I can put it into the VS BIDS Version and get that to work properly.
    Thanks,
    Eric

  • Replace Report Model with another Report Model for existing reports

    Hi All,
    I have a report model on which few reports depends and for some reasons I want create a similar report model and repoint all existing reports to new report model. When I am trying to this I get below error. Please help.
    An error has occurred during report processing. (rsProcessingAborted)
    Semantic query compilation failed: e EmptySemanticQuery The SemanticQuery does not contain any Groupings or MeasureGroups. SemanticQuery must contain at least one of these elements. This typically occurs because the user does not have permission to the items
    referenced by the query or the items referenced by the query have been deleted in the underlying model. (SemanticQuery ''). (rsSemanticQueryEngineError) 
    Thanks,
    Jithender

    The reports that do work do not use an alias for the table/view name and the ones that do NOT work do use an alias.<br/>
    <br/>
    I went into the "Database Expert..." screen and modified the alias to the actual name of the view.  This resets all the fields as well so they are no longer using the alias either.  The data now gets returned properly.<br/>
    <br/>
    I still need to go into each report and modify them but at least I do not have to recreated all the reports.

  • Updaing SQL 2005 Report Builder Reports (based on Report Models) to SQL 2012 Report Builder Reports?

    We are upgrading from SQL 2005 to SQL 2012 directly (no SQL 2008 to be installed).  We have many SSRS Reports written in Report Builder 1.0 against Report Models generated from an OLAP datasource.  In SQL 2012, Report Models can no longer
    be created or edited.  I have found many posts on this topic, including this: 
    http://social.msdn.microsoft.com/Forums/en-US/896522da-45c3-46c0-848a-16f8f02ab051/how-to-upgrade-report-models-from-report-builder-1020-to-30. which the 'answered' response states: 
    SQL Server 2012 Reporting Services does not include tools for creating or updating report models. Although you can continue
    to use existing report models as data sources in SQL Server 2012 Reporting Services reports you should consider updating your reports to remove their dependency on report models.
    But I cannot locate any instructions/documentation, etc. on how to go about "updating your reports to remove
    their dependency on report models.".  How do I take existing Report Builder 1.0 reports that point to Report Models and upgrade them to the new SQL 2012 without Report Models?  Is there a way to convert them?  Or, do they need to be rewritten
    from scratch?  If there is a link to these instructions, please post as I cannot locate it any where.  Thank you.

    Katherine thank you for helping with this.  Here is what I have tried:
    On the Report Manager (2012) site, I created a new OLAP data source.  And when I test the connection, I get the pop up "Connection created successfully."
    I then pointed my Report Builder (v1.0) report to this new Data Source (from Report Manager site, selected 'Manage' for the report, from Data Sources, selected Browse and drilled down to the new Data Source I created and selected Apply). 
    Now when I try to View the report, I receive the following error:
    An error has occurred during report processing. (rsProcessingAborted) Query execution failed for dataset 'paramDataSet'. (rsErrorExecutingCommand) The SemanticQuery element at line 7, column 279 (namespace http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling)
    cannot appear under Envelope/Body/Execute/Command.
    I then exited IE and reopened the Report Manager site.  I opened Report Builder 3.0,, selected Open and opened this same report.  Idrilled donw to Data Sources and  right clicked on dataSource1 (the only one listed) and selected Data
    Source Properties.  I kept the same name, but selected the new shared datasource I created (New DataSource), and selected OK.
    Next, I drilled down to Datasets.  There are two listed, dataSet and paramDataSet (yes, this report has parameters).  I right clicked on the dataSet and selected dataSet properties, and see that it points to dataSource1 (which is the dataSource
    I just pointed to my New DataSource).  I cancelled and checked the Data Source for paramDataSet, and it also points to dataSource1.  Selected cancel and went back to the main dataSet.
    So both datasets point to the new DataSource I created.
    If I select Run, I get the following error: 
    I select OK and right click on dataSet and select Refresh Fields and get this error:
    Can you (anyone) please explain what I am doing incorrectly?  Thank you.

  • I am trying to use java  file as Model layer and jsf as presentation layer

    I am trying to use java file as Model layer and jsf as presentation layer and need some help
    I successfully get the value of h:outputText from java file by doing simple binding operation but I am facing problems when I am trying to fill h:dataTable
    I create java file
    package oracle.model;
    import java.sql.;*
    import java.util.;*
    *public class TableBean {*
    Connection con ;
    Statement ps;
    ResultSet rs;
    private List perInfoAll = new ArrayList();
    *public List getperInfoAll() {*
    perInfoAll.add(0,new perInfo("name","username","blablabla"));
    return perInfoAll;
    *public class perInfo {*
    String uname;
    String firstName;
    String lastName;
    *public perInfo(String firstName,String lastName,String uname) {*
    this.uname = uname;
    this.firstName = firstName;
    this.lastName = lastName;
    *public String getUname() {*
    return uname;
    *public String getFirstName() {*
    return firstName;
    *public String getLastName() {*
    return lastName;
    right click on the file and choose 'create data control'
    then i wrote the jsf file:
    *<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>*
    *<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>*
    *<f:view>*
    *<h:dataTable id="dt1" value="#{bindings.perInfoAll}"*
    var="item" bgcolor="#F1F1F1" border="10"
    cellpadding="5" cellspacing="3" rows="4" width="50%"
    dir="LTR" frame="hsides" rules="all"
    *>*
    *<f:facet name="header">*
    *<h:outputText value="This is 'dataTable' demo" id="ot6"/>*
    *</f:facet>*
    *<h:column id="c2">*
    *<f:facet name="header">*
    *<h:outputText value="First Name" id="ot1"/>*
    *</f:facet>*
    *<h:outputText style="" value="#{item.firstName}"*
    id="ot2"/>
    *</h:column>*
    *<h:column id="c4">*
    *<f:facet name="header">*
    *<h:outputText value="Last Name" id="ot9"/>*
    *</f:facet>*
    *<h:outputText value="#{item.lastName}" id="ot8"/>*
    *</h:column>*
    *<h:column id="c3">*
    *<f:facet name="header">*
    *<h:outputText value="Username" id="ot7"/>*
    *</f:facet>*
    *<h:outputText value="#{item.uname}" id="ot4"/>*
    *</h:column>*
    *<f:facet name="footer">*
    *<h:outputText value="The End" id="ot3"/>*
    *</f:facet>*
    *</h:dataTable>*
    *</center>*
    *</af:document>*
    *</f:view>*
    but nothing is appear in my table
    I know that there is something wrong in calling the binding object
    I need help pls and where can i find some help to deal with another tag types
    thanks

    i dragged the "perInfoAll" from my "Data Controls" and choosed adf table (even I know that new table with adf tags well be generated and i want table with jsf tags)
    and this code is generated
    *<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"*
    *"http://www.w3.org/TR/html4/loose.dtd">*
    *<%@ page contentType="text/html;charset=UTF-8"%>*
    *<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>*
    *<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>*
    *<%@ taglib uri="http://xmlns.oracle.com/adf/faces/rich" prefix="af"%>*
    *<f:view>*
    *<af:document id="d1">*
    *<af:messages id="m1"/>*
    *<af:form id="f1">*
    *<af:table value="#{bindings.perInfoAll1.collectionModel}" var="row"*
    *rows="#{bindings.perInfoAll1.rangeSize}"*
    *emptyText="#{bindings.perInfoAll1.viewable ? 'No data to display.' : 'Access Denied.'}"*
    *fetchSize="#{bindings.perInfoAll1.rangeSize}"*
    *rowBandingInterval="0"*
    *selectionListener="#{bindings.perInfoAll1.collectionModel.makeCurrent}"*
    *rowSelection="multiple" id="t1">*
    *<af:column sortProperty="uname" sortable="false"*
    *headerText="#{bindings.perInfoAll1.hints.uname.label}"*
    *id="c1">*
    *<af:inputText value="#{row.bindings.uname.inputValue}"*
    *label="#{bindings.perInfoAll1.hints.uname.label}"*
    *required="#{bindings.perInfoAll1.hints.uname.mandatory}"*
    *columns="#{bindings.perInfoAll1.hints.uname.displayWidth}"*
    *maximumLength="#{bindings.perInfoAll1.hints.uname.precision}"*
    *shortDesc="#{bindings.perInfoAll1.hints.uname.tooltip}"*
    *id="it3">*
    *<f:validator binding="#{row.bindings.uname.validator}"/>*
    *</af:inputText>*
    *</af:column>*
    *<af:column sortProperty="firstName" sortable="false"*
    *headerText="#{bindings.perInfoAll1.hints.firstName.label}"*
    *id="c2">*
    *<af:inputText value="#{row.bindings.firstName.inputValue}"*
    *label="#{bindings.perInfoAll1.hints.firstName.label}"*
    *required="#{bindings.perInfoAll1.hints.firstName.mandatory}"*
    *columns="#{bindings.perInfoAll1.hints.firstName.displayWidth}"*
    *maximumLength="#{bindings.perInfoAll1.hints.firstName.precision}"*
    *shortDesc="#{bindings.perInfoAll1.hints.firstName.tooltip}"*
    *id="it2">*
    *<f:validator binding="#{row.bindings.firstName.validator}"/>*
    *</af:inputText>*
    *</af:column>*
    *<af:column sortProperty="lastName" sortable="false"*
    *headerText="#{bindings.perInfoAll1.hints.lastName.label}"*
    *id="c3">*
    *<af:inputText value="#{row.bindings.lastName.inputValue}"*
    *label="#{bindings.perInfoAll1.hints.lastName.label}"*
    *required="#{bindings.perInfoAll1.hints.lastName.mandatory}"*
    *columns="#{bindings.perInfoAll1.hints.lastName.displayWidth}"*
    *maximumLength="#{bindings.perInfoAll1.hints.lastName.precision}"*
    *shortDesc="#{bindings.perInfoAll1.hints.lastName.tooltip}"*
    *id="it1">*
    *<f:validator binding="#{row.bindings.lastName.validator}"/>*
    *</af:inputText>*
    *</af:column>*
    *</af:table>*
    *</af:form>*
    *</af:document>*
    *</f:view>*
    but when run it i see the following errors
    *Class oracle.adf.model.adapter.bean.BeanDataControl can not access a member of class nl.amis.hrm.EmpManager with modifiers "private"*
    *Object EmpManager of type DataControl is not found.*
    *java.lang.NullPointerException*
    *Class oracle.adf.model.adapter.bean.BeanDataControl can not access a member of class nl.amis.hrm.EmpManager with modifiers "private"*
    *Object EmpManager of type DataControl is not found.*
    *java.lang.NullPointerException*
    :(

  • Report model - number of values selected in DDL param

    Good afternoon,
    I have created a report model that references Teradata views, and I am using this model to populate several datasets in a Report Builder report.  One dataset returns actual results, and the other datasets are used to populate available values for multivalued
    parameters.
    The issue I'm encountering is that some of my parameters return a large number (tens or hundreds of thousands) of selectable values.  When clicking "select all", I'm getting an error, since the concatenated list of values exceeds
    the length limit.  However, since I'm working with a report model, I cannot use T-SQL workarounds such as custom "<ALL>" values/handling.  I also need to limit my result set using these values as parameters, not filters, since I want
    the intensive processing handled in the DB server, not the app server.
    Is there any possible way to accommodate this?  As an example, I have a large (200k+) list of products, belonging to about 7,000 brands.  I want both my product number and brand lists as multivalue parameters...I might want to run
    the report for all products and all brands (returning 200k+ rows), or choose "select all" in the products list, but only pick a few brands (or vice versa).  Cascading parameters (with the first parameter limiting the next set of values)
    is not an option since there are many of these parameters that have too many values for the allowed limit (i.e. even my brand list generated the error when I choose "select all" and only picked a few products).
    I have searched literally dozens of forums and tech sites, all to no avail thus far.  Any assistance will be greatly appreciated...thank you!
    -Chris

    I have a SSRS Report with 4 multi-select parameters.
    The customer has requested that they would like the drill-through to open in a new window.
    I am using Java Script for that purpose.
    However, there is a limit on how long a URL may be.
    Is there a way in a SSRS report to limit the number of values in a multi-select parameter selected?
    Thanks.
    One workaround is to add a internal parameter which will count the number of selected values and will allow the navigation only if the count falls below the threshold.
    For this you can use an expression like below for setting the internal parameter
    Len(Join(Parameters!MultiValuedParameter.Value,","))-Replace(Join(Parameters!MultiValuedParameter.Value,","),",","")
    Then use expression like below for the jump to url/report property
    IIf(Val(Parameters!HiddenParameter.Value)<=<your thresholdvalue>,<report url>,Nothing)
    You can also add a notification textbox on top which will show a message like "Report navigation not possible due to too many values selected" and keep it hidden by default. Then based on above parameter value you can make it visible
    ie make hidden property like below
    IIf(Val(Parameters!HiddenParameter.Value)<=<your thresholdvalue>,False,True)
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Approach to designing model layer

    Hi,
    I am keen to understand different approaches/routes to be followed to design model layer of an ADF project.
    As an example, the embedded URL shows the logical hierarchy strucutre of various business modules -
    http://www.slideshare.net/AnkitGupta55/hierarchy-23178558
    The logical structure will govern how the data will be shown to the user based on his selection of a value of in a top level LOV/Query component.
    For Ex:  if the user choose Child 1, then he should be able to see hierarchy : Main > Child 1 > Sub child 1
    Every module in the diagram has a backend supporting table, however, the tables may not have the similar relationships. So a follow up query would be - Is it mandatory to have an identical table relationships as depicted in the diagram.
    Also, request you to share suggestions on designing Entity Objects, View Objects etc.
    JDeveloper Version - 11.1.2.4.39.64.36.1
    Best Regards,
    Ankit Gupta

    Hi,
    Every module in the diagram has a backend supporting table, however, the tables may not have the similar relationships
    What do you refer to as module? The blocks as I see them can be treated as entities with associated VO. The relation between the two can be defined using entity associations or view links. Unfortunately its not easy to answer your question without knowing what you do know and what you don't know about ADF BC. Have you tried ADF (e..g running a tutorial) or have you only theoretical experience with the product. If you write ....
    request you to share suggestions on designing Entity Objects, View Objects etc.
    What exactly are you looking for and what does "etc." stand for in regards to the technology aspect it would represent? Entities and VO can be derived from an existing database infrastructure. If you don't have this, starting with teh ADF BC Diagrammer is a good way to start with. All documentation are accessible from otn.oracle.com/products/jdev
    Frank

  • Unable to show all fields from a table\view within a SSRS Report Model for user selection

    I recently added a new view with a simple SELECT (with 3 fields) statement to our existing Report Model DSV. I then went ahead to the report model (.smdl) file proceeded with the auto-generation of the new attributes which of course ran with no issues.
    I was seeing the three new fields as attributes. But when I went within the existing Perspective to add the newly added fields so that the users see them, one of the field is missing. It is just a VARCHAR field. What would it cause this field to not show up
    within a Perspective?
    Any help is greatly appreciated.Thanks,
    Nimesh
    NM

    Hi NM,
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to catch Exception in backingbean which is thrown from the Model layer.

    Hi,
    JDev Ver: 11.1.1.2.0
    In my application there are two layer viewcontroller & model.
    In model layer I have created JPA service facade which does the database operation like persist, merge & remove entity.
    I am calling this service facade method from backing bean via below standard code.
    public static Object invokeMethod(String methodName, String mapKey,
    Object object){
    BindingContext bcx =
    DCUtil.getBindingContext((HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest());
    JUFormBinding bc1 = (JUFormBinding)bcx.getCurrentBindingsEntry();
    FacesCtrlActionBinding reassignOperationBinding =
    (FacesCtrlActionBinding)bc1.findControlBinding(methodName);
    if (mapKey != null && object != null) {
    Map params = reassignOperationBinding.getParamsMap();
    params.put(mapKey, object);
    Object result = reassignOperationBinding.execute();
    return result;
    This is a static method which I am calling from backingbean to invoke service facade persist, merge or remove entity method
    I have written throws in all the methods signature of service facade.
    The exception which is thrown from the service facade are not comming back to backingbean catch block.
    Is there any way to catch this exception in backingbean.
    regards,
    devang

    Hi,
    2 things to check
    1 - does reassignOperationBinding has errors. You can check on the component
    2 - does the exception show on the binding layet. See the Fusion Developer guide for how to define an error handler on the databindings.cpx file
    Frank

  • What is replacing the Report Model

    Hi
    Given that from SQL 2012 onwards it is no longer possible to create a Report Model for use in the Report Builder, I was wondering what is taking its place?
    The scenario is that I want our end users to be able to create reports using Report Builder to query the live transactional database. I thought I should create a Report Model to help them, but now I'm not sure what to do.
    I want to build a solution that we can take forward and not base it on something that is deprecated.
    IS the recommendation to move to Analysis Server? If so, what about real time reports.
    Thanks for your help.
    Graham

    Think of a Shared Dataset as a view.  You can create them and users can use them in the same fashion, though the data is flattened out.  A Shared Dataset works through a Shared Data Source and is direct connection to the database, however when
    developing against a Shared Dataset, users typically do not have to authenticate like they would with a Shared Data Source.
    There really isn't anything to expose the raw schema or specific set of tables like you can with a model anymore that i am aware of other than using a Share Data Source and trying to limit security on the database side.

  • Model layer customization are not reflecting on sandbox.

    Hi 
    we are doing some changes to model layer in the seeded code, for the fusion apps.
    But our changes are not reflecting on fusion apps instance, even those are small validation changes, and these changes are going fine on sandbox (xml file),
    But when we are running the application these changes are not reflecting, do need to restart the server to get the model layer changes reflected.
    Is there any way to debug our changes in the fusion apps instance.
    Thanks
    Vipin

    But when we are running the application these changes are not reflecting, do need to restart the server to get the model layer changes reflected.
    Is there any way to debug our changes in the fusion apps instance."
    I am sure if you mean that it works after you restart the sever or you are asking if it will work on doing system restart.
    In any case, model layer changes are always done at GLOBAL layer and these changes only reflect after restarting the application. So, server bounce is not needed but application restart is required for changes to be picked up.
    Hope this helps
    Thanks
    Vik
    http://blogs.oracle.com/fadevrel

  • Use of prepareSession() in Model layer

    All,
    In my Jdev 11gR1 application i want to know the use of prepareSession().
    My use case is : Currently i am storing a lot of values in the session (View layer using HTTP, and Model layer using userData Map populated from my custom method).
    Now my question is should i override the prepareSession() or using my my custom method is the right way.
    thnks

    Hi,
    prepareSession is called with each request to the AM to allow developers e.g. to setup database context information for users (which you would do for label security). Surely there are other usecases as well
    Frank

  • Sort order in the Busines Model layer

    HI,
    When you specify a sort order in the Busines Model layer, it is ignored on Pivot Tables. Can we please get Pivot Tables to use the sort order specified in the BM layer?
    Thanks and Regards

    -- Can we please get Pivot Tables to use the sort order specified in the BM layer?
    If it doesn't work, please try to
    1) add the column in pivot table on which the sorting is based.
    2) hide it and
    3) place it at the beginning in the rows section.

  • Link Join Concept In Physical and Business Model Layer

    Hi,
    As we know that we could make join relationship in physical layer and also business model layer in obiee 10g. This is what makes me confuse.
    First of all, I tried to follow the tutorial in the oracle learning library center with schema SH as an example.
    In the beginning, it is stated that we must make join relationship first in physical layer for all imported tables which are consist of dimension tables and fact tables.
    Then, in the business model layer, the tutorial said that we must also make join relationship for the logical dimension table and logical fact table.
    So, what's the purpose actually we must make join relationship in business model layer ?
    All objects in business model layer are actually mapped from physical layer. So automatically the relationship in business model layer should be available automatically as they are mapped from physical layer.
    Maybe for you guys who know the concept well about this difference of relationship, could tell me so I could get the idea of what it is actually about.
    Thanks

    Physical layer does represent datamodel joins as is in almost all cases.
    Federated queries are a best example why joins are implemented in both (Physical & BMM layer) places.
    Business model mapping layer is modelled according to your business requirements.
    This is where your model MUST be a simple star schema, also where you model your hierarchies based on logical tables in bmm layer, & do appropriate aggregate navigation.
    Hope the view points presented will put you in right direction.
    mark answers promptly.
    -bifacts
    http://www.obinotes.com
    J
    Edited by: bifacts on Dec 16, 2010 9:19 PM

Maybe you are looking for

  • Premiere CC 2014 Crashes on Splash Screen

    Hi there, Running Premiere CC 2014 on Win7x64. A few days ago it began crashing on the startup screen right after attempting to launch the program. I have updated/rolled/back/changed my nvidia drivers (geforce 770) so many times at this point I canno

  • Tables that I need to check after the installation of OIM11G server

    Hi All, I just wanted to know what are all the tables that I have to check if my database is correctly configured for OIM11G or not. I configured my design console to the server that was installed at client environment. Everything looks fine except s

  • Help with GRAPH Marker Design Tutorial

    I am trying to create a custom marker design for a line chart (Using Illustrator CS3). I've followed all the steps in the HELP RESOURCE CENTER, but I can not get my marker to size any larger than the initial itty-bitty-square it creates. According to

  • Edit Digital ID Email Addy

    I just realized the email address I've been using for my digital ID in Acrobat 8 for the past two years is misspelled and I do not know how to correct it (I always saw "my_email_address@gmai..."  because the column was cut-off/not wide enough, so I t

  • Where/How to iTunes 7.X for older Mac OS (10.3.9)

    I have OS 10.3.9, and I'd like to upgrade my version of iTunes to the latest version possible. Unfortunately, Software Update does not display any available updates for iTunes. My iTunes is at 7.4.1. According to other sources, iTunes 7.5.X is compat