Hia, my mail was not answered so it probably went to /dev/null
because it was with the same content but not as exact as the one from
Ganesh regarding the id issue :-)
Werner
Matthias Wessendorf schrieb:
Sent from my iPod.
Am 21.04.2009 um 06:05 schrieb Ganesh <[email protected]>:
Hi Matthias and Werner,
The partial submit issue I posted to [email protected] received
nearly instant response from Roger Kitain. Definitely not /dev/null,
these guys really take their job serious.
That was a joke about the hidden discussions on almost all EGs.
Werner, it would be great, if you forwarded your mail to the
d...@myfaces list, so we can see what happens to it.
CC to the original list would be good
Afaik the spec doesn't say anything about the view state issue apart
from the JS docs (does anybody know any other places that talks about
the id of the hidden view state inputs?). The Javascript shouldn't
work based on the hidden inputs ids, but based
In trinidad we render no ID b/c of that ...
on the hidden inputs names. Here's a proposal on how to change the JS
docs. If you agree, I'll post it to [email protected].
+1 and a CC to this list? That would be great
Thx
Matthias
Correct the jsdoc for <static> jsf.ajax.*response*(request, context)
like this:
If an |update| element is found in the response with the identifier
|javax.faces.ViewState|:
|<update id="javax.faces.ViewState">
<![CDATA[...]]>
</update>|
Include this |state| in the document as follows:
* Extract this |<update>| element's |CDATA| contents from the response.
<<<<<< (remove thes following lines)
* If the document contains an element with the identifier
|javax.faces.ViewState| replace its contents with the |CDATA|
contents.
* For each |<form>| element in the document:
o If the |<form>| element contains an |<input>| element with
the identifier |javax.faces.ViewState|, replace the
|<input>| element contents with the |<update>| element's
|CDATA| contents.
o If the |<form>| element does not contain an element with the
identifier |javax.faces.ViewState|, create an |<input>|
element of the type |hidden|, with the identifier
|javax.faces.ViewState|, set its contents to the |<update>|
element's |CDATA| contents, and add the |<input>| element as
a child to the |<form>| element.
======= (add the following lines)
* Set the value of all elements within the document with the name
|javax.faces.ViewState |to the CDATA contents
* For each |<form>| element in the document:
o If the |<form>| element does not contain an element with the
name |javax.faces.ViewState|, create an |<input>| element of
the type |hidden|, with the name |javax.faces.ViewState|,
set its value to the |<update>| element's |CDATA| contents,
and add the |<input>| element as a child to the |<form>|
element.
>>>>>>>
Best Regards,
Ganesh