On 5/8/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
On 5/7/06, Hubert Rabago <[EMAIL PROTECTED]> wrote:
> It's the documentation for this:
>
>       //This is an emulation of the action link being clicked.
>       hform[form+':'+target].value=form+':'+target;
>
> I want to know how the author knew this trick would work in all JSF
> implementations.

Which component (or, more precisely, which renderer) is actually emitting
this code?

That's the thing.  This code is produced by the page author, to submit
a form that uses only standard JSF components.  It's from [1] which I
referenced in my original post [2].

It's stuff like this that, to a newbie like me, is like "magic" if you
know what I mean.  ("Set some hidden field's value to the same value
as its name to emulate it being clicked.")  I just wanted to know
where people get this knowledge.  :)

Anyway, I found the renderkit docs you mentioned, so thanks for
pointing me to the right direction!

Hubert

[1] http://www.jsftutorials.net/interface/jsf-popup.html
[2] http://marc.theaimsgroup.com/?l=myfaces-user&m=114626564831588&w=2

Reply via email to