ActionsDev

7 replies to this thread. Most Recent

Joe Billings

31 Jul 2009, 1:49 pm

Applies-to syntax

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’.

Thanks,

Walter

quote

Joe Billings

Softpress Systems


Freeway: You create, it codes

http://www.softpress.com

Joe Billings

31 Jul 2009, 2:01 pm

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’.

Thanks,

Walter

quote

Joe Billings

Softpress Systems


Freeway: You create, it codes

http://www.softpress.com

Joe Billings

31 Jul 2009, 6:23 pm

Hi guys,

Take a look here:

http://www.actionsforge.com/wikis/view/121-action-elements

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’.

Thanks,

Walter

quote

Joe Billings

Softpress Systems


Freeway: You create, it codes

http://www.softpress.com

waltd

31 Jul 2009, 6:58 pm

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”.

Walter

On Jul 31, 2009, at 2:22 PM, Joe Billings wrote:

Hi guys,

Take a look here:

http://www.actionsforge.com/wikis/view/121-action-elements

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’.

Thanks,

Walter

quote

Freeway user since 1997

http://www.walterdavisstudio.com

Joe Billings

31 Jul 2009, 7:52 pm

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”.

Walter

On Jul 31, 2009, at 2:22 PM, Joe Billings wrote:

Hi guys,

Take a look here:

http://www.actionsforge.com/wikis/view/121-action-elements

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’.

Thanks,

Walter

quote

Joe Billings

Softpress Systems


Freeway: You create, it codes

http://www.softpress.com

Joe Billings

31 Jul 2009, 8:27 pm

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”.

Walter

On Jul 31, 2009, at 2:22 PM, Joe Billings wrote:

Hi guys,

Take a look here:

http://www.actionsforge.com/wikis/view/121-action-elements

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’.

Thanks,

Walter

quote

Joe Billings

Softpress Systems


Freeway: You create, it codes

http://www.softpress.com

waltd

31 Jul 2009, 8:30 pm

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).

quote

Freeway user since 1997

http://www.walterdavisstudio.com

Back to Top

Joe Billings

31 Jul 2009, 9:49 pm

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).

quote

Joe Billings

Softpress Systems


Freeway: You create, it codes

http://www.softpress.com