cfformgroup page: changing enabled-attribute

2005-03-24 Thread Sebastian Mork
Hi,

I read, in a flashform a page (inside a tabnavigator) doesn't accept an
ID/cannot be accessed by an ID. 
(http://www.mail-archive.com/cf-talk@houseoffusion.com/msg211338.html)

Does anybody know a way how to access a page in a different way (using the
indexNo for example)

eg I've a tabnav with 3 pages

  
  
  


now, (using the onClick event of a button), I change the selectedIndex of the
tabnavigator saying tabnav.selectedIndex=2;

is there a way to access the enabled attribute of the pages?
like saying something like tabnav(2).enabled=true;??

thx
-- 
Sebastian Mork <[EMAIL PROTECTED]>


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199869
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cfformgroup page: changing enabled-attribute

2005-03-24 Thread Sebastian Mork
Got an answer from the german cfug mailingList: 
http://de.groups.yahoo.com/group/cf-discussion/message/22108
--
Sebastian Mork
[EMAIL PROTECTED]
--

On Thu, 24 Mar 2005 13:02:58 +0100
Sebastian Mork <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I read, in a flashform a page (inside a tabnavigator) doesn't accept an
> ID/cannot be accessed by an ID. 
> (http://www.mail-archive.com/cf-talk@houseoffusion.com/msg211338.html)
> 
> Does anybody know a way how to access a page in a different way (using the
> indexNo for example)
> 
> eg I've a tabnav with 3 pages
> 
> 
> 
> 
> 
> 
> now, (using the onClick event of a button), I change the selectedIndex of the
> tabnavigator saying tabnav.selectedIndex=2;
> 
> is there a way to access the enabled attribute of the pages?
> like saying something like tabnav(2).enabled=true;??
> 
> thx
> -- 
> Sebastian Mork <[EMAIL PROTECTED]>
> 
> 
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199872
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


escaping reserved words in flash forms

2005-04-25 Thread Sebastian Mork
Hi,

how can I use reserved words in flash forms+actionscript?

e.g. I've a button in a flash form with the tooltip-attribute 'delete
message'

this throws an error (illegal usage of actionscript, because 'delete' is
a reserved word)

In my (machII-)app I use a database to retrieve the values needed for
form-controls. Now I want to change my filter that stores the 'formVocals'
in a struct to escaping the 'formVocals' before storing in a structure.

But, how does escaping in actionscript work, some kind of using
backslashes as in regEx&js? 

thanks
-- 
Sebastian Mork <[EMAIL PROTECTED]>


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204323
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: escaping reserved words in flash forms

2005-04-25 Thread Sebastian Mork
Hi,

hmm, but I don't get it working. e.g.

throws an error; trying to escape it this way: \delete doesn't work,too.

or, how is this done?? (strangely)

--
Sebastian Mork
[EMAIL PROTECTED]
--

On Mon, 25 Apr 2005 14:45:57 -0400
Dave Watts <[EMAIL PROTECTED]> wrote:

> > But, how does escaping in actionscript work, some kind of 
> > using backslashes as in regEx&js?
> 
> Yes, the backslash character is the escape metacharacter in ECMAScript
> languages.
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> 
> Fig Leaf Software provides the highest caliber vendor-authorized 
> instruction at our training centers in Washington DC, Atlanta, 
> Chicago, Baltimore, Northern Virginia, or on-site at your location. 
> Visit http://training.figleaf.com/ for more information!
> 
> 
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204332
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: escaping reserved words in flash forms

2005-04-25 Thread Sebastian Mork
does nobody know this problem? I thought it's very usual..
--
Sebastian Mork
[EMAIL PROTECTED]
--

On Mon, 25 Apr 2005 20:59:16 +0200
Sebastian Mork <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> hmm, but I don't get it working. e.g.
> 
> throws an error; trying to escape it this way: \delete doesn't work,too.
> 
> or, how is this done?? (strangely)
> 
> --
> Sebastian Mork
> [EMAIL PROTECTED]
> --
> 
> On Mon, 25 Apr 2005 14:45:57 -0400
> Dave Watts <[EMAIL PROTECTED]> wrote:
> 
> > > But, how does escaping in actionscript work, some kind of 
> > > using backslashes as in regEx&js?
> > 
> > Yes, the backslash character is the escape metacharacter in ECMAScript
> > languages.
> > 
> > Dave Watts, CTO, Fig Leaf Software
> > http://www.figleaf.com/
> > 
> > Fig Leaf Software provides the highest caliber vendor-authorized 
> > instruction at our training centers in Washington DC, Atlanta, 
> > Chicago, Baltimore, Northern Virginia, or on-site at your location. 
> > Visit http://training.figleaf.com/ for more information!
> > 
> > 
> > 
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204367
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Flash Form as function like js confirm

2005-04-25 Thread Sebastian Mork
Hi,

how about going this way:

{
alert('sure??','title',mx.controls.Alert.YES|mx.controls.Alert.CANCEL);
submitForm();
}
e.g.call it onSubmit of the form


--
Sebastian Mork
[EMAIL PROTECTED]
--

On Mon, 25 Apr 2005 19:12:27 -0500
"Ken Ferguson" <[EMAIL PROTECTED]> wrote:

> I've got my flash form working all nicely, but now I'm wanting a submit
> button which will pop up a js confim-like alert box. I can't seem to get
> it all worked out right.
> 
>  height="175">
>
>
>
> 
> 
> Using this sort of thing, I can make sure my alert has both buttons
> available and the form never submits, but I've no way to actually let
> the user choose yes or no and have that determine whether I return true
> or false. I've tried removing the "return false" bit, but then it just
> flashes the alert box as it submits.
> 
> 
> Any ideas would be helpful!
> --Ferg
> 
> 
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204394
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Flash Form as function like js confirm

2005-04-25 Thread Sebastian Mork
hmm sorry, just tested it, the form is submitted, too if you click the
cancel (or no button)

--
Sebastian Mork
[EMAIL PROTECTED]
--

On Mon, 25 Apr 2005 19:12:27 -0500
"Ken Ferguson" <[EMAIL PROTECTED]> wrote:

> I've got my flash form working all nicely, but now I'm wanting a submit
> button which will pop up a js confim-like alert box. I can't seem to get
> it all worked out right.
> 
>  height="175">
>
>
>
> 
> 
> Using this sort of thing, I can make sure my alert has both buttons
> available and the form never submits, but I've no way to actually let
> the user choose yes or no and have that determine whether I return true
> or false. I've tried removing the "return false" bit, but then it just
> flashes the alert box as it submits.
> 
> 
> Any ideas would be helpful!
> --Ferg
> 
> 
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204395
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


search in mysql-table, except tags

2005-05-16 Thread Sebastian Mork
Hi,

I've a problem.
In a mysql-db I've a table where some html-content is stored.

Now, I want to provide a search function that searches in these fields.

But how can I tell mysql (using a regEx-pattern) to except tags in the
search.

I think of doing something like this
select 
tbl_name.fld_name as test
where 
replace(tbl_name.fld_name, '<[^>]*>', '') like '%#mySearchString#%'

but the mysql-replace-function does not accept regular expressions..
hmm, has anybody an idea?

-- 
Sebastian Mork <[EMAIL PROTECTED]>


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206771
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: search in mysql-table, except tags

2005-05-16 Thread Sebastian Mork
hi barney,

thx for the idea:) why not..

--
Sebastian Mork
[EMAIL PROTECTED]
--

On Mon, 16 May 2005 09:50:30 -0700
Barney Boisvert <[EMAIL PROTECTED]> wrote:

> Strip the HTML on insert and store the plain text in a separate field.
>  Then create a fulltext index on it (if you're using MyISAM tables),
> and do your searches against that plaintext field.
> 
> cheers,
> barneyb
> 
> On 5/16/05, Sebastian Mork <[EMAIL PROTECTED]> wrote:
> > Hi,
> > 
> > I've a problem.
> > In a mysql-db I've a table where some html-content is stored.
> > 
> > Now, I want to provide a search function that searches in these fields.
> > 
> > But how can I tell mysql (using a regEx-pattern) to except tags in the
> > search.
> > 
> > I think of doing something like this
> > select
> > tbl_name.fld_name as test
> > where
> > replace(tbl_name.fld_name, '<[^>]*>', '') like '%#mySearchString#%'
> > 
> > but the mysql-replace-function does not accept regular expressions..
> > hmm, has anybody an idea?
> > 
> > --
> > Sebastian Mork <[EMAIL PROTECTED]>
> 
> 
> -- 
> Barney Boisvert
> [EMAIL PROTECTED]
> 360.319.6145
> http://www.barneyb.com/
> 
> Got Gmail? I have 50 invites.
> 
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206775
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54