Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PloneFormGen 是否存在类似于“主从小部件”的东西?用户在哪里选择第一个选项 A,这将生成选项 B(下)选择的选项列表?
这是一个远非理想的答案,但我已经通过 PFG 覆盖将 JavaScript 注入到标头中多次这样做了。它仅适用于相对简单的决策树。
基本过程是在加载时隐藏所有辅助控件,然后将它们显示为单击事件指示控件选择。将子控件分组到字段集中也很方便:然后您可以将控件显示和隐藏为一个组。
当我开始学习 php 时,我了解到当我想调用 php 时,我需要将 php 代码放在这段代码之间,<?php ?>但我也看到了这一点,<? ?>所以我坚持使用第二个选项。
<?php ?>
<? ?>
它们两者之间有什么区别吗,因为最近我看到在一台机器上,第二个选项不起作用,而第一个选项起作用,这让我很困惑。