the problem with clearFormHiddenParams is the same problem as Cosma is
talking about (the add... static method on the HtmlFormRenderer won't
work)
regards,
Martin
On 7/17/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
Martin and me looked at it (short look at the *rendered* JS)
The sortTable.jsp works as expected, when (with RI) a commandLink or
commandbutton is inside the <h:form>.
Without the command component (with the RI) is the *_idcl* hidden_field
(public static final String HIDDEN_COMMANDLINK_FIELD_NAME = "_idcl";
from HtmlRendererUtils) ==> <input type="hidden" name="_idJsp0:_idcl" />
is missing.
also the rendered clearFormHiddenParams__() makes no sense, when RI is
in the game.
RI:
<!--
function clearFormHiddenParams__id0(curFormName) {
var curForm = document.forms[curFormName];
}
//-->
MyFaces:
function clearFormHiddenParams__idJsp0(currFormName) {
var f = document.forms['_idJsp0'];
f.elements['_idJsp0:_idcl'].value='';
f.target='';
}
looks like in the RI the (first) commandLink/commandButton renders
the hidden field.
good night,
Matthias
On 7/16/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> Hey,
>
> I just checked the tomahawk w/ RI and figured out, that some examples
> (again) aren't working.
>
>
> here is the short list of my short test:
> -sortTable.jsf
> sortAutoTable.jsf
> sortAutoTable2.jsf
> openDataTable.jsf
>
>
> Can someone please verfiy that this is only on my box?
>
> Thanks,
> Matthias
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>
--
Matthias Wessendorf
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces