[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-3693) Suppression of individual parameters should call setter with null as a parameter

Francisco Jose Peredo Noguez (JIRA) jira-events at lists.jboss.org
Tue Nov 11 20:41:37 EST 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-3693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francisco Jose Peredo Noguez updated JBSEAM-3693:
-------------------------------------------------

    Description: 
The suppression of individual parameters, like this:

<s:link view-id="/foo.xhtml">
  <f:param name="suppressedParameter" value="#{null}"/>
</s:link>

or like this:

<s:link view-id="/foo.xhtml">
  <f:param name="suppressedParameter"/>
</s:link>

Does not really work as intuitively expected: when I write   <f:param name="suppressedParameter" value="#{null}"/> or   <f:param name="suppressedParameter"/> I expect to have the method "setSuppressedParameter" called with null as a parameter, but in org.jboss.seam.navigation.Pages.applyConvertedValidatedValuesToModel there is a conditional that prevents that from happening (See JBSEAM-3454), what really happens is that setSuppressedParameter is never called. 

It think the right behavior would be a call to setSuppressedParameter with null as a parameter.




  was:
The suppression of individual parameters, like this:

<s:link view-id="/foo.xhtml">
  <f:param name="suppressedParameter" value="#{null}"/>
</s:link>

or like this:

<s:link view-id="/foo.xhtml">
  <f:param name="suppressedParameter"/>
</s:link>

Does not really work as intuitively expected: when I write   <f:param name="suppressedParameter" value="#{null}"/> or   <f:param name="suppressedParameter"/> I expect to have the method "setSuppressedParameter" called with null as a parameter, but org.jboss.seam.navigation.Pages.applyConvertedValidatedValuesToModel there is a conditional that prevents that from happening (See JBSEAM-3454), what really happens is that setSuppressedParameter is never called. 

It think the right behavior would be a call to setSuppressedParameter with null as a parameter.






> Suppression of individual parameters should call setter with null as a parameter
> --------------------------------------------------------------------------------
>
>                 Key: JBSEAM-3693
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3693
>             Project: Seam
>          Issue Type: Bug
>    Affects Versions: 2.0.2.SP1
>            Reporter: Francisco Jose Peredo Noguez
>
> The suppression of individual parameters, like this:
> <s:link view-id="/foo.xhtml">
>   <f:param name="suppressedParameter" value="#{null}"/>
> </s:link>
> or like this:
> <s:link view-id="/foo.xhtml">
>   <f:param name="suppressedParameter"/>
> </s:link>
> Does not really work as intuitively expected: when I write   <f:param name="suppressedParameter" value="#{null}"/> or   <f:param name="suppressedParameter"/> I expect to have the method "setSuppressedParameter" called with null as a parameter, but in org.jboss.seam.navigation.Pages.applyConvertedValidatedValuesToModel there is a conditional that prevents that from happening (See JBSEAM-3454), what really happens is that setSuppressedParameter is never called. 
> It think the right behavior would be a call to setSuppressedParameter with null as a parameter.

-- 
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