KiBa1215 / struts2-bootstrap

Automatically exported from code.google.com/p/struts2-bootstrap
0 stars 0 forks source link

Add space between css classes #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add a custome cssClass cssClass="myclass"

What is the expected output? What do you see instead?
Expected:
<div class="control-group myclass">

but rendered

<div class="control-groupmyclass">

Current workaround:
cssClass=" myclass"

Original issue reported on code.google.com by johgep on 19 Mar 2012 at 7:49

GoogleCodeExporter commented 8 years ago

Original comment by johgep on 26 Mar 2012 at 8:48

GoogleCodeExporter commented 8 years ago
I'm using v1.5.1  via maven and I'm still seeing this bug, at least for 
checkbox.  For example,  this tag:

<s.checkbox id="cb" name="foo" cssClass="xxx" label="hi mom"/>

will render:

<div class="control-groupxxx">
   <label class="control-label"></label>
      <div class="controls">
         <label class="checkbox  xxx" for="cb">hi mom
            <input type="checkbox" name="foo" value="true" id="cb" class="xxx">
         </label>    
      </div> 
</div>

Original comment by jim.de...@gmail.com on 17 Oct 2012 at 7:17