IceFaces 1.8 dataTable-sort example gives error

Hi All:
I need help, please!! Any help or hint is greatly appreciated it!!
In the tutorial from IceFaces 1.8
Data Table Component Tutorials
I am using weblogic 10.3.2, IceFaces 1.8 and Jsf 1.2.
I am using the jars that comes with the IceFaces 1.8 download.
index.jsp:
<html>
<head>
<title>ICEfaces Component Showcase</title>
</head>
<body>
<jsp:forward page="sortableTable.iface" />
</body>
</html>
sortableTable.jspx:
<f:view xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ice="http://www.icesoft.com/icefaces/component">
<ice:outputDeclaration doctypeRoot="HTML"
doctypePublic="-//W3C//DTD HTML 4.01 Transitional//EN"
doctypeSystem="http://www.w3.org/TR/html4/loose.dtd"/>
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1"></meta>
<title>DataTable Component Tutorial</title>
<link href="./xmlhttp/css/xp/xp.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<h2>Sortable dataTable Component</h2>
<p>In this example commandSortHeader components have been added to the
table headers. Clicking on the headers will sort the table data.</p>
<ice:form>
<!--
This is a very basic table comprising four columns. Each
row represents an inventory item. Each column represents a
inventory item property. commandSortHeader components have been
added ot the table headers.
The sortAscending and sortColumn attributes are set when a command
sortColumnName header is activated. The sortColumn and sortAscending
data can then be sortColumnName by a sortColumnName algorithm if a
change is detected.
-->
<ice:dataTable
id="dataSortData"
sortColumn="#{inventoryList.sortColumnName}"
sortAscending="#{inventoryList.ascending}"
value="#{inventoryList.carInventory}"
var="item">
<!-- Stock number -->
<ice:column>
<f:facet name="header">
<ice:commandSortHeader
columnName="#{inventoryList.stockColumnName}"
arrow="true" >
<ice:outputText value="#{inventoryList.stockColumnName}"/>
</ice:commandSortHeader>
</f:facet>
<ice:outputText value="#{item.stock}"/>
</ice:column>
<!-- Model number -->
<ice:column>
<f:facet name="header">
<ice:commandSortHeader
columnName="#{inventoryList.modelColumnName}"
arrow="true" >
<ice:outputText value="#{inventoryList.modelColumnName}"/>
</ice:commandSortHeader>
</f:facet>
<ice:outputText value="#{item.model}"/>
</ice:column>
<!-- Description -->
<ice:column>
<f:facet name="header">
<ice:commandSortHeader
columnName="#{inventoryList.descriptionColumnName} "
arrow="true" >
<ice:outputText value="#{inventoryList.descriptionColumnName}"/>
</ice:commandSortHeader>
</f:facet>
<ice:outputText value="#{item.description}"/>
</ice:column>
<!-- Odometer reading -->
<ice:column>
<f:facet name="header">
<ice:commandSortHeader
columnName="#{inventoryList.odometerColumnName}"
arrow="true" >
<ice:outputText value="#{inventoryList.odometerColumnName}"/>
</ice:commandSortHeader>
</f:facet>
<ice:outputText value="#{item.odometer}"/>
</ice:column>
<!-- Price number -->
<ice:column>
<f:facet name="header">
<ice:commandSortHeader
columnName="#{inventoryList.priceColumnName}"
arrow="true" >
<ice:outputText value="#{inventoryList.priceColumnName}"/>
</ice:commandSortHeader>
</f:facet>
<ice:outputText value="#{item.price}"/>
</ice:column>
</ice:dataTable>
</ice:form>
</body>
</html>
</f:view>
Error 500--Internal Server Error
java.lang.Exception: javax.faces.FacesException: Can't parse stream for /index.jsp The prefix "jsp" for element "jsp:forward" is not bound.
at com.icesoft.faces.context.View.servePage(View.java :152)
at com.icesoft.faces.webapp.http.core.MultiViewServer .service(MultiViewServer.java:67)
at com.icesoft.faces.webapp.http.common.ServerProxy.s ervice(ServerProxy.java:11)
at com.icesoft.faces.webapp.http.servlet.MainSessionB oundServlet$4.service(MainSessionBoundServlet.java :149)
at com.icesoft.faces.webapp.http.common.standard.Path DispatcherServer.service(PathDispatcherServer.java :24)
at com.icesoft.faces.webapp.http.servlet.BasicAdaptin gServlet.service(BasicAdaptingServlet.java:16)
at com.icesoft.faces.webapp.http.servlet.PathDispatch er.service(PathDispatcher.java:23)
at com.icesoft.faces.webapp.http.servlet.SessionDispa tcher.service(SessionDispatcher.java:53)
at com.icesoft.faces.webapp.http.servlet.PathDispatch er.service(PathDispatcher.java:23)
at com.icesoft.faces.webapp.http.servlet.MainServlet. service(MainServlet.java:131)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
at weblogic.servlet.internal.StubSecurityHelper$Servl etServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invok eServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute( ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(Tail Filter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter (FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFi lter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter (FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$Ser vletInvocationAction.run(WebAppServletContext.java :3592)
at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.sec uredExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.exe cute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(S ervletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread. java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java :173)
Caused by: javax.faces.FacesException: Can't parse stream for /index.jsp The prefix "jsp" for element "jsp:forward" is not bound.
at com.icesoft.faces.application.D2DViewHandler.rende rResponse(D2DViewHandler.java:445)
at com.icesoft.faces.application.D2DViewHandler.rende rView(D2DViewHandler.java:159)
at com.sun.faces.lifecycle.RenderResponsePhase.execut e(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:1 00)
at com.sun.faces.lifecycle.LifecycleImpl.render(Lifec ycleImpl.java:139)
at com.icesoft.faces.webapp.http.core.JsfLifecycleExe cutor.apply(JsfLifecycleExecutor.java:19)
at com.icesoft.faces.context.View$2$1.respond(View.ja va:48)
at com.icesoft.faces.webapp.http.servlet.ServletReque stResponse.respondWith(ServletRequestResponse.java :201)
at com.icesoft.faces.context.View$2.serve(View.java:7 7)
at com.icesoft.faces.context.View.servePage(View.java :149)
... 25 more
Caused by: org.xml.sax.SAXParseException: The prefix "jsp" for element "jsp:forward" is not bound.
at com.sun.org.apache.xerces.internal.parsers.Abstrac tSAXParser.parse(AbstractSAXParser.java:1231)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserI mpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogic XMLReader.java:133)
at weblogic.xml.jaxp.RegistryXMLReader.parse(Registry XMLReader.java:173)
at org.apache.commons.digester.Digester.parse(Digeste r.java:1785)
at com.icesoft.faces.webapp.parser.Parser.parse(Parse r.java:130)
at com.icesoft.faces.application.D2DViewHandler.rende rResponse(D2DViewHandler.java:439)
... 34 more

Hi All:
I need help, please!! Any help or hint is greatly appreciated it!!
In the tutorial from IceFaces 1.8
Data Table Component Tutorials
I am using weblogic 10.3.2, IceFaces 1.8 and Jsf 1.2.
I am using the jars that comes with the IceFaces 1.8 download.
index.jsp:
<html>
<head>
<title>ICEfaces Component Showcase</title>
</head>
<body>
<jsp:forward page="sortableTable.iface" />
</body>
</html>
sortableTable.jspx:
<f:view xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ice="http://www.icesoft.com/icefaces/component">
<ice:outputDeclaration doctypeRoot="HTML"
doctypePublic="-//W3C//DTD HTML 4.01 Transitional//EN"
doctypeSystem="http://www.w3.org/TR/html4/loose.dtd"/>
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1"></meta>
<title>DataTable Component Tutorial</title>
<link href="./xmlhttp/css/xp/xp.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<h2>Sortable dataTable Component</h2>
<p>In this example commandSortHeader components have been added to the
table headers. Clicking on the headers will sort the table data.</p>
<ice:form>
<!--
This is a very basic table comprising four columns. Each
row represents an inventory item. Each column represents a
inventory item property. commandSortHeader components have been
added ot the table headers.
The sortAscending and sortColumn attributes are set when a command
sortColumnName header is activated. The sortColumn and sortAscending
data can then be sortColumnName by a sortColumnName algorithm if a
change is detected.
-->
<ice:dataTable
id="dataSortData"
sortColumn="#{inventoryList.sortColumnName}"
sortAscending="#{inventoryList.ascending}"
value="#{inventoryList.carInventory}"
var="item">
<!-- Stock number -->
<ice:column>
<f:facet name="header">
<ice:commandSortHeader
columnName="#{inventoryList.stockColumnName}"
arrow="true" >
<ice:outputText value="#{inventoryList.stockColumnName}"/>
</ice:commandSortHeader>
</f:facet>
<ice:outputText value="#{item.stock}"/>
</ice:column>
<!-- Model number -->
<ice:column>
<f:facet name="header">
<ice:commandSortHeader
columnName="#{inventoryList.modelColumnName}"
arrow="true" >
<ice:outputText value="#{inventoryList.modelColumnName}"/>
</ice:commandSortHeader>
</f:facet>
<ice:outputText value="#{item.model}"/>
</ice:column>
<!-- Description -->
<ice:column>
<f:facet name="header">
<ice:commandSortHeader
columnName="#{inventoryList.descriptionColumnName} "
arrow="true" >
<ice:outputText value="#{inventoryList.descriptionColumnName}"/>
</ice:commandSortHeader>
</f:facet>
<ice:outputText value="#{item.description}"/>
</ice:column>
<!-- Odometer reading -->
<ice:column>
<f:facet name="header">
<ice:commandSortHeader
columnName="#{inventoryList.odometerColumnName}"
arrow="true" >
<ice:outputText value="#{inventoryList.odometerColumnName}"/>
</ice:commandSortHeader>
</f:facet>
<ice:outputText value="#{item.odometer}"/>
</ice:column>
<!-- Price number -->
<ice:column>
<f:facet name="header">
<ice:commandSortHeader
columnName="#{inventoryList.priceColumnName}"
arrow="true" >
<ice:outputText value="#{inventoryList.priceColumnName}"/>
</ice:commandSortHeader>
</f:facet>
<ice:outputText value="#{item.price}"/>
</ice:column>
</ice:dataTable>
</ice:form>
</body>
</html>
</f:view>
Error 500--Internal Server Error
java.lang.Exception: javax.faces.FacesException: Can't parse stream for /index.jsp The prefix "jsp" for element "jsp:forward" is not bound.
at com.icesoft.faces.context.View.servePage(View.java :152)
at com.icesoft.faces.webapp.http.core.MultiViewServer .service(MultiViewServer.java:67)
at com.icesoft.faces.webapp.http.common.ServerProxy.s ervice(ServerProxy.java:11)
at com.icesoft.faces.webapp.http.servlet.MainSessionB oundServlet$4.service(MainSessionBoundServlet.java :149)
at com.icesoft.faces.webapp.http.common.standard.Path DispatcherServer.service(PathDispatcherServer.java :24)
at com.icesoft.faces.webapp.http.servlet.BasicAdaptin gServlet.service(BasicAdaptingServlet.java:16)
at com.icesoft.faces.webapp.http.servlet.PathDispatch er.service(PathDispatcher.java:23)
at com.icesoft.faces.webapp.http.servlet.SessionDispa tcher.service(SessionDispatcher.java:53)
at com.icesoft.faces.webapp.http.servlet.PathDispatch er.service(PathDispatcher.java:23)
at com.icesoft.faces.webapp.http.servlet.MainServlet. service(MainServlet.java:131)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
at weblogic.servlet.internal.StubSecurityHelper$Servl etServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invok eServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute( ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(Tail Filter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter (FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFi lter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter (FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$Ser vletInvocationAction.run(WebAppServletContext.java :3592)
at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.sec uredExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.exe cute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(S ervletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread. java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java :173)
Caused by: javax.faces.FacesException: Can't parse stream for /index.jsp The prefix "jsp" for element "jsp:forward" is not bound.
at com.icesoft.faces.application.D2DViewHandler.rende rResponse(D2DViewHandler.java:445)
at com.icesoft.faces.application.D2DViewHandler.rende rView(D2DViewHandler.java:159)
at com.sun.faces.lifecycle.RenderResponsePhase.execut e(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:1 00)
at com.sun.faces.lifecycle.LifecycleImpl.render(Lifec ycleImpl.java:139)
at com.icesoft.faces.webapp.http.core.JsfLifecycleExe cutor.apply(JsfLifecycleExecutor.java:19)
at com.icesoft.faces.context.View$2$1.respond(View.ja va:48)
at com.icesoft.faces.webapp.http.servlet.ServletReque stResponse.respondWith(ServletRequestResponse.java :201)
at com.icesoft.faces.context.View$2.serve(View.java:7 7)
at com.icesoft.faces.context.View.servePage(View.java :149)
... 25 more
Caused by: org.xml.sax.SAXParseException: The prefix "jsp" for element "jsp:forward" is not bound.
at com.sun.org.apache.xerces.internal.parsers.Abstrac tSAXParser.parse(AbstractSAXParser.java:1231)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserI mpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogic XMLReader.java:133)
at weblogic.xml.jaxp.RegistryXMLReader.parse(Registry XMLReader.java:173)
at org.apache.commons.digester.Digester.parse(Digeste r.java:1785)
at com.icesoft.faces.webapp.parser.Parser.parse(Parse r.java:130)
at com.icesoft.faces.application.D2DViewHandler.rende rResponse(D2DViewHandler.java:439)
... 34 more

Similar Messages

  • WebLogic 10.3 Workshop - Downloading tutorial examples give errors

    Hi,
    I'm trying to go through the Workshop tutorials. The tutorials that are using examples to be downloaded from Oracle site giving me errors. For example, here are the steps:
    - Tutorial: Struts
    - From the AppXplorer view, click New Example Web Project. Expand Struts and choose Workshop Struts Tour. Click Next. - so far so good
    - In the New Web Project dialog, click Finish. - once I click finish I get the following error dialog:
    Failed to download the example project from Oracle site.
    sun.security.ValidatorException: PKIX path building failed:
    sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    PKIX path building failed:
    sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    unable to find valid certification path to requested target.
    I'm guessing it has something to do with setting up Java Security Manager inside (or outside) Eclipse. I'll appreciate any help.
    Thanks,
    Yuval

    Any reason why you are using Workshop 10.3 instead of Oracle Enterprise Pack for Eclipse 11g? It likely supports the features you want and is the strategic Eclipse tool. The latest release just came out last week, see:
    http://www.oracle.com/technology/products/enterprise-pack-for-eclipse/index.html
    Some features are only in Workshop 10.3, but that usually only affects a subset of BEA customers that used features deprecated once the Oracle acquisition became complete.

  • How to Update a clob column..it gives error string literal too long

    I am trying to update a clob column of a table but it gives error string literal too long plz tell me what's the issue
    ORA-01704: string literal too long

    Peeyush wrote:
    I am trying to update a clob column of a table but it gives error string literal too long plz tell me what's the issue
    ORA-01704: string literal too longThere's a problem with my car. It won't start. Why won't it start? Please tell me!
    Oh wait, you can't, because I haven't given you nearly enough information...
    In other words, if you would like help in trying to work out where you've gone wrong, you should provide a small enough example of your code that demonstrates the error. We might then actually stand a chance of being able to help you!

  • PL/PDF - Procedure test1 is executed but gives error

    Hello All,
    I have Oracle XE 10g with Oracle Apex and recently I installed PL/PDF in the same. I tried to execute the headerfooter procedure given in the installation guide. But it gives error ORA-20000: ERR-006 Procedure call error: xxfooter. How can I get the header and footer from this procedure headerfooter?
    - create header footer procedure
    CREATE OR REPLACE procedure headerfooter is
    /* 7. Example: Header, Footer, number of pages */
    l_blob blob;
    begin
    /* Initialize, without parameters means:
    - page orientation: portrait
    - unit: mm
    - default page format: A4 */
    plpdf.init;
    /* Defines the page number alias.
    Default: {nb} */
    plpdf.nopAlias;
    /*Sets the page header procedure name. The program name passed
    as a parameter executes when the page header is created. */
    plpdf.SetHeaderProcName(
    p_proc_name => 'xheader', -- Page header procedure name: xheader
    p_height => 10 -- Height of header section
    /* Sets the page footer procedure name. The program name passed
    as a parameter executes when the page footer is created. */
    plpdf.SetFooterProcName(
    p_proc_name => 'xfooter', --Page footer procedure name: xfooter
    p_height => 10 --Height of footer section
    /* Begin a new page, without parameters means:
    - page orientation: default (portrait) */
    plpdf.NewPage;
    /* Sets the font and its properties */
    plpdf.SetPrintFont(
    p_family => 'Arial', -- Font family: Arial
    p_style => null, -- Font style: regular (default)
    p_size => 12 -- Font size: 12 pt
    /* Draws a rectangle cell with text inside. */
    plpdf.PrintCell(
    p_w => 50, -- Rectangle width
    p_h => 10, -- Rectangle heigth
    p_txt => 'Page 1' -- Text in rectangle
    /* Begin a new page, without parameters means:
    - page orientation: default (portrait) */
    plpdf.NewPage;
    /* Draws a rectangle cell with text inside. */
    plpdf.PrintCell(
    p_w => 50, -- Rectangle width
    p_h => 10, -- Rectangle heigth
    p_txt => 'Page 2' -- Text in rectangle
    /* Returns the generated PDF document.
    The document is closed and then returned in the OUT parameter. */
    plpdf.SendDoc(
    p_blob => l_blob -- The generated document
    /* Print it:*/
         owa_util.mime_header('application/pdf',false);
    htp.p('Content-Length: ' || dbms_lob.getlength(l_blob));
    owa_util.http_header_close;      
    wpg_docload.download_file(l_blob);
    end;
    -Create footer procedure
    CREATE OR REPLACE procedure xfooter is
    begin
    /* Sets the font and its properties */
    plpdf.SetPrintFont(
    p_family => 'Arial', -- Font family: Arial
    p_style => 'I', -- Font style: Italic
    p_size => 8 -- Font size: 8 pt
    /* Print number of page */
    /* Draws a rectangle cell with text inside. */
    plpdf.PrintCell(
    p_w => 0, -- Rectangle width
    p_h => 10, -- Rectangle heigth
    p_txt => to_char(plpdf.CurrentPageNumber) || '/{nb}', -- Text in rectangle
    p_border => '0', -- Without frame
    p_ln => '0', -- Cursor position after the cell is printed: Beside
    p_align => 'C' -- Text alignment: Center
    end;
    Thanks.

    Thanks for your reply,
    Since the owner of header/footer procedures is different than plpdf, I should have given the grants to plpdf schema but unfortunately I missed. Thanks for the answer it worked. Instead of creating synonyms for the procedures in plpdf schema I am passing procedure name with qualifier, the name of its owner, to plpdf api (owner.procedure_name).

  • Randomly be able to sort and give top n on any of the field

    hi abapers
    i mean to say that when the final output comes i can randomly be able to sort and give top n on any of the field and then get the output on the same screen. as we do in mc.5
    i m trying to find the solution for this for last 2 months
    can u provide me the code how to do this as i m not able to understand mc.5 code for top n function.
    itab having mat rate qty
    then when the output comes i want to get n top items on any of the field ( material,rate,qty) and number n can be any no of records.

    Hi deepika,
    well, it depends. let's say you want a popup to ask for the field of an internal table with a known struture, ie, it's structure is defined in the data dictionary. You can do something like this to select the sort field:
      DATA: it_t000 TYPE TABLE OF t000 WITH HEADER LINE.
      DATA: it_fields TYPE TABLE OF dd03l-fieldname WITH HEADER LINE.
      DATA: it_spopli TYPE TABLE OF spopli WITH HEADER LINE.
      DATA: l_answer LIKE sy-tabix.
      SELECT * FROM t000 INTO TABLE it_t000.
      SELECT fieldname INTO TABLE it_fields FROM dd03l WHERE tabname = 'T000'.
      LOOP AT it_fields.
    *maybe it would be more useful the description instead of the fieldname,
    * this is just an example
        it_spopli-varoption = it_fields.
        APPEND it_spopli.
      ENDLOOP.
      CALL FUNCTION 'POPUP_TO_DECIDE_LIST'
        EXPORTING
          textline1          = ''
          titel              = 'Get field order'
        IMPORTING
          answer             = l_answer
        TABLES
          t_spopli           = it_spopli
        EXCEPTIONS
          not_enough_answers = 1
          too_much_answers   = 2
          too_much_marks     = 3
          OTHERS             = 4.
      READ TABLE it_spopli INDEX l_answer.
      DATA: otab  TYPE abap_sortorder_tab,
            oline TYPE abap_sortorder.
      oline-name = it_spopli-varoption.
      APPEND oline TO otab.
      SORT it_t000 BY (otab).
      LOOP AT it_t000.
        WRITE: / it_t000.
      ENDLOOP.
    whereas you can use this to query and select the top n lines:
      DATA: it_t000 TYPE TABLE OF t000 WITH HEADER LINE.
      DATA: it_t000_1 TYPE TABLE OF t000 WITH HEADER LINE.
      DATA: it_fields TYPE TABLE OF dd03l-fieldname WITH HEADER LINE.
      DATA: it_spopli TYPE TABLE OF spopli WITH HEADER LINE.
      DATA: l_answer LIKE sy-tabix.
      SELECT * FROM t000 INTO TABLE it_t000.
      SELECT fieldname INTO TABLE it_fields FROM dd03l WHERE tabname = 'T000'.
      LOOP AT it_fields.
        it_spopli-varoption = it_fields.
        APPEND it_spopli.
      ENDLOOP.
      CALL FUNCTION 'POPUP_TO_DECIDE_LIST'
        EXPORTING
          textline1          = ''
          titel              = 'Get field order'
        IMPORTING
          answer             = l_answer
        TABLES
          t_spopli           = it_spopli
        EXCEPTIONS
          not_enough_answers = 1
          too_much_answers   = 2
          too_much_marks     = 3
          OTHERS             = 4.
      READ TABLE it_spopli INDEX l_answer.
      DATA: otab  TYPE abap_sortorder_tab,
            oline TYPE abap_sortorder.
      oline-name = it_spopli-varoption.
      APPEND oline TO otab.
      DATA: l_value TYPE spop-varvalue1,
            l_top TYPE sy-tabix.
      CALL FUNCTION 'POPUP_TO_GET_ONE_VALUE'
        EXPORTING
          textline1      = 'Number of top lines'
          titel          = 'top lines'
          valuelength    = 2
        IMPORTING
          value1         = l_value
        EXCEPTIONS
          titel_too_long = 1
          OTHERS         = 2.
      l_top = l_value.
      SORT it_t000 BY (otab).
      DO l_top TIMES.
        READ TABLE it_t000 INDEX sy-index.
        APPEND it_t000 TO it_t000_1.
      ENDDO.
      LOOP AT it_t000_1.
        WRITE: / it_t000_1.
      ENDLOOP.
    there is a significant number of ways to achieve this, it depends on what type of list you have (ALV, table control, write list), the type of table line (data dictionary, internal table type) and the type of interaction you want with the user.
    The code above might be the most simple example.
    regards,
    Edgar

  • ASMCA gives error

    Oracle 11.2.0.2
    Standlone database with ASM. Grid infrastructure is installed.
    While trying to create ASM instance with the help of asmca in grid home it gives error and generates below log file.
    ORA_CRS_HOME is set equivalent to the gird installation directory.
    Error in the log file is
    [main] [ 2012-10-12 12:55:27.471 EDT ] [RuntimeExec.runCommand:161] RunTimeExec: output>
    [main] [ 2012-10-12 12:55:27.472 EDT ] [RuntimeExec.runCommand:164] /oracle/app/11.2.0/grid
    [main] [ 2012-10-12 12:55:27.472 EDT ] [RuntimeExec.runCommand:170] RunTimeExec: error>
    [main] [ 2012-10-12 12:55:27.473 EDT ] [RuntimeExec.runCommand:192] Returning from RunTimeExec.runCommand
    [main] [ 2012-10-12 12:55:27.473 EDT ] [HAUtils.getCRSHome:546] Configured CRS/HAS home = /oracle/app/11.2.0/grid
    [main] [ 2012-10-12 12:55:28.312 EDT ] [UsmcaLogger.logInfo:141] Can't exec "/oracle/app/11.2.0/grid/bin/clsecho": No such file or directory at /oracle/app/11.2.0/grid/lib/acfslib.pm line 937.
    [main] [ 2012-10-12 12:55:28.370 EDT ] [RuntimeExec.runCommand:170] RunTimeExec: error>
    [main] [ 2012-10-12 12:55:28.371 EDT ] [RuntimeExec.runCommand:192] Returning from RunTimeExec.runCommand
    [main] [ 2012-10-12 12:55:28.371 EDT ] [HAUtils.getCRSHome:546] Configured CRS/HAS home = /oracle/app/11.2.0/grid
    [main] [ 2012-10-12 12:55:28.372 EDT ] [HAUtils.getHASHome:613] returning configured HAS Home: /oracle/app/11.2.0/grid
    [main] [ 2012-10-12 12:55:28.372 EDT ] [Version.isPre:274] version to be checked 11.2.0.1.0 major version to check against10
    Edited by: 965132 on Oct 13, 2012 5:06 AM

    Did you configured and activated Oracle Restart?
    If not... To activate it follow this tasks:
    Run the roothas.pl script from Grid_home as root user using the following syntax:
    Grid_home/perl/bin/perl -I Grid_home/perl/lib -I Grid_home/crs/install  Grid_home/crs/install/roothas.pl
    ## For example, if your Oracle Grid Infrastructure home is /app/11.2.0/grid, then run the following script:
    $ /app/11.2.0/grid/perl/bin/perl -I /app/11.2.0/grid/perl/lib -I /app/11.2.0/grid/crs/install /app/11.2.0/grid/crs/install/roothas.plhttp://docs.oracle.com/cd/E11882_01/install.112/e24321/oraclerestart.htm

  • Sampsperchantoacquire =1 gives error -200077

    using either DAQmxCfgSampClkTiming or DAQmxCfgImplicitTiming and setting SampsPerChantoAcquire to 1 gives error code -200077
    I want to sample 6 channels exactly once as fast as possible - how should I do this?
    Thanks!

    Hello Britt,
    You can use the basic structure of OneSample as a guideline and simply add on however many more channels you require (in this case 5 more). You would do this using the DAQmxCreateAIVoltageChan() function. The NI-DAQmx C Reference Help describes this function as follows:
    DAQmxCreateAIVoltageChan
    int32 DAQmxCreateAIVoltageChan (TaskHandle taskHandle, const
    char physicalChannel[], const char nameToAssignToChannel[], int32
    terminalConfig, float64 minVal, float64 maxVal, int32 units, const char
    customScaleName[]);
    Purpose
    Creates channel(s) to measure voltage and adds the channel(s) to the task
    you specify with taskHandle. If your measurement requires the
    use of internal excitation or you need the voltage to be scaled by excitation,
    call DAQmxCreateAIVoltageChanWithExcit.
    You would simply call this function with the same taskHandle you are already using and list whatever channels you want as the physicalChannel[] input parameter. Also, as noted in the NI-DAQmx Help, the physical channel syntax can be used for a single channel or a range of channels. As described in this manual:
    Physical Channel Syntax
    <script type="text/javascript">
    </script>
    Use this syntax to refer to physical channels and groups of
    physical channels in NI-DAQmx.
    Physical Channel Names
    Physical channel names consist of a device identifier and a slash
    (/) followed by a channel identifier. For example, if the physical channel is
    Dev0/ai1, the device identifier is Dev0, and the channel identifier is ai1. MAX assigns device identifiers to devices in the
    order they are installed in the system, such as Dev0 and Dev1. You also can
    assign arbitrary device identifiers with MAX.
    For analog I/O and counter I/O, channel identifiers combine the
    type of the channel, such as analog input (ai), analog output (ao), and counter
    (ctr), with a channel number such as the following:
    ai1
    ctr0
    For digital I/O, channel identifiers specify a port, which
    includes all lines within a port:
    port0
    Or, the channel identifier can specify a line within a port:
    port0/line1
    All lines have a unique identifier. Therefore, you can use lines
    without specifying which port they belong to. For example, line31—is equivalent to port3/line7 on a device with four 8-bit ports.
    Physical Channel Ranges
    To specify a range of physical channels, use a colon between two
    channel numbers or two physical channel names:
    Dev0/ai0:4
    For digital I/O, you can specify a range of ports with a colon
    between two port numbers:
    Dev0/port0:1
    You also can specify a range of lines:
    Dev0/port0/line0:4
    Dev0/line0:31
    You can specify channel ranges in reverse order:
    Dev0/ai4:0
    Dev0/port1/line3:0
    Physical Channel Lists
    Use commas to separate physical channel names and ranges in a list
    as follows:
    Dev0/ai0, Dev0/ai3:6
    Dev0/port0, Dev0/port1/line0:2
    The implementation in which you specify 2 samples per channel in DAQmxCfgSampleClkTiming is probably not the best implementation. If you continue to specify 2 samples to read and then only pull 1 sample from the buffer in DAQmxReadAnalogF64 you will eventually overflow the buffer on the device. Also, you will not "lose" data, but I don't think you are getting the data you expect. The DAQmxReadAnalogF64 function will read the oldest available sample from the device; this isn't a problem when you are reading all the data that is in the buffer every time. However, in your implementation, you will be getting old data when you expect more recent. The figure below should demonstrate the problem with this scheme. The arrows represent the data that you are reading with the DAQmxReadAnalogF64.
    This behavior is the default setting for the NI-DAQmx driver, but you can change it using the RelativeTo property. The description of this property is as follows:
    RelativeTo
    Data Type:
    int32
    Description:
    Specifies the point in the buffer at which to begin a read operation. If you
    also specify an offset with Offset, the read
    operation begins at that offset relative to the point you select with this
    property. The default value is DAQmx_Val_CurrReadPos unless you configure a Reference Trigger for the task. If you configure a Reference Trigger, the default
    value is DAQmx_Val_FirstPretrigSamp.
    Valid values
    DAQmx_Val_FirstSample
    10424
    Start reading samples relative to the first sample
    acquired.
    DAQmx_Val_CurrReadPos
    10425
    Start reading samples relative to the last sample returned by
    the previous read. For the first read operation, this position is the first
    sample acquired or the first pretrigger sample if you configured a reference
    trigger for the task.
    DAQmx_Val_RefTrig
    10426
    Start reading samples relative to the first sample after the
    reference trigger occurred.
    DAQmx_Val_FirstPretrigSamp
    10427
    Start reading samples relative to the first pretrigger
    sample. You specify the number of pretrigger samples to acquire when you
    configure a reference trigger.
    DAQmx_Val_MostRecentSamp
    10428
    Start reading samples relative to the next sample acquired.
    For example, use this value and set Offset to -1 to
    read the last sample acquired.
    You can get/set/reset this property using:
      DAQmxGetReadRelativeTo
      DAQmxSetReadRelativeTo
      DAQmxResetReadRelativeTo
    However, in your implementation, you would still face problems with overflowing the buffer. Instead, I would recommend that you read all available samples and either average the data or just discard the samples that are not applicable.
    Finally, to address your question regarding the sample rate in DAQmxCfgSampClkTiming, the sample rate is accurate down to the specifications of the device you are using. The USB-6008/6009 User Guide here provides the following specification:
    Timing accuracy..................................... 100 ppm of actual sample rate
    The NI USB-621x Specifications here indicates:
    Timing accuracy..................................... 100 ppm of actual sample rate
    Message Edited by Matt A on 07-11-2007 10:39 AM
    Matt Anderson
    Hardware Services Marketing Manager
    National Instruments
    Attachments:
    Dev Range Reverse.JPG ‏2 KB
    DAQmx Read.JPG ‏13 KB
    Dev Range.JPG ‏3 KB

  • RE: [Adobe Reader] when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? i

    HelloThank's for your helpsI hope this document is helpfulBest Regards,
    Date: Sun, 22 Jun 2014 17:10:17 -0700
    From: [email protected]
    To: [email protected]
    Subject:  when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th
        when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help m
        created by Anoop9178 in Adobe Reader - View the full discussion
    Hi,
    Would it be possible for you to share the document?
    Regards,
    Anoop
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6485431#6485431
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
         To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Reader by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

  • ITunes new version doesn't open at all. Gives error message

    I downloaded 7.4.3 version of iTunes and it doesn't open at all. Gives error message. "iTunes has encountered a problem and needs to close."
    I have previous version of iTunes in my spare HD, in the same computer, and it works perfectly fine.
    I have unistalled and re-installed again and again many times including with the help of Apple Support help in the phone and came up with no clues of what's going on.
    How can I get a previous version of iTunes to download to my PC? I have looking for a place on Apple's website where I could probably have my issue resolved, but I found nothing.
    Thank you.

    Thanks to Jim Zack, the problem is solved.
    If you're having this problem, go find the solution at the following page and read Jim's suggestion.
    http://discussions.apple.com/thread.jspa?threadID=1155613

  • Report server gives error

    i have installed oracle 9i AS (EE)on NT,
    Now i want to display reports in pdf/HTML on web broswer. For that i am trying to run report tester page given through broswer it is showing one page having Button(run report), when i click on that, it gives error unable to connected to database, and request rejected by report server. WHY ???
    i want to display reports through JSP How it can be done? Does anybody knows it?
    Naresh
    null

    Please check at http://<server>/dev60html/runrep.htm for follwings :
    01. your test.rdf must be in report60 folder
    02. your db must contain scott user
    03. connect string must be tested and give the same inplace of test
    04. your webhost may contain a dot, please check this should be the same as yours
    hope this will help
    bye !

  • Report builder error after applying sql server 2008R2 SP3 when click on report builder gives error like 'Application validation did not succeed. Unable to continue.

    Hi All,
    I applied SQL server 2008 R2 SP3 recently but report builder doesn't work since then
    When click on report builder gives error like 'Application validation did not succeed. Unable to continue.
    and when I try to see details the error summary like following:
    +File, Microsfot.ReportingServices.ComponentLibrary.Controls.dll, has a different computed hash than specified in manifest.
    this is urgent.
    Please reply me asap.
    thanks a lot in advance.
    Regards,
    Nik
    Regards, Naman

    Hi nikp11,
    According to your description, you recently updated SQL Server 2008 R2 to SP3, Report Builder doesn’t work since then the error occurs: "Application validation did not succeed. Unable to continue".
    This is an known issue in SSRS 2008 R2 SP3 that Microsoft has published an article addressing this issue. It is not planning to release a fix for this issue. But we could implement one of the following workarounds:
    Install and run Report Builder 3.0 of SQL Server 2008 R2 RTM.
    Install and run Report Builder of SQL Server 2014.
    Uninstall Service Pack 3 then uninstall Service Pack 2 and then reinstall Service Pack 3.
    Reference:
    Report Builder of SQL Server 2008 R2 Service Pack 3 does not launch
    Thank you for your understanding.
    Best Regards,
    Wendy Fu

  • When i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th

    when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ?
    if you can help me thank's
    [email address removed by host]

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

  • After upgrading to Lion Image Capture does not work, even though it is intel software.  Gives error 9931.  What gives?

    After upgrading to Lion, Image Capture does not work, even though it is intel software.  Gives error 9931.  What gives?

    Ouch, if it is indeed damaged, then sadly you need to restore the whole danged huge OS!
    Didn't used to be this way before Lion/10.7.
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    If that doesn't help Reinstall the OS.

  • How to give error message for the screen element text field when wrong i/p

    How to give error message for the screen element text field when wrong i/p
    when wrong input given
    eg. 
    I have a text box with SBOOK-CARRID
    so when user give wrong entry in text box i.e LG
    then I should give some error stating that the the input is invalid or not available ,
    now it showing the error of standard messages,
    i want manual message to be displayed when error comes.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    Hi all,
    Thank you for your valuable reply,
    but the thing is that its a screen field,
    i.e text box not a selection screen
    i created in screen layout
    with name sbook-carrid
    now i want to get error message display if wrong i/p is given
    thank you.
    Regards,
    Jagrut bharatkumar Shukla,

  • SSAS Tabular - Adding Column to a table gives error "Object reference not set to instance of object"

    If I make changes to a table in SSAS Tabular Visual Studio, the newly added column gives error as "Object
    reference not set to instance of object"

    Hi VikasJain13,
    According to your description, you get the "Object reference not set to instance of object" error when adding columns in Tabular. Right?
    Generally, it throws this error when the internal code is accessing the property of an empty object. As you mentioned it happens when you make changes on a table, mostly it means that table is already a empty object. Please re-process your tabular to see
    if this table is still existing. 
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

Maybe you are looking for

  • Voice Memos older than last Sync date not copying from iPhone to PC after sync, even though "Include voice memos" is checked

    I am trying to copy over my voice memos from my iPhone to my PC. I have "Include voice memos" checked under the Music tab. I had an issue with voice memos being duplicated on my iPhone after a sync (I got two versions of each memo on my phone for som

  • Limit TextField to specifc number of lines

    Hi, First of all the limit to character number is not enough for my case. I would like to make sure that the user won't be able to enter more than 3 lines of text. In addition the field can be either filled in directly or using two other fields + but

  • Wage type model in 0008 not invoked in HR_INFOTYPE_OPEARATION

    Hi, I am using HR_INFOTYPE_OPEARATION to insert a new record in IT 0008. I am giving the required fields and wagetypes and their amounts. I am testing in dialog mode = '2', but the screen is not getting all the wage types as i do get in PA30. Is it p

  • Embedded CRXI in Websphere running on iSeries - Error

    Hi, I have been using the new CR4E that I downloaded and installed on Websphere toolkit in windows. My reports have been working in my developement WAS server 6.1 & can export to PDF. But after deploying to my production WAS 6.1 server, I could not a

  • Need help with a Help problem

    Hi, I've been using RoboHelp for about seven years now and this is the first time I've come up with this problem. The application for which I'm building the Help file contains a What's New menu item in the Help menu. I have a page called What's New b