You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Volker Weber (JIRA)" <de...@myfaces.apache.org> on 2005/12/09 19:22:10 UTC
[jira] Commented: (MYFACES-925) ViewID Include in request
[ http://issues.apache.org/jira/browse/MYFACES-925?page=comments#action_12359919 ]
Volker Weber commented on MYFACES-925:
--------------------------------------
You could use <t:hidden id="currentViewID" value="#{<bean>.viewId}"/> and provide a bean with the needed Logic.
I don't think we should add this to the PageRenderer.
> ViewID Include in request
> -------------------------
>
> Key: MYFACES-925
> URL: http://issues.apache.org/jira/browse/MYFACES-925
> Project: MyFaces
> Type: Improvement
> Components: Tobago
> Reporter: Olexandr Zakordonskyy
>
> I need to include ViewID in rendered response, to retrieve the ID from request.
> I do it in the way:
> PageRenderer.encodeEndTobago:
> line 299(09-Dec-2005):
> writer.startElement("input", null);
> writer.writeAttribute("type", "hidden", null);
> writer.writeNameAttribute("currentViewID");
> writer.writeAttribute("value", facesContext.getViewRoot().getViewId(), null);
> writer.endElement("input");
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira