Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2228

@Style does not work during ajax update

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.1.3
    • None
    • Core Components
    • None
    • Fedora 8 with Firefox 2

    Description

      <div jwcid="updPart@Any">
      <span jwcid="@If" condition="ognl:show">
      <span jwcid="@ComponentWithStyle" />
      </span>
      </div>

      During normal page request the @ComponentWithStyle is not rendered (show==false).
      If during an ajax request, show becomes true, the @ComponentWithStyle is rendered ok, but the bundled css from the component is missing in XHR response.

      This problem happens only during ajax updates.
      I think @Style should update <head> not just during normal http request.

      Attachments

        Activity

          People

            Unassigned Unassigned
            developster Octavian Ciubotaru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified