Multifield in Context aware configuration | Community
Skip to main content
Level 2
September 17, 2024
Solved

Multifield in Context aware configuration

  • September 17, 2024
  • 1 reply
  • 783 views

Can we create arrays of textarea in Ca configuration?

@Property(label = "Enter the Page Path", description = "Page Path", property = {
"widgetType=textarea",
"textareaRows=10"
})
String[] pagePaths();

 I have used this code but I am getting multifield but textarea is not coming. Instead textfield is coming.
Any idea how to get textarea with multifield?

 

 

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 arunpatidar

Hi @vanitana 
According to the official doc https://wcm.io/caconfig/editor/usage.html , It should be correct. You can raise a defect at https://github.com/wcm-io/io.wcm.caconfig.editor/issues 

 

 If you want to use multifield for page path then you can also try

@Property(label = "Page", description = "Page Path.", property = {
    "widgetType=pathbrowser",
    "pathbrowserRootPath=/content"
})
String[] paths();

 

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
September 17, 2024

Hi @vanitana 
According to the official doc https://wcm.io/caconfig/editor/usage.html , It should be correct. You can raise a defect at https://github.com/wcm-io/io.wcm.caconfig.editor/issues 

 

 If you want to use multifield for page path then you can also try

@Property(label = "Page", description = "Page Path.", property = {
    "widgetType=pathbrowser",
    "pathbrowserRootPath=/content"
})
String[] paths();

 

Arun Patidar