[jboss-cvs] jboss-seam/examples/blog/src/actions ...
Gavin King
gavin.king at jboss.com
Fri Sep 29 19:15:01 EDT 2006
User: gavin
Date: 06/09/29 19:15:01
Modified: examples/blog/src/actions EntryAction.java
Log:
use page action param
Revision Changes Path
1.10 +1 -6 jboss-seam/examples/blog/src/actions/EntryAction.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: EntryAction.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/blog/src/actions/EntryAction.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- EntryAction.java 29 Sep 2006 01:17:01 -0000 1.9
+++ EntryAction.java 29 Sep 2006 23:15:01 -0000 1.10
@@ -5,7 +5,6 @@
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Out;
-import org.jboss.seam.annotations.RequestParameter;
import org.jboss.seam.annotations.Scope;
import domain.Blog;
@@ -24,14 +23,10 @@
@In(create=true)
private Blog blog;
- @RequestParameter("blogEntryId")
- private String id;
-
@Out
private BlogEntry blogEntry;
-
- public void getBlogEntry() throws EntryNotFoundException
+ public void getBlogEntry(String id) throws EntryNotFoundException
{
blogEntry = blog.getBlogEntry(id);
if (blogEntry==null) throw new EntryNotFoundException(id);
More information about the jboss-cvs-commits
mailing list