[jboss-user] [JBoss Seam] - Re: URL parameter

wise_guybg do-not-reply at jboss.com
Thu Aug 23 08:58:30 EDT 2007


Here is an example of the use of RequestParameter
import org.jboss.seam.annotations.Name;
  | import org.jboss.seam.annotations.RequestParameter;
  | 
  | @Name("detail")
  | public class Detail
  | {
  | 
  |     @RequestParameter                             
  |     Long entryId;
  | 
  |     public Long getEntryId()
  |     {
  |     	return entryId;
  |     }
  | 
  |     public void setEntryId(Long entryId)
  |     {
  |     	this.entryId = entryId;
  |     }
  |     
  |     public Entry getEntry()
  |     {
  |     	return new Entry(entryId);
  |     }
  | 	
  | }

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077306#4077306

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077306



More information about the jboss-user mailing list