cancel
Showing results for 
Search instead for 
Did you mean: 

How to be able to use a custom bean?

patco_
Champ in-the-making
Champ in-the-making

Hi,

I would like to use my own Bean instead of FileManageActionsBean, in create_file.xhtml. I get the error "Target Unreachable"

What should I do to get through this?

Tx

Patrick

2 REPLIES 2

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

Think to set a precedence higher than the default one.

See here in @Install / precedence section. You must see in logs a line like :

2013-06-14 07:19:49,517 INFO  [org.jboss.seam.Component] Component: authorizedApplicationsActions, scope: CONVERSATION, type: JAVA_BEAN, class: your.package.YourClassActionsBean.

But this is a bad idea, prefer to create your own bean with your own name and inject the FileManagerACtionsBean. You risk to move the application unstable if you are not about what you do.

Before to replace any bean, I simply created a bean, and radio boxes

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.