Tomahawk DataScroller - NullPointerException with navigation panel

Hi all,
I'm trying to implement navigation on a dataTable with DataScroller. Except from the dataTable content the jsp is a copy / paste from the tomahawk cars example.
My jsp structure has 3 main elements
- datatable
- scroller one for datatable navigation (next, previous, ...)
- scroller two for datatable statistics (pages counts)
When page is loaded there is a fatal error (NullPointerException)
If I delete the scroller one definition in my jsp there is no error, data table is correctly populated with 10 first rows and scroller two information is correct.
I tried with a simple ArrayList or with a DataModel in my backing bean. In both cases the NullPointerException happens.
I checked web.xml, faces-config, ... can't find a reason.
Any idea someone please? See stacktrace here under and sample of my jsp
Thank you very much for any help.
sunjavero
// here is my jsp extract:
<code>
<f:view>
<h:panelGroup id="body">
     <t:dataTAble id="data" ... >
     </t:dataTable>
     <h:panelGrid columns="1" ... >
          <t:dataScroller id="scroll_1" for="data" ... >
               <f:facet name="first" >
                    <t:graphicImage url="images/arrow-first.gif" border="1" />
               </f:facet>
               // (other facets same principle...)
          </t:dataScroller>
          <t:dataScroller id="scroll_2" for="data" ... >
     <h:outputFormat ... >
                    <f:param value="#{rowsCount}" />
                    <f:param value="#{displayedRowsCountVar}" />
                    <f:param value="#{firstRowIndex}" />
                    <f:param value="#{lastRowIndex}" />
                    <f:param value="#{pageIndex}" />
                    <f:param value="#{pageCount}" />
               </h:outputFormat>
          </t:dataScroller>
     </h:panelGrid>
</h:panelGroup>
</f:view>
</code>
exception:
org.apache.jasper.JasperException: javax.servlet.jsp.JspException: null
     org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
caused by (root error?):
java.lang.NullPointerException
     com.sun.faces.renderkit.html_basic.CommandLinkRenderer.getHiddenFieldName(CommandLinkRenderer.java:136)
     com.sun.faces.renderkit.html_basic.CommandLinkRenderer.encodeEnd(CommandLinkRenderer.java:318)
     javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
     org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer.renderFacet(HtmlDataScrollerRenderer.java:294)
     org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer.renderScroller(HtmlDataScrollerRenderer.java:236)
     org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer.encodeEnd(HtmlDataScrollerRenderer.java:207)

Hi all,
I found out a solution (after many hours of cursing!): Better to enclose DataScroller inside a form.
I don't understand why tomahawk example works fine without it (!!!)
If someone has an explanation he is welcome
And if someone explains me how to get more than 24 lines of stacktrace on windows 98 he is welcome too! (Unable to start tomcat from IDE because of wrong memory size), so have to start it from dos...
Sincerely yours... tired sunjavero

Similar Messages

  • How to set up navigation panel closed initially

    Hi ,
    I am facing a pblm with navigation panel.
    i need navigation panel only for few roles. when i logon to the portal, my first role say "XYZ" is showing navigation panel.
    i want to setup it in a way that for XYZ navigation panel should be closed(on logon) and when navigate to other roles navigation panel sholud be there.
    how to customize it for roles ...
    Thanks
      john

    Hi Eduardo,
        Thanks for reply.
    But i am working with WPC sites.
    So here i have only roles, there are no ivews and pages.
    my first role "XYZ" is for wpc only.
    In roles there is no such parameter. So how to set it for WPC role.
    Thanks
       John

  • Right alignment with in navigation panel.....

    Hi, I am new to JSF. I am using this tag, i want the text to be right aligned with in this navigation panel.
    But, it is not working. Please guide me to align the text on right hand side.
    I am using JSF 1.2 version and Tomcat 6.0
    <t:panelNavigation2 align="right">Please help me.
    Regards,
    ash

    Use CSS along with the styleClass and/or style attributes.

  • Creating New Layout with 'Expand/Reduce Navigation Panel'

    Hi All,
    Please let me know can we create layout having the feature of' 'Expand/Reduce Navigation Panel'. If yes, point me to the steps to be followed or resources which explain these steps.
    Regards,
    Ganga

    You should download the .par file of the existing Detailed Navigation iview and import that into NWDS. Then you can modify that and create a new .par file to upload into your portal. Create an iview from the new app.
    Create a copy of the default framework page and edit the Desktop inner page and insert the new iview in place of the standard one.

  • How can you display only one artboard in the Navigation Panel?

    I would like to be able take advantage of the Navigation Panel as a thumbnail view of the artwork I am illustrating. The Adobe Illustrator file has 5 art boards. Is there an option in the Navigation Panel to view the art board I am working with, alone? 

    > That could work if all of the group items were the same size.
    Why would that matter? Each GroupItem has its own controlBounds, height, width, position properties. Each Document has its own height, width, pageOrigin properties. The script would reference those properties to position the Group in the center of the document.
    JET

  • Acrobat 9 Pro: Can't view last odd page in navigation panel

    When viewing pages of a pdf through the pages navigation panel in Acrobat 9 Pro in 2-up view, if the document finishes on an odd page, you cant scroll down and view the last page in the navigation panel. This wasn't a problem in Acrobat 8 Professional. Does anyone know why this is happening and how to fix this?
    I have attached a screen capture that shows the problem.

    Thank you, but that's not going to be very efficient for his purposes, he says. He's actually moving back to Acrobat 7 to build new documents. I spoke with Adobe tech support this morning and showed them the issue via desktop viewing; they stated that the engineers are still working on the problem and it "would fixed in the next major release." Very disappointing.
    Do you any insight into when the next major release of Acrobat may be?

  • RoboHelp HTML Version 10 - Navigation panel not displaying in published project

    We are generating a WebHelp project in RoboHelp HTML Version 10 and the navigation panel (TOC, Search, etc.) is no longer visible in the index file (viewed locally) and it's only visible by clicking "Show" when viewed in a web server. This issue is occurring with Internet Explorer 11 and Google Chrome Version 39.0.2171.99 m. I also tried to view the index files of previously generated projects and am experiencing the same issue (this did not occur before). Is this a known issue? It appears that there a few other discussions posted recently experiencing similar issues. Any help would be greatly appreciated.
    Thanks,
    Nikki

    Hi there
    Sorry, but I'm a bit confused. What you are describing sounds like perfectly normal behavior.
    Can you share a link where this is happening? Not so we can click it, but so we can see what the link looks like.
    If you want a topic to open with the surrounding navigation (TOC, Index, Search, Glossary) you need to click the Show link, then look at what's in the Address bar. Copy that link and you should have what you need.
    Cheers... Rick

  • How to make Navigation Panel invisible on portal screen????

    Hi,
    I need to create two roles ( X and Y ).
    when the user is assgned role X: he should see standard portal screen
    When user is assigned role Y: he should see customized portal screen.
    Features of customized portal screen:
    All features of portal should not be seen. The user should see only the iview and nothing else.
    What I have done:
    Created Role ( X and Y ) and respective iviews
    With Framework page:
    I copied standard framework page. made all iviews invisible except Desktop Innerpage.
    I opend the Innerpage. I made all all iviews invisible except the Content Area.
    With Desktop:
    I create new desktop and assigned the new framework page to deaktop and made it default.
    With Rule Collection: I created new rule collection where:
    if Role = Y
    display: new desktop
    if role = X
    display: default desktop
    Result:
    when I login with role X it shows default Desktop
    Problem Area: When i login with ROLE Y, No portal feature is visible But We can still Expand and collapse Navigation panel.
    Requirement: I do not want the user should see the navigation panel. It should not be visible on screen even though it is empty.
    I tried lots almost all properties. Please help.
    Any help would be highly appreciated.
    Thanks and Regards,
    Aditya Deshpande

    hi;
    Then you have to create Role Y without workset or Page only with iViews, so no Navigation will be generated. :h1
    But if you habe Workset and Page in your role , just go to all Page and workset and set this properties>navigation>Invisible in Navigation Areas  to false.
    I Hoppe it will help
    Take care
    Gede

  • Link to folder in a room - missing header area and navigation panel

    Hello Community,
    I have a problem, again. While creating favorites to specific folders I got a problem while using and "publishing" them.
    While using the "send to..." feature the recipient gets an eMail with the link to this folder. When clicking this link he gets as the result the opened folder, displayed in a browser. Until now nothing really unexpected.
    What we want is that he gets not only the opened folder. We want that he gets the whole navigation around it (navigation panel, header area) for the specific room the folder is in.
    Now my question. Is it possible to create a link with this behavior?
    Thanks for every hint in advance!
    Regards,
    Frank

    Hi Frank,
    if you have navigated to the room / within the room to the room part you want, check the page toolbar, choose "Add to Portal Favorites", add it under some name; then in IE choose Favorites, right-click on the favorite just added, right click, properties (or just call it). The upcoming URL of the form http://portal:50000/irj/portal?NavigationTarget=navurl://1f9eaddf81792cb6f2b9f05381cce360&&NavTargetAsRoot=true should do the trick (this at least holds from SP14 on).
    Hope it helps
    Detlev

  • Create a pdf where the Bookmark Navigation Panel is always shown on start up

    Hi all,
    I have Acrobat 8.0 & InDesign 5.0.1.
    I have created a .pdf with Bookmarks to aid navigation.
    I would like the Bookmarks Navigation Panel to always show when pdf is opened in Adobe reader, not just on my machine but on everyone who recives the file - is this possible?
    The reason for this is some users may not know to open the bookmark panel to aid navigation.
    Thanks in advance all.
    Alastair

    Thanks Brend,
    Worked perfectly. Some very useful settings in there as well.

  • Customizing: Adding an action to the Navigation panel

    Hello,
    A customer has asked me to add an action based on a webdynpro component to the Navigation panel.
    He provided me with the component name, the package and the url.
    I already figured out that this has to be done in SPRO > SAP xApp Resource and Portfolio Management (SAP xRPM) > Global Customizing > Process and Service Settings > Define Navigation, but i have no clue how to add this action based on the information i have.
    Could anybody give me a hint or a link to some good documentation about this topic.
    Any help will be apreciated
    Regards,
    Magnus

    make use of ActionMap and ImageMap:
    //the action
    Action theAction = new AbstractAction("New") {
      public void actionPerformed(ActionEvent e) {
        //do action
    //accelerator for action
    theAction.putValue(AbstractAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke("control N"));
    //input map and action map from table
    InputMap im = table.getInputMap(JTable.WHEN_FOCUSED);
    ActionMap am = table.getActionMap();
    am.put("New", theAction);
    im.put((KeyStroke)theAction.getValue(Action.ACCELERATOR_KEY), "New");

  • Remove/hide navigation panel header

    Hi,
    I tried making the expand and collapse icons to 0px and also made the detailed navigation iView "tray" property to false but it did not help me.
    I have to hide or remove the navigation panel header(the expand/collapse panel). Thanks in advance.
    Rgds,
    Janvi.

    Hi Patel,
    To hide the navigation panel header there is nothing to do with the theme editor. For that you have to edit the default frame work page.
    Open PCD>>Portal Users>>Std Portal users>> Default frame work page
    Select the Desktop inner page from the default inner page and edit>> select the delatiled navigation iview and choose edit...
    Select the Apppearence Tray from the Property Catogary drop down.
    Make the <b>Show Tray</b> option to NO... save and close ...
    This will hide the detailed navigation header.
    If u want to hide the header of other iviews like portal favorites in the navigation pannel these are the steps to follow.
    Regards
    gEorgE

  • How to merge top level navigation into detail navigation panel.

    Hi All,
    I want to add all the contents of top level navigation into detail navigation panel and  remove top level navigation.I am looking for the code with which i can shift the top level navigation to detail level navigation.

    You could edit the top-level navigation iview and set the <b>Number of Display levels</b> property's value to 0.
    you can reach the Top-level navigation iview by going through the following path
    1) <b>Content Administration --> Portal Content --> Content Provided by SAP --> Admin Interfaces --> Top-level navigation</b>
    However, note that once you do this the whatever menus that are available in the top level will not be available anymore.
    Maybe, you could copy the standard Top-level navigation into a framework page that you have created and then make the change. After doing so, you can assign it to groups/roles you want. This will ensure that the CONTENT/SYSTEM/USER administrators see the normal portal framework and specific user groups alone dont see the Top level navigation..
    Pradeep.

  • Enlarging and collapsing navigation panel

    Hi All,
    We are showing the KM folder structure in Portal content area, we want to know whether we can implement the feature of Enlarging and collapsing navigation panel to the Portal content area also the way SAP Implemented for navigation panel with which we can expand/contract the content area space...
    Any help is highly appreciated.
    Regards
    Som

    See Implementing enlarge and Collapse feature for KM iViews/Pages

  • Initial State of Navigation Panel

    Hi all,
    I have an issue with an SAP portal ivew linked to a guided procedure. When the user clicks on it the navigation panel on the left is closed. We have to tried to set the proposerty "Initial State of Navigation Panel" to "Open"  but it did not work (although we tried another iView and it did work). Can you please indicate what could be the possible reason for overriding this property? Thank you in advance.

    Hi SAPer,
    Did you try looking at the "Initial State of Navigation Panel" value of your iView in question in the Portal role? Assuming this is a delta-link copy, this property might have its delta-link inheritance broken through modification prior to this.
    Cheers.
    Best Regards,
    Zhi Liang

Maybe you are looking for