I have the following Seam component bound to a richfaces dataScroller.
@Name("datascrollerUI")
| public class BaseUIDatascroller implements Serializable
| {
| private static final long serialVersionUID = 884462853355775648L;
|
| private UIDatascroller datascroller;
| public UIDatascroller getDatascroller() { return datascroller; }
| public void setDatascroller(UIDatascroller datascroller) {
this.datascroller = datascroller; }
|
| @Observer("reset.pipe.search.datascroller")
| public void resetDatascroller()
| {
| datascroller.setPage(UIDatascroller.FIRST_FACET_NAME);
| }
| }
All of my components were in one jar in the root of my ear, but since
UIDatascroller is in one of the richfaces jars in WEB-INF/lib I had to put this
class in a jar under WEB-INF/lib as well.
I had to raise and event to call this other component because if I reference
this class directly from one of my other components there is a class loading
problem.
Is there any way around this?
Here is a quote from the richfaces forum.
"ishabalov" wrote : I guess Seam developers do not need such advanced function
like you need in there samples. There is nothing wrong having Java classes in
presentation tier, and your situation is perfect for such case. Backing beans
must be in web tier.
Here is a link to that comment.
http://jboss.com/index.html?module=bb&op=viewtopic&t=117840
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123805#4123805
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123805
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user