Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
andy81 #1
about Insertbar showif attribute behaviour
Hi,
I have created a new servermodel and I want to create some insertbar
objects for that model only. I know that the insertbar.xml has a "showif"
attribute. It requires me to enter a DW_enabler value. However all those
value are for default dreamweaver servermodel only. I find that in menu.xml,
the "showif" attribute require a script rather than the DW_enabler.
Unfortunately insertbar.xml don't support inputing the script into the
"showif" attribute. Is there a way to add a custom DW_enabler?
or anyone have other solutions?
Thanks
Andy
andy81 Guest
-
insertbar.xml problem
In DW8, I add the following to the insertbar.xml: <category id="DW_Insertbar_My" MMString:name="My" folder="My"> <button id="My_feature"... -
Retrive data from attribute spaced attribute.
Hi. I'm retrieving data from an excel sheet. But one of the attributes is name "Phone private". This is a problem when I want to write out the... -
insert a option in the PHP insertBar
Hi, I always put my HTML file with the necessary code to try my extension, that I?m developing. So, I go in the Dw folders like: C:\Arquivos de... -
Insertbar buttons not active for .js/.vbs files
Hi, I'm creating a custom Objects group, and all the buttons become inactive and unusable when a .js, .vbs or .inc file is currently edited. The... -
insertbar
I'm trying to add a folder to my insertbar with this command < category id="DW_InsertBar_ MyObjects"folder=" My Objects"></ category> I use a... -
danilocelic *TMM* #2
Re: about Insertbar showif attribute behaviour
andy81 wrote:
The documentation for the showif attribute lists out all the available> I have created a new servermodel and I want to create some insertbar
> objects for that model only. I know that the insertbar.xml has a "showif"
> attribute. It requires me to enter a DW_enabler value. However all those
> value are for default dreamweaver servermodel only. I find that in menu.xml,
> the "showif" attribute require a script rather than the DW_enabler.
> Unfortunately insertbar.xml don't support inputing the script into the
> "showif" attribute. Is there a way to add a custom DW_enabler?
> or anyone have other solutions?
values for the insert bar. Given that I'm thinking that there isn't an
exposed way to modify those values, but not certain.
I'm sure others would want that as well, please ask for it:
[url]http://www.macromedia.com/support/email/wishform/[/url]
I would be interested in hearing about your new server model, if you're
able to talk about it. Offlist is fine.
--
Danilo Celic
| Extending Knowledge Daily : [url]http://CommunityMX.com/[/url]
| Team Macromedia for Dreamweaver : [url]http://macromedia.com/go/team/[/url]
danilocelic *TMM* Guest
-
andy81 #3
Re: about Insertbar showif attribute behaviour
Hi,
I have create a JSF server model. At first I use the JSP server model
and create a JSF document type. However the updatePageDirective function of
JSP won't work on JSF document template. so I create a new model based on
the JSP one. Also JSF page have different preview behaviour.
There's an idea although the performance would not be good. We can
backup and modify the insertbar.xml by file IO and call dw.reloadObjects()
after the user open or create a document.
Is there any API to change the insert bar object programmatically without
need to reload from config file?
Thx.
Andy
"danilocelic *TMM*" <danilo@shimmerphase.com> wrote in message
news:d3ndb2$h3m$1@forums.macromedia.com...> andy81 wrote:
>>>> I have created a new servermodel and I want to create some insertbar
>> objects for that model only. I know that the insertbar.xml has a "showif"
>> attribute. It requires me to enter a DW_enabler value. However all those
>> value are for default dreamweaver servermodel only. I find that in
>> menu.xml, the "showif" attribute require a script rather than the
>> DW_enabler. Unfortunately insertbar.xml don't support inputing the script
>> into the "showif" attribute. Is there a way to add a custom DW_enabler?
>> or anyone have other solutions?
> The documentation for the showif attribute lists out all the available
> values for the insert bar. Given that I'm thinking that there isn't an
> exposed way to modify those values, but not certain.
>
> I'm sure others would want that as well, please ask for it:
> [url]http://www.macromedia.com/support/email/wishform/[/url]
>
>
> I would be interested in hearing about your new server model, if you're
> able to talk about it. Offlist is fine.
>
>
> --
> Danilo Celic
> | Extending Knowledge Daily : [url]http://CommunityMX.com/[/url]
> | Team Macromedia for Dreamweaver : [url]http://macromedia.com/go/team/[/url]
andy81 Guest
-
danilocelic *TMM* #4
Re: about Insertbar showif attribute behaviour
andy81 wrote:
Interesting (academically, that is as I'm not into JSP or JSF coding).> I have create a JSF server model. At first I use the JSP server model
> and create a JSF document type. However the updatePageDirective function of
> JSP won't work on JSF document template. so I create a new model based on
> the JSP one. Also JSF page have different preview behaviour.
Based upon conversations with other developers, Server Models are the
hardest of the extension types to get to work correctly. Good luck with
this project.
You'd also have to check when the user switches documents, if they have> There's an idea although the performance would not be good. We can
> backup and modify the insertbar.xml by file IO and call dw.reloadObjects()
> after the user open or create a document.
a HTML file and a JSF documetn open at the same time. Seems to me to be
over kill.
All reloading of extensions pulls in from the configs from what I> Is there any API to change the insert bar object programmatically without
> need to reload from config file?
understand.
One workaround that I would probably end up doing would be to do a check
for you server model type within each of your objects and pop up an
alert if it can't be used with the current document type.
HTH
--
Danilo Celic
| Extending Knowledge, Daily [url]http://CommunityMX.com/[/url]
danilocelic *TMM* Guest



Reply With Quote

