Yii Framework Forum: problem with id in CHtml::imageButton() - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

problem with id in CHtml::imageButton() Rate Topic: -----

#1 User is offline   dyrathror 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 23
  • Joined: 07-October 08

Posted 05 November 2008 - 10:07 AM

hi,

i just updated to revision 165 and got following error in CHtml::imageButton

Undefined variable: name


It complains in CHtml::button when the method tries to set the 'id' of the button.

D.


0

#2 User is offline   MetaYii 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 393
  • Joined: 07-October 08
  • Location:The Matrix

Posted 05 November 2008 - 10:46 AM

Maybe related to this?

If so I think that the id should be set equal as the name only of no id attributed is passed in the attributes? dunno :-\
0

#3 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,875
  • Joined: 04-October 08
  • Location:DC, USA

Posted 05 November 2008 - 10:54 AM

Thanks. Fixed.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users