Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-3180

<bean:write>, with <PRE> in <OPTION> tag

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Tag Libraries
    • Labels:
      None
    • Environment:
      windows - ie6
    • Flags:
      Important

      Description

      Hi All,

      I have tried to write a bean: write tag in the Option tag, I want preseve the spaces So I used the <PRE> tag before and after the <bean:write> tag as said in STR-652, but it is working when it is used individually, its not working when It is used in Html Option tag, is there any other way to preseve the space and I can not change the tag source as I am using standard taglibs.

      <select name="selectedItem" '>
      <logic:iterate id="data1" name=" DATA" type="com.xxxx.xxx.xData">
      <option value='<bean:write name="data1" property="nrr"/>'>
      <bean:write name="data1" property="nrr"/>
      </option>
      </logic:iterate>

        Attachments

          Activity

            People

            • Assignee:
              pbenedict Paul Benedict
              Reporter:
              panitini madhu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: