0 Replies Latest reply on Aug 11, 2010 6:13 PM by Gabriel Cruz

    How to use a method with a parameter I get from the request

    Gabriel Cruz Newbie

      Hi, I'm trying to invoke a method inside a page but that method needs a parameter that I get from the request... I simply don't know how to store that into a variable and then use it or how to use it directly.. Please help!!

       

      the parameter I need I can get it by simply using  #{request.getParameter('SessionId')}

      And the method I'm trying to invoke is #{Trans.selectSomeone()}  but I don't know how to feed it the sessionId i get from above... Ive tried #{Trans.selectSomeone(#{request.getParameter('SessionId')})} and all sorts of things like that but none work.

       

      Please help out a noob!!