此内容没有您所选择的语言版本。

24.7. Working with Data types


24.7.1. Primitives / Basic Types

This section describes the support for basic data types. On the server side, these values are generally compatible with either their primitive type, or their corresponding wrapper class.

24.7.1.1. String

Use JavaScript String objects to set String parameter values.

24.7.1.2. Number

Seam supports all Java-supported number types. On the client side, number values are always serialized as their String representation. They are converted to the correct destination type on the server side. Conversion into either a primitive or wrapper type is supported for Byte, Double, Float, Integer, Long and Short types.

24.7.1.3. Boolean

Booleans are represented client-side by JavaScript Boolean values, and server-side by a Java Boolean.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat