Discussion

Tab Repeats

Ok, I'm at a loss. I'm trying to implement a tab repeating layout in 5.4sp2, but I want some of the tabs to show up conditionally. I have a when rule in the class of my Page Group that I am setting as the visible when of the condition of the Tab cell on my Section Rule Form. When everything runs, the text of the tab is not visible, but there is this little hat above where the text would have been that is still clickable, allowing the user to get to the other tabs. I even tried setting Visible When to never, and still always get the clickable area above the blank where the text would be. Also, within the body of the tab repeat, if I put a property there, I can apply a visible when to that, but if I include a section there, a compile error is thrown with anything other than always. In case it matters to anyone, I am using the built in Metal skin; but since that is just application of CSS classes, I don't understand how that should matter because the HTML still renders the page with the clickable area regardless of the stylesheet. Any suggestions would be greatly appreciated. I'm stuck between people who won't let go of the tab screen layout and 2 weeks to production.

***Updated by moderator: Marissa to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

March 26, 2009 - 10:19am

In case anyone else has a similar problem, I gave up and just turned off Auto-Generated HTML, and then in the HTML, I moved the pega:when tags to surround more than they were by default.