Hi,
Both classic and touch UI roll out calls /bin/wcmcommand for roll-out
We have custom class written for WCMCommand which gets called when using roll-out from classic sidekick
In classic we have customized to call it using
\apps\cq\ui\widgets\source\widgets\wcm\msm\RolloutWizard.js
But the same does not get called when using roll-out in touch UI ,How to customize for touch UI
@component(configurationPolicy = ConfigurationPolicy.REQUIRE, immediate = true, service = WCMCommand.class)
@Designate(ocd = RolloutWithWorkflowProperties.class)
public class RolloutWithWorkflow implements WCMCommand {.....}
Please let me know how to customize for touch UI
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
I don't really get what you are trying to achieve. Do you want to overwrite some ootb behavior (which means that you change some parameters in the mentioned JS file to map a frontend function to a different backend service), or do you want to call a certain new backend functionality from the UI (and thus have problems with wiring the call into the UI)?
Jörg
Views
Replies
Total Likes
Hi Srinivas,
I am not sure about your requirement, but for a similar type situation i handled this way with some new code for touch ui (js and java both)
var touchMode = Packages.com.day.cq.wcm.api.AuthoringUIMode.TOUCH;
var classicMode = Packages.com.day.cq.wcm.api.AuthoringUIMode.CLASSIC;
var currentMode = Packages.com.day.cq.wcm.api.AuthoringUIMode.fromRequest(request);
if(classicMode ==currentMode)
{
do your task you are in classic mode
}
if(touchMode ==currentMode)
{
do your task in touch mode
}
Views
Replies
Total Likes
Any inputs from anyone??
Views
Replies
Total Likes
Hi,
I don't really get what you are trying to achieve. Do you want to overwrite some ootb behavior (which means that you change some parameters in the mentioned JS file to map a frontend function to a different backend service), or do you want to call a certain new backend functionality from the UI (and thus have problems with wiring the call into the UI)?
Jörg
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies