[flexcoders] ComboBOx

2005-06-02 Thread nithya karthik



hai,
 I have  a combobox with 3 items. on selecting an item I want the viewstack beneath it to change from one view to another. Pls help me with code for this. 
thanks,
nithyaSend instant messages to your online friends http://uk.messenger.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.










[flexcoders] Re: Invisible data points in line series

2005-06-02 Thread svktiilikainen
Hi Ely,
I have tried a quick-and-dirty implementation, just assigning some 
pointrenderer to the LineSeries object and defining the pointRadius 
and pointFill properties of the LineSeries, and this did not work. The 
datapoint remained invisible. 
Interestingly, since I use a tool tip for each datapoint, the tool tip 
is displayed if I move the mouse around the invisible data point. So 
you have to know there is a point to look for the tool tip.. 
I'll probably make the LineSeries draw the line by setting two very 
close values for the line when there actually is only one value. This 
works just fine.

Satu 






 
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/
 




[flexcoders] Cairngorm .99 + VOs + DataBinding

2005-06-02 Thread dave buhler



I have a question about best practices and methodologies dealing with the ValueObjects.

Let's say I have my command class as follows:

   public function onResult( event : Object ) : Void
   {
         ModelLocator.workflowState = ModelLocator.VIEWING_MANAGER_SCREEN;
           
         var viewHelper = ViewLocator.getInstance().getViewHelper( "managerViewHelper" );
     viewHelper.setManagerForm(event.result);
   }

I then have my respective VO:

import org.nevis.cairngorm.vo.ValueObject;

class com.mydomain.admin.vo.ManagerVO implements ValueObject
{    
    public var ID : Number;
    public var firstName;
    public var lastName;

    
    public static var registered:Boolean = Object.registerClass( "com.mydomain.admin.vo.
ManagerVO", Manager
VO );

}

and then we have my viewHelper

    public function setManagerForm ( result : Object ) : Void
    {
        view.tiFirstName.text = result.FIRSTNAME;
        view.tiLastName.text  = result.LASTNAME;

    }


  Should
I set the ValueObject by calling it from the onResult handler. Is there
a more direct way to set and populate values in both the form AND the
VO? Right now, I'm calling the Helper and I somehow think I'm missing
something with the VO

  Should
I include the MX Databinding (do i have to?) and if so, should I
include it in the VO class or as part of the viewHelper class?
  Should
I set and get individual fields (firstname, lastname, email) or should
I use one big function that acts as a setter and getter for a whole
form to populate the VO?
  Is
it better to set the VOs inline (ex: text={delegate.setFirstName
(vo.firstname)} or should I call a function that gets and sets the
values?


Dave









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.










[flexcoders] Datagrid cellrenderer

2005-06-02 Thread nithya karthik



hai,
   I want to have two buttons in a column of a datagrid. How to do that with the help of a cell renederer. please help with the code..
 
thanks,
nithyaSend instant messages to your online friends http://uk.messenger.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] SOT: Flex Developer wanted in Atlanta

2005-06-02 Thread dave buhler



And Tracy

Atlanta is a haven!On 6/2/05, dave buhler <[EMAIL PROTECTED]> wrote:
And I'd be near Jesse!










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] SOT: Flex Developer wanted in Atlanta

2005-06-02 Thread dave buhler



And I'd be near Jesse!








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] SOT: Flex Developer wanted in Atlanta

2005-06-02 Thread dave buhler



Hi Jeremy,

I meet all of your qualifications :) 

Let me know if you're still looking for a Flex/CF developer. I'm in Jacksonville, FL.

Best,
DaveOn 4/1/05, Jeremy Bruck <[EMAIL PROTECTED]> wrote:




  




MfgQuote
(www.MfgQuote.com) is looking for another CFMX & Macromedia
Flex developer to join the team.  Applicants should have used Flex for
the past 6 months minimum, and ColdFusion for the last
2-3 years.  Must be very good with CFCs.  Prefer those
that have used Mach-II in production.    A working knowledge of the
flex cairngorm framework is good as well.  Expertise in SQL
and _javascript_ is also required.
 
Please send your resume, code samples and salary request to
[EMAIL PROTECTED].  We would prefer someone in Atlanta or those willing
to relocate to Atlanta.  Depending on skill set & situation we
would be accept a commuter (travel to Atlanta 1-2 week(s)/month would
be required).

Please NO recruiters!

Thanks,
Jeremy









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.























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: Cairngorm .99 + Flex-Config + Services.mxml

2005-06-02 Thread dave buhler



I tried multiple configurations and had no success when trying to
configure the files again. Each time, I got the same error as I have
since Monday.  I'm moving on and will wait until documentation emerges from MM on how this is to be configured.

Thanks for your help,
Dave








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] RIAs

2005-06-02 Thread David Mendels





Hi,
 
I can't recall exactly.  There was a group of us 
debating the company product strategy and vision under the code name "Trinity" 
in mid to late 2001.  Jeremy Allaire, Kevin Lynch, Adam Berry, Tom Hale, 
Mike Sundermeyer, Jon Gay, and myself were all on the threads 
(apologies to folks I may have left off).  We considered a lot of phrases 
in that period.  I remember Adam saying "you can never be too rich or too 
thin" and pushing for Rich Thin Client.  Others liked "Rich Client 
application" or "Smart Client application." I can't say exactly which of us 
first uttered "Rich Internet Application" or when it stuck.  If I had to 
guess, Adam probably made it stick.  But that would be an educated guess 
only at this stageseveral million emails and conversations have passed since 
then :)
 
