accessing dialog data using java
how to access data of dialog using java and then pass it to servlet for backend processing
can anyone explain with example??
how to access data of dialog using java and then pass it to servlet for backend processing
can anyone explain with example??
wrote...
Kautuk Sahni
thanks for ur reply
but these are accessed by JSP pages
i need front end as html and dialog data to be passed in java servlet pages
if i follow this , i have to first access dialog data in jsp and then pass it to java which is not appropriate
i dont want to access in html or jsp
i directly want to access in java it can be by creating getter setter methods
but i am not getting complete way of doing it
hope u understand my requirement
1. Write a java class for this component by extending WCMUse or WCMUsePojo and override the activate() method.
2. Here in activate() method you can access the dialog values.
3. Once you get the dialog values, you can invoke the servlet here
4. Finally, you can set those values back to java variables and you can access these values back in component html/jsp file
5. Use sightly data block to get the instance of this java class. Once authors author the content and hit on "OK" then it will go to the activate() method.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.