dounianxie2058 2010-01-16 01:11
浏览 12
已采纳

使用PHP的Zend Framework,更改类标签

I am using Zend Framework with Dojo to make tab containers. I need for the dt tags to be createEventForm-waiverDetail-addElement-label instead of addElement-label. However I cannot figure it out. You can see them as the id in the following code snippet

http://pastie.org/780362

I have looked and looked for this. I think it may be something in the decorators. The following is the decorators that I set for the Zend Dojo Form:

$this->setDecorators(
    array(
        'FormElements',
        array(
            'TabContainer', 
            array(
                'id' => 'tabContainer',
                'style' => 'width: 100%; height: 500px;',
                'dijitParams' => array(
                    'tabPosition' => 'top'
                ),
            ),
        ),
        'DijitForm',
    )
);  
  • 写回答

1条回答 默认 最新

  • draj840143 2010-01-16 15:48
    关注

    For future users of the site that are looking for similar information. In order to do this you must reset the decorator stack, setting the id while you are doing it.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
  • ¥30 python代码,帮调试
  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python
  • ¥15 要给毕业设计添加扫码登录的功能!!有偿
  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥100 Jenkins自动化部署—悬赏100元