RE: [flexcoders] Re: creditcard dashboard - for Alistair

2005-04-30 Thread Steven Webster
Craig,

Can I clarify what your setup is here ?

Are you invoking the remote object as an unnamed service ? (eg source=)

Have you removed the named service for the delegate, including the
allow-unnamed-access node.

If you have done both those things, have your source*/source 
configuration in the remote-objects whitelist then you shouldn't be 
having any access problems.

Steven

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Craig Newroth
 Sent: 29 April 2005 19:43
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: creditcard dashboard - for Alistair
 
 I'll try to be more civil Steven...
 so okay let try this ONE more time, as I know that I posted 
 the error that I am getting the first time...

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.4 - Release Date: 27/04/2005
 



 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Re: creditcard dashboard - for Alistair

2005-04-30 Thread Craig Newroth



well, that's the preoblem, I have tried all these and still get the error that I posted...however I will look at them one more time and post resutls...
it's a little frustrating to read the code, understand the code, read the chapters, follow along with them, and yet still not get it to work to 'see' it in actionhumm...
Steven Webster [EMAIL PROTECTED] wrote:
Craig,Can I clarify what your setup is here ?Are you invoking the remote object as an unnamed service ? (eg source="")Have you removed the named service for the delegate, including thenode.If you have done both those things, have your * configuration in the remote-objects whitelist then you shouldn't be having any access problems.Steven -Original Message- From: flexcoders@yahoogroups.com  [mailto:[EMAIL PROTECTED] On Behalf Of Craig Newroth Sent: 29 April 2005 19:43 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: creditcard dashboard - for Alistair  I'll try to be more civil Steven... so okay let try this ONE more time, as I know that I posted  the error that I am getting the first
 time...-- No virus found in this outgoing message.Checked by AVG Anti-Virus.Version: 7.0.308 / Virus Database: 266.10.4 - Release Date: 27/04/2005Yahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Re: creditcard dashboard - for Alistair

2005-04-29 Thread Craig Newroth



Dear MR. WEBSTER:
READ pages that you mention, and READ chapter 21, and I DO UNDERSTAND the concepts of the whitelist VERY well, and I DO have a CLEAR understanding of the mentioned concepts.
Rather than make a smart assed comment like "...it's probably worth making sure you've got a clear understanding of the concepts covered in the relevant and preceeding chapters" or "...and then make sure you understand why that's a woefully insecure way of achieving your short term goal of getting the code to work" and (my favorite), "...if you still don'tunderstand the concept of the whitelist,..."
you could offer a better answer...MY SHORT TERM GOAL IS NOT TO MAKE YOUR CODE WORK, but to see it in action so that I can better understand WHY it is working the way it does and to see if your concepts mentioned in your book can be of use in my own development.
 If that is your understanding of my questions, then please don't answer...I'll figure it out on my own. You have NO idea of how I have my system configured, or where I have placed 'your' code in relation to my install, so making your statements the way you did is just ludicrous. AND Iresent your implication(s) that I don'tUNDERSTAND the concept of what I am doing!BTW...here is what I have in the whitelist and it still don't work smart guy! oh, wait, I forgot, don'tanswer me!
