| |

VerySource

 Forgot password?
 Register
Search
View: 648|Reply: 2

I would like to ask how FCKEditor and Struts implement the submission operation, thanks.

[Copy link]

2

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-1-8 23:00:02
| Show all posts |Read mode
Struts can be implemented using STRUTS-specific HTML form tags,

But how to use fckeditor to achieve it, how to automatically pass it to the action, thanks.
Reply

Use magic Report

0

Threads

14

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-1-14 14:54:01
| Show all posts
<% @ taglib uri = "/ WEB-INF / tld / FCKeditor.tld" prefix = "FCK"%>

....

<FCK: editor id = "content" basePath = "../../ FCKeditor /"
height = "450px" width = "100%"
toolbarSet = "Default" editorAreaCSS = "../../ xy_css / css.css"
skinPath = "../../ FCKeditor / editor / skins / silver /"
imageBrowserURL = "../ filemanager / browser / default / browser.html? Type = Image&Connector = connectors / jsp / connector"
linkBrowserURL = "../ filemanager / browser / default / browser.html? Connector = connectors / jsp / connector"
flashBrowserURL = "../ filemanager / browser / default / browser.html? Type = Flash&Connector = connectors / jsp / connector"
imageUploadURL = "../ filemanager / upload / simpleuploader? Type = Image"
linkUploadURL = "../ filemanager / upload / simpleuploader? Type = File"
flashUploadURL = "../ filemanager / upload / simpleuploader? Type = Flash">
Ranch
</ FCK: editor>
// Note: id is equivalent to property, set it to the field corresponding to your actionform.
// Modify other paths according to your situation.
// Check online for other usage and configuration issues, a lot.
Reply

Use magic Report

0

Threads

14

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-1-14 15:27:01
| Show all posts
In fact, you can just treat it as a normal <input type = "text" .... />, but the configuration and calling methods are different.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list