Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IWRegion/IWBSRegion in HTML template
(03-07-2019, 10:39 AM)matija Wrote: I use Delphi xe8 in combination with Intraweb 14.1.13. In my intraweb application I use HTML templates after bootstrap mode.
How do I have to insert (settting) a TIWBSRegion/TIWRegion into an HTML template that has some elements inside it?
Elements (TIWLabel/TIWBSLabel, …) lose their format!  But if they are not within TIWBSRegion/TIWRegion, the form is OK.
I also tried to use IWBootstrap elements, but not help.
Part of HTML template:
<div class="container-fluid">
     <div class="row">
            <div class="col">
                  <h1><span class="badge badge-info">{% MyIWBSLabel0%}</span></h1>
                  <h2>{% MyIWBSLabel2%}</h2>


I tested your example but I'm kind of confused about the expected outcome. How do you expect this to be rendered?

Your labels have all StyleRenderOptions settings set to false. This means that no style will be rendered for them. In that case, everything should be controlled by a style sheet provided by you, but I don't see any. So, I'm wondering how do you expect them to be in the final HTML....

Messages In This Thread
IWRegion/IWBSRegion in HTML template - by matija - 03-07-2019, 10:39 AM
RE: IWRegion/IWBSRegion in HTML template - by Alexandre Machado - 03-24-2019, 08:24 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)