whitelist !-- whitelist config for unnamed objects -- unnamedsourcecom.bng.flex.remoteObject.*/sourcesourcecom.iterationtwo.boe.business.ApplicationDelegate/sourcesourcecom.iterationtwo.boe.business.CreditCardDelegate/sourcesourcecom.iterationtwo.boe.business.Responder/sourcesource*/source !-- For security, the whitelist is locked down by
 default. Uncomment the source element below to enable access to all classes, or add the individual URLs you wish to access. We strongly recommend not allowing access to all source files in production, since this exposes Java and Flex system classes. source*/source --
 /unnamed !-- whitelist config for named objects --namedobject name="ApplicationDelegate"sourcecom.iterationtwo.boe.business.ApplicationDelegate/sourcetypestateless-class/typeallow-unnamed-accessfalse/allow-unnamed-accessuse-custom-authenticationfalse/use-custom-authentication/object/namedSteven Webster [EMAIL PROTECTED] wrote:
 did look at flex-config.mxml... not a clue sorry. CTRL-F (Find) "whitelist" or "remote" or "remote-object in flex-config.xml and you should find the whitelist and the  book it self doesn't seem to explain where or give example  for whitelist..Index at the back. W. Whitelist. Page 685 - "whitelists, overview495-496"On page 495-497, there are 3 pages of clear description of how to set the whitelist for RemoteObject calls, HTTPService calls and WebService calls,and the concept of named services and unnamed services. In fact Chapter 21opens with a section titled "The Flex Whitelist".Before trying to compile the code from the book and get the examplesworking, it's probably worth making sure you've got a clear understandingof the concepts covered in the relevant and preceeding
 chapters. The code is there to underline points in the text, not vice versa.Once you've read through the chapter material, if you still don'tunderstand the concept of the whitelist, go and set*and then make sure you understand why that's a woefully insecureway of achieving your short term goal of getting the code to work.Steven-- No virus found in this outgoing message.Checked by AVG Anti-Virus.Version: 7.0.308 / Virus Database: 266.10.4 - Release Date: 27/04/2005Yahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject
 to:http://docs.yahoo.com/info/terms/__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Re: creditcard dashboard - for Alistair

2005-04-29 Thread Steven Webster





Craig,

On page 576 of the book, the RemoteObject service is 
defined as an unnamed service (using the source="") tag,
which I will presume to be what you have in yoru 
code.

You have placed the service in your whitelist 
(double-check, I presume this is under the remote-objects node) 
as
both an unnamed and named service, so you probably expect 
either named/unnamed services to both work.

However, in your named service block you have allow-unnamed-accessfalse/allow-unnamed-access 


This means that even though you are (I imagine, unless you 
have changed the code from p 576) accessing
the RemoteObject as an unnamed service, your flex-config is 
prohibiting that for this very service.

Make sense ?

If this isn't your issue, then perhaps you could post the 
error message you are receiving ... in 
gateway-config.xml you can turn on a little more debugging 
of events over the wire as well. Your
original email suggested that "...the book doesn't seem to 
explain or give examples for the whitelist..."
which is why I pointed you in my last response to the 
appropriate sections in the book where the
whitelist is explained, and examples given. The more 
specific you can specify the problem you
are having, and the error messages you are receiving, the 
more specific our responses can be.

I hope that the above helps you find the source of your 
problem.

Kindest Regards,

Steven



  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Craig 
  NewrothSent: 29 April 2005 17:27To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: creditcard 
  dashboard - for Alistair
  
  Dear MR. WEBSTER:
  READ pages that you mention, and READ chapter 21, and I DO UNDERSTAND the 
  concepts of the whitelist VERY well, and I DO have a CLEAR understanding of 
  the mentioned concepts.
  Rather than make a smart assed comment like "...it's probably worth 
  making sure you've got a clear understanding of the concepts covered in the 
  relevant and preceeding chapters" or "...and then make sure you 
  understand why that's a woefully insecure way of achieving your short term 
  goal of getting the code to work" and (my favorite), "...if you 
  still don'tunderstand the concept of the whitelist,..."
  you could offer a better answer...MY SHORT TERM GOAL IS NOT TO MAKE YOUR 
  CODE WORK, but to see it in action so that I can better understand WHY it is 
  working the way it does and to see if your concepts mentioned in your book can 
  be of use in my own development.
   If that is your understanding of my questions, 
  then please don't answer...I'll figure it out on my own. You have NO idea of 
  how I have my system configured, or where I have placed 'your' code in 
  relation to my install, so making your statements the way you did is just 
  ludicrous. AND Iresent your implication(s) that I don'tUNDERSTAND 
  the concept of what I am doing!BTW...here is what I have in the 
  whitelist and it still don't work smart guy! oh, wait, I forgot, 
  don'tanswer me!
  whitelist 
  !-- whitelist config for unnamed objects 
  -- 
  unnamedsourcecom.bng.flex.remoteObject.*/sourcesourcecom.iterationtwo.boe.business.ApplicationDelegate/sourcesourcecom.iterationtwo.boe.business.CreditCardDelegate/sourcesourcecom.iterationtwo.boe.business.Responder/sourcesource*/source 
  !-- 
  For security, the whitelist is locked down by 
  default. 
  Uncomment the source element below to enable access to all 
  classes, 
  or add the individual URLs you wish to 
  access. 
  We strongly recommend not allowing access to all source 
  files 
  in production, since this exposes Java and Flex system 
  classes. 
  source*/source 
  -- 
  /unnamed 
  !-- whitelist config for named objects 
  --namedobject 
  name="ApplicationDelegate"sourcecom.iterationtwo.boe.business.ApplicationDelegate/sourcetypestateless-class/typeallow-unnamed-accessfalse/allow-unnamed-accessuse-custom-authenticationfalse/use-custom-authentication/object/named







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.4 - Release Date: 27/04/2005
 


