cancel
Showing results for 
Search instead for 
Did you mean: 

NOOB Question: Insert a line break (<br> or <p>)

Former Member
0 Kudos

Hi,

I try my first steps with webdynpro and find it a bit crazy.

I now have created my first webapp and it rules but I have 2 questions:

1. I have 10 elements, which are displayed all abreast, but I want at some elements a line break (<br> or <p>, I only have the solution with FormattedTextView where I can insert html)

2. How I can add JavaScript-Functions and otherwise <html>-code? CSS-Tags and so on... Have I actually influence of the generated HTML?

sorry for this noob-questions.

Christian

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

to have linebreaks at random, use the matrix layout

and define the attribute layout of the element matrix head data for a line-break.

if you have a sequential filling of columns, use gridlayout.

grtz,

Koen

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi

In Web Dynpro You can not write HTML , Java Script or insert any CSS code.

It is not possible.

If you want a line break between UI elements, you should follow Layouts

you have different types of Layouts

1. Matrix Layout

2. Grid Layout

3. Row Layout

4. Flow Layout

You can control your layout only using the above options.

Abhi