You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Gwyn Evans (JIRA)" <ji...@apache.org> on 2007/11/16 21:30:43 UTC

[jira] Commented: (WICKET-1163) Turn OutputMarkupPlaceholderTag on when invisible+outputMarkupId

    [ https://issues.apache.org/jira/browse/WICKET-1163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543196 ] 

Gwyn Evans commented on WICKET-1163:
------------------------------------

Also note that setOutputMarkupPlaceholderTag(true) will call setOutputMarkupId(true) for you, so the code only needs to be 
  component.setVisible(false).setOutputMarkupPlaceholderTag(true); 


> Turn OutputMarkupPlaceholderTag on when invisible+outputMarkupId
> ----------------------------------------------------------------
>
>                 Key: WICKET-1163
>                 URL: https://issues.apache.org/jira/browse/WICKET-1163
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.0-rc1
>            Reporter: Bruno Borges
>             Fix For: 1.3.0-rc2
>
>
> When a component is made invisible but setOutputMarkupId(true) was called, setOutputMarkupPlaceholderTag should be turned on automatically.
> This must be done for every component that must be displayed only if user clicks in some AjaxFallbackLink:
> component.setVisible(false).setOutputMarkupId(true).setOutputMarkupPlaceholderTag(true);
> Outputing markup's id but making it invisible is not useful for anything.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.