You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by dpmihai <dp...@yahoo.com> on 2014/02/06 12:51:43 UTC

RE: How to add line breaks in the summary text of Wizard properties file

In Wicket 5 it was as easy as using <br> tags inside summary String.

In Wicket 6 this simple way does not work anymore. Why?

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-line-breaks-in-the-summary-text-of-Wizard-properties-file-tp4660589p4664234.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How to add line breaks in the summary text of Wizard properties file

Posted by dpmihai <dp...@yahoo.com>.
Thanks.

I did the following:

@Override
public Component getHeader(final String id, final Component parent, final
IWizard wizard) {
    		Component c = super.getHeader(id, parent, wizard);
    		c.get("summary").setEscapeModelStrings(false);
    		return c;
}

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-line-breaks-in-the-summary-text-of-Wizard-properties-file-tp4660589p4664241.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How to add line breaks in the summary text of Wizard properties file

Posted by Sven Meier <sv...@meiers.net>.
See https://issues.apache.org/jira/browse/WICKET-4219

Sven

On 02/06/2014 12:51 PM, dpmihai wrote:
> In Wicket 5 it was as easy as using <br> tags inside summary String.
>
> In Wicket 6 this simple way does not work anymore. Why?
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-line-breaks-in-the-summary-text-of-Wizard-properties-file-tp4660589p4664234.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org