• Post Reply Bookmark Topic Watch Topic
  • New Topic

Passing Parameters Using commandLink  RSS feed

 
Henry Hund
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am new here as I am also new to JSF. Thus far have found your community very informative. I have a question that I am somewhat embarrassed by, though after hours of searching Google and some time searching your forums (I sincerely hope this isn't a repost), I have no choice but to ask my question...

I am going to post a simplified version of my code below. I am trying to pass parameters using <f:param..> inside of an <h:commandLink... and I cannot get anything to work. I have tried several solutions I found on here and on Google, but none have worked. So, I am currently trying to implement what seems to be the most common methods, but I am receiving parsing errors... My bean (EntityDetails) is session scope.

entitySearchResults.jsp... should pass entityID to EntityDetails and then to entityDetails.jsp.

entitySearchResults.jsp


EntityDetails.java


I don't think you need entityDetails.jsp... if I can get entityID to print out in the log, I think it will be fine.

My compiler error is as follows:



So as you can see, I can use all the help I can get. I'm using Sun Appserver if that makes a difference.

Thanks for any guidance you can give...

[ July 21, 2006: Message edited by: Henry Hund ]

[ July 21, 2006: Message edited by: Henry Hund ]
[ July 21, 2006: Message edited by: Henry Hund ]
 
Rajeev Ravindran
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
are you facing compilation issue ? if yes, you need to have j2ee.jar (this is what i have) or servlet.jar in your classpath

thanks,
 
Henry Hund
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your advice. That unfortunately did not work. While I have had j2ee.jar in my sun appserver /lib directory, I also just copied it to the project lib directory and referenced it in my ant build file. Unfortunately I still get the same exact error...!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!