Uploaded image for project: 'RichFaces Sandbox'
  1. RichFaces Sandbox
  2. RFSBOX-48

Rework calling client-side functions with jQuery widgets

    Details

      Description

      Current approach is reference-safe (verified during build-time):

      #{b:toggle("accordionItem")};
      

      However lot of code needs to be coded in order to get each function to work.

      We should allow alternative way to call plugin functions:

      #{b:component(“accordionItem”)}.toggle();
      
      ->
      
      $(“form\:accodionItem”).data(accordionPlugin).toggle();
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  lfryc Lukáš Fryč
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated: