[
https://issues.apache.org/jira/browse/TOMAHAWK-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864317#action_12864317
]
Dave commented on TOMAHAWK-1499:
--------------------------------
We found that we passed an incorrect viewState(parameter:
javax.faces.ViewState) in ajax request. Please close this bug. Is there an API
to get current response viewState from a JSF component renderer? Sorry for
reporting a false bug.
> client id error in decode method
> --------------------------------
>
> Key: TOMAHAWK-1499
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1499
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Environment: Window XP, JBoss 5.1.0, Tomahawk 1.1.9, Richfaces 3.3.1
> Reporter: Dave
>
> we made a JSF component called <my:select>. It is used inside <t:dataTable>
> as the following:
>
> <t:dataTable...>
> <t:column>
>
> <t:dataList ...>
> <h:inputText rendered="bean.inputRenderable" ... />
>
> <my:select rendered="bean.selectRenderable" ... />
>
> </t:dataList>
>
> </t:column>
> </t:dataTable>
>
> During encodeEnd(....) , the client id is (simplified version)
>
> A:4:B:0:C:D
>
> But decode(...), the client id is A:1:B:0:C:D
> the decode(...) for client id (A:4:B:0:C:D) is never called.
>
> the request is made using ajax, the client Id is a request parameter.
>
> In the decode(...) method, we check if the request map contains the clientId
>
> if (!requestMap.containsKey(clientId))
> return true;
>
> So the decode is ignored.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.