I have tabset with page includes on a number of the tabs. Some of them are rendering…but not consistently and one of them isn’t rendering at all. I’m certain it’s a blatant setting I’m missing but I’m not super familiar with page includes…help! Here are the settings on the one that isn’t rendering. The page being used has 4 of the models that the parent page has. I’ve given them unique names. I don’t know what else to try. Thanks!
Lauren,
It does look like you’re passing in a query string, a parameter with a value from another model. I wonder if that’s your problem. Do you have query strings on the page includes that are loading?
If you were getting an error that you cannot load the page include, I usually check that I have a copy of the Include Visualforce page (see Prerequisites section on the link below).
There’s no error…it just doesn’t render. And the strange thing is, I’m not passing a query string for any of the other page includes and they ARE working?
And yes, I have a copy of the Include VF page.
Here’s what it looks like. I originally had it rendering only if the Eating Disorder question was set to YES but I’ve since removed that to try and figure this thing out. There are other PIs on the Mood & Anxiety, Substance Use and Medical Hx tabs that render just fine.
- What version of skuid are you using?
- Is the rendering rule deleted? (An empty rule, with no field name will return ‘false’.)
- Does the tab itself fail to render, or is the content of the tab (the included page) empty?
- Are there any Actions or Rendering rules on the tab itself (not the tabset)?
- Can you clarify what you have with model names. Are the models populated in the parent page and referenced in the include, or does the include define additional models with similar but distinct names?
- When/how do the models in the included page get populated?
- Have you tried something like adding a Page Title to the included page to verify that the page itself is either being rendered or not, regardless of the model(s) having data or not.
- Have you looked at the browser’s developer console for any error messages?
Hi Lauren, is it possible that the misbehaving page actually is loading, but it has no records in its models, so it appears blank? Also, do you see any errors in the browser’s developer console that might indicate what’s happening?
I AM getting an error:[Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
send @ skuid__JQueryJS:3
I’ve seen that before, and it actually shouldn’t be causing any issues in the page. Mike Dwyer shared some useful questions to look into as well, if you can. It could be that the included page is loading, but if there are no record in its models, the components may not display (to test this, check question # 7).
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.