|
Re: Accessing Bean Functions and Names from xhtml page [message #682275 is a reply to message #682267] |
Fri, 10 June 2011 18:32 |
|
On 10-Jun-11 12:15, Hauke wrote:
> Hello everyone,
>
> I am kind of new with jsf, and I also got this working before, but now
> its not working anymore. I tried to search here inside the forum but I
> am not sure about the exact wording or name of the function.
>
> If I have a bean (TestBean.java) and if I am inside an xhtml page and I
> type something like
>
> <h:outputText value="#{TestBean.
>
> I want all available methods to display (after ctrl+space), but this
> isn't working anymore.
>
> What is the name of this function? Is that called tab-completion or
> code-completion?
>
> Many greetings,
> Hauke
>
> PS: Using JSF 2.0 and the latest eclipse version
In Eclipse it's called "Content Assist". You're on the right track.
|
|
|
|
|
Re: Accessing Bean Functions and Names from xhtml page [message #684599 is a reply to message #684508] |
Wed, 15 June 2011 22:07 |
|
May or may not be the issue here: Content assist only works with managed beans defined in the faces-config.xml file; JSF 2.0 managed beans declared by the @ManagedBean annotation are not recognized as such by the eclipse JSF tooling (hence content assist fails) - see bugs [306428, 323709, ...].
I've been hoping that the new Indigo release would fix this, but it appears these bugs are "deferred for future" resolution.
|
|
|
|
Re: Accessing Bean Functions and Names from xhtml page [message #684639 is a reply to message #684601] |
Thu, 16 June 2011 00:51 |
|
Ian Trimble wrote on Wed, 15 June 2011 18:18.... We do welcome contributions to the project, though.
If you or anyone would take the time to get me up to speed on:
a) how to setup eclipse dev env for eclipse/JSF
b) generally where to start
I'd be happy to take a look at the code & see if I can come up with a solution to contribute when/if/as my schedule opens up a bit. Busy busy busy
Just FYI, while it's been a while, I do have some history with Apache open source projects (axis, commons-logging & commons-discovery).
<ras>
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04847 seconds