Design search says faces-config.xml not found

  • I finally figured out how to search … I search for “Files”, which is more than a little counter-intuitive, but it works.- I just did a search for “DbLookup” while a Form was opened for edit and selected in Designer. It searched the entire database. Not quite what I expected, but it did include the Form I wanted, so that’s better than nothing.

  • But it pops a “Problem Occurred” dialog with this:

Problems encountered during text search.

File ‘.nsf/WebContent/WEB-INF/faces-config.xml’ has been skipped, problem while reading: (‘File not found: jnsf:/_2frags/_5c.nsf/WebContent/WEB-INF/faces-config.xml.’).

File not found: jnsf:/<servername>_2frags/<path>_5c<dbname>.nsf/WebContent/WEB-INF/faces-config.xml.
  • So I select another Form, open it in Designer, select it, and search. Same thing … searches the entire database instead of just the Form, and pops the same dialog.

  • I searched the forum for “faces-config.xml” and found one single hit about how XPages are probably just Faces under a wrapper. I’m porting an application from R6, not using XPages, so this consistent error seems a touch out of place.

  • Otherwise it doesn’t appear to affect anything. If it prevented a hit from appearing in search, how would I know? (grin)

  • Thanks for your time…

Subject: if you want to search just the form

or all forms, select just that form (or the ones you want, using control click in the navigator), and choose “Selected Resources” for scope.

You shouldn’t be seeing an error about faces-config - I’ll have to debug that one a bit.

Subject: CTRL-Select is good … Search doesn’t have indicated scope…

  • As suggested, I used CTRL-Click to select adhoc objects from the navigator, then clicked “Search” on the menu. It defaults to “File Search” (prolly 'cause i used that last), but under “Scope” it has only “Workspace” and “Working Set”. I see no option for “Selected Resources”.- Ah, there it is next to “Workspace”, but it’s greyed out and not selectable.

  • I do have to say the option for regexp is a real bonus.

  • Thanks for your time…