dev@javaserverfaces.java.net

Ids in JSF

From: Anthony Mayfield <info_at_aplossystems.co.uk>
Date: Sat, 23 Jun 2012 16:03:31 +0100

Hi Everyone,

I've finally managed to get the build of the JSF working. I've documented
two pages of bug fixes and necessary steps required for the build which I'll
be publishing soon and will put a link up to help others who are hoping to
build the source.

One of the first updates I've put into the code is so that the id searching
does not stop at a UIForm as a base if the UIForm is not prepending an id.
This was making it impossible for some of my components to be found before.

The reason for writing this email is that I've also added a further update
that if the component is not found relative to the base of the current
component then the search will continue in the parent base of the current
base and so on until a match has found. This has made the finding of ids in
the application much simpler as I no longer need to write an absolute path
for every component that is not in the relative naming container of the
current component. I'm just wondering if there's a reason this hasn't been
done before and if I were to submit this as a patch would it get added to
the main code?

All the best,

Anthony.