RE: [flexcoders] Re: creditcard dashboard - for Alistair

2005-04-29 Thread Craig Newroth
I'll try to be more civil Steven...
so okay let try this ONE more time, as I know that I
posted the error that I am getting the first time...

 onFault Client.NotAllowed You are not allowed to
access the service
com.iterationtwo.boe.business.ApplicationDelegate. 
The service is not in the configured whitelist.

I have tried to place an instance of this in every
flex-config.xml file that I can find, and have used,
source*/source (even though I know about the
security) just to make it work to no avail...that is
why i posted the question in the first place...
I have enjoyed your book and learned quite alot from
it, so i cannot understand why this is not working out
of the box so to speak...just about everything else
has (with the exception of the chart thing - thank god
for grep and global replace)
Craig


--- Steven Webster [EMAIL PROTECTED]
wrote:

 Craig,
  
 On page 576 of the book, the RemoteObject service is
 defined as an unnamed
 service (using the source=) tag,
 which I will presume to be what you have in yoru
 code.
  
 You have placed the service in your whitelist
 (double-check, I presume this
 is under the remote-objects node) as
 both an unnamed and named service, so you probably
 expect either
 named/unnamed services to both work.
  
 However, in your named service block you have
 allow-unnamed-accessfalse/allow-unnamed-access 
  
 This means that even though you are (I imagine,
 unless you have changed the
 code from p 576) accessing
 the RemoteObject as an unnamed service, your
 flex-config is prohibiting that
 for this very service.
  
 Make sense ?
  
 If this isn't your issue, then perhaps you could
 post the error message you
 are receiving ... in 
 gateway-config.xml you can turn on a little more
 debugging of events over
 the wire as well.  Your
 original email suggested that ...the book doesn't
 seem to explain or give
 examples for the whitelist...
 which is why I pointed you in my last response to
 the appropriate sections
 in the book where the
 whitelist is explained, and examples given.  The
 more specific you can
 specify the problem you
 are having, and the error messages you are
 receiving, the more specific our
 responses can be.
  
 I hope that the above helps you find the source of
 your problem.
  
 Kindest Regards,
  
 Steven
  
  
 
 
