[MAGNOLIA-833] mainBar adminButtonVisible flag not working Created: 04/May/06  Updated: 23/Jan/13  Resolved: 04/May/06

Status: Closed
Project: Magnolia
Component/s: taglibs
Affects Version/s: 2.1.5
Fix Version/s: 3.0 Beta 1

Type: Bug Priority: Minor
Reporter: Sameer Charles Assignee: Sameer Charles
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

all


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

I have the following line in a page template jsp, for which I want to hide the AdminCentral button on mainBar:

<cms:mainBar paragraph="somePrefixPageProperties" adminButtonVisible="false" />

But, when the page is opened, the 'AdminCentral' button is still visible on the page.

I tried the following:
setting it to "true", did not change anything.
setting it to "xyz", causes no change and no error.
setting ABCadminButtonVisible="false", causes the following error:
Attribute ABCadminButtonVisible invalid for tag mainBar according to TLD

(so, tld is validating it correctly, but something may be happening in setAdminButtonVisible method and after...)

My current setup:
---------------------------------
Magnolia version: Magnolia 2.1.5
OS/Hardware: Sun OS 5.8

If I've understood the use of this attribute wrong, please advise.

Thanks
M Rather



 Comments   
Comment by Sameer Charles [ 04/May/06 ]

fix on svn
info.magnolia.cms.taglibs.MainBar

Generated at Mon Feb 12 03:21:05 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.