Conflict on "Use as Faces Config"

Is there a reason the faces config association is stored & used at the project level rather than the module level? We have 2 independent modules that end up conflicting on the names of managed-beans and the beans get redlined in both files.

7 comments

Any comment from JetBrains? I want to see if there was a design reason for this before creating yet another issue on the ever growing JIRA list.

0

"Use as Faces Config" action was implemented to support jsf in the project
which doesn't contain web modules...
If you use web modules you should properly configure them.
If no, please, file jira request.

Is there a reason the faces config association is stored & used at the
project level rather than the module level? We have 2 independent
modules that end up conflicting on the names of managed-beans and the
beans get redlined in both files.



0

yes, you are right... it must be ModuleComponent... It'll be fixed in next eap


0

Sergey,
On 6.0.5 & 6808 the "Use as Faces Config" action shows up in my Web module when I right click on candidate xml files in the project view. Are you saying the action should not show up for Web modules, that this is a bug? I'm looking in the Web Module Settings on my module and don't see anything about JSF in here....what am I missing as in where do you properly configure jsf support on a web module?
Thanks,
Jon

0

Jon,

6808 - you should add "JSF" facet for your webModule (ProjectStructure/Your_Web_Module/New/Facet/JSF)
and configure it
6.0.5. - invoke popup menu in project structure for module node and choose
"Add Framework support/Add JSF support"
if you properly add jsf support for module you'll see jsf icons in project
view for faces-config.xml and jsf pages.

As "Use as Faces Config" action is implemented for non-web modules (such
modules are deployed, for example, by ant) the jsf functionality for such
modules is incomplete.


Thanks for feedback,
Sergey

Sergey,

On 6.0.5 & 6808 the "Use as Faces Config" action shows up in my Web
module when I right click on candidate xml files in the project view.
Are you saying the action should not show up for Web modules, that
this is a bug? I'm looking in the Web Module Settings on my module and
don't see anything about JSF in here....what am I missing as in where
do you properly configure jsf support on a web module?

Thanks,

Jon



0

Thanks Sergey -- that's what I wanted to know.

Should this be mentioned in Help? I couldn't find any reference to this in IDEA's 6.0.5 online help searching on "JSF":

6.0.5. - invoke popup menu in project structure for module node and choose
"Add Framework support/Add JSF support" if you properly add jsf support for module
you'll see jsf icons in project view for faces-config.xml and jsf pages.


Thanks,
Jon

0

Sergey - On my existing Web module, the menu selection "Add JavaServer Faces Support" is disabled but the Struts option is enabled. What disables the JSF option and how can I get it back?
Thanks,
Jon

0

Please sign in to leave a comment.