Skip to main content

javax.faces.ViewState without ID after partial render

2 replies [Last post]
fabiano_oss
Offline
Joined: 2010-09-24
Points: 0

Hello,

I have this page:

....

When this page is rendering (normal rendering) the component "javax.faces.ViewState" has id="javax.faces.ViewState"

When I click in the button "save". After the rendering the component "javax.faces.ViewState" hasn't id

I looked the jsf.js in method doUpdate (line 809) is missing the command: field.id = "javax.faces.ViewState";

The original is:

field = document.createElement("input");
field.type = "hidden";
field.name = "javax.faces.ViewState";
stateForm.appendChild(field);

Is this a bug?

Mojarra 2.0.3
Jboss 5.1

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
rogerk
Offline
Joined: 2004-05-06
Points: 0

Off hand, I cannot remember any reason why that would be excluded. Can you please file an issue in the mojarra issue tracker?

Thanks, Roger.

fabiano_oss
Offline
Joined: 2010-09-24
Points: 0

Thank you.

I create: Issue 1819