ICEfaces
  1. ICEfaces
  2. ICE-5008

Determine the level of framework support for page bookmarking

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha3
    • Fix Version/s: 2.0.0
    • Component/s: Bridge, Framework
    • Labels:
      None
    • Environment:
      supported browsers
    • Affects:
      Sample App./Tutorial, Compatibility/Configuration

      Description

      We need to determine what kind of support ICEfaces will provide for page bookmarking. Possible scenarios are:

      * rely only on the features provided by JSF 2.0
      * bookmarking coupled with state management and session persistence
      * provide additional components that would help application developers

        Issue Links

          Activity

          Mircea Toma created issue -
          Mircea Toma made changes -
          Field Original Value New Value
          Link This issue blocks ICE-4794 [ ICE-4794 ]
          Mircea Toma made changes -
          Link This issue blocks ICE-4794 [ ICE-4794 ]
          Mircea Toma made changes -
          Link This issue depends on ICE-4794 [ ICE-4794 ]
          Mircea Toma made changes -
          Salesforce Case []
          Hide
          Deryk Sinotte added a comment -

          Initial assignment to Judy to build a simple test application that shows some of the bookmarking techniques available in JSF 2. We'll use this application to discuss how ICEfaces 2 might be able to support/enhance bookmarking in applications that use Ajax, applications that use a "single page" design, etc.

          Show
          Deryk Sinotte added a comment - Initial assignment to Judy to build a simple test application that shows some of the bookmarking techniques available in JSF 2. We'll use this application to discuss how ICEfaces 2 might be able to support/enhance bookmarking in applications that use Ajax, applications that use a "single page" design, etc.
          Deryk Sinotte made changes -
          Salesforce Case []
          Fix Version/s 2.0-Beta [ 10032 ]
          Assignee Priority P2
          Assignee Judy Guglielmin [ judy.guglielmin ]
          Hide
          Judy Guglielmin added a comment -

          Although most of the methods used for jsf2.0 navigation are working properly, the main problem seems to be that the current design has buttons or links with full page submit (by not putting <f:ajax/> tag with them), but ICEfaces capability automatically adds ajax-enablement to everything on the page (including these buttons and links), so not full page submit and the URL does not get updated when things like the following are used:-

          <h:commandButton value="Go Back" action="redirect"/>

          In this case, the redirect will be done to /redirect.xhtml, however, the URI is not updated. So...if you redirect from
          http://localhost:8080/navigationLinks/redirecttarget2.jsf
          then the correct view is shown, but the URI is still showing the page that was redirectted from --> redirecttarget2.jsf.

          Show
          Judy Guglielmin added a comment - Although most of the methods used for jsf2.0 navigation are working properly, the main problem seems to be that the current design has buttons or links with full page submit (by not putting <f:ajax/> tag with them), but ICEfaces capability automatically adds ajax-enablement to everything on the page (including these buttons and links), so not full page submit and the URL does not get updated when things like the following are used:- <h:commandButton value="Go Back" action="redirect"/> In this case, the redirect will be done to /redirect.xhtml, however, the URI is not updated. So...if you redirect from http://localhost:8080/navigationLinks/redirecttarget2.jsf then the correct view is shown, but the URI is still showing the page that was redirectted from --> redirecttarget2.jsf.
          Ken Fyten made changes -
          Link This issue depends on ICE-5651 [ ICE-5651 ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 2.0-Beta [ 10231 ]
          Fix Version/s 2.0-Alpha3 [ 10032 ]
          Assignee Priority P2
          Assignee Judy Guglielmin [ judy.guglielmin ] Deryk Sinotte [ deryk.sinotte ]
          Hide
          Ken Fyten added a comment -

          We expect that the std. JSF 2 bookmarking support will work with ICEfaces also, perhaps in conjunction with an "<f:ajax disabled-true>" configuration.

          In any case, testing and sample application(s) need to be completed.

          Show
          Ken Fyten added a comment - We expect that the std. JSF 2 bookmarking support will work with ICEfaces also, perhaps in conjunction with an "<f:ajax disabled-true>" configuration. In any case, testing and sample application(s) need to be completed.
          Ken Fyten made changes -
          Salesforce Case []
          Affects [Sample App./Tutorial, Compatibility/Configuration]
          Assignee Priority P3
          Ken Fyten made changes -
          Assignee Deryk Sinotte [ deryk.sinotte ] Ken Fyten [ ken.fyten ]
          Hide
          Ken Fyten added a comment -

          The only example/resource I could find that illustrates the JSF2 support for bookmarkable links is this one: http://java.dzone.com/print/13695?page=0%2C1

          Unfortunately, it will require a dev-team member to assemble this example and get it working in a form that QA can use to verify the feature, by injecting ICEfaces into the configuration, using ICEfaces comps, etc.

          Show
          Ken Fyten added a comment - The only example/resource I could find that illustrates the JSF2 support for bookmarkable links is this one: http://java.dzone.com/print/13695?page=0%2C1 Unfortunately, it will require a dev-team member to assemble this example and get it working in a form that QA can use to verify the feature, by injecting ICEfaces into the configuration, using ICEfaces comps, etc.
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 2.0.0 [ 10230 ]
          Fix Version/s 2.0-Beta [ 10231 ]
          Assignee Ken Fyten [ ken.fyten ] Ted Goddard [ ted.goddard ]
          Hide
          Ted Goddard added a comment -

          Are we using page parameters in the ace-showcase?

          Show
          Ted Goddard added a comment - Are we using page parameters in the ace-showcase?
          Ted Goddard made changes -
          Assignee Ted Goddard [ ted.goddard ] Judy Guglielmin [ judy.guglielmin ]
          Hide
          Judy Guglielmin added a comment -

          We are not currently using page parameters in ace-showcase. I started trying to implement it, but it just didn't make sense as each example had a different xhtml page so different page to navigate/bookmark to.
          Otherwise, we might have had something like ...showcase.jsf?example="button"
          but that would have complicated the facelets compositions and includes.
          So...went for ...../sliderEntry.jsf, etc one for each example.
          A better test would be a CRUD example which uses an id for a page parameter or something simliar...perhaps if we wanted to bookmark which tabIndex in an tabSet example???

          Show
          Judy Guglielmin added a comment - We are not currently using page parameters in ace-showcase. I started trying to implement it, but it just didn't make sense as each example had a different xhtml page so different page to navigate/bookmark to. Otherwise, we might have had something like ...showcase.jsf?example="button" but that would have complicated the facelets compositions and includes. So...went for ...../sliderEntry.jsf, etc one for each example. A better test would be a CRUD example which uses an id for a page parameter or something simliar...perhaps if we wanted to bookmark which tabIndex in an tabSet example???
          Hide
          Judy Guglielmin added a comment -

          not sure what you want to do about this now?

          Show
          Judy Guglielmin added a comment - not sure what you want to do about this now?
          Judy Guglielmin made changes -
          Assignee Judy Guglielmin [ judy.guglielmin ] Ted Goddard [ ted.goddard ]
          Hide
          Ted Goddard added a comment -

          So at the moment we have h:link with bookmarkable pages in ace-showcase?

          Show
          Ted Goddard added a comment - So at the moment we have h:link with bookmarkable pages in ace-showcase?
          Hide
          Ken Fyten added a comment -

          Basic support is in place and demonstrated by the ace-showcase.

          Show
          Ken Fyten added a comment - Basic support is in place and demonstrated by the ace-showcase.
          Ken Fyten made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Priority P3
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Issue Type New Feature [ 2 ] Task [ 3 ]
          Salesforce Case []
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Ted Goddard
              Reporter:
              Mircea Toma
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: