Looks like it is an error in the cms-taglib.tld. cms:button must be in a mainBar or newBar, but these both specify empty body-content. In the short term you can probably disable the check. I'd check the issue tracker (http://jira.magnolia.info/secure/Dashboard.jspa) myself for a report, but it seems inaccessible at this time.

Am 12.07.2007 um 09:23 schrieb Gauthier, Stephane (CH):

Hi magnolians,

Could you help me solving that problem?

I want to add a button to the main bar so I tried to use the <cms:button /> tag but there is an issue.
I found that in sample template:
<cms:mainBar paragraph="samplesPageProperties" label="Page Properties"> <cms:button label="Form properties" dialogName="samplesFormProperties" position="right" />
      </cms:mainBar>

I'm now on version 3.02 and when I put the tag within <cms:mainBar> <cms:button /> </cms:mainBar> it says:
"According to TLD, tag cms:mainBar must be empty, but is not"
And I can't specify in <cms:button /> tag to which bar to add the button.

So would you mind helping me on finding the right way to do that?

Many thanks for your help.

Stéphane



********************************************************************** ************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager ([EMAIL PROTECTED]) and delete the message with any attached files from your system. The confidentiality and integrity of this message cannot be guaranteed on the Internet and the sender does not accept liability for its content.

********************************************************************** *************


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to