on 12-11-2003 5:46 PM
Hi,
I've got I little problem maybe easy to solute but I didn't get it rigth yet.
I've got a tableview in Lineselection mode, on Click I like to get my date
fields as inputfields and net to the datefields a icon SAVE.
I fits and works but their is allways a carriage return between my inputfield
and the icon and I don't like this - anybody know how to solute??
Many thanks Matthias
Coding:
GET_COLUMN_DEFINITIONS:
append initial line to p_column_definitions assigning add( element = endda_save ).
p_replacement_bee = endda_bee.
endif.
Hi Matthias,
I've got problem same as you had.
I've some difficulty during the definitions of type of endda, endda_save and endda_bee.
It is correct :
DATA: endda TYPE REF TO cl_htmlb_inputfield.
DATA: endda_save TYPE REF TO cl_htmlb_image.
DATA: endda_bee TYPE REF TO cl_bsp_bee_table.
?
I've tried with theese but it doesn't work.
Many thanks,
Luca
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hallo Matthias,
"solute"? Not in any dictionary I checked. Maybe "solve"? Puzzled. But I suspect I know what your question is.
If you look at the source code of the HTML you will see about what happens. You can also build a simple BSP page with inputfield (must be of type date with showHelp!) plus the image. It has nothing to do with iterator.
When the inputField is rendered, it is usually rendered as
Problem is that in HTML is a block sequence, and browser will always do a break after this HTML element. (You can check this in that very good HTML book you have on your table, at about the place where I have my dictionary.)
So now the browser "breaks" (moves to new line) after our sequence, and then your image lands effectively below inputField.
How to solve? You must render out an additional to put all of that stuff onto one line.
Prototype code (I assume you are using cl_bsp_bee_table):
endda_bee->add_html( html = '
' level = 1 ). | ' level = 1 ). |
' level = 1 ).
You could consider to add border, cell padding and spacing, etc to the
sequence.
Would recommend the level parameter as well, even if optional. One day it might be really needed to get formatting correct (when default of 1 is not the correct value).
brian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hallo Matthias,
You are welcome. The English you should not take to seriously. It is also about the 3rd language I learned. Usually I am able to pick up small mistakes in sentences, and from knowing something about the writing (mother tongue, country, etc) can mentally correct the text while reading. Your text left me puzzled.
But the HTML/HTTP book is more serious. A deep knowledge always comes from reading. Unfortunately I have no real excellent book to recommend (I must admit I always google for answers), but still believe that for background reading an excellent book is the only way to go. Maybe you find a book to recommend!
until the next answer, brian
User | Count |
---|---|
77 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.