Skip to Content
0
Jun 17, 2018 at 03:51 AM

Why is fragment billingAddressForm.jsp being rendered when inside my jsp isn't being called?

76 Views

I'm working with Hybris 6.2, I made my own customized addPaymentPage.jsp and my CustomPaymentCheckoutStepController inherits from the standard PaymentCheckoutStepController to override most of the logic, of course I made sure to hide the standard implementation bean reference with my own.

I'm trying to customize the billing info form, but even though I'm calling the billAddressFormSelector tag inside it, it is being ignored, instead the fragment billingAddressForm.jsp is being rendered in it's place and I have no idea why.

Even if I remove the tag from my addPaymentPage.jsp, this fragment is always being rendered in its place, and this fragment uses a sopPaymentDetailsForm to populate itself, so even if I try to modify this fragment to make it use my customPaymentForm it throws an error that says my customPaymentForm is not available as a request attribute.

Why is this fragment being rendered? How does Hybris decides to render this fragment instead of my direct call to the billAddressFormSelector.tag?