Posted: 30 Jul 2015 7:28 EDT Last activity: 2 Aug 2015 23:34 EDT
"Can not render section" in dynamic UI
After completing the exercise in the Dynamic UI lesson, I created a case to test what I had done. When I got to the "Select New Position" step, there was nothing in the UI - no "Position Applied For" field with a dropdown menu, no position details - nothing, just "Submit" and "Cancel" buttons. I opened the section to see what was wrong, and saw the following message under the "SelectNewPosition_Position" section:
"Can not render section SAE-HRServices-Work-Candidate.SelectNewPosition_Position"
There's an existing thread here on this topic, but the answer - that it's not an "error" and that it's supposed to be this way - doesn't make sense to me. Shouldn't I be able to see the UI I just built when I create a new case?
I ghosted into your exercise system and found that you have 2 entries of ".Position2" in the Pages and Classes tab for the section. One was pointing to SAE-HRServices-Data-Position and the other to the correct one at SAE-HRServices-Data-Position2.
This is causing the section to be confused and is unable to locate the correct class for the section include. What you need to do is to remove the wrong entry in the Pages and Classes tab and save, then refresh your section rule. This will cause the section include to be displayed correctly.