[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2469) add postback flag to page actions
Dan Allen (JIRA)
jira-events at lists.jboss.org
Thu Sep 11 06:15:39 EDT 2008
[ https://jira.jboss.org/jira/browse/JBSEAM-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12429067#action_12429067 ]
Dan Allen commented on JBSEAM-2469:
-----------------------------------
The reality is likely that it was bumped as a result of me being too busy with finishing Seam in Action. Now that I am done, my focus can return on making a decision on this issue. Pete, can we put this back into one of the upcoming releases? It feels to me like a Seam 2.1 issue (rather than Seam 2.0).
> add postback flag to page actions
> ---------------------------------
>
> Key: JBSEAM-2469
> URL: https://jira.jboss.org/jira/browse/JBSEAM-2469
> Project: Seam
> Issue Type: Feature Request
> Components: Core
> Affects Versions: 2.0.1.CR1
> Reporter: Dan Allen
> Assignee: Dan Allen
> Fix For: 2.1.0.GA, The future
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> Page actions are incredibly useful, but sometimes they can get in the way during a postback. I would like to see a postback attribute added to the <action> tag that can be used to disable the action on postback. It's possible using a conditional, but it is ugly and a lot of typing.
> Here is the logic that would go into Pages.java
> private boolean isPostBack(FacesContext facesContext)
> {
> return facesContext.getExternalContext().getRequestParameterMap().
> containsKey(ResponseStateManager.VIEW_STATE_PARAM);
> }
> The conditional alternative would be:
> <action execute="#{component.action}" if="#{empty param['javax.faces.ViewState']}"/>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list