Well, it should be easy to change this line of the template to call
the _ComponentUtils-method.

Are you sure that there are no changes apart from this? I could have
sworn I saw some edits of this, e.g. to deliver a boolean instead of a
Boolean and small stuff like this. It could as well be that there is
no corresponding XML-file for these components. Good news in any case!

regards,

Martin

On 9/11/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
On 9/11/06, Gert Vanthienen <[EMAIL PROTECTED]> wrote:
> Apparently, I misunderstood the information in Lance's mail: the SVN
> version of the files contains the call to
> _ComponentUtils.getStringValue().  Is there any reason why this method
> is used for String values (and not for e.g. boolean or Object)?
>
> If the call to _ComponentUtils.getStringValue() is no longer necessary,
> the generated code is a rather good match to the code currently in SVN,
> with the exception of some whitespace and comments.  My suggestion would
> be to move the comments to the top of the file and commit the
> regenerated files after checking that there are no other semantic changes.

I haven't looked at the code in a while, but I think the
_ComponentUtils methods explicitly typecasted to a String, boolean,
Integer, etc.  It may also throw appropriate exceptions or log errors.
  Basically, it's centralizing all operatings on a ValueBinding so
they only need to be changed in one place to change the behavior
everywhere.



--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to