_  
 
 From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Craig Newroth
 Sent: 29 April 2005 17:27
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: creditcard dashboard -
 for Alistair
 
 
 Dear MR. WEBSTER:
 READ pages that you mention, and READ chapter 21,
 and I DO UNDERSTAND the
 concepts of the whitelist VERY well, and I DO have a
 CLEAR understanding of
 the mentioned concepts.
 Rather than make a smart assed comment like ...it's
 probably worth making
 sure you've got a clear understanding of the
 concepts covered in the
 relevant and preceeding chapters or ...and
 then make sure you
 understand why that's a woefully insecure way of
 achieving your short term
 goal of getting the code to work and (my
 favorite), ...if you still
 don't
 understand the concept of the whitelist,...
 you could offer a better answer...MY SHORT TERM GOAL
 IS NOT TO MAKE YOUR
 CODE WORK, but to see it in action so that I can
 better understand WHY it is
 working the way it does and to see if your concepts
 mentioned in your book
 can be of use in my own development.
  If that is your understanding of my questions,
 then please don't
 answer...I'll figure it out on my own. You have NO
 idea of how I have my
 system configured, or where I have placed 'your'
 code in relation to my
 install, so making your statements the way you did
 is just ludicrous. AND I
 resent your implication(s) that I don't UNDERSTAND
 the concept of what I am
 doing! 
 BTW...here is what I have in the whitelist and it
 still don't work smart
 guy! oh, wait, I forgot, don't answer me!
 whitelist
 !-- whitelist config for unnamed
 objects --
 unnamed
 sourcecom.bng.flex.remoteObject.*/source


sourcecom.iterationtwo.boe.business.ApplicationDelegate/source


sourcecom.iterationtwo.boe.business.CreditCardDelegate/source


sourcecom.iterationtwo.boe.business.Responder/source
 source*/source
 !--
 For security, the whitelist is
 locked down by default.
 Uncomment the source element below
 to enable access to all
 classes,
 or add the individual URLs you wish
 to access.
 We strongly recommend not allowing
 access to all source
 files
 in production, since this exposes
 Java and Flex system
 classes.
 source*/source
 --
 /unnamed
 !-- whitelist config for named objects
 --
named
 object name=ApplicationDelegate


sourcecom.iterationtwo.boe.business.ApplicationDelegate/source
 typestateless-class/type

 allow-unnamed

RE: [flexcoders] Re: creditcard dashboard - for Alistair

2005-04-28 Thread Tracy Spratt
Look at flex-config.xml itself. It has extensive explanatory comments
and examples.  There is also the documentation.
Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of cnewroth55
Sent: Thursday, April 28, 2005 1:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: creditcard dashboard - for Alistair

okay, so I changed all the 'chart' references to just mx: and
that seems to work, but now when it starts I get...
onFault Client.NotAllowed You are not allowed to access the service
com.iterationtwo.boe.business.Application Delegate. THe service is not
in the configured whitelist. 
so I know I need to put that path' in the whitelist, just not sure of
syntax or place in flex.config...can you provide example...
Craig

--- In flexcoders@yahoogroups.com, Alistair McLeod [EMAIL PROTECTED]
wrote:
 Hi,
 
 The book was written before the charts were added to Flex 1.5, so the
 namespace is now different - use the mx namespace for all the charts
code.
 You should also check the Flex 1.5 documentation for the actual
chart usage
 - the book was published before Flex 1.5 was released and the chart
APIs may
 have changed in the interim.
 
 Cheers,
 
 Ali
 
 
 --
 Alistair McLeod
 Development Director
 iteration::two
 [EMAIL PROTECTED]
  
 Office:  +44 (0)131 338 6108
  
 This e-mail and any associated attachments transmitted with it may
contain
 confidential information and must not be copied, or disclosed, or
used by
 anyone other than the intended recipient(s). If you are not the
intended
 recipient(s) please destroy this e-mail, and any copies of it,
immediately.
  
 Please also note that while software systems have been used to try
to ensure
 that this e-mail has been swept for viruses, iteration::two do not
accept
 responsibility for any damage or loss caused in respect of any viruses
 transmitted by the e-mail. Please ensure your own checks are carried
out
 before any attachments are opened.
  
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of cnewroth55
 Sent: 28 April 2005 13:16
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] creditcard dashboard - for Alistair
 
 Alistair McLeod:
  I am trying to get chapters 22-25 to run. THe creditcard
dashboard, and
 have had to change a few of the name space things, but this one has me
 stumped, in the file SalesByCard (folder charts) you reference an
xlmns of
 (well see code)to the url at mm, this does not exist. how do I change
