1 Reply Latest reply on May 17, 2007 9:16 AM by Rich Jones

    passing arguments to actions (via commandLink)

    Rich Jones Newbie

      Hi, i am using the following code to pass an object as argument to a component action method:


      <ice:commandLink action="#{noteManager.loadNotes(jobManager.job)}">
       <ice:outputText value="Job Notes Exist" />

      and my backing method in my noteManager component:

      public String loadNotes(Job entity) throws NoSuchAlgorithmException {

      The problem is the object i am passing is definitely of type Job.class, but it appears in the loadNotes() method as (this is what gets printed):


      and i cannot cast it back into a Job. Any info / pointers greatly appreciated, thanks