waltd
(Walter Davis)
April 13, 2012, 1:26pm
1
Is there a flag for appliesto that restricts the Action to only apply to inline elements? I didn’t see one in the Wiki page. http://actionsforge.com/wikis/view/121-action-elements
Is this a case where you’d have to do a fwInterface loop and show an error?
Walter
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
Tim3
(Tim)
April 13, 2012, 2:24pm
2
Hi Walter,
I don’t think there is anyway to check for this using the appliesto attribute although you can throw an error using fwApplyError.
Here’s a very basic example;
http://www.freewayactions.com/code/?f=Inflow-div-check.fwaction
Regards,
Tim.
On 13 Apr 2012, at 14:26, Walter Lee Davis wrote:
Is there a flag for appliesto that restricts the Action to only apply to inline elements? I didn’t see one in the Wiki page. http://actionsforge.com/wikis/view/121-action-elements
Is this a case where you’d have to do a fwInterface loop and show an error?
FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com
FreewayStyle.com - Free Freeway templates and parts to download, use and explore - http://www.freewaystyle.com
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
waltd
(Walter Davis)
April 13, 2012, 3:45pm
3
Thanks. This whole area of the API needs some more thought, I think. A rationalization of language would go a long way, as would the inclusion of more nouns and verbs.
Walter
On Apr 13, 2012, at 10:24 AM, Tim Plumb wrote:
Hi Walter,
I don’t think there is anyway to check for this using the appliesto attribute although you can throw an error using fwApplyError.
Here’s a very basic example;
http://www.freewayactions.com/code/?f=Inflow-div-check.fwaction
Regards,
Tim.
On 13 Apr 2012, at 14:26, Walter Lee Davis wrote:
Is there a flag for appliesto that restricts the Action to only apply to inline elements? I didn’t see one in the Wiki page. http://actionsforge.com/wikis/view/121-action-elements
Is this a case where you’d have to do a fwInterface loop and show an error?
FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com
FreewayStyle.com - Free Freeway templates and parts to download, use and explore - http://www.freewaystyle.com
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
Hi walter as a shot in the dark can’t you just use
if (fwItem.fwIsInlined) {
I used the above in one of the webyep action to check to see if something was an inline item or not.
not sure this helps
all the best max
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
waltd
(Walter Davis)
April 14, 2012, 3:37pm
5
Thanks, that’s more or less what Tim was suggesting. I haven’t integrated it yet.
Walter
On Apr 14, 2012, at 6:36 AM, max wrote:
Hi walter as a shot in the dark can’t you just use
if (fwItem.fwIsInlined) {
I used the above in one of the webyep action to check to see if something was an inline item or not.
not sure this helps
all the best max
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options