MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
flanakin
Post subject: Editing faces-config.xml for the first time  PostPosted: May 18, 2005 - 03:27 PM
Registered Member
Registered Member


Joined: Feb 22, 2005
Posts: 75

When I open faces-config.xml, I get the following error:

Quote:
Unable to locate JSF model extension file .faces-config.mex
A new file will be created to retain graphical layout data between modeling sessions.


Not sure if this is a problem or not, but I wanted to report it.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
support-michael
Post subject:   PostPosted: May 18, 2005 - 03:42 PM
Moderator
Moderator


Joined: May 05, 2003
Posts: 1037

The warning is benign. The faces-config.mex file stores the information of a navigation flow-diagram for the corresponding faces-config.xml file such as node layout and line routing info. Upon creation of a faces-config.xml file there is no .mex file. Upon 1st save the .mex file is created and referenced thereafter.

_________________
Michael
MyEclipse Support

Posting Guidelines FYI
When posting a bug report, click the "Insert" button above the message window and fill out the empty fields to help us troubleshoot your problem.
 
 View user's profile Send private message  
Reply with quote Back to top
flanakin
Post subject:   PostPosted: May 18, 2005 - 03:59 PM
Registered Member
Registered Member


Joined: Feb 22, 2005
Posts: 75

Thanks. I kind of figured that after playing around with it.

There is a bug in the designer, tho. When you drag an existing JSP page (from the package explorer) to the editor, the default ID is the path with slashes. These slashes need to be replaced with either underscores or dashes. I'd say two underscores and maybe replace dots with dashes. For instance, "/admin/UpdateUser.jsp" could be changed to "admin__UpdateUser-jsp".
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
support-michael
Post subject:   PostPosted: May 18, 2005 - 04:19 PM
Moderator
Moderator


Joined: May 05, 2003
Posts: 1037

By ID do you mean the label of a flow-designer node?

Each node corresponds to a navigation-rule. The node's label depicts the nav-rule's <from-view-id> value. We can not change the <from-view-id>. So are you advocating a reformated label while the <from-view-id> value remains a slash delimited path? Help me understand.

_________________
Michael
MyEclipse Support

Posting Guidelines FYI
When posting a bug report, click the "Insert" button above the message window and fill out the empty fields to help us troubleshoot your problem.
 
 View user's profile Send private message  
Reply with quote Back to top
flanakin
Post subject:   PostPosted: May 18, 2005 - 04:46 PM
Registered Member
Registered Member


Joined: Feb 22, 2005
Posts: 75

No, I'm suggesting that the <from-view-id> be changed. That's the one that gave me the error. Well, there's also the <to-view-id> to consider.

BTW, you'll have to excuse me a little if I'm off - this is my first attempt at JSF.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits