Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: WW 2.2.1
    • Fix Version/s: WW 2.2.2
    • Component/s: None
    • Labels:
      None

      Description

      create a ww button tag (backed by a ww component)

        Issue Links

          Activity

          Hide
          Peng Wang added a comment -

          But now <button type="submit" ...> html output does not include the enclosed content inside, please take a look at https://issues.apache.org/struts/browse/WW-1677

          Show
          Peng Wang added a comment - But now <button type="submit" ...> html output does not include the enclosed content inside, please take a look at https://issues.apache.org/struts/browse/WW-1677
          Hide
          Rene Gielen added a comment -

          <ww:submit ..>
          now knows the attribute type="button", resulting in a <button type="submit" ...> html output. If provided, label parameter will be used for button face text, value parameter otherwise.

          Show
          Rene Gielen added a comment - <ww:submit ..> now knows the attribute type="button", resulting in a <button type="submit" ...> html output. If provided, label parameter will be used for button face text, value parameter otherwise.
          Hide
          tm_jee added a comment -

          Rene, you might be interested in ww-1218 as well, its related to this issue and ww-1122 as well.

          Show
          tm_jee added a comment - Rene, you might be interested in ww-1218 as well, its related to this issue and ww-1122 as well.
          Hide
          tm_jee added a comment -

          > Toby: If this proposal sounds reasonable & if you like, I could take over this issue since I am involved with
          > WW-1122.

          yup sure Rene, i'll assigned it to you.

          Show
          tm_jee added a comment - > Toby: If this proposal sounds reasonable & if you like, I could take over this issue since I am involved with > WW-1122 . yup sure Rene, i'll assigned it to you.
          Hide
          Rene Gielen added a comment -

          We should consider the submit issue too when adding a button component., coming to a simple yet powerful solution for both button and submit:

          There are different kind of buttons one would use in html:

          • <input type="button" ...>
          • <button ...>
            Also, there are two ways to implement submit:
          • <input type=submit" ...>
          • <button type="submit" ...>
            The second one would, if implemented, satisfy the requirements described in WW-1122, but is known to cause some problem with IE.

          The bottomline is that we should imo have a <ww:button> and <ww:submit> tag, both of which would have an parameter type, which could have one of the values "input" (default) or "button", eg:
          <ww:submit type="button" .../>

          Comments?

          Toby: If this proposal sounds reasonable & if you like, I could take over this issue since I am involved with WW-1122.

          Show
          Rene Gielen added a comment - We should consider the submit issue too when adding a button component., coming to a simple yet powerful solution for both button and submit: There are different kind of buttons one would use in html: <input type="button" ...> <button ...> Also, there are two ways to implement submit: <input type=submit" ...> <button type="submit" ...> The second one would, if implemented, satisfy the requirements described in WW-1122 , but is known to cause some problem with IE. The bottomline is that we should imo have a <ww:button> and <ww:submit> tag, both of which would have an parameter type, which could have one of the values "input" (default) or "button", eg: <ww:submit type="button" .../> Comments? Toby: If this proposal sounds reasonable & if you like, I could take over this issue since I am involved with WW-1122 .

            People

            • Assignee:
              Rene Gielen
              Reporter:
              tm_jee
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development