This gets "actioned":

  | 
  |  <s:button value="#{messages.button_add_image}"
  |                          action="#{uploadController.startUpload(the_user)}" 
rendered="#{the_user.picture == null}"/>
  |  
  | 

which triggers this (from debugger):
pages/organisation/organisationFind.xhtml:uploadController.startUpload(the_organisation)

but the uploadController component is now not found...

but does exist...


  | 
  |  /*
  |  InterceptionType.NEVER obviously has the side effect of preventing 
@Injection
  |  but it also prevents IllegalStateExceptions due to Seam not being 
initialized
  |  during requests to this bean from the current implementation of the 
FileUploadManager. As the
  |  FileUploadServlet gets integrated into the normal Servlet mechanism,
  |  this will go away. 
  |  */
  |  @Intercept(InterceptionType.NEVER)
  |  @Stateful // A component stays in existance for the duration of the Scope 
(conversation in this instance).
  |  @Name("uploadController") // Name used within SEAM for an instance of this 
class.
  |  @Conversational // Scope that this class exists in.
  |  public class UploadControllerImpl implements UploadController, 
Serializable {
  |  
  | 


Here it is...


  | 
  |  11:02:44,031 INFO  [Component] Component: uploadController, scope: 
CONVERSATION, type: STATEFUL_SESSION_BEAN, class: 
nz.co.risingstars.actions.upload.UploadControllerImpl, JNDI: 
risingstars/UploadControllerImpl/local
  |  
  | 


Any suggestions?

Am using IceFaces 1.6DR#2+Greg Dick fix & Seam 1.2

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031349
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to