How to enable navigation from xhtml files to resource bundle entries?

Hi there,

Is there a specific setting for making the ctrl+click (or ctrl+b) navigation work between xhtml pages (in a seam project) and the messages in a resource bundle? For a line like this:

<h:outputText value="#{messages['label.changes.log.date']}"/>

I get no navigation when ctrl+clicking on the label.change... text. Finding usages from the message bundle file does get me here, but the reverse navigation does not appear to be working.
Things are fine inside java files (wherever I use the message label), so not sure if there's a setting I'm missing for a seam project to make this work.

TIA,
Andrei

8 comments

It works for me in 9.0.*. Have you any other problems on your page? Could
you attach a screenshot?

0

No problems on the page. Here's a screenshot, ctrl+hover does not bring up the expected hyperlink for the message key.

noHyperlinkForMessage.png

0

Hmm... Why "messages" is brown? Where does it bring you on Ctrl-click?

0

It doesn't take me anywhere, as it's not working. Ctrl+hover does NOT bring up the blue hyperlink, and ctrl+click does nothing on the message key. Works OK for other stuff in the pages (pretty much everything else I'd expect it to work for).

Thx,
Andrei

0

Sorry, I misunderstood your question. I'll check where it takes me (exactly) once I get into the office.

Thx,
Andrei

0

I don't really know why the colouring is brown, haven't figured out which one it is, in the colours section. But that's how most of the navigation points are coloured for me. I attached a couple of other pictures (including one with what the hyperlinking of the messages shows).

Best,
Andrei

noHyperlinkForMessage2.png

noHyperlinkForMessage3.png

0

It seems to be a bug. The reference resolves into a class... Could you file
it to JIRA?

0

Please sign in to leave a comment.