2 Replies Latest reply on Sep 17, 2007 5:43 AM by laksu

    subclassing Variable Resolver

    laksu

      Hi,
      I am trying to build some sort of framework with dynamic forms& variables. In this context, I suppose, I need to go and build a variable resolver of my own. I read in the forum that Seam plugs its own variable resolver in to resolve components.
      I kind of need to intercept it and introduce my own variables where it is in my framework's scope and leave the rest to Seam.
      Could I do that?

        • 1. Re: subclassing Variable Resolver
          sjmenden

          Dynamic forms/variables can be accomplished without touching the Variable Resolver, unless you really want to do so. Use Facelet's composite templating + custom EL Functions + Custom Facelet's Tags. Prime example? http://jroller.com/RickHigh/entry/facelets_magic_saves_you_from1

          Seach google for Rick Hightower to find source code for some of this, or I will be posting some soon.

          Now, if you want to get your hands dirty with a custom EL Resolver, you could do some truely powerful things, and we'd expect you to post on the wiki about it :)

          -Samuel

          • 2. Re: subclassing Variable Resolver
            laksu

            Thanks a lot. I will check the readings and see if it works for my case.
            I don't think it is that dirty to get my hands in. Perhaps, this is an illusion yet but anyways I will try as I have yet already soaked my fingertips.
            I will be sharing the experience.