#2 JavaScript Errors on Widget Button

v1.2
closed-fixed
Jonny Reid
Widgets (6)
5
2003-04-21
2003-03-13
PaulE
No

1. Generated a component from skeleton pattern
2. Used regular buttons on the screen
3. JSP generated with code like...
<Portlet:Button field="submit" label="Submit"/>
4. When component is run, and the button pressed a
javascript error is raised

Workarround
5. Changed the button to type=sized and this error goes
away (ie. <Portlet:Button field="submit" type="sized"
label="Submit"/>)

Please validate this problem on the Button HttpUnitTest
in jaffa, and if it can be seen there, fix it.

Discussion

  • Jonny Reid
    Jonny Reid
    2003-03-25

    Logged In: YES
    user_id=537095

    fixed this problem. If a field is called submit and the property
    submit="true" is not set the widget will throw an exception

     
  • Jonny Reid
    Jonny Reid
    2003-03-25

    • status: open --> open-fixed
     
  • PaulE
    PaulE
    2003-04-21

    • status: open-fixed --> closed-fixed