-David
 
 

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  JesterXLSent: Thursday, June 02, 2005 2:32 PMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] 
  RIAs
  
  I reckon it was Jeremy Allaire:
   
  http://www.markme.com/jd/archives/005423.cfm
   
  Can't corraborate that, though.
   
  ???
   
   
  - Original Message - 
  From: Benjamin Dobler 
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, June 02, 2005 2:26 PM
  Subject: [flexcoders] RIAs
  
  
  Hi 
  All,
   
  Does anyone remember when the word 
  RIA (Rich Internet Application) first appeared.
  Who invented the term? I think it 
  was someone at MM but i can`t remember.
   
   
  Benjamin
   
  
   
  RichApps.de
  RIA 
  Development
   
  Benjamin 
  Dobler
   
  web:   | http://www.richapps.de
  mail:   | [EMAIL PROTECTED]
   







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] 'Active Directory' authentication

2005-06-02 Thread Tarik Ahmed
Whoops, thought that was a question from a BACFUG list. To preface this 
response - that would be the Coldfusion way of doing things.

Tarik Ahmed wrote:

> Well there's an article here:
>
> http://www.macromedia.com/devnet/server_archive/articles/integrating_cf_apps_w_ms_active_directory.html#auth
>  
>
>
> But if their windows login is the same as AD, so you can also try this:
>   
>
>ntauth = createObject("java", "jrun.security.NTAuth");
>ntauth.init("SomeDomain");
>ntauth.authenticateUser(FORM.UserName, FORM.Password);
>auth = true;
>
>
>
>
> 
>
>
>
>
> sanjayd wrote:
>
>> Guys:
>>
>> I need to authenticate my users via 'Active Directory'. Any ideas what
>> is the best way to do this ? Thanks - Sanjay
>>
>>
>>
>>
>>
>>
>> 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/info/terms/
 





Re: [flexcoders] 'Active Directory' authentication

2005-06-02 Thread Tarik Ahmed
Well there's an article here:

http://www.macromedia.com/devnet/server_archive/articles/integrating_cf_apps_w_ms_active_directory.html#auth

But if their windows login is the same as AD, so you can also try this:
   

ntauth = createObject("java", "jrun.security.NTAuth");
ntauth.init("SomeDomain");
ntauth.authenticateUser(FORM.UserName, FORM.Password);
auth = true;




 




sanjayd wrote:

>Guys:
>
>I need to authenticate my users via 'Active Directory'. Any ideas what
>is the best way to do this ? Thanks - Sanjay
>
>
>
>
>
> 
>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/info/terms/
 




[flexcoders] Re: 'Active Directory' authentication

2005-06-02 Thread Andrew Spaulding
Hi,

What language is your problem domain coded in? 

If you are using Java then there are plenty of solutions available,
one of which, JAAS, has been integrated into version 1.4 of the SDK. 

http://java.sun.com/products/jaas/

There's plenty of information in google if you search for
"authenticating against active directory".

Hope that gives you a start ;)

Andrew Spaulding
www.flexdaddy.com

--- In flexcoders@yahoogroups.com, "sanjayd" <[EMAIL PROTECTED]> wrote:
> Guys:
> 
> I need to authenticate my users via 'Active Directory'. Any ideas what
> is the best way to do this ? Thanks - Sanjay




 
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: highlight/unHighlight a grid cell

2005-06-02 Thread Tracy Spratt
No, I don't think so.  If you already have a cell renderer, use it to
set a "prevSelectedCell", recording perhaps the row index and column
index.  So when the user selects another cell, you use the
prevSelectedCell info to un-select it, then apply the selected
presentation to the current cell.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sanjayd
Sent: Thursday, June 02, 2005 8:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: highlight/unHighlight a grid cell

Tracy: I took a look at the code, it may just work. However, I already
have a cellRenderer, so, can I have 2 cellRenderers forthe same cell &
 string them together ?

Sanjay


--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
> I bet you will need a custom cell renderer.  Check out this example,
> which uses a cellrenderer to color cells based on item data.  You
might
> be able to modify it to highlight the current cell.
> 
>
http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectI
> D=192
> 
> Tracy
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of sanjayd
> Sent: Thursday, June 02, 2005 3:21 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] highlight/unHighlight a grid cell
> 
> Hi.
> 
> Can somebody tell me an elegant way to highlight a datagrid cell on
> mouseClick ? I need to be able to unHighlight the previously
> highlighted cell (if any).
> 
> Thanks in advance.
> 
> Sanjay
> 
> 
> 
> 
> 
>  
> 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/info/terms/
 




RE: [flexcoders] FormItem icon attribute not working?

2005-06-02 Thread Robert Brueckmann
Thanks Manish!

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Thursday, June 02, 2005 4:12 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] FormItem icon attribute not working?

On 6/2/05, Robert Brueckmann <[EMAIL PROTECTED]> wrote:
> Anyone have any success getting this to work?  Like if I want a help
> bubble icon next to certain form fields, I can't do it because the
icon
> doesn't show up...I have a work around but then the alignment of the
> form items gets thrown off...thoughts?

You can achieve the same by extending FormItem to reserve some space
for the icon and then placing the icon appropriately.


http://www.macromedia.com/2003/mxml";>
  
import mx.controls.Image;

// this holds the icon
private var iconHolder:Image;

public function createChildren():Void
{
  super.createChildren();

  iconHolder = Image(createChild(Image, "", {source: icon}));
}
public function getViewMetrics():Object
{
  var vm:Object = super.getViewMetrics();
  // reserve extra space for icon
  vm.left += iconHolder.width + getStyle("horizontalGap");
  return vm;
}
public function layoutChildren():Void
{
  super.layoutChildren();

  var vm:Object = super.getViewMetrics();
  iconHolder.move(vm.left + getStyle("marginLeft"),
  vm.top + getStyle("marginLeft"));
}
  


Usage:

http://www.macromedia.com/2003/mxml";
  xmlns="*">
  

  

  



 
Yahoo! Groups Links



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
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/
 




[flexcoders] 'Active Directory' authentication

2005-06-02 Thread sanjayd
Guys:

I need to authenticate my users via 'Active Directory'. Any ideas what
is the best way to do this ? Thanks - Sanjay





 
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/
 




[flexcoders] Re: highlight/unHighlight a grid cell

2005-06-02 Thread sanjayd
Tracy: I took a look at the code, it may just work. However, I already
have a cellRenderer, so, can I have 2 cellRenderers forthe same cell &
 string them together ?

Sanjay


--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
> I bet you will need a custom cell renderer.  Check out this example,
> which uses a cellrenderer to color cells based on item data.  You might
> be able to modify it to highlight the current cell.
> 
> http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectI
> D=192
> 
> Tracy
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of sanjayd
> Sent: Thursday, June 02, 2005 3:21 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] highlight/unHighlight a grid cell
> 
> Hi.
> 
> Can somebody tell me an elegant way to highlight a datagrid cell on
> mouseClick ? I need to be able to unHighlight the previously
> highlighted cell (if any).
> 
> Thanks in advance.
> 
> Sanjay
> 
> 
> 
> 
> 
>  
> 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/info/terms/
 





RE: [flexcoders] Passing an object into a custom validator

2005-06-02 Thread Matt Chotin










OK, this shouldn’t be so bad but it’s
not as perfect as you want.  The process will be better in 2.0.

 

In your custom validator I’m
assuming you overrode doValidation.  Rename that method to something else,
like 

 

function doValidationWithRule(value :
Object, rule : Rule) : Void

{

  //whatever logic you had in
doValidation should be here (except for a call to super.doValidation)

}

 

So now you take the rule as parameter and
you can do the same logic you had in there before.  Now of course you need
to somehow call the doValidationWithRule method and pass in the value, but you
can do that with the validate event and the properties that come on it.

 



 

And there you go.  The doValidation
method of the superclass will run, which will check your required
properties.  And if you want you could put additional logic in there that
didn’t require the rule.  But to pass in information to the
validator that was not a hard-coded string you create another method on the
validator and pass in that info during the validation process.

 

Hope this helps,

Matt









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of kevmclachlan79
Sent: Thursday, June 02, 2005 3:01
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Passing an
object into a custom validator



 

Hi all,

I am having a bit of a problem with validators in
my application. The
problem is that I am trying to get a object to a
custom validator so
that I can validate based on properties of the
object.

I have a rule object that contains various
properties about the rule
which I need access to in the validator (eg max,
min, mandatory).  The
lack of binding or an id in the validator means
that I cannot access
the validator directly and assign it to the
validators rule
attribute.  

I just need some way to get the object in the mxml
into my custom
validators (I have 3 validators, extending the
number, date and string
validator classes) so it can use the objects
properties to validate.


The mxml I have is as follows and it is the
"stringRule" object I need
passed in to the validator somehow:

var stringRule: Rule;
function updateRules() {

    stringRule =
validationTestView.getRule('StringMaxMin'); // This
view returns a Rule object for use in the custom
validator

}


   
{dateInput.text}
   
{stringInput.text}
   
{numberInput.text}







     

  


    



 


rule="{stringRule}" /> 


Any help would be gratefully appreciated.


Thanks in advance,

Kevin















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.












[flexcoders] Re: highlight/unHighlight a grid cell

2005-06-02 Thread sanjayd
Manish: You are right, my app brings up a popUp when the user clicks
on a cell, when the user is looking at the popUp, I need to highlight
the cell that triggered the popUp to display so that the user can
retain the context. Once, the popUp is closed, the cell should be
unHighlighted.
Highlighting the cell may mean rendering that cell in a color
different from the color used to highlight the row itself (in other
words, the row can remain highlighted as well)

any ideas ?

Thanks in advance - Sanjay

--- In flexcoders@yahoogroups.com, Manish Jethani
<[EMAIL PROTECTED]> wrote:
> On 6/3/05, sanjayd <[EMAIL PROTECTED]> wrote:
> 
> > Can somebody tell me an elegant way to highlight a datagrid cell on
> > mouseClick ? I need to be able to unHighlight the previously
> > highlighted cell (if any).
> 
> The DataGrid already highlights the row when you click on it.  Are you
> saying you want to highlight just the individual cell and not the
> entire row?  That might be hard to achieve.  I'm not sure if the
> WGDataGrid supports this, but you could try:
> http://www.mail-archive.com/flexcoders@yahoogroups.com/msg06733.html




 
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: Fun with context roots

2005-06-02 Thread Matt Chotin










Could you embed the information by
generating the MXML using a JSP?  I don’t remember if you can access the
URL that the browser thinks you are hitting from a JSP if it is really a
pass-through from another server.  The JSP might think it’s on the “real”
server (192.168…) and not (foo.bar.com).  If not maybe you can do it with
_javascript_ on the HTML page since the url in the address bar should have the
right info?

 

Sorry, not much help but I’m still
having trouble understanding which pieces of info you have access to, don’t
have access to, when you would have access to it, and where and when you need
that info.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sbyrne_dorado
Sent: Thursday, June 02, 2005
11:41 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Fun with
context roots



 

I don't think I even get to the state of calling services; the main
page (with EMBED, OBJECT, etc) needs to be
emitting the pseudo context
root "beta", because URLs from it that
it will use to download the
application will need that pseudo context root to
get past the web server.

--- In flexcoders@yahoogroups.com,
"Matt Chotin" <[EMAIL PROTECTED]> wrote:
> What urls are being generated by the server
here, named services?  If
> the urls need to be portable can you use
relative urls?  I can
> understand that you want a url on one server
to redirect to a different
> url on another server using a different path,
but I guess I'm not sure
> how the context root becomes a problem here.
> 
>  
> 
> Matt
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
> Behalf Of sbyrne_dorado
> Sent: Wednesday, June 01, 2005 5:06 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Fun with context roots
> 
>  
> 
> I am wondering if I've stumbled on a
limitation of Flex, or if it's a
> limitation of my knowledge (probably the
latter).
> 
> Here's the situation: I would like to have
the ability to have a web
> server dispatch to different app servers
based on a "contex root" like
> path prefix.  But, I don't want to have
to force each of those app
> servers to have to have the webapp stored
under the same context root
> that the web server URLs are using.
> 
> More concretely:
> 
> On my webserver I want to be able to say
> "http://foo.bar.com/beta/...",
and have the webserver redirect that to
> the internal app server URL "http://192.168.1.1/..."; i.e. no
"beta"
> context root.  
> 
> Can I do this?  I can't seem to get the
URLs generated by the server
> to be the "externally visible" form
of the URLs (i.e. with the "beta"
> context root) and not have the app server's
context root be "beta".
> 
> Steve
> 
> 
> 
> 
> 
> 
> 
> 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 
.














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] prblem with getting dat back from A Remote Object

2005-06-02 Thread Tracy Spratt
I am assuming I missed the send().

Have you traced or alerted the result in your result handler?

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of cnewroth55
Sent: Thursday, June 02, 2005 12:11 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] prblem with getting dat back from A Remote Object

hi all, I am haiving a problem getting my data back from my call to 
a RO. It looks like (in the network monitor) that the call is 
working, but I am not getting any data back into my datagrid (where 
i think i have the binding right). 
the netowrk monitor shows this:

Method: gvs._cfc.gvs_queries.Thrust_Query
Parameter 1: 
name : param1
type : object
value[object] : 
ThrustName[array] : 
length[Number] : 1
[0][String] : ASMT - Affordable Structures and Mfg. Tech
and my code is this:

//the call to the RO
http://www-stl-
100d.mw.nos.boeing.com/flashservices/gateway" 
source="gvs._cfc.gvs_queries" >
 

the scraip call to put everything where is it supposed to go (this 
is where I think i am doing it wrong)


RE: [flexcoders] highlight/unHighlight a grid cell

2005-06-02 Thread Tracy Spratt
I bet you will need a custom cell renderer.  Check out this example,
which uses a cellrenderer to color cells based on item data.  You might
be able to modify it to highlight the current cell.

http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectI
D=192

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sanjayd
Sent: Thursday, June 02, 2005 3:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] highlight/unHighlight a grid cell

Hi.

Can somebody tell me an elegant way to highlight a datagrid cell on
mouseClick ? I need to be able to unHighlight the previously
highlighted cell (if any).

Thanks in advance.

Sanjay





 
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/info/terms/
 




AW: [flexcoders] RIAs

2005-06-02 Thread Benjamin Dobler
Thanx that`s really helpful!


