How to be able to use a custom bean?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2013 02:00 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2013 02:31 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2013 06:55 AM
Before to replace any bean, I simply created a bean, and radio boxes
