我想擴展Struts 2:select標籤。 有人可以解釋做同樣的步驟。 此外,如果有任何掛鉤或實施Struts2框架可用於相同如何擴展struts 2標籤?
1
A
回答
1
您可以從檢查freemarker模板開始(默認爲freemarker,但它可以是速度或其他模板引擎)。見http://mikeski.net/site/node/16。
如果這還不夠,那麼你可以擴展或創建自己的選擇標籤的實現。 http://joshuajava.wordpress.com/2008/12/27/creating-custom-components-with-struts-2/
+0
完美的,這真的解決了這個問題。這兩個例子都非常說明。 –
3
相關問題
- 1. 擴展struts 2「屬性」數據標記
- 2. Struts 2多個URL擴展
- 3. Struts 2的「如果」標籤
- 4. 到Struts 2個的標籤
- 5. Struts 2和html標籤?
- 6. Struts 2選擇標籤
- 7. 如何擴展到比例爲2:1的標籤?
- 8. 如何設置Struts 2的對象一個Struts 2標籤內(A HREF)
- 9. 是否struts 2包必須擴展「struts-default」?
- 10. 標籤目標擴展器
- 11. 如何擴展Java的SWT標籤?
- 12. 如何擴展jinja2內建標籤?
- 13. 如果標籤影響Struts 2包括標籤
- 14. Struts 2顯示標籤/單選按鈕
- 15. struts 2標籤導致性能下降
- 16. Struts 2的無段式標籤
- 17. struts中的標籤和樣式表2
- 18. Struts 2自定義標籤庫
- 19. 無法從Struts 2的標籤
- 20. 關於在Struts 2框架html標籤
- 21. 擴展引導標籤
- 22. Chrome擴展:創建標籤
- 23. Chrome擴展 - 新標籤
- 24. 擴展標籤功能
- 25. 鉻標記簽署擴展
- 26. 動態擴展標籤
- 27. Struts 2 - struts標記錯誤
- 28. 如何擴展2個類?
- 29. 擴展Struts ActionServlet和RequestProcessor
- 30. Struts 2的標籤,不會產生標籤
你想用''標籤做什麼? –
我想寫一種包裝到這個標籤,我可以編寫自定義功能。 –