Benjamin Dobler
RIA Development
web: http://www.richapps.de
mail: [EMAIL PROTECTED]
> -Ursprüngliche Nachricht-
> Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im
> Auftrag von John Dowdell
> Gesendet: Donnerstag, 2. Juni 2005 22:44
> An: flexcoders@yahoogroups.com
> Betreff: Re: [flexcoders] RIAs
> 
> Benjamin Dobler wrote:
> > Does anyone remember when the word RIA (Rich Internet Application) first
> > appeared. Who invented the term? I think it was someone at MM but i
>  > can`t remember.
> 
> As Jesse noted, the first use of that acronym appeared to be in this
> 500K PDF from Macromedia in March 2002:
> http://download.macromedia.com/pub/flash/whitepapers/richclient.pdf
> 
> A year or two back I tried to confirm this through the
> recall.archive.org engine (since deceased), which did textual analysis
> of the archive.org content, and it did confirm that this Macromedia
> document was the first usage of that "RIA" term. I can't prove that no
> one ever used that phrase before, but I've never seen any evidence to
> counter its original definition being by Macromedia staff.
> 
> I got tired of regularly finding an dopening that PDF then clicking
> through pages, so I copied the guts of it over here:
> http://www.markme.com/jd/archives/007312.cfm
> 
> Paraphrasing and summarizing that "crucial aspects of rich client
> technologies" section, these were defined as:
> (a) use of a high-performance runtime for code, content and
> communications;
> (b) integration of media types (video in the same window, eg);
> (c) a common object model for these multimedia services;
> (d) ability to use and add components, for development efficiency;
> (e) XML data communications with servers;
> (f) online/offline transparency (we're all still working on that one!);
> (g) friendly to various browsers, operating systems, devices... there's
> explicit mention of "beyond the desktop" non-PC work here.
> 
> The term "RIA" has been bandied about in much of the AJaX hullaballoo,
> but I'm not sure any current JavaScript examples actually meet the above
> criteria -- modern JavaScript techniques have recently added ongoing XML
> transfers with the server, but they don't seem in the same ballpark on
> the "rich" aspect of that popular "RIA" moniker.
> 
> jd
> 
> 
> 
> --
> John Dowdell . Macromedia Developer Support . San Francisco CA USA
> Weblog: http://www.macromedia.com/go/blog_jd
> Aggregator: http://www.macromedia.com/go/weblogs
> Technotes: http://www.macromedia.com/support/
> Spam killed my private email -- public record is best, thanks.
> 
> 
> 
> 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/info/terms/
 





RE: [flexcoders] Saving a datagrid.dataProvider to a SharedObject

2005-06-02 Thread Matt Chotin










You need to save the result of the
getAllJobs call in the result handler, not the returned object from
getAllJobs().  So in your result handler of getAllJobs you can say
myLocal_so.data.dataProvider = event.result;

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Kevin Ewok
Sent: Thursday, June 02, 2005 2:23
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Saving a
datagrid.dataProvider to a SharedObject



 

flexcoders-
  I have a datagrid that is populated from an
array of objects from 
a remote method. My requirement is that if the
user closes their 
browser, and opens it back up, and there IS NOT a
connection, then 
to load the datagrid from the locally stored data.

I am able to save text strings locally and display
it in labels, but 
that is it. I am not able to store the Pojo[]
result of my 
remoteMethod or the AS dataprovider. Has anyone
been able to do 
this? I was able to save an individual Pojo to a 
sharedObject.data.item, but not a collection. I
guess I could loop 
through my dataProvider and create a
sharedObject.data.item1, item2, 
etc...for each dataProvider item, but I wanted to
save some logic.

I've tried the following and I get undefined for
my value in the SO.

var myLocal_so:SharedObject;
myLocal_so  =
SharedObject.getLocal("mySo");

..//each line here represents a different failed
attempt..//
myLocal_so.data.dataProvider=myRemoteObj.getAllJobs();
myLocal_so.data.dataProvider=mx.utils.ArrayUtil.toArray
(myRemoteObj.getAllJobs());
myLocal_so.data.dataProvider=myDatagrid.dataProvider;
myLocal_so.data.dataProvider=myDatagrid;
..//...
myLocal_so.flush();
 
  
Thanks in advance for your help.

















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: Cairngorm .99 + Flex-Config + Services.mxml

2005-06-02 Thread dave buhler



Thanks Peter,

I'm going to head down to Starbucks, buy some coffee and read through Dirk's document.

>From my understanding, I need to do the following:

  Alter my services.mxml and add the object names as a 'named' source
  
  Alter my flex-config.xml file to add the object name as I specified it in my Services.mxml
  
  Dig into my JRun folder for CF and add the exact same names to the gateway-cofig.


  Is the source path going to be the same as the one I had been using for my wildcard within the services.mxml that I am adding to my flex-config.xml and gateway-config.xml files?
  
  Do I need to add a Cross-Domain Policy File?
  Should I consider  a career in something easier? Maybe truck-driving?
  I found a flex-config.xml file in my CF Folder for Jrun last night. Was
I just in the wrong place or does this file really exist and is it
important to this configuration?

On 6/2/05, Peter Farland <[EMAIL PROTECTED]> wrote:







Hi Dave, sorry I didn't get back to you earlier on this. I 
started replying about 2am last night but got sidetracked playing IT-support 
person for my family. Many thanks to Dirk for stepping in.
 
The first configuration works with the wildcard as it is a 
short-hand allowed for CFMX to allow any service source (i.e., CFC path) 
 to be accessed, but note that source != 
named... named objects require specific configuration.
 
Also note that the * wildcard is in CFMX merely because 
this was the equivalent behavior of earlier CF releases... if you can restrict 
it down to specific services (and would have to do so for named Flex 
RemoteObject services) it's much advised.
 
Pete


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of dave 
buhlerSent: Thursday, June 02, 2005 11:37 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Cairngorm .99 
+ Flex-Config + Services.mxml
Hi Dirk,

  I believe there is a Flex-Config file that is at the very least, part of 
  JRun4. Can someone confirm or deny this? 
  There is one gateway-config.xm file in my Flex web-inf folder. Is there a 
  second one for CF that needs to be configured? I think at this point, 
I need to take this step-by-step.The difficulty I am having in part is 
because my first configuration works with the wild-card.Dave
On 6/2/05, Dirk 
Eismann <[EMAIL PROTECTED]> 
wrote:
Hi 
  Dave,to setup named remote objects with CF you'll need to1) 
  modify Flex's flex-config.xml file and CF's gateway-config.xml file (I 
  wondered to which file you are referring to when you say "CF FlexConfig.xml" 
  as there isn't such a thing)2) adjust the structure of CF's 
  gateway-config.xml file a bit to define your named objects.To point to 
  the CF AMF gateway you can either use the endpoint on the RemoteObject tag 
  (the way you did) or chnage the  setting in your Flex's 
  flex-config.xml (however, this changes the gateway for *all* applications in 
  your Flex server)Then, you'll need to add a dummy named object entry 
  in the flex-config.xml to get the MXML compiled.Next, you'll have to 
  add the named object definition to the CF gateway-config.xml file. In your 
  case something like 
  this:...   
    wwwroot.MYDOMAIN.model.user.User  ...restart 
  your Flex and your CF server and you should be ready to go. Again, this is 
  described in detail here: http://www.richinternet.de/blog/index.cfm?entry=831FE26E-0D70-9C2D-2549E1D1978CF1B0
Dirk. 
  -Original Message-From: flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com]On 
  Behalf Of dave buhler Sent: Thursday, June 02, 2005 7:57 AMTo: flexcoders@yahoogroups.com
Subject: 
  Re: [flexcoders] Re: Cairngorm .99 + Flex-Config + 
  Services.mxmlooops..Meant to post this WORKING code with 
  the source inline.WorksServices.mxml   
    endpoint=" 
  http://localhost:8300/flashservices/gateway"  source="wwwroot.MYDOMAIN.model.user.User"  protocol="http"  showBusyCursor="true" 
    result="event.call.resultHandler( 
  event 
  )"  fault="event.call.faultHandler( 
  event )">   Flex 
  FlexConfig.xml* 
  CF GatewayConfig.xml  Standard Setup 
  *CF 
  FlexConfig.xml  Standard 
  SetupFailsServices.mxml     endpoint="http://localhost:8300/flashservices/gateway"
  protocol="http"  showBusyCursor="true" 
    result="event.call.resultHandler( 
  event 
  )"  fault="event.call.faultHandler( 
  event )">   
  FlexConfig.xml   
    wwwroot.MYDOMAIN.model.user.usersService 
  GatewayConfig.xml  Standard 
  Setup*CF 
  FlexConfig.xml{ 
  context.root}/amfgateway{context.root}/amfgatewayfalse
 
    

Re: [flexcoders] select/deselect child panels

2005-06-02 Thread Manish Jethani
On 6/3/05, Tom Fitzpatrick <[EMAIL PROTECTED]> wrote:
> I'm trying to find a way to quickly select and deselect panels that are
> children of an hbox container. When a panel is selected I'd like to
> highlight it in a simple way, such as changing its background color. If
> another panel is clicked on, the previously selected panel's background is
> changed back to normal.

Here's some pseudocode:

 
   
   
   
   
 

  var lastSelected = undefined;

  function makeSelected(panel)
  {
if (lastSelected != undefined)
  lastSelected.backgroundColor = normal;

panel.backgroundColor = "red";
lastSelected = panel;
  }

So you don't have to loop.  Just keep track of the currently selected
one and unselect it when something else is selected.


 
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] RIAs

2005-06-02 Thread Sjors Pals






I did check usenet, and i think it must be early 2002 :

http://groups-beta.google.com/group/netobjects.fusionmx.gen-discuss/browse_thread/thread/e28092e1a22637e/4083a48122f84178?q=%22rich+internet%22&rnum=708&hl=en#4083a48122f84178

Greets,

Sjors


Benjamin Dobler wrote:

  
  
  
  
  Hi All,
   
  Does anyone remember when
the word RIA (Rich Internet
Application) first appeared.
  Who invented the term? I
think it was someone at MM but i
can`t remember.
   
   
  Benjamin
   
  
   
  
  RichApps.de
  RIA
Development
   
  Benjamin Dobler
   
  web:   |
  http://www.richapps.de
  mail:   | [EMAIL PROTECTED]
   
  











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] RIAs

2005-06-02 Thread Sreejith Unnikrishnan
Title: Message





I am 
staking the trademark rights for "RINA" (Rich Internet Non-Applications), 
PIA and PINA (you know what they stand for)
 
So 
anything that is (rich on the internet && non-application in the true 
sense of the word) comes under RINAs :-)

  Non_enterprise RIA
  Obnoxious RIA
  Galactic RIA
  Consumer RIA
  Mobile RIA
  Service Orineted RIA
  Filthy RIA
  RINA
  PINA
  PIA
:-)

 

  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  Jeff SteinerSent: Friday, June 03, 2005 1:30 AMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] 
  RIAs
But I coined the phrase 
  "Non-Enterprise RIA" roughly 30 minutes beforeBenjamin's first email went 
  out - Sorry guys but that supercedes all of therest and I expect to 
  receive royalties here pretty soon.Jeff- Original Message 
  - From: "Sreejith Unnikrishnan" <[EMAIL PROTECTED]>To: 
  Sent: Thursday, June 02, 2005 12:13 
  PMSubject: RE: [flexcoders] RIAs> Later a new term 
  "Enterprise RIA" was coined by Steven Webster.>> " At 
  iteration::two, we've coined the term "Enterprise RIA", to describe> 
  Rich Internet Applications of the scale and complexity you'd expect to> 
  find in a large, transactional web application, such as online 
  banking,> reservation systems or large commerce sites for 
  example.">>> -Original Message-> From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On> 
  Behalf Of Benjamin Dobler> Sent: Friday, June 03, 2005 12:13 AM> 
  To: flexcoders@yahoogroups.com> Subject: AW: [flexcoders] 
  RIAs That`s the one i 
  thougt Thanx 
  jesse>> 
  RichApps.de>> RIA Development 
  Benjamin Dobler web:   |  
   http://www.richapps.de>> 
  mail:   |   
  [EMAIL PROTECTED]>>>   
  _>>> Von: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] Im> Auftrag von JesterXL> 
  Gesendet: Donnerstag, 2. Juni 2005 20:32> An: 
  flexcoders@yahoogroups.com> Betreff: Re: [flexcoders] 
  RIAs I reckon it was Jeremy 
  Allaire: http://www.markme.com/jd/archives/005423.cfm 
  Can't corraborate that, though. 
  ???>> - Original Message 
  - >> From: Benjamin Dobler 
  >> To: 
  flexcoders@yahoogroups.com>> Sent: Thursday, June 02, 2005 2:26 
  PM>> Subject: [flexcoders] RIAs 
  Hi All, Does anyone remember when the word RIA 
  (Rich Internet Application) first> appeared.>> Who 
  invented the term? I think it was someone at MM but i can`t> 
  remember.>> 
  Benjamin>> 
  RichApps.de>> RIA Development 
  Benjamin Dobler web:   |  
   http://www.richapps.de>> 
  mail:   |   
  [EMAIL PROTECTED]   
  _>> 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 
   
  .>>>







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] prblem with getting dat back from A Remote Object

2005-06-02 Thread Peter Farland
Is that the request show from the network monitor? If so, what does the
network monitor show for the result?
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of cnewroth55
Sent: Thursday, June 02, 2005 12:11 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] prblem with getting dat back from A Remote Object

hi all, I am haiving a problem getting my data back from my call to 
a RO. It looks like (in the network monitor) that the call is 
working, but I am not getting any data back into my datagrid (where 
i think i have the binding right). 
the netowrk monitor shows this:

Method: gvs._cfc.gvs_queries.Thrust_Query
Parameter 1: 
name : param1
type : object
value[object] : 
ThrustName[array] : 
length[Number] : 1
[0][String] : ASMT - Affordable Structures and Mfg. Tech and my code is
this:


 
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/
 





[flexcoders] Saving a datagrid.dataProvider to a SharedObject

2005-06-02 Thread Kevin Ewok
flexcoders-
  I have a datagrid that is populated from an array of objects from 
a remote method. My requirement is that if the user closes their 
browser, and opens it back up, and there IS NOT a connection, then 
to load the datagrid from the locally stored data.

I am able to save text strings locally and display it in labels, but 
that is it. I am not able to store the Pojo[] result of my 
remoteMethod or the AS dataprovider. Has anyone been able to do 
this? I was able to save an individual Pojo to a 
sharedObject.data.item, but not a collection. I guess I could loop 
through my dataProvider and create a sharedObject.data.item1, item2, 
etc...for each dataProvider item, but I wanted to save some logic.