so
 that this error does not happen when I run the dashboard...
 (errors below code snippet)
 
 mx:Panel xmlns:mx=http://www.macromedia.com/2003/mxml;
  xmlns:chart=http://www.macromedia.com/2004/charts;
  xmlns:i2View=views.*
  title=Bank of Edinburgh Credit Card - Application Dashboard 
 
  Errors I am getting *** Error
 /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:82
 Namespace http://www.macromedia.com/2004/charts has not been
associated with
 component manifest.
 
 Error /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:82
 Don't know how to parse element
 http://www.macromedia.com/2004/charts:ColumnChart;. It is not a
known type
 or a property of mx.containers.VBox.
 
 Error
/flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:112
 Namespace http://www.macromedia.com/2004/charts has not been
associated with
 component manifest.
 
 Error
/flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:112
 Don't know how to parse element
 http://www.macromedia.com/2004/charts:PieChart;. It is not a known
type or
 a property of mx.containers.VBox.
 
 Error
/flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:139
 Namespace http://www.macromedia.com/2004/charts has not been
associated with
 component manifest.
 
 Error
/flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:139
 Don't know how to parse element
 http://www.macromedia.com/2004/charts:LineChart;. It is not a known
type or
 a property of mx.containers.HBox.
 
 Error
/flexbook/flexbook/Chapters22-25/flex/creditCardDashboard.mxml:56
 Don't know how to parse element charts.*:SalesByCard. It is not a
known
 type or a property of mx.containers.ViewStack.
 
 Error
/flexbook/flexbook/Chapters22-25/flex/creditCardDashboard.mxml:60
 Don't know how to parse element
 http://www.macromedia.com/2003/mxml:HBox;. It is not a known type or
a
 property of mx.core.Application.
 
 Error
/flexbook/flexbook/Chapters22-25/flex/creditCardDashboard.mxml:66
 Don't know how to parse element services.*:Services. It is not a
known
 type or a property of mx.core.Application.
 
 Thanks,
 Craig
 
 
 
 
 
 
  
 Yahoo! Groups Links





 
Yahoo! Groups Links



 







 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com

RE: [flexcoders] Re: creditcard dashboard - for Alistair

2005-04-28 Thread Tracy Spratt
Did you see/try this (from flex-config.xml)?
   !--
   For security, the whitelist is locked down by default.
   Uncomment the first two urls below to enable access to all
URLs,
   or the last two urls to enable access to the local server,
   or add above the individual URLs you wish to access.
   --

And here is an unnamed example:
urlhttp://www.webservicex.net/*/url

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of cnewroth55
Sent: Thursday, April 28, 2005 2:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: creditcard dashboard - for Alistair

did look at flex-config.mxml... not a clue sorry. and the book it self
doesn't seem to explain where or give example for whitelist..

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
 Look at flex-config.xml itself. It has extensive explanatory comments
 and examples.  There is also the documentation.
 Tracy
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of cnewroth55
 Sent: Thursday, April 28, 2005 1:06 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: creditcard dashboard - for Alistair
 
 okay, so I changed all the 'chart' references to just mx: and
 that seems to work, but now when it starts I get...
 onFault Client.NotAllowed You are not allowed to access the service
 com.iterationtwo.boe.business.Application Delegate. THe service is not
 in the configured whitelist. 
 so I know I need to put that path' in the whitelist, just not sure of
 syntax or place in flex.config...can you provide example...
 Craig
 
 --- In flexcoders@yahoogroups.com, Alistair McLeod [EMAIL PROTECTED]
 wrote:
  Hi,
  
  The book was written before the charts were added to Flex 1.5, so
the
  namespace is now different - use the mx namespace for all the charts
 code.
  You should also check the Flex 1.5 documentation for the actual
 chart usage
  - the book was published before Flex 1.5 was released and the chart
 APIs may
  have changed in the interim.
  
  Cheers,
  
  Ali
  
  
  --
  Alistair McLeod
  Development Director
  iteration::two
  [EMAIL PROTECTED]
   
  Office:  +44 (0)131 338 6108
   
  This e-mail and any associated attachments transmitted with it may
 contain
  confidential information and must not be copied, or disclosed, or
 used by
  anyone other than the intended recipient(s). If you are not the
 intended
  recipient(s) please destroy this e-mail, and any copies of it,
 immediately.
   
  Please also note that while software systems have been used to try
 to ensure
  that this e-mail has been swept for viruses, iteration::two do not
 accept
  responsibility for any damage or loss caused in respect of any
viruses
  transmitted by the e-mail. Please ensure your own checks are carried
 out
  before any attachments are opened.
   
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On
  Behalf Of cnewroth55
  Sent: 28 April 2005 13:16
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] creditcard dashboard - for Alistair
  
  Alistair McLeod:
   I am trying to get chapters 22-25 to run. THe creditcard
 dashboard, and
  have had to change a few of the name space things, but this one has
me
  stumped, in the file SalesByCard (folder charts) you reference an
 xlmns of
  (well see code)to the url at mm, this does not exist. how do I
change
 so
  that this error does not happen when I run the dashboard...
  (errors below code snippet)
  
  mx:Panel xmlns:mx=http://www.macromedia.com/2003/mxml;
   xmlns:chart=http://www.macromedia.com/2004/charts;
   xmlns:i2View=views.*
   title=Bank of Edinburgh Credit Card - Application Dashboard 
  
   Errors I am getting *** Error
  /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:82
  Namespace http://www.macromedia.com/2004/charts has not been
 associated with
  component manifest.
  
  Error
/flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:82
  Don't know how to parse element
  http://www.macromedia.com/2004/charts:ColumnChart;. It is not a
 known type
  or a property of mx.containers.VBox.
  
  Error
 /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:112
  Namespace http://www.macromedia.com/2004/charts has not been
 associated with
  component manifest.
  
  Error
 /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:112
  Don't know how to parse element
  http://www.macromedia.com/2004/charts:PieChart;. It is not a known
 type or
  a property of mx.containers.VBox.
  
  Error
 /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:139
  Namespace http://www.macromedia.com/2004/charts has not been
 associated with
  component manifest.
  
  Error
 /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:139
  Don't know how to parse element
  http://www.macromedia.com/2004/charts:LineChart

RE: [flexcoders] Re: creditcard dashboard - for Alistair

2005-04-28 Thread Steven Webster
 did look at flex-config.mxml... not a clue sorry. 

CTRL-F (Find) whitelist or remote or remote-object in 
flex-config.xml and you should find the remote-objects whitelist

 and the 
 book it self doesn't seem to explain where or give example 
 for whitelist..

Index at the back.  W.  Whitelist.  Page 685 - whitelists, overview
495-496

On page 495-497, there are 3 pages of clear description of how to set the 
whitelist for RemoteObject calls, HTTPService calls and WebService calls,
and the concept of named services and unnamed services.  In fact Chapter 21
opens with a section titled The Flex Whitelist.

Before trying to compile the code from the book and get the examples
working, it's probably worth making sure you've got a clear understanding
of the concepts covered in the relevant and preceeding chapters.  

The code is there to underline points in the text, not vice versa.

Once you've read through the chapter material, if you still don't
understand the concept of the whitelist, go and set

remote-objects
  whitelist
unnamed
  source*/source

and then make sure you understand why that's a woefully insecure
way of achieving your short term goal of getting the code to work.

Steven


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.4 - Release Date: 27/04/2005
 



 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Re: creditcard dashboard - for Alistair

2005-04-28 Thread Jesus Salvador Ramos Cardona










Depending on the origin
of your service, look for a web-service-proxy, http-service-proxy,
remote-object-proxy.

Inside of each you will
find a whitelist in which youll need to specify the origin of
your services, either named or unnamed.



Reply if u need more
help.



J.











De:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de cnewroth55
Enviado el: Jueves, 28 de Abril de
2005 01:46 pm
Para: flexcoders@yahoogroups.com
Asunto: [flexcoders] Re:
creditcard dashboard - for Alistair
Importancia: Alta





did look at flex-config.mxml... not a clue sorry. and the book it self
doesn't seem to explain where or give example for
whitelist..

