Is there a definitive list of the current flags that may be used in
action-appliesto statements? I know Joe posted something here a while
back (January 2008), but I was hoping for something tech note-shaped.
A Wiki page over at the Forge would be a nice step… http://www.actionsforge.com/wikis
I need a flag, or combination of flags, that means ‘apply this to any
sort of DIV-based element – even an inline DIV – but never a table-
based element, either user-drawn or Freeway-generated’.
Is there a definitive list of the current flags that may be used in
action-appliesto statements? I know Joe posted something here a
while back (January 2008), but I was hoping for something tech note-
shaped. A Wiki page over at the Forge would be a nice step… http://www.actionsforge.com/wikis
I need a flag, or combination of flags, that means ‘apply this to
any sort of DIV-based element – even an inline DIV – but never a
table-based element, either user-drawn or Freeway-generated’.
I will add the interface elements and anything I’ve missed on Monday.
Hope it helps!
Joe
On 31 Jul 2009, at 14:59, Joe Billings wrote:
I’m on it.
Joe
On 31 Jul 2009, at 14:48, Walter Lee Davis wrote:
Is there a definitive list of the current flags that may be used in
action-appliesto statements? I know Joe posted something here a
while back (January 2008), but I was hoping for something tech note-
shaped. A Wiki page over at the Forge would be a nice step… http://www.actionsforge.com/wikis
I need a flag, or combination of flags, that means ‘apply this to
any sort of DIV-based element – even an inline DIV – but never a
table-based element, either user-drawn or Freeway-generated’.
Reading through this, it would seem that there is no specific tag that
would apply to an HTML item that is an inline DIV. Further, I can’t
see a way to indicate “not a table-cell” (whether a Freeway-drawn
layout table cell or a hand-drawn table-tool cell) as a type of item.
That latter is what I really need, and will have to work around with a
function, I think.
It seems like it would be great to have boolean operators in this,
maybe some basic syntax like “action-appliesto form-items !radio-
button” to shortcut “all form items except radio buttons”.
I will add the interface elements and anything I’ve missed on Monday.
Hope it helps!
Joe
On 31 Jul 2009, at 14:59, Joe Billings wrote:
I’m on it.
Joe
On 31 Jul 2009, at 14:48, Walter Lee Davis wrote:
Is there a definitive list of the current flags that may be used
in action-appliesto statements? I know Joe posted something here a
while back (January 2008), but I was hoping for something tech
note-shaped. A Wiki page over at the Forge would be a nice step… http://www.actionsforge.com/wikis
I need a flag, or combination of flags, that means ‘apply this to
any sort of DIV-based element – even an inline DIV – but never a
table-based element, either user-drawn or Freeway-generated’.
Inline div is missing, but if you want to not do a table cell (cell of
a table or table based item) then use layer (you may need to test
this, an/or I may have missed the exact requirements).
Joe
On 31 Jul 2009, at 19:56, Walter Lee Davis wrote:
Thanks, this is a great start.
Reading through this, it would seem that there is no specific tag
that would apply to an HTML item that is an inline DIV. Further, I
can’t see a way to indicate “not a table-cell” (whether a Freeway-
drawn layout table cell or a hand-drawn table-tool cell) as a type
of item. That latter is what I really need, and will have to work
around with a function, I think.
It seems like it would be great to have boolean operators in this,
maybe some basic syntax like “action-appliesto form-items !radio-
button” to shortcut “all form items except radio buttons”.
I will add the interface elements and anything I’ve missed on Monday.
Hope it helps!
Joe
On 31 Jul 2009, at 14:59, Joe Billings wrote:
I’m on it.
Joe
On 31 Jul 2009, at 14:48, Walter Lee Davis wrote:
Is there a definitive list of the current flags that may be used
in action-appliesto statements? I know Joe posted something here
a while back (January 2008), but I was hoping for something tech
note-shaped. A Wiki page over at the Forge would be a nice
step… http://www.actionsforge.com/wikis
I need a flag, or combination of flags, that means ‘apply this to
any sort of DIV-based element – even an inline DIV – but never
a table-based element, either user-drawn or Freeway-generated’.
And by missing, I mean, it’s not available in the API (I’ll file a
request).
Joe
On 31 Jul 2009, at 20:51, Joe Billings wrote:
Inline div is missing, but if you want to not do a table cell (cell
of a table or table based item) then use layer (you may need to test
this, an/or I may have missed the exact requirements).
Joe
On 31 Jul 2009, at 19:56, Walter Lee Davis wrote:
Thanks, this is a great start.
Reading through this, it would seem that there is no specific tag
that would apply to an HTML item that is an inline DIV. Further, I
can’t see a way to indicate “not a table-cell” (whether a Freeway-
drawn layout table cell or a hand-drawn table-tool cell) as a type
of item. That latter is what I really need, and will have to work
around with a function, I think.
It seems like it would be great to have boolean operators in this,
maybe some basic syntax like “action-appliesto form-items !radio-
button” to shortcut “all form items except radio buttons”.
I will add the interface elements and anything I’ve missed on
Monday.
Hope it helps!
Joe
On 31 Jul 2009, at 14:59, Joe Billings wrote:
I’m on it.
Joe
On 31 Jul 2009, at 14:48, Walter Lee Davis wrote:
Is there a definitive list of the current flags that may be used
in action-appliesto statements? I know Joe posted something here
a while back (January 2008), but I was hoping for something tech
note-shaped. A Wiki page over at the Forge would be a nice
step… http://www.actionsforge.com/wikis
I need a flag, or combination of flags, that means ‘apply this
to any sort of DIV-based element – even an inline DIV – but
never a table-based element, either user-drawn or Freeway-
generated’.
I had layer in there, which makes the Action completely avoid any sort
of inline construction. If you have the keyword layer in there, then
you can apply to a DIV, as long as it is drawn on the page or drawn as
a child. If you create that child using Insert > HTML Item, then you
don’t get any joy.
Walter
On Jul 31, 2009, at 3:51 PM, Joe Billings wrote:
Inline div is missing, but if you want to not do a table cell (cell
of a table or table based item) then use layer (you may need to test
this, an/or I may have missed the exact requirements).
fwApplyError() lets you customize the error message that appears in
the Actions palette. It’s used in the CSS Menus Action, check it out.
You essentially allow the Action to be applied to anything and then
check what it’s applied to once it has been applied. Not as elegant
but at least you get some feedback to the user.
Joe
On 31 Jul 2009, at 21:29, Walter Lee Davis wrote:
I had layer in there, which makes the Action completely avoid any
sort of inline construction. If you have the keyword layer in there,
then you can apply to a DIV, as long as it is drawn on the page or
drawn as a child. If you create that child using Insert > HTML Item,
then you don’t get any joy.
Walter
On Jul 31, 2009, at 3:51 PM, Joe Billings wrote:
Inline div is missing, but if you want to not do a table cell (cell
of a table or table based item) then use layer (you may need to
test this, an/or I may have missed the exact requirements).