I've tried the following and I get undefined for my value in the SO.

var myLocal_so:SharedObject;
myLocal_so  = SharedObject.getLocal("mySo");

..//each line here represents a different failed attempt..//
myLocal_so.data.dataProvider=myRemoteObj.getAllJobs();
myLocal_so.data.dataProvider=mx.utils.ArrayUtil.toArray
(myRemoteObj.getAllJobs());
myLocal_so.data.dataProvider=myDatagrid.dataProvider;
myLocal_so.data.dataProvider=myDatagrid;
..//...
myLocal_so.flush();

Thanks in advance for your help.







 
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: Cairngorm .99 + Flex-Config + Services.mxml

2005-06-02 Thread Peter Farland





Hi Dave, sorry I didn't get back to you earlier on this. I 
started replying about 2am last night but got sidetracked playing IT-support 
person for my family. Many thanks to Dirk for stepping in.
 
The first configuration works with the wildcard as it is a 
short-hand allowed for CFMX to allow any service source (i.e., CFC path) 
 to be accessed, but note that source != 
named... named objects require specific configuration.
 
Also note that the * wildcard is in CFMX merely because 
this was the equivalent behavior of earlier CF releases... if you can restrict 
it down to specific services (and would have to do so for named Flex 
RemoteObject services) it's much advised.
 
Pete


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of dave 
buhlerSent: Thursday, June 02, 2005 11:37 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Cairngorm .99 
+ Flex-Config + Services.mxml
Hi Dirk,

  I believe there is a Flex-Config file that is at the very least, part of 
  JRun4. Can someone confirm or deny this? 
  There is one gateway-config.xm file in my Flex web-inf folder. Is there a 
  second one for CF that needs to be configured? I think at this point, 
I need to take this step-by-step.The difficulty I am having in part is 
because my first configuration works with the wild-card.Dave
On 6/2/05, Dirk 
Eismann <[EMAIL PROTECTED]> 
wrote:
Hi 
  Dave,to setup named remote objects with CF you'll need to1) 
  modify Flex's flex-config.xml file and CF's gateway-config.xml file (I 
  wondered to which file you are referring to when you say "CF FlexConfig.xml" 
  as there isn't such a thing)2) adjust the structure of CF's 
  gateway-config.xml file a bit to define your named objects.To point to 
  the CF AMF gateway you can either use the endpoint on the RemoteObject tag 
  (the way you did) or chnage the  setting in your Flex's 
  flex-config.xml (however, this changes the gateway for *all* applications in 
  your Flex server)Then, you'll need to add a dummy named object entry 
  in the flex-config.xml to get the MXML compiled.Next, you'll have to 
  add the named object definition to the CF gateway-config.xml file. In your 
  case something like 
  this:...   
    wwwroot.MYDOMAIN.model.user.User  ...restart 
  your Flex and your CF server and you should be ready to go. Again, this is 
  described in detail here: http://www.richinternet.de/blog/index.cfm?entry=831FE26E-0D70-9C2D-2549E1D1978CF1B0Dirk. 
  -Original Message-From: flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com]On 
  Behalf Of dave buhler Sent: Thursday, June 02, 2005 7:57 AMTo: flexcoders@yahoogroups.comSubject: 
  Re: [flexcoders] Re: Cairngorm .99 + Flex-Config + 
  Services.mxmlooops..Meant to post this WORKING code with 
  the source inline.WorksServices.mxml   
    endpoint=" 
  http://localhost:8300/flashservices/gateway"  source="wwwroot.MYDOMAIN.model.user.User"  protocol="http"  showBusyCursor="true" 
    result="event.call.resultHandler( 
  event 
  )"  fault="event.call.faultHandler( 
  event )">   Flex 
  FlexConfig.xml* 
  CF GatewayConfig.xml  Standard Setup 
  *CF 
  FlexConfig.xml  Standard 
  SetupFailsServices.mxml     endpoint="http://localhost:8300/flashservices/gateway"  protocol="http"  showBusyCursor="true" 
    result="event.call.resultHandler( 
  event 
  )"  fault="event.call.faultHandler( 
  event )">   
  FlexConfig.xml   
    wwwroot.MYDOMAIN.model.user.usersService 
  GatewayConfig.xml  Standard 
  Setup*CF 
  FlexConfig.xml{ 
  context.root}/amfgateway{context.root}/amfgatewayfalse 
  *   
     
  * 
  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/







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] RIAs

2005-06-02 Thread Leif Wells
If there is an Enterprise Crackhead, Jesse, you da man!

On 6/2/05, Dan Glauser <[EMAIL PROTECTED]> wrote:
> That makes sense.
> 
> --
> Dan
> 
> On 6/2/05, JesterXL <[EMAIL PROTECTED]> wrote:
> >
> > I'm coining Enterprise Crackhead.
> >
> >
> 
> 
> 
> 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/info/terms/
 




Re: [flexcoders] RIAs

2005-06-02 Thread Dan Glauser
That makes sense.

--
Dan

On 6/2/05, JesterXL <[EMAIL PROTECTED]> wrote:
>  
> I'm coining Enterprise Crackhead.
>  
>


 
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/
 





[flexcoders] select/deselect child panels

2005-06-02 Thread Tom Fitzpatrick
I'm trying to find a way to quickly select and deselect panels that are 
children of an hbox container. When a panel is selected I'd like to 
highlight it in a simple way, such as changing its background color. If 
another panel is clicked on, the previously selected panel's background is 
changed back to normal.

I've tried several approaches that involve looping through all the child 
panels on the selection click to set a "selectedPanel" variable at the root 
level. Very slow. There's gotta be a simpler, more elegant way to do this.

Any suggestions or code samples?

- Tom






 
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] RIAs

2005-06-02 Thread John Dowdell
Benjamin Dobler wrote:
> Does anyone remember when the word RIA (Rich Internet Application) first
> appeared. Who invented the term? I think it was someone at MM but i
 > can`t remember.

As Jesse noted, the first use of that acronym appeared to be in this 
500K PDF from Macromedia in March 2002:
http://download.macromedia.com/pub/flash/whitepapers/richclient.pdf

A year or two back I tried to confirm this through the 
recall.archive.org engine (since deceased), which did textual analysis 
of the archive.org content, and it did confirm that this Macromedia 
document was the first usage of that "RIA" term. I can't prove that no 
one ever used that phrase before, but I've never seen any evidence to 
counter its original definition being by Macromedia staff.

I got tired of regularly finding an dopening that PDF then clicking 
through pages, so I copied the guts of it over here:
http://www.markme.com/jd/archives/007312.cfm

Paraphrasing and summarizing that "crucial aspects of rich client 
technologies" section, these were defined as:
(a) use of a high-performance runtime for code, content and communications;
(b) integration of media types (video in the same window, eg);
(c) a common object model for these multimedia services;
(d) ability to use and add components, for development efficiency;
(e) XML data communications with servers;
(f) online/offline transparency (we're all still working on that one!);
(g) friendly to various browsers, operating systems, devices... there's 
explicit mention of "beyond the desktop" non-PC work here.

The term "RIA" has been bandied about in much of the AJaX hullaballoo, 
but I'm not sure any current JavaScript examples actually meet the above 
criteria -- modern JavaScript techniques have recently added ongoing XML 
transfers with the server, but they don't seem in the same ballpark on 
the "rich" aspect of that popular "RIA" moniker.

jd



-- 
John Dowdell . Macromedia Developer Support . San Francisco CA USA
Weblog: http://www.macromedia.com/go/blog_jd
Aggregator: http://www.macromedia.com/go/weblogs
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


 
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] highlight/unHighlight a grid cell

2005-06-02 Thread Manish Jethani
On 6/3/05, sanjayd <[EMAIL PROTECTED]> wrote:

> Can somebody tell me an elegant way to highlight a datagrid cell on
> mouseClick ? I need to be able to unHighlight the previously
> highlighted cell (if any).

The DataGrid already highlights the row when you click on it.  Are you
saying you want to highlight just the individual cell and not the
entire row?  That might be hard to achieve.  I'm not sure if the
WGDataGrid supports this, but you could try:
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg06733.html


 
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] FormItem icon attribute not working?

2005-06-02 Thread Manish Jethani
On 6/2/05, Robert Brueckmann <[EMAIL PROTECTED]> wrote:
> Anyone have any success getting this to work?  Like if I want a help
> bubble icon next to certain form fields, I can't do it because the icon
> doesn't show up...I have a work around but then the alignment of the
> form items gets thrown off...thoughts?

You can achieve the same by extending FormItem to reserve some space
for the icon and then placing the icon appropriately.


http://www.macromedia.com/2003/mxml";>
  
import mx.controls.Image;

// this holds the icon
private var iconHolder:Image;

public function createChildren():Void
{
  super.createChildren();

  iconHolder = Image(createChild(Image, "", {source: icon}));
}
public function getViewMetrics():Object
{
  var vm:Object = super.getViewMetrics();
  // reserve extra space for icon
  vm.left += iconHolder.width + getStyle("horizontalGap");
  return vm;
}
public function layoutChildren():Void
{
  super.layoutChildren();

  var vm:Object = super.getViewMetrics();
  iconHolder.move(vm.left + getStyle("marginLeft"),
  vm.top + getStyle("marginLeft"));
}
  


Usage:

http://www.macromedia.com/2003/mxml";
  xmlns="*">
  

  

  



 
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] RIAs

2005-06-02 Thread Jeff Steiner
But I coined the phrase "Non-Enterprise RIA" roughly 30 minutes before
Benjamin's first email went out - Sorry guys but that supercedes all of the
rest and I expect to receive royalties here pretty soon.

Jeff
- Original Message - 
From: "Sreejith Unnikrishnan" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, June 02, 2005 12:13 PM
Subject: RE: [flexcoders] RIAs


> Later a new term "Enterprise RIA" was coined by Steven Webster.
>
> " At iteration::two, we've coined the term "Enterprise RIA", to describe
> Rich Internet Applications of the scale and complexity you'd expect to
> find in a large, transactional web application, such as online banking,
> reservation systems or large commerce sites for example."
>
>
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Benjamin Dobler
> Sent: Friday, June 03, 2005 12:13 AM
> To: flexcoders@yahoogroups.com
> Subject: AW: [flexcoders] RIAs
>
>
>
> That`s the one i thougt
>
>
>
> Thanx jesse
>
>
>
>
>
> RichApps.de
>
> RIA Development
>
>
>
> Benjamin Dobler
>
>
>
> web:   |   http://www.richapps.de
>
> mail:   |   [EMAIL PROTECTED]
>
>
>   _
>
>
> Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im
> Auftrag von JesterXL
> Gesendet: Donnerstag, 2. Juni 2005 20:32
> An: flexcoders@yahoogroups.com
> Betreff: Re: [flexcoders] RIAs
>
>
>
> I reckon it was Jeremy Allaire:
>
>
>
> http://www.markme.com/jd/archives/005423.cfm
>
>
>
> Can't corraborate that, though.
>
>
>
> ???
>
>
>
>
>
> - Original Message - 
>
> From: Benjamin Dobler 
>
> To: flexcoders@yahoogroups.com
>
> Sent: Thursday, June 02, 2005 2:26 PM
>
> Subject: [flexcoders] RIAs
>
>
>
> Hi All,
>
>
>
> Does anyone remember when the word RIA (Rich Internet Application) first
> appeared.
>
> Who invented the term? I think it was someone at MM but i can`t
> remember.
>
>
>
>
>
> Benjamin
>
>
>
>
>
> RichApps.de
>
> RIA Development
>
>
>
> Benjamin Dobler
>
>
>
> web:   |   http://www.richapps.de
>
> mail:   |   [EMAIL PROTECTED]
>
>
>
>
>
>
>
>   _
>
> 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  .
>
>
>



 
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] Image resizing onscreen? while given height and width?

2005-06-02 Thread Manish Jethani
On 6/2/05, rockmoyosa <[EMAIL PROTECTED]> wrote:
> I have given my image a height and width and maintainAspectRatio is
> true. When I'm loeding the image you will see the whole image in
> original size and than it whil resize top the given height an width.

I don't know why this happens (I can't seem to reproduce it), but a
simple workaround is to make the image invisible at first and set it
to visible in its 'complete' event handler.

  


 
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] RIAs

2005-06-02 Thread Manish Jethani
On 6/3/05, Rick Bullotta <[EMAIL PROTECTED]> wrote:

> To join the club, I will now officially coin the terms "Galactic RIA"™,
> "Consumer RIA"™, "Mobile RIA"™, and "Service Oriented RIA"™, and "Filthy
> RIA"™ J 

I'll take "Obnoxious RIA" (TM). :)  And I claim to have pioneered
these.  In fact, I'm going to write a book on how not to make RIAs,
when I can find some spare time (like when the internet goes down or
something).


 
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] CSS widths

2005-06-02 Thread Manish Jethani
On 6/2/05, Jeff Beeman <[EMAIL PROTECTED]> wrote:
> Is there any way to define widths of elements using CSS?  The following
> don't seem to do much of anything:

[...]

> Panel {
> width:800; height:600;
> }

'width' and 'height' are properties, not styles.  That said, you can
still make this work by creating a custom component that respects
those styles.  See this "MyPanel" component, for example;



http://www.macromedia.com/2003/mxml";>
  
public function measure():Void
{
  super.measure();

  var w:Number = getStyle("width");
  var h:Number = getStyle("height");

  if (w != undefined)
_measuredPreferredWidth = w;
  if (h != undefined)
_measuredPreferredHeight = h;
}
  


MyPanel prefers to be sized to the value of its "width" and "height"
styles, if specified.  Let's specify these styles now.


http://www.macromedia.com/2003/mxml";
  xmlns="*">
  
Panel {
  width: 100;
  height: 400;
}
  
  


Since MyPanel is based on Panel, it inherits the styles specified for
Panel; ergo, all MyPanel instances in your app are 100x400 if their
widths and heights are not explicitly specified.  How do you like
that?


 
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] RIAs

2005-06-02 Thread JesterXL
Title: Message





I'm coining Enterprise Crackhead.
 
- Original Message - 
From: Rick Bullotta 
To: flexcoders@yahoogroups.com 
Sent: Thursday, June 02, 2005 3:20 PM
Subject: RE: [flexcoders] RIAs



 
To join the club, I 
will now officially coin the terms “Galactic RIA”™, “Consumer RIA”™, “Mobile 
RIA”™, and “Service Oriented RIA”™, and “Filthy RIA”™ J 

 


Rick 
BullottaCTOLighthammer 
Softwarewww.lighthammer.com 





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Sreejith 
UnnikrishnanSent: Thursday, 
June 02, 2005 3:13 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
RIAs
 

Later a new term 
"Enterprise RIA" was coined by Steven 
Webster.   

 

" At iteration::two, 
we've coined the term "Enterprise RIA", to describe Rich Internet Applications 
of the scale and complexity you'd expect to find in a large, transactional web 
application, such as online banking, reservation systems or large commerce sites 
for example." 








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: Cairngorm .99 + Flex-Config + Services.mxml

2005-06-02 Thread dave buhler



With regard to your PDF, Dirk:

Is the Cross-Domain XML necessary when I am running two projects on a local-host with different ports?

If I can access the server locally right now, must I add the Cross-Domain Policy file?On 6/2/05, Dirk Eismann <
[EMAIL PROTECTED]> wrote:> I believe there is a Flex-Config file that is at
> the very least, part of JRun4. Can someone confirm> or deny this?I would say the flex-config.xml file is part of your flex web application but not of JRun.> There is one gateway-config.xm
 file in my Flex> web-inf folder.true. You don't need to modify this file at all.> Is there a second one for CF that needs to be configured?Yes! You'll need to modify gateway-config.xml that comes with CF 7.
> I think at this point, I need to take this step-by-step.yeah, that's the way to go :)> The difficulty I am having in part is because my first> configuration works with the wild-card.
It
works because you didn't used named services but defined the class name
of the remote object directly on the RemoteObject tag. The wildcard in
the Flex server's flex-config.xml just tells the compiler that any
remote object may be called.Dirk.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/








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] RIAs

2005-06-02 Thread Rick Bullotta
Title: Message












 

To join the club, I will now officially
coin the terms “Galactic RIA”™, “Consumer RIA”™,
“Mobile RIA”™, and “Service Oriented RIA”™,
and “Filthy RIA”™ J 

 





Rick
 Bullotta
CTO
Lighthammer Software
www.lighthammer.com 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sreejith Unnikrishnan
Sent: Thursday, June 02, 2005 3:13
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] RIAs



 



Later a new term
"Enterprise RIA" was coined by Steven Webster.   





 





" At iteration::two,
we've coined the term "Enterprise RIA", to describe Rich Internet
Applications of the scale and complexity you'd expect to find in a large,
transactional web application, such as online banking, reservation systems or
large commerce sites for example." 














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.












[flexcoders] highlight/unHighlight a grid cell

2005-06-02 Thread sanjayd
Hi.

Can somebody tell me an elegant way to highlight a datagrid cell on
mouseClick ? I need to be able to unHighlight the previously
highlighted cell (if any).

Thanks in advance.

Sanjay





 
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] RIAs

2005-06-02 Thread Sreejith Unnikrishnan
Title: Message





Later 
a new term "Enterprise RIA" was coined by Steven 
Webster.   
 
" At iteration::two, we've coined the term "Enterprise RIA", to describe 
Rich Internet Applications of the scale and complexity you'd expect to find in a 
large, transactional web application, such as online banking, reservation 
systems or large commerce sites for example."

  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
  Benjamin DoblerSent: Friday, June 03, 2005 12:13 
  AMTo: flexcoders@yahoogroups.comSubject: AW: 
  [flexcoders] RIAs
  
  That`s the one i 
  thougt
   
  Thanx 
  jesse
   
  
  
   
  RichApps.de
  RIA 
  Development
   
  Benjamin 
  Dobler
   
  web:   
  | 
  http://www.richapps.de
  mail:   
  | [EMAIL PROTECTED]
  
  
  
  
  
  Von: 
  flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Im Auftrag von JesterXLGesendet: Donnerstag, 2. Juni 2005 
  20:32An: flexcoders@yahoogroups.comBetreff: Re: [flexcoders] 
  RIAs
   
  
  I reckon it was Jeremy 
  Allaire:
  
   
  
  http://www.markme.com/jd/archives/005423.cfm
  
   
  
  Can't corraborate that, 
  though.
  
   
  
  ???
  
   
  
   
  
  - Original Message - 
  
  
  From: Benjamin Dobler 
  
  
  To: flexcoders@yahoogroups.com 
  
  
  Sent: Thursday, 
  June 02, 2005 2:26 PM
  
  Subject: 
  [flexcoders] RIAs
  
   
  Hi 
  All,
   
  Does anyone remember when the word 
  RIA (Rich Internet Application) first appeared.
  Who invented the term? I think it 
  was someone at MM but i can`t remember.
   
   
  Benjamin
   
  
   
  RichApps.de
  RIA 
  Development
   
  Benjamin 
  Dobler
   
  web:   | http://www.richapps.de
  mail:   | [EMAIL PROTECTED]
   
   







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.










AW: [flexcoders] RIAs

2005-06-02 Thread Benjamin Dobler










That`s the one i thougt

 

Thanx jesse

 





 



RichApps.de

RIA
Development

 

Benjamin Dobler

 

web:   | http://www.richapps.de

mail:   | [EMAIL PROTECTED]













Von: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Im Auftrag von JesterXL
Gesendet: Donnerstag, 2. Juni 2005
20:32
An: flexcoders@yahoogroups.com
Betreff: Re: [flexcoders] RIAs



 



I reckon it was Jeremy Allaire:





 





http://www.markme.com/jd/archives/005423.cfm





 





Can't corraborate that, though.





 





???





 





 





- Original Message - 



From: Benjamin Dobler 





To: flexcoders@yahoogroups.com






Sent: Thursday, June 02,
2005 2:26 PM





Subject: [flexcoders] RIAs







 



Hi All,

 

Does anyone remember when the word RIA (Rich Internet
Application) first appeared.

Who invented the term? I think it was someone at MM but i
can`t remember.

 

 

Benjamin

 



 



RichApps.de

RIA
Development

 

Benjamin Dobler

 

web:   | http://www.richapps.de

mail:   | [EMAIL PROTECTED]

 

 










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.












[flexcoders] Re: Fun with context roots

2005-06-02 Thread sbyrne_dorado
I don't think I even get to the state of calling services; the main
page (with EMBED, OBJECT, etc) needs to be emitting the pseudo context
root "beta", because URLs from it that it will use to download the
application will need that pseudo context root to get past the web server.

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
> What urls are being generated by the server here, named services?  If
> the urls need to be portable can you use relative urls?  I can
> understand that you want a url on one server to redirect to a different
> url on another server using a different path, but I guess I'm not sure
> how the context root becomes a problem here.
> 
>  
> 
> Matt
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of sbyrne_dorado
> Sent: Wednesday, June 01, 2005 5:06 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Fun with context roots
> 
>  
> 
> I am wondering if I've stumbled on a limitation of Flex, or if it's a
> limitation of my knowledge (probably the latter).
> 
> Here's the situation: I would like to have the ability to have a web
> server dispatch to different app servers based on a "contex root" like
> path prefix.  But, I don't want to have to force each of those app
> servers to have to have the webapp stored under the same context root
> that the web server URLs are using.
> 
> More concretely:
> 
> On my webserver I want to be able to say
> "http://foo.bar.com/beta/...";, and have the webserver redirect that to
> the internal app server URL "http://192.168.1.1/...";; i.e. no "beta"
> context root.  
> 
> Can I do this?  I can't seem to get the URLs generated by the server
> to be the "externally visible" form of the URLs (i.e. with the "beta"
> context root) and not have the app server's context root be "beta".
> 
> Steve
> 
> 
> 
> 
> 
> 
> 
> 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  .




 
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] RIAs

2005-06-02 Thread JesterXL





I reckon it was Jeremy Allaire:
 
http://www.markme.com/jd/archives/005423.cfm
 
Can't corraborate that, though.
 
???
 
 
- Original Message - 
From: Benjamin Dobler 
To: flexcoders@yahoogroups.com 
Sent: Thursday, June 02, 2005 2:26 PM
Subject: [flexcoders] RIAs


Hi All,
 
Does anyone remember when the word 
RIA (Rich Internet Application) first appeared.
Who invented the term? I think it 
was someone at MM but i can`t remember.
 
 
Benjamin
 

 
RichApps.de
RIA 
Development
 
Benjamin 
Dobler
 
web:   | http://www.richapps.de
mail:   | [EMAIL PROTECTED]
 







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] RIAs

2005-06-02 Thread Rick Bullotta










From what I recall it was Macromedia that
first used the term, in late 2002.









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Benjamin Dobler
Sent: Thursday, June 02, 2005 2:26
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RIAs



 

Hi All,

 

Does anyone remember when the word RIA (Rich Internet
Application) first appeared.

Who invented the term? I think it was someone at MM but i
can`t remember.

 

 

Benjamin

 



 



RichApps.de

RIA
Development

 

Benjamin Dobler

 

web:   | http://www.richapps.de

mail:   | [EMAIL PROTECTED]

 

 










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.












[flexcoders] RIAs

2005-06-02 Thread Benjamin Dobler










Hi All,

 

Does anyone remember when the word RIA (Rich Internet
Application) first appeared.

Who invented the term? I think it was someone at MM but i
can`t remember.

 

 

Benjamin

 



 



RichApps.de

RIA
Development

 

Benjamin Dobler

 

web:   |
http://www.richapps.de

mail:   | [EMAIL PROTECTED]

 











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] CSS widths

2005-06-02 Thread Abdul Qabiz
Hi,

Width/Height can not be set via CSS styles. These are properties of
component/classes in Flex.

-abdul 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeff Beeman
Sent: Thursday, June 02, 2005 10:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] CSS widths

Is there any way to define widths of elements using CSS?  The following
don't seem to do much of anything:

/* Results in error, saying I've given a bad value */
Application {
width:100%; height:100%;
}

/* Doesn't work */
Panel {
width:800px; height:600px;
}

/* Also doesn't work */
Panel {
width:800; height:600;
}


/***
* Jeff Beeman
* Digital Media & Instructional Technologies
* Arizona State University
***/




 
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/info/terms/
 




Re: [flexcoders] Passing parameter from panel to popupwindow

2005-06-02 Thread Tarik Ahmed
Added to the FlexCoders FAQ.


Tracy Spratt wrote:

>Since this gets asked very often, I have created a full sample, listing
>below, that uses three different ways to pass data into a title window.
>
>It uses the initobj to pass in several built-in properties plus two user
>defined properties.
>
>One is a simple string, the other is a reference to the main application
>that can be used for binding. Note the variable that holds the
>application reference is typed to the name of the application. this is
>critical for binding to work correctly.
>
>It also uses the reference to the created pop-up to set a variable in
>the title window from the main app.
>Tracy
>
>
>***TitleWindowData.mxml***
>
>http://www.macromedia.com/2003/mxml";
>   closeButton="true" 
>   click="this.deletePopUp();" 
>   creationComplete="initComponent()">
>
>   
>   
>   
>   
>   
>   width="150"/>
>   
>   
>   
>   
>   
> 
>   
>   
>   
> 
>
>
>***TitleWindowDataTest.mxml***
>
>http://www.macromedia.com/2003/mxml";
>horizontalAlign="left">
>
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>  change="gsBindMe = tiBindMe.text"/>
> 
>   click="showTitleWindow()"/>
>
>
>
>
>-Original Message-
>From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
>Behalf Of Francesco
>Sent: Thursday, June 02, 2005 11:10 AM
>To: Flexcoders
>Subject: [flexcoders] Passing parameter from panel to popupwindow
>
>Hi,
>
>I've a question about passing parameter.
>
>The problem:
>
>I have a panel with a button. (popupwindowdemo.mxml)
>When I press the button a popup window will be opened
>(the definition of the window stay in another file logonwindowdemo.mxml)
>
>My question is:
>
>How can I pass a parameter (String) from the panel to the popup windows
>(pressing the button) ?
>
>In my case I'd like that the field "userid" will be automatically
>completed...
>
>
>
>Thanks
>Francesco
>
>
>
>
>
>
>
>Here is the code (from explorer)
>
>//
>popupwindowdemo.mxml
>//
>
>
>
>http://www.macromedia.com/2003/mxml";>
>
>
>
>function showWindow(modal) {
>var popup = mx.managers.PopUpManager.createPopUp(_root,
>LogonWindow, modal, {deferred: true});
>}
>
>
>
>width="150"/>
>width="150"/>
>
>
>
>
>/*/
>logonwindowdemo.mxml
>/*/
>
>
>
>http://www.macromedia.com/2003/mxml";
>title="Logon">
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 
>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/info/terms/
 





[flexcoders] CSS widths

2005-06-02 Thread Jeff Beeman
Is there any way to define widths of elements using CSS?  The following
don't seem to do much of anything:

/* Results in error, saying I've given a bad value */
Application {
width:100%; height:100%;
}

/* Doesn't work */
Panel {
width:800px; height:600px;
}

/* Also doesn't work */
Panel {
width:800; height:600;
}


/***
* Jeff Beeman
* Digital Media & Instructional Technologies
* Arizona State University
***/




 
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/
 




[flexcoders] Image resizing onscreen? while given height and width?

2005-06-02 Thread rockmoyosa
I have given my image a height and width and maintainAspectRatio is
true. When I'm loeding the image you will see the whole image in
original size and than it whil resize top the given height an width. 

Why is this?




 
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/
 




[flexcoders] FormItem icon attribute not working?

2005-06-02 Thread Robert Brueckmann
Anyone have any success getting this to work?  Like if I want a help
bubble icon next to certain form fields, I can't do it because the icon
doesn't show up...I have a work around but then the alignment of the
form items gets thrown off...thoughts?
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
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] Invisible data points in line series

2005-06-02 Thread Ely Greenfield


Mmmm...in theory, it should display a single point using a point
renderer, but I haven't looked at the code to verify that. Have you
tried it?

Ely.


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of svktiilikainen
Sent: Thursday, June 02, 2005 5:21 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Invisible data points in line series

Hi,

I am (still) working on line charts. This time I'm wondering whether
there is an easy way to make LineSeries objects to show a datapoint even
if there is only one value in the whole series to show. Of course,
generally, a line consists of at least two values, but a single value
should also be rendered in some way. Is this, ie.
needing
two values for a line, a feature of LineSeries objects?
Can a pointrenderer be used to make this single value visible? 

Regards,
Satu






 
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/info/terms/
 





[flexcoders] prblem with getting dat back from A Remote Object

2005-06-02 Thread cnewroth55
hi all, I am haiving a problem getting my data back from my call to 
a RO. It looks like (in the network monitor) that the call is 
working, but I am not getting any data back into my datagrid (where 
i think i have the binding right). 
the netowrk monitor shows this:

Method: gvs._cfc.gvs_queries.Thrust_Query
Parameter 1: 
name : param1
type : object
value[object] : 
ThrustName[array] : 
length[Number] : 1
[0][String] : ASMT - Affordable Structures and Mfg. Tech
and my code is this:

//the call to the RO
http://www-stl-
100d.mw.nos.boeing.com/flashservices/gateway" 
source="gvs._cfc.gvs_queries" >
 

the scraip call to put everything where is it supposed to go (this 
is where I think i am doing it wrong)


RE: [flexcoders] Passing parameter from panel to popupwindow

2005-06-02 Thread Tracy Spratt
Since this gets asked very often, I have created a full sample, listing
below, that uses three different ways to pass data into a title window.

It uses the initobj to pass in several built-in properties plus two user
defined properties.

One is a simple string, the other is a reference to the main application
that can be used for binding. Note the variable that holds the
application reference is typed to the name of the application. this is
critical for binding to work correctly.

It also uses the reference to the created pop-up to set a variable in
the title window from the main app.
Tracy


***TitleWindowData.mxml***

http://www.macromedia.com/2003/mxml";
closeButton="true" 
click="this.deletePopUp();" 
creationComplete="initComponent()">












  



  


***TitleWindowDataTest.mxml***

http://www.macromedia.com/2003/mxml";
horizontalAlign="left">












  





-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Francesco
Sent: Thursday, June 02, 2005 11:10 AM
To: Flexcoders
Subject: [flexcoders] Passing parameter from panel to popupwindow

Hi,

I've a question about passing parameter.

The problem:

I have a panel with a button. (popupwindowdemo.mxml)
When I press the button a popup window will be opened
(the definition of the window stay in another file logonwindowdemo.mxml)

My question is:

How can I pass a parameter (String) from the panel to the popup windows
(pressing the button) ?

In my case I'd like that the field "userid" will be automatically
completed...



Thanks
Francesco







Here is the code (from explorer)

//
popupwindowdemo.mxml
//



http://www.macromedia.com/2003/mxml";>



function showWindow(modal) {
var popup = mx.managers.PopUpManager.createPopUp(_root,
LogonWindow, modal, {deferred: true});
}









/*/
logonwindowdemo.mxml
/*/



http://www.macromedia.com/2003/mxml";
title="Logon">

























 
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/info/terms/
 


TitleWindowDataTest.mxml
Description: TitleWindowDataTest.mxml


TitleWindowData.mxml
Description: TitleWindowData.mxml


Re: [flexcoders] Determining a Date

2005-06-02 Thread Jeff Tapper
Take a look at my dateAdd method that I added to my blog yesterday.  should 
allow you to get yesterdays date like this:
var today:Date = new Date();
var yesterday:Date = DateFunction.dateAdd("d",today,-1);

http://jeff.mxdj.com


At 01:57 PM 6/1/2005, you wrote:
>Any thoughts on an easy way to determine another date in time based on
>today's date? I want to query a web service using yesterday's date and
>I'm looking for a way to define it without all the logic overhead.
>
>
>
>Thanks much,
>
>Dave Harland
>
>
>
>
>--
>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.



 
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: Cairngorm .99 + Flex-Config + Services.mxml

2005-06-02 Thread Dirk Eismann
> I believe there is a Flex-Config file that is at 
> the very least, part of JRun4. Can someone confirm 
> or deny this? 

I would say the flex-config.xml file is part of your flex web application but 
not of JRun.

> There is one gateway-config.xm file in my Flex 
> web-inf folder. 

true. You don't need to modify this file at all.

> Is there a second one for CF that needs to be configured? 

Yes! You'll need to modify gateway-config.xml that comes with CF 7.

> I think at this point, I need to take this step-by-step.

yeah, that's the way to go :) 

> The difficulty I am having in part is because my first 
> configuration works with the wild-card.

It works because you didn't used named services but defined the class name of 
the remote object directly on the RemoteObject tag. The wildcard in the Flex 
server's flex-config.xml just tells the compiler that any remote object may be 
called.

Dirk.


 
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/
 




[flexcoders] Re: Passing parameter from panel to popupwindow

2005-06-02 Thread jwaknitz
You need to pass the data as a variable to the popup.  

In your app Script tag do this:



var dataPassed;

function showWindow(modal) {
var popup = mx.managers.PopUpManager.createPopUp(_root,
LogonWindow, modal, {deferred: true});

popup.dataPassed = //(whatever you want to pass);
}

And then in your pop up add the variable inside the script there.  
Then you can just call that variable and work with it as you please.

In the popup:


var dataPassed;




  




Hope that works for you. 




 
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: Cairngorm .99 + Flex-Config + Services.mxml

2005-06-02 Thread dave buhler



Hi Dirk,


  I believe there is a Flex-Config file that is at the very least, part of JRun4. Can someone confirm or deny this?
  There is one  gateway-config.xm file in my Flex web-inf folder. Is there a second one for CF that needs to be configured?

I think at this point, I need to take this step-by-step.

The difficulty I am having in part is because my first configuration works with the wild-card.

Dave
On 6/2/05, Dirk Eismann <[EMAIL PROTECTED]> wrote:
Hi Dave,to setup named remote objects with CF you'll need to1)
modify Flex's flex-config.xml file and CF's gateway-config.xml file (I
wondered to which file you are referring to when you say "CF
FlexConfig.xml" as there isn't such a thing)2) adjust the structure of CF's gateway-config.xml file a bit to define your named objects.To
point to the CF AMF gateway you can either use the endpoint on the
RemoteObject tag (the way you did) or chnage the 
setting in your Flex's flex-config.xml (however, this changes the
gateway for *all* applications in your Flex server)Then, you'll need to add a dummy named object entry in the flex-config.xml to get the MXML compiled.Next, you'll have to add the named object definition to the CF 
gateway-config.xml file. In your case something like this:...  
  wwwroot.MYDOMAIN.model.user.User  ...restart
your Flex and your CF server and you should be ready to go. Again, this
is described in detail here: http://www.richinternet.de/blog/index.cfm?entry=831FE26E-0D70-9C2D-2549E1D1978CF1B0Dirk.
-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of dave buhler
Sent: Thursday, June 02, 2005 7:57 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Cairngorm .99 + Flex-Config + Services.mxmlooops..
Meant to post this WORKING code with the source inline.WorksServices.mxml     endpoint="
http://localhost:8300/flashservices/gateway"  source="wwwroot.MYDOMAIN.model.user.User"  protocol="http"  showBusyCursor="true"
  result="event.call.resultHandler(
event )"  fault="event.call.faultHandler(
event )">   Flex FlexConfig.xml* CF GatewayConfig.xml  Standard Setup
*CF FlexConfig.xml  Standard SetupFailsServices.mxml     endpoint="http://localhost:8300/flashservices/gateway"  protocol="http"  showBusyCursor="true"
  result="event.call.resultHandler(
event )"  fault="event.call.faultHandler(
event )">   FlexConfig.xml     wwwroot.MYDOMAIN.model.user.usersService
GatewayConfig.xml  Standard Setup*CF FlexConfig.xml{
context.root}/amfgateway{context.root}/amfgatewayfalse
*     
*
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/









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.










[flexcoders] Re: Passing parameter from panel to popupwindow

2005-06-02 Thread jamiebadman
I'm relatively new to all this but I do happen to have done this 
recently and here's how:
 
A model containing data to be passed to the popup. This exists on 
the parent of the popup.
 
 
  {cbSearchView.selectedItem.data}
  {tiSearchCN.text}
  {tiSapCustNo.text}
  {tiBatchID.text}
 

 
The AS to create the popup:
 
 var popupScreen:TitleWindow = TitleWindow( PopUpManager.createPopUp
( this,
   creditBatchPopup,
   true,
   {title: 'Credit Batches', closeButton: false, 
parentComponent: this.searchData},
   false) );
 
The popup can then refer to data in the model with 
parentComponent.searchView etc etc.
 
As I say, I'm new - so there's a good chance there's a better way 
(if so, can someone please tell me!) - but the above does seem to 
work!
 
Cheers,
 
Jamie.

--- In flexcoders@yahoogroups.com, "Francesco" <[EMAIL PROTECTED]> 
wrote:
> Hi,
> 
> I've a question about passing parameter.
> 
> The problem:
> 
> I have a panel with a button. (popupwindowdemo.mxml)
> When I press the button a popup window will be opened
> (the definition of the window stay in another file 
logonwindowdemo.mxml)
> 
> My question is:
> 
> How can I pass a parameter (String) from the panel to the popup 
windows
> (pressing the button) ?
> 
> In my case I'd like that the field "userid" will be automatically
> completed...
> 
> 
> 
> Thanks
> Francesco
> 
> 
> 
> 
> 
> 
> 
> Here is the code (from explorer)
> 
> //
> popupwindowdemo.mxml
> //
> 
> 
> 
> http://www.macromedia.com/2003/mxml";>
> 
> 
> 
> function showWindow(modal) {
> var popup = mx.managers.PopUpManager.createPopUp(_root,
> LogonWindow, modal, {deferred: true});
> }
> 
> 
> 
> 
>  width="150"/>
> 
> 
> 
> 
> /*/
> logonwindowdemo.mxml
> /*/
> 
> 
> 
> http://www.macromedia.com/2003/mxml";
> title="Logon">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 




 
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] Passing parameter from panel to popupwindow

2005-06-02 Thread Manish Jethani
On 6/2/05, Francesco <[EMAIL PROTECTED]> wrote:

> How can I pass a parameter (String) from the panel to the popup windows
> (pressing the button) ?

http://www.mail-archive.com/flexcoders@yahoogroups.com/msg04671.html

This is one for the FAQ.


 
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/
 





[flexcoders] Passing parameter from panel to popupwindow

2005-06-02 Thread Francesco
Hi,

I've a question about passing parameter.

The problem:

I have a panel with a button. (popupwindowdemo.mxml)
When I press the button a popup window will be opened
(the definition of the window stay in another file logonwindowdemo.mxml)

My question is:

How can I pass a parameter (String) from the panel to the popup windows
(pressing the button) ?

In my case I'd like that the field "userid" will be automatically
completed...



Thanks
Francesco







Here is the code (from explorer)

//
popupwindowdemo.mxml
//



http://www.macromedia.com/2003/mxml";>



function showWindow(modal) {
var popup = mx.managers.PopUpManager.createPopUp(_root,
LogonWindow, modal, {deferred: true});
}









/*/
logonwindowdemo.mxml
/*/



http://www.macromedia.com/2003/mxml";
title="Logon">

























 
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/
 




[flexcoders] Any flex developers on IRC? What server/channel? -eom-

2005-06-02 Thread Ikezi Kamanu



eom : end of message.


-ekz
__
Ikezi Kamanu








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.










[flexcoders] Re: Fields and focuses

2005-06-02 Thread Eric Raymond
Seems like this behavior could easily be built into a component which
is a subclass of TextInput.  That way you'd only have to make on small
change to your existing code.

One hitch.  I'm not sure on the best way to locate the proper
container dynamically from the component that would need scrolling.

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
> You could put focusIn handlers on your TextInputs which would run some
> form of "ensureVisible" check.
> 
>  
> 
> function ensureVisible(component, container) : Void
> 
> {
> 
>   var containerBottom = container.vPosition + container.height;
> 
>   var componentBottom = component.y + component.height;
> 
>   if (componentBottom > containerBottom)
> 
>   {
> 
> container.vPosition += componentBottom - containerBottom +
> someMagicAmountThatBringsThingsMoreVisible;
> 
>   }
> 
> }
> 
>  
> 
> If you worry about shift-tabbing so that the form goes up you'd need to
> basically have another check that makes sure the top is greater than the
> vPosition.
> 
>  
> 
> This is basic logic obviously but it should give you some ideas.
> 
>  
> 
> Matt
> 
>  





 
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] Problems with headerRenderer in DataGrids

2005-06-02 Thread Manish Jethani
On 6/2/05, r_woess <[EMAIL PROTECTED]> wrote:

> I need a headerRenderer in my DataGrid, to show headlines in two
> lines.
> 
> For this I wrote an actionscript-class "MultiLineRenderer.as" and
> included this class into the headerRenderer-Attribute. But this
> doesn't work. Only if I included the same class into the cellRenderer,
> the MuliLineRenderer realy works.
[...]

What does MultiLineRenderer's setValue function look like?


 
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] Flex - the general feeling about the product is...

2005-06-02 Thread Theodore E Patrick
Jamie,

I have been using Flex for 3 months but personally have 8 years of Flash
experience. The key difference in moving from Flash to Flex is that Flex
allows you to reconfigure and reuse where Flash cannot. In 3 consecutive
projects late design changes to an application occurred seamlessly without
affecting the core application logic. Since Flex uses managed ids, similar
to a controls collection, you can move MXML around with near zero change to
application logic. Attempting to do this within Flash would have resulted in
a massive Library reorganization and taken 20x longer. 

Flex allows you to work at a much higher level and automate many of the
mundane tasks Flash devs had to do to make RIAs. That said there are some
things that Flash can still do better but both tools are extremely useful to
Flex work. Integrating existing Flash content is very easy in Flex either
via loading or embedding. 
 
Flex is also much deeper as a product than had originally thought. The
compiler is stricter and provides more detailed errors. Naming convention
errors fall the wayside as Flex detects the absence of a function or
references to a name that is not defined. These simple naming errors would
leave Flash devs banging their head on their desk for hours. Been there done
that.

I really like the WebServices integration. It could not be easier to
exchange data and integrate with external systems. On the projects I have
worked on the company has many existing SOAP services and wiring them into a
seamless application UI is really quite simple. We completed one project
integrating with JIRA bug tracking and one for a webmail system. Dare I say
it but WebServices in Flex might be too easy.

Another key feature for me is the ability to store application configuration
data in XML. Flex can compile XML into your application as a object
representation via the mx:Model tag. The following tag is the 1 or second
tag in every one of my applications that I build.



Anywhere within the application, I can read properties stored in the
"config" variable and use then to configure any type of data including
dataproviders, strings and other items. When I am done with development, the
XML configuration file allows the client to edit the application data as
needed without opening the MXML or AS files. 

Although I am new to Flex, the past few months of working in it full time
have been a great learning experience. Having developed applications in
Flash, you will make a seamless jump to Flex. Although I am still learning,
everything is still within the Flash player and all existing Flash skills
translate well in an application context. Your V2 and AS experience will
allow you to Flex much deeper. I find myself running circles around the Java
devs working in Flex given my deep understanding of the Player and
ActionScript. 

My 2 cents,

Ted Patrick
PowerSDK Software



> >Generally, are people happy with the Flex environment ? Are you
> >finding it a productive development environment and are you happy
> >with the apps you're creating ?
> >
> >Are there many really nasty 'problem areas' that you're waiting for
> >Macromedia to address in a future release that you've found
> >impossible - or very hard - to workaround ?
> >
> >Compared to developing a similar app in Flash, how're you finding
> >the development speeds ?
> >
> >Thanks in advance!
> >
> >Cheers,
> >
> >Jamie.




 
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/
 




[flexcoders] Invisible data points in line series

2005-06-02 Thread svktiilikainen
Hi,

I am (still) working on line charts. This time I'm wondering whether 
there is an easy way to make LineSeries objects to show a datapoint 
even if there is only one value in the whole series to show. Of 
course, generally, a line consists of at least two values, but a 
single value should also be rendered in some way. Is this, ie.
needing 
two values for a line, a feature of LineSeries objects?
Can a pointrenderer be used to make this single value visible? 

Regards,
Satu






 
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] Problems with headerRenderer in DataGrids

2005-06-02 Thread Dirk Eismann
Hi,

sounds as if the headerRenderer class doesn't get compiled in. Try using {} in 
the headerRenderer attribute:



Dirk.

> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> Behalf Of r_woess
> Sent: Thursday, June 02, 2005 2:13 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Problems with headerRenderer in DataGrids
> 
> 
> Hi,
> 
> I need a headerRenderer in my DataGrid, to show headlines in two
> lines.
> 
> For this I wrote an actionscript-class "MultiLineRenderer.as" and
> included this class into the headerRenderer-Attribute. But this
> doesn't work. Only if I included the same class into the cellRenderer,
> the MuliLineRenderer realy works.
> 
> My mxml-File looks like this:
> 
> http://www.macromedia.com/2003/mxml";
> pageTitle="test">
>   
>   
>   
>   
>   
>   
>   
>   
>   
>columnName="genehmigteArbeitszeit"
> headerText="genehmigtes Material" headerRenderer="MultiLineRenderer"
> cellRenderer="MultiLineRenderer" />
>   
>   
>   
> 
> 
> As I said above, no header will be shown, if no cellRenderer is
> defined.
> 
> Is this a flex-error, or did I something wrong?
> 
> best regards
> Reini
> 
> 
> 
> 
>  
> 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/info/terms/
 




[flexcoders] Problems with headerRenderer in DataGrids

2005-06-02 Thread r_woess
Hi,

I need a headerRenderer in my DataGrid, to show headlines in two
lines.

For this I wrote an actionscript-class "MultiLineRenderer.as" and
included this class into the headerRenderer-Attribute. But this
doesn't work. Only if I included the same class into the cellRenderer,
the MuliLineRenderer realy works.

My mxml-File looks like this:

http://www.macromedia.com/2003/mxml";
pageTitle="test">















As I said above, no header will be shown, if no cellRenderer is
defined.

Is this a flex-error, or did I something wrong?

best regards
Reini




 
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/
 




[flexcoders] Passing an object into a custom validator

2005-06-02 Thread kevmclachlan79
Hi all,

I am having a bit of a problem with validators in my application. The
problem is that I am trying to get a object to a custom validator so
that I can validate based on properties of the object.

I have a rule object that contains various properties about the rule
which I need access to in the validator (eg max, min, mandatory).  The
lack of binding or an id in the validator means that I cannot access
the validator directly and assign it to the validators rule
attribute.  

I just need some way to get the object in the mxml into my custom
validators (I have 3 validators, extending the number, date and string
validator classes) so it can use the objects properties to validate.


The mxml I have is as follows and it is the "stringRule" object I need
passed in to the validator somehow:

var stringRule: Rule;
function updateRules() {

stringRule = validationTestView.getRule('StringMaxMin'); // This
view returns a Rule object for use in the custom validator

}


{dateInput.text}
{stringInput.text}
{numberInput.text}







 

   





 

 


Any help would be gratefully appreciated.


Thanks in advance,

Kevin





 
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: Cairngorm .99 + Flex-Config + Services.mxml

2005-06-02 Thread Dirk Eismann
Hi Dave,

to setup named remote objects with CF you'll need to 

1) modify Flex's flex-config.xml file and CF's gateway-config.xml file (I 
wondered to which file you are referring to when you say "CF FlexConfig.xml" as 
there isn't such a thing)

2) adjust the structure of CF's gateway-config.xml file a bit to define your 
named objects.

To point to the CF AMF gateway you can either use the endpoint on the 
RemoteObject tag (the way you did) or chnage the  setting in your 
Flex's flex-config.xml (however, this changes the gateway for *all* 
applications in your Flex server)

Then, you'll need to add a dummy named object entry in the flex-config.xml to 
get the MXML compiled.

Next, you'll have to add the named object definition to the CF 
gateway-config.xml file. In your case something like this:

...
 
   
 
   
   
 
  wwwroot.MYDOMAIN.model.user.User 
 
   

...

restart your Flex and your CF server and you should be ready to go. Again, this 
is described in detail here: 
http://www.richinternet.de/blog/index.cfm?entry=831FE26E-0D70-9C2D-2549E1D1978CF1B0

Dirk.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of dave buhler
Sent: Thursday, June 02, 2005 7:57 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Cairngorm .99 + Flex-Config + Services.mxml


ooops..

Meant to post this WORKING code with the source inline.

Works
Services.mxml
   http://localhost:8300/flashservices/gateway";
  source="wwwroot.MYDOMAIN.model.user.User"
  protocol="http"
  showBusyCursor="true"
  result="event.call.resultHandler( event )"
  fault="event.call.faultHandler( event )">
   

Flex FlexConfig.xml

*
 

CF GatewayConfig.xml
  Standard Setup


*


CF FlexConfig.xml 
  Standard Setup


Fails
Services.mxml
   http://localhost:8300/flashservices/gateway";
  protocol="http"
  showBusyCursor="true"
  result="event.call.resultHandler( event )"
  fault="event.call.faultHandler( event )">
   

FlexConfig.xml
   
  wwwroot.MYDOMAIN.model.user.usersService


GatewayConfig.xml
  Standard Setup


*


CF FlexConfig.xml 


{context.root}/amfgateway
  
{context.root}/amfgateway

false
 

  

*
  


   
   *
























 
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] Fields and focuses

2005-06-02 Thread Mika Kiljunen










Yep, posted a wish there J

 

-Mika 

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Matt Chotin
Sent: 2. kesäkuuta 2005 10:33
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Fields
and focuses



 

http://www.macromedia.com/go/wish
:-)

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mika Kiljunen
Sent: Thursday, June 02, 2005
12:32 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Fields
and focuses



 

I’d say this functionality should be
part of the flex environment rather than a user implemented behaviour…?

 

-Mika

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: 2. kesäkuuta 2005 10:01
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Fields
and focuses



 

You could put focusIn handlers on your
TextInputs which would run some form of “ensureVisible” check.

 

function ensureVisible(component,
container) : Void

{

  var containerBottom =
container.vPosition + container.height;

  var componentBottom = component.y +
component.height;

  if (componentBottom >
containerBottom)

  {

    container.vPosition +=
componentBottom – containerBottom +
someMagicAmountThatBringsThingsMoreVisible;

  }

}

 

If you worry about shift-tabbing so that
the form goes up you’d need to basically have another check that makes
sure the top is greater than the vPosition.

 

This is basic logic obviously but it
should give you some ideas.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mika Kiljunen
Sent: Wednesday, June 01, 2005
11:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Fields and
focuses



 

Hi, 

I stumbled into a problem when using keyboard to navigate on
a flex UI. I have a tabnavigator tab which contains a form with plenty of
different type of fields (textinputs, comboboxes, textareas, etc). It has about
25 fields or so and it does not fit into the screen so flex adds the vertical
scrollbar to move up and down on the form. 

 

Now if I set the focus on the first field and start typing
stuff in it works fine. But eventually I move to the next field with tabulator
key and enter some more data. When I move with tabulator to the field that is
on the bottom of the screen and press tabulator to move to the next field (that
is below the screenview) flex moves the focus (apparently) but it does not
scroll the form down to show the field with the focus on (the one that is now
out of sight). 

 

What I mean is that flex does not “autoscroll”
the view when the focus is set outside the visible view with tabulator. Is
there a workaround for this? 

 



--
Mika Kiljunen





 





 





 





 



 

 

 











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] Fields and focuses

2005-06-02 Thread Matt Chotin










http://www.macromedia.com/go/wish
:-)

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mika Kiljunen
Sent: Thursday, June 02, 2005
12:32 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Fields
and focuses



 

I’d say this functionality should be
part of the flex environment rather than a user implemented behaviour…?

 

-Mika

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: 2. kesäkuuta 2005 10:01
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Fields
and focuses



 

You could put focusIn handlers on your
TextInputs which would run some form of “ensureVisible” check.

 

function ensureVisible(component,
container) : Void

{

  var containerBottom = container.vPosition
+ container.height;

  var componentBottom = component.y +
component.height;

  if (componentBottom >
containerBottom)

  {

    container.vPosition +=
componentBottom – containerBottom +
someMagicAmountThatBringsThingsMoreVisible;

  }

}

 

If you worry about shift-tabbing so that
the form goes up you’d need to basically have another check that makes
sure the top is greater than the vPosition.

 

This is basic logic obviously but it
should give you some ideas.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mika Kiljunen
Sent: Wednesday, June 01, 2005
11:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Fields and
focuses



 

Hi, 

I stumbled into a problem when using keyboard to navigate on
a flex UI. I have a tabnavigator tab which contains a form with plenty of
different type of fields (textinputs, comboboxes, textareas, etc). It has about
25 fields or so and it does not fit into the screen so flex adds the vertical
scrollbar to move up and down on the form. 

 

Now if I set the focus on the first field and start typing
stuff in it works fine. But eventually I move to the next field with tabulator
key and enter some more data. When I move with tabulator to the field that is
on the bottom of the screen and press tabulator to move to the next field (that
is below the screenview) flex moves the focus (apparently) but it does not
scroll the form down to show the field with the focus on (the one that is now
out of sight). 

 

What I mean is that flex does not “autoscroll”
the view when the focus is set outside the visible view with tabulator. Is
there a workaround for this? 

 



--
Mika Kiljunen





 





 





 





 



 

 

 










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] Fields and focuses

2005-06-02 Thread Mika Kiljunen











I’d say this functionality should be
part of the flex environment rather than a user implemented behaviour…?

 

-Mika

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
Sent: 2. kesäkuuta 2005 10:01
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Fields
and focuses



 

You could put focusIn handlers on your
TextInputs which would run some form of “ensureVisible” check.

 

function ensureVisible(component,
container) : Void

{

  var containerBottom =
container.vPosition + container.height;

  var componentBottom = component.y +
component.height;

  if (componentBottom >
containerBottom)

  {

    container.vPosition +=
componentBottom – containerBottom +
someMagicAmountThatBringsThingsMoreVisible;

  }

}

 

If you worry about shift-tabbing so that the
form goes up you’d need to basically have another check that makes sure
the top is greater than the vPosition.

 

This is basic logic obviously but it
should give you some ideas.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mika Kiljunen
Sent: Wednesday, June 01, 2005
11:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Fields and
focuses



 

Hi, 

I stumbled into a problem when using keyboard to navigate on
a flex UI. I have a tabnavigator tab which contains a form with plenty of
different type of fields (textinputs, comboboxes, textareas, etc). It has about
25 fields or so and it does not fit into the screen so flex adds the vertical
scrollbar to move up and down on the form. 

 

Now if I set the focus on the first field and start typing
stuff in it works fine. But eventually I move to the next field with tabulator
key and enter some more data. When I move with tabulator to the field that is
on the bottom of the screen and press tabulator to move to the next field (that
is below the screenview) flex moves the focus (apparently) but it does not
scroll the form down to show the field with the focus on (the one that is now
out of sight). 

 

What I mean is that flex does not “autoscroll”
the view when the focus is set outside the visible view with tabulator. Is
there a workaround for this? 

 



--
Mika Kiljunen





 





 





 





 



 

 











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] Fields and focuses

2005-06-02 Thread Matt Chotin










You could put focusIn handlers on your
TextInputs which would run some form of “ensureVisible” check.

 

function ensureVisible(component,
container) : Void

{

  var containerBottom =
container.vPosition + container.height;

  var componentBottom = component.y +
component.height;

  if (componentBottom >
containerBottom)

  {

    container.vPosition += componentBottom
– containerBottom + someMagicAmountThatBringsThingsMoreVisible;

  }

}

 

If you worry about shift-tabbing so that
the form goes up you’d need to basically have another check that makes
sure the top is greater than the vPosition.

 

This is basic logic obviously but it
should give you some ideas.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mika Kiljunen
Sent: Wednesday, June 01, 2005
11:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Fields and
focuses



 

Hi, 

I stumbled into a problem when using keyboard to navigate on
a flex UI. I have a tabnavigator tab which contains a form with plenty of
different type of fields (textinputs, comboboxes, textareas, etc). It has about
25 fields or so and it does not fit into the screen so flex adds the vertical
scrollbar to move up and down on the form. 

 

Now if I set the focus on the first field and start typing
stuff in it works fine. But eventually I move to the next field with tabulator
key and enter some more data. When I move with tabulator to the field that is
on the bottom of the screen and press tabulator to move to the next field (that
is below the screenview) flex moves the focus (apparently) but it does not
scroll the form down to show the field with the focus on (the one that is now
out of sight). 

 

What I mean is that flex does not “autoscroll”
the view when the focus is set outside the visible view with tabulator. Is
there a workaround for this? 

 



--
Mika Kiljunen





 





 





 





 



 

 










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.