--- In flexcoders@yahoogroups.com, Tracy
Spratt [EMAIL PROTECTED] wrote:
 Look at flex-config.xml itself. It has
extensive explanatory comments
 and examples. There is also the
documentation.
 Tracy
 
 -Original Message-
 From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
 Behalf Of cnewroth55
 Sent: Thursday, April 28, 2005 1:06 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: creditcard
dashboard - for Alistair
 
 okay, so I changed all the 'chart' references
to just mx: and
 that seems to work, but now when it starts I
get...
 onFault Client.NotAllowed You are not
allowed to access the service
 com.iterationtwo.boe.business.Application
Delegate. THe service is not
 in the configured whitelist. 
 so I know I need to put that path' in
the whitelist, just not sure of
 syntax or place in flex.config...can you
provide example...
 Craig
 
 --- In flexcoders@yahoogroups.com,
Alistair McLeod [EMAIL PROTECTED]
 wrote:
  Hi,
  
  The book was written before the charts
were added to Flex 1.5, so the
  namespace is now different - use the mx
namespace for all the charts
 code.
  You should also check the Flex 1.5
documentation for the actual
 chart usage
  - the book was published before Flex 1.5
was released and the chart
 APIs may
  have changed in the interim.
  
  Cheers,
  
  Ali
  
  
  --
  Alistair McLeod
  Development Director
  iteration::two
  [EMAIL PROTECTED]
  
  Office: +44 (0)131 338 6108
  
  This e-mail and any associated
attachments transmitted with it may
 contain
  confidential information and must not be
copied, or disclosed, or
 used by
  anyone other than the intended
recipient(s). If you are not the
 intended
  recipient(s) please destroy this e-mail,
and any copies of it,
 immediately.
  
  Please also note that while software
systems have been used to try
 to ensure
  that this e-mail has been swept for
viruses, iteration::two do not
 accept
  responsibility for any damage or loss
caused in respect of any viruses
  transmitted by the e-mail. Please ensure
your own checks are carried
 out
  before any attachments are opened.
  
  
  -Original Message-
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]
 On
  Behalf Of cnewroth55
  Sent: 28 April 2005 13:16
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] creditcard
dashboard - for Alistair
  
  Alistair McLeod:
  I am
trying to get chapters 22-25 to run. THe creditcard
 dashboard, and
  have had to change a few of the name
space things, but this one has me
  stumped, in the file SalesByCard (folder
charts) you reference an
 xlmns of
  (well see code)to the url at mm, this
does not exist. how do I change
 so
  that this error does not happen when I
run the dashboard...
  (errors below code snippet)
  
  mx:Panel xmlns:mx=http://www.macromedia.com/2003/mxml
  xmlns:chart=http://www.macromedia.com/2004/charts
  xmlns:i2View=views.*
  title=Bank of Edinburgh
Credit Card - Application Dashboard 
  
   Errors I am getting ***
Error
 
/flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:82
  Namespace http://www.macromedia.com/2004/charts
has not been
 associated with
  component manifest.
  
  Error
/flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:82
  Don't know how to parse element
  http://www.macromedia.com/2004/charts:ColumnChart.
It is not a
 known type
  or a property of mx.containers.VBox.
  
  Error
 /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:112
  Namespace http://www.macromedia.com/2004/charts
has not been
 associated with
  component manifest.
  
  Error
 /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:112
  Don't know how to parse element
  http://www.macromedia.com/2004/charts:PieChart.
It is not a known
 type or
  a property of mx.containers.VBox.
  
  Error

/flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:139
  Namespace http://www.macromedia.com/2004/charts
has not been
 associated with
  component manifest.
  
  Error

/flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:139
  Don't know how to parse element
  http://www.macromedia.com/2004/charts:LineChart.
It is not a known
 type or
  a property of mx.containers.HBox.
  
  Error

/flexbook/flexbook/Chapters22-25/flex/creditCardDashboard.mxml:56
  Don't know