Topic
  • 3 replies
  • Latest Post - ‏2012-11-15T18:43:33Z by mburati
CarlD
CarlD
46 Posts

Pinned topic Customizing SplitPagerBuilder paging assistant

‏2012-11-13T20:33:03Z |
I recently ran into some confusion regarding the paging assistant and html template overrides in the theme. I wanted to change the UI elements produced by split paging, and I noticed that the theme provides an override for buttons (PagingButtons_HTMLPage) and links (PagingLinks_HTMLPage), but none for split paging.

I found the appropriate HTML templates used by the SplitPagerBuilder and edited those directly, but somehow expected it to follow the pattern.

Am I overlooking something? Carl.


IBM Certified Solution Developer - WebSphere Portlet Factory 7.0
My blog http://dsixe-wpf.blogspot.com
Updated on 2012-11-15T18:43:33Z at 2012-11-15T18:43:33Z by mburati
  • mburati
    mburati
    2570 Posts

    Re: Customizing SplitPagerBuilder paging assistant

    ‏2012-11-14T14:58:01Z  
    Carl,
    Which version of WEF are you using?

    From blue_WPF7.0.1.uitheme:

    <SplitPager_BottomBasePage>/factory/pages/split_pager_drop_down_bottom_base.html</SplitPager_BottomBasePage>
    <SplitPager_TopBasePage%gt;/factory/pages/split_pager_default_top_base.html</SplitPager_TopBasePage>
    I hope that info helps,
    ..Mike Burati
    http://www-10.lotus.com/ldd/pfwiki.nsf/
    The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM.
  • CarlD
    CarlD
    46 Posts

    Re: Customizing SplitPagerBuilder paging assistant

    ‏2012-11-15T13:13:16Z  
    • mburati
    • ‏2012-11-14T14:58:01Z
    Carl,
    Which version of WEF are you using?

    From blue_WPF7.0.1.uitheme:

    <SplitPager_BottomBasePage>/factory/pages/split_pager_drop_down_bottom_base.html</SplitPager_BottomBasePage>
    <SplitPager_TopBasePage%gt;/factory/pages/split_pager_default_top_base.html</SplitPager_TopBasePage>
    I hope that info helps,
    ..Mike Burati
    http://www-10.lotus.com/ldd/pfwiki.nsf/
    The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM.
    How did I miss that? I was looking at blue_WPF7.uitheme. What I typically do when I want to override is add a theme builder, apply the override, create a uitheme file by clicking the button, then remove the builder. There are no inputs in the theme builder for bottom/top splitter html or css as there are for the button and link pagers, so creating the file from the builder approach didn't work.

    Thanks for the help. Carl.


    IBM Certified Solution Developer - WebSphere Portlet Factory 7.0
    My blog http://dsixe-wpf.blogspot.com
  • mburati
    mburati
    2570 Posts

    Re: Customizing SplitPagerBuilder paging assistant

    ‏2012-11-15T18:43:33Z  
    • CarlD
    • ‏2012-11-15T13:13:16Z
    How did I miss that? I was looking at blue_WPF7.uitheme. What I typically do when I want to override is add a theme builder, apply the override, create a uitheme file by clicking the button, then remove the builder. There are no inputs in the theme builder for bottom/top splitter html or css as there are for the button and link pagers, so creating the file from the builder approach didn't work.

    Thanks for the help. Carl.


    IBM Certified Solution Developer - WebSphere Portlet Factory 7.0
    My blog http://dsixe-wpf.blogspot.com
    Carl,

    When you create a new theme from an existing one it extends the existing one (via extends attr at the top of the new file / theme element), so that's why you wouldn't see it in your new theme file's contents.

    The list of inputs in the Theme builder started getting fairly large, so some of the more recent theme-specifiable settings are in the Additional Settings at the bottom of the Theme builder. In recent releases, if you select the dropdown for the Name column in Additional Properties and Overrides, you'll see selection options for the Split pager templates.

    I hope that info helps,
    ..Mike Burati
    http://www-10.lotus.com/ldd/pfwiki.nsf/
    The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM.