MyFaces Core
  1. MyFaces Core
  2. MYFACES-3047

Component resources disappear after page reload

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.0.5
    • Component/s: JSR-314
    • Labels:
      None

      Description

      Run attached example and click command link. Component CSS is not added to the page after that.

      1. jsf2test.zip
        5 kB
        Nick Belaevski

        Activity

        Hide
        Nick Belaevski added a comment -

        Reproducible when partial state saving is off.

        Show
        Nick Belaevski added a comment - Reproducible when partial state saving is off.
        Hide
        Leonardo Uribe added a comment -

        Yes, I checked it and the problem is the component resource facets are marked as transient. Long time ago it was discussed on jsr-314-open list to mark them, but do that breaks ResourceDependency, because those resources added to the view are not restored.

        I tried other altenatives, but after thinking a lot it is better to do not mark them and instead mark all resources added as transient according to the case.

        Show
        Leonardo Uribe added a comment - Yes, I checked it and the problem is the component resource facets are marked as transient. Long time ago it was discussed on jsr-314-open list to mark them, but do that breaks ResourceDependency, because those resources added to the view are not restored. I tried other altenatives, but after thinking a lot it is better to do not mark them and instead mark all resources added as transient according to the case.

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Nick Belaevski
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development