Menu
Docs
Documentation versions (currently viewingVaadin 24)
V24
Vaadin 25 (prerelease)
Vaadin 24
Vaadin 23
Vaadin 14
Vaadin 10
Vaadin 8
Vaadin 7
Documentation translations (currently viewingChinese)
Chinese
Chinese
English
Finnish
German
Spanish
Search
Change to dark theme
本页面是从官方文档(http://vaadin.com/docs)机器翻译而来的。它可能包含错误、不准确或误导性的陈述。Vaadin不对翻译的准确性、可靠性或时效性作出任何保证或表示。
Dismiss banner
Docs
Expand top-level sections
Show sub-pages of 入门指南
入门指南
先决条件
Show sub-pages of 启动项目
启动项目
替代方案
导入项目
运行项目
构建项目
部署项目
下一步
Hide sub-pages of 构建应用程序
构建应用程序
Show sub-pages of 视图与导航
视图与导航
添加视图
导航到视图
Show sub-pages of 将数据传递到视图
将数据传递到视图
路由参数
路由模板
查询参数
添加路由布局
Show sub-pages of 表单与数据
表单与数据
Show sub-pages of 添加表单
添加表单
字段与绑定
表单验证
加载与保存
对话框和抽屉
添加 Flyway
替换 H2
Show sub-pages of 业务逻辑
业务逻辑
添加一个服务
Show sub-pages of 安全
安全
添加登录
添加登出
保护视图
Protect Services
Hide sub-pages of 深入探讨
深入探讨
Spring Boot
Show sub-pages of 架构
架构
设计
系统 组件
概念层
Monoliths
Microservices
Show sub-pages of Project Structure
Project Structure
单模块项目
多模块项目
Show sub-pages of 表现层
表现层
Show sub-pages of 服务器推送
服务器推送
推送
线程
回调
Futures
Hilla Services
消费响应式流
Hide sub-pages of 应用层
应用层
应用服务
Show sub-pages of 后台任务
后台任务
实现作业
触发作业
Show sub-pages of 用户界面交互
用户界面交互
回调
Futures
生成响应式流
Show sub-pages of 数据一致性
数据一致性
强一致性
Show sub-pages of 事务
事务
声明式事务
编程式事务
验证
乐观锁
悲观锁定
最终一致性
领域原语
Show sub-pages of 持久化
持久化
Show sub-pages of 存储库
存储库
JPA Repositories
jOOQ Repositories
Cookbook
Show sub-pages of AI 与 LLM
AI 与 LLM
Show sub-pages of 技术设置
技术设置
为您的 IDE 设置 API 密钥
快速入门指南
Show sub-pages of Flow 参考
Flow 参考
什么是Flow?
Show sub-pages of 应用程序基础
应用程序基础
构建用户界面
事件处理
创建主视图
基本路由 & 导航
图像 & 图标
Styling
Show sub-pages of Routing & Navigation
Routing & Navigation
定义路由
在路由之间导航
菜单配置
路由参数
无需导航更新URL参数
导航生命周期
Router Layouts & Nested Router Targets
获取路由
获取已注册的路由
导航时更新页面标题
动态注册路由
Show sub-pages of 附加指南
附加指南
查询参数
路由模板
Show sub-pages of 创建UI
创建UI
基本功能
启用状态
键盘快捷键
Show sub-pages of Creating Components
Creating Components
单一元素
多个元素
使用API助手定义组件属性
扩展组件
使用事件
组件容器
生命周期回调
使用 Vaadin Mixin 接口
Show sub-pages of 集成 Web Components
集成 Web Components
创建Java API
调试
项目内组件
Web Components Intro
Show sub-pages of 元素 API
元素 API
属性 & 特性
监听用户事件
远程过程调用
使用Element API获取用户输入
动态样式
Show sub-pages of 拖放
拖放
拖拽源
放置目标
Show sub-pages of 模板
模板
基于模板
与 Binder 结合使用
子模板
添加服务器端组件
样式设置
检测组件映射
限制条件
Show sub-pages of Polymer模板(已弃用)
Polymer模板(已弃用)
使用模板 API 创建简单组件
模板与Binder的结合使用
动态向模板中添加服务器端组件
处理用户事件
绑定模型数据
使用模型Bean
使用模型编码器
从列表动态创建内容
使用父布局
Show sub-pages of 表单与数据绑定
表单与数据绑定
加载 & 保存到业务对象
将Bean绑定到表单
绑定数据到组件
创建一个具有值的组件
Show sub-pages of Security
Security
Vaadin Security Configurer
Show sub-pages of 高级安全主题
高级安全主题
安全架构
Vaadin的安全实践
常见漏洞
经常报告的问题
保护纯Java应用程序
导航访问控制
存储敏感数据
内容安全策略
启用安全性
Show sub-pages of 测试