You can have HTML in your language pack and then call
Componenet.setEscapeModelString(false) to have it rendered.
http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/Compone
nt.html#setEscapeModelStrings(boolean)

You can also add an attribute modifier to your panel to wrap it at a given
size or you could extending that panel and replacing the label with your own
implementation if you want to further customize it.

Anyhow, you can download the Wicket Free Guide book from:
http://wicket.apache.org/learn/books/freeguide.html

Read over chapter 12 "Internationalization with Wicket" to get up to speed
with the basic features.

~ Thank you,
  Paul Bors

-----Original Message-----
From: shimin_q [mailto:smq...@hotmail.com] 
Sent: Wednesday, July 31, 2013 3:20 PM
To: users@wicket.apache.org
Subject: How to add line breaks in the summary text of Wizard properties
file

Hi,

I am using wicket Wizard extension to create a create metaprofile wizard.  I
am having trouble incorporating line breaks in the summary text of the
properties file.  As you can see below, the summary text for the steps are
long, and I intended to break into several lines, but <br/> does not seem to
work:

NewMetaProfileWizard.properties:

otstep2.summary=Based on the OT node you selected ('$\{otNodeName\}'), you
must further define the following properties that are available on the node:
<br/> (1) a free directory number range, <br/> (2) a site linking the OT
node to an OXE node, <br/> (3) an OT user template <br/> For (1)-(6), you
will be prompted with a list of options available for that property. The
options for (1)-(3) are also configurable on the node, please consult the
user guide to configure those options on the OT node and perform a sync
operation for the node before proceeding with the metaprofile creation.
otstep3.title=Define OT Properties (Step 3) otstep3.summary=Last step in
creating an OT metaprofile: please define the following properties: <br/>
(1) an OXE user profile available on the OXE node linked via site, <br/> and
optionally, (2) a SIP domain name, <br/> (3) a voice mail server <br/> (4) a
voice mail profile name  <br/>  For (1), if you want an OXE user profile
that is not in the list, you can configure a user profile on the OXE node
linked by the site.  A sync operation for the node should be performed
before proceeding with the metaprofile creation.

Any ideas or suggestions would be appreciated!!



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

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



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

Reply via email to