Query regarding passing HTML hidden value to slighty | Community
Skip to main content
Level 3
January 7, 2016
Solved

Query regarding passing HTML hidden value to slighty

  • January 7, 2016
  • 2 replies
  • 1934 views

Hi All,

The use case is when the user selects the drop down in UI we have to pass selected drop down option value to Sightly so that we hit back end service in java class. How to achieve above use case? how to pass an javascript variable value to slightly (java class) ? if we update the javascript variable in an HTML hidden variable how to pass the hidden variable slightly java class

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 Jitendra_S_Toma

@KishCq5@@ ,

You might have to explore server-side javascript in AEM. Sever side javascript is the only option left in your case.

Here is the document which might help you.

https://docs.adobe.com/docs/en/aem/6-1/develop/sightly/use-api-in-javascript.html

Jitendra

2 replies

smacdonald2008
Level 10
January 7, 2016

Dropdown in UI - do you mean in a component dialog or in the actual webpage? 

Jitendra_S_Toma
Jitendra_S_TomaAccepted solution
Level 10
January 7, 2016

@KishCq5@@ ,

You might have to explore server-side javascript in AEM. Sever side javascript is the only option left in your case.

Here is the document which might help you.

https://docs.adobe.com/docs/en/aem/6-1/develop/sightly/use-api-in-javascript.html

Jitendra