For OSGI Forms -Can we Apply theme to Adaptive From Table Component only | Community
Skip to main content
Level 5
July 18, 2024
Solved

For OSGI Forms -Can we Apply theme to Adaptive From Table Component only

  • July 18, 2024
  • 1 reply
  • 494 views

Hi Team

Currently we have more tabular content for our forms (we are planning to use Adaptive Form Table Component), Is it possible to apply the theme only for Adaptive From Table Component only to have Rich User Experience For Table Content  . Current Theme having issues with Look And Feel (LAF) to rendering table component , We would like handle table content without impact overal Form LAF.

 

Please let me know if any alternative (preferable rich user experience and LAF) to handle tabular content in our OSGI Adaptive Forms.

 

Here is sample table content planning to Use Table Component or other options if any.

 

Regards

Vara

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by pankajpr

Hi Vara,

Are you using foundation adaptive form or core component based adaptive form? In both the cases, a theme is applied at the form level only. A form can't have two themes applied. For your use case, you can consider the following approaches

 

Foundation Adaptive Form

You can define a class name for a table component within an adaptive form. Define styles with table class name as parent selector for components to be used within this table. The CSS styles can be defined in a CSS file or client library and can be applied to form, so these specific styling apart from theme can be picked.

 

 

Core Component Adaptive Form

In this case, you can leverage style system framework to define different style variant for a component. In authoring, you can chose variant to be applied.

 

Regards,

Pankaj Parashar

 

 

1 reply

pankajprAdobe EmployeeAccepted solution
Adobe Employee
August 26, 2024

Hi Vara,

Are you using foundation adaptive form or core component based adaptive form? In both the cases, a theme is applied at the form level only. A form can't have two themes applied. For your use case, you can consider the following approaches

 

Foundation Adaptive Form

You can define a class name for a table component within an adaptive form. Define styles with table class name as parent selector for components to be used within this table. The CSS styles can be defined in a CSS file or client library and can be applied to form, so these specific styling apart from theme can be picked.

 

 

Core Component Adaptive Form

In this case, you can leverage style system framework to define different style variant for a component. In authoring, you can chose variant to be applied.

 

Regards,

Pankaj Parashar