on 10-15-2018 12:32 PM
Dear Experts,
I have created Semantic dynamic page and my requirement is to have two "Semantic Positive Action Buttons" consecutively in the footer of the page.
I tried creating the same, please see code below:
<!-- Semantic Footer Buttons -->
<semantic:positiveAction>
<semantic:PositiveAction id="bckupId" text="{i18n>backUp}"/>
</semantic:positiveAction>
<semantic:positiveAction>
<semantic:PositiveAction id="shareId" text="{i18n>share}"/>
</semantic:positiveAction>
But whenever I see the output, it shows only second button i.e. Share. Probably this is overwriting the other one. Could you please suggest how to showcase two positiveAction button together in page footer?
Thanks,
Best Regards
Hemendra
Dear Hemendra,
May be u can try with CSS with standard libarary generated for that buttons in your tag footerCustomActions. Probably a workaround.
Thanks,
Best Regards,
Raina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It could be that this simply doesn't allow you to have two positive actions in the footer. Change the page to a sap.m.page then you should be fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hemandra,
I don't think you can do that with a semantic page. The idea is that everything is preset for you, so it created consistency. Try to use the aggregation customFooterContent instead and then set the type to positive.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Jakob for your quick response. But unfortunately this is also not solving the purpose. As I already tried that and the buttons are not getting "Green". Now I have changed the code below but showing two buttons without Green effect:
<semantic:footerCustomActions>
<Button text="{i18n>toBackup}" type="Accept" press="onPress"/>
<Button text="{i18n>sharing}" type="Accept" press="onPress"/>
</semantic:footerCustomActions
Also I forget to mention, I am using sap.f.semantic.
Thanks,
BR- Hemendra
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.