XSLT 改变 Web 部件渲染方法

发布于 2024-10-05 22:16:31 字数 179 浏览 0 评论 0原文

在 sharepoint 2007 中,我想知道构建具有其样式但不具有控件、由 XSLT 更改的 Web 部件的最佳方法是什么...我想要做的是构建一个“骨架”(可以说它的组成通过文本框和按钮)并实现按钮必须执行的操作...但是网页设计人员可以为我提供 XSL,并且 Web 部件必须应用 xsl,改变设计和样式,但不能改变编程...任何想法?

in sharepoint 2007 i would like to know what is the best approach to build a webpart that has its style,but not controls, altered by a XSLT... what i want to do is to build a "skeleton" (lets say its composed by text box and a button) and implement what the button must do... but the web-designer can provide me a XSL and the webpart must apply the xsl, altering the design and style, but not the programming... any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

禾厶谷欠 2024-10-12 22:16:31

XSLT 是提供动态设计的更好方法,并且当需要为最终用户提供将来随时更改显示样式的便利时。当您需要具有多个视图(例如列表视图或搜索结果)时,最好使用 Web 部件来实现。如果您需要创建数据输入表单,我认为不应选择基于 xslt 的 Web 部件。除非您使用客户端对象模型(Java 脚本 API)

XSLT is better approach to provide dynamic design and when its required to provide the end user the facility to change the style of display anytime in future. Its good to implement with web parts where you are required to have multiple views like List view or search results. If you require a data entry form to be created i don't think xslt based web parts should be choice. unless until you are using Client object model(Java script API's)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文