Thank you. I like the ability to use just one model since I will be
submitting the entire model to a service.
Can you still validate the data even though the actual fields are in
different tabs?
Doug Coning
Software Developer
FORUM Solutions, LLC
_
From: Matt Chotin [mailto:[E
Make sure you have the Flash 7 plugin installed.
-James
On Fri, 2005-02-04 at 15:47 -0500, [EMAIL PROTECTED] wrote:
> The concepts of Flex seem easy enough to understand but whenever I try
> to preview it in the browser it never lets me do it. One of several
> things happens either it shows a br
The concepts of Flex seem easy enough to understand but whenever I try to preview it in the browser it never lets me do it. One of several things happens either it shows a browser with a completely empty screen OR it Macromedia Flex 1.5 crashes. The browser I am using for previewing is Netscape so
Up to you. How related is the data on the
5 tabs? Sometimes what I do is have a larger model in the Applicationand make
the tabs work with subsets.
…
…
Tab1.mxml
{input1.text}
{input2.text}
…
So it reall
Check out the validator enable/disablemethods.
They’re meant for exactly this.
Matt
From: James Ward
[mailto:[EMAIL PROTECTED]
Sent: Friday, February 04, 2005
12:09 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] reset a
form?
I wish there were a method on a
I wish there were a method on a form to reset it... I have a form in a
viewstack... The user fills out the form clicks save, I set the text
fields text = "", and then switch to a different view. Works decent.
However, let's say I allow the user to navigate back to the form. Well,
the validator is n
Newbie Question:
I have a user application that contains 5 tabs (using the TabNavigator).
I'd like to use the class to store and validate the data from
each of the forms on those 5 tabs. What is the best method for doing
this? Should I place the Model in the Application file or should I
break
Thanks! That was actually perfect for
what I needed because the tree has to open to get to the selected node anyways
for display purposes. Thanks so much! Nice and simply and recursion-less!
What more could you ask for?
Robert L. Brueckmann
Web Developer
Merlin Securities,LLC
59
For information on deprecated properties, and migrating
from Flex 1.0 to Flex 1.5, you can access the Migration Guide from the FlexDoc
site:
http://macromedia.com/support/documentation/en/flex/1_5/migration.html
Stephen Gilson
From: Matt Chotin
[mailto:[EMAIL PROTECTED] Sent: Friday, Fe
The modelChanged event is dispatched from
the dataProvider itself (which can be the Array class). I’m notfamiliar
with flashorb so I don’t know how it goes about populating its results. In
order for the modelChanged event to fire you need to use the DataProvider
methods like addItem and r
I think the services mapping is in the
web.xml in samples.war (it’s mapped to the SamplesAxisServlet).
Matt
From: chrs_hearn
[mailto:[EMAIL PROTECTED]
Sent: Friday, February 04, 2005
7:58 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] WSDL
question /services dir
You should still use this book, it’s
a great resource (and not just because of the technical editing J). We’ve listed
the deprecated terms in the release notes which you can get off the web site.
There was not a 1.5 update of the Flex book, but all of the concepts still
hold.
Matt
Actually turns out the bug was in there.
I was wrong that we had fixed it in 1.5, we had deferred it and I fixed it in
the later build. The release note mentions that Charts shouldn’t be used
in Repeaters but it’s because of the same bug.
Matt
From: Jeff Tapper
[mailto:[EM
Thanks!
At 01:58 PM 2/4/2005, you wrote:
I'll get a bug in there for you to make sure it is officially fixed.
_
From: Jeff Tapper [mailto:[EMAIL PROTECTED]
Sent: Friday, February 04, 2005 10:57 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Oddities with binding columns of a DataG
Hi,
I'd also add support for accesibility.
-David
-
> -Original Message-
> From: David Ringley [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 04, 2005 1:07 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Laszlo Systems, Inc.
>
>
> Another issue to look at when co
We don’t really have support for
dynamic validators right now. The only thing I can think of is that you could
subclass TextInput and put a model in there, then use a validator on that. Then
in the Repeater you would use your new version of TextInput. This TextInput
would be pretty speci
I’ll get a bug in there for you to
make sure it is officially fixed.
From: Jeff Tapper
[mailto:[EMAIL PROTECTED]
Sent: Friday, February 04, 2005
10:57 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Oddities
with binding columns of a DataGridColum in width in a repe
Can you file the bug report for me, or is it not worth doing, since it
seems to be fixed on the new release you're running.
At 01:54 PM 2/4/2005, you wrote:
Ok, bad news. I had been running on my own internal build which has had
some updates to it. It worked there. I ran it on an official 1.5 bu
Here's a snippet from a recent project which loops through and opens all
branches in a tree. Shouldnt be too tough to modify for your needs.
function openTree(t:mx.controls.Tree) {
var i:Number=0;
var node:mx.controls.treeclasses.TreeNode=t.getTreeNodeAt(i);
while (node != undefined){
if (t.getIs
Ok, bad news. I had been runningon my
own internal build which has had some updates to it. It worked there. I ran
it on an official 1.5 build, it had the bug. So it’s clearly a bug. Don’t
have a workaround for you, sorry!
Matt
From: Jeff Tapper
[mailto:[EMAIL PROTECTED]
I have a book titled Developing Rich Clients with Macromedia Flex by Steven Webster and Alistar McCloud, and I must say its a very good book. Thereivews for it have been fantastic however there is one thing, some of theattributes the book uses have been deprecated which makes me wonder what Ishou
Thanks for your help! This should make
for an interesting afternoon…
Thanks again!
Rob
Robert L. Brueckmann
Web Developer
Merlin Securities,LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820
From: Robert
Stuttaford [mailto:[EMAIL PROTECTE
Another issue to look at when considering Laszlo is
internationalization of your product. Laszlo beta 3 does implement
some localizable controls but not completely, such as the button
control. Where as Flex has had a lot of foresight with their
components for localizing, such as there calendar, for
An addition:
Function findthatnode( parent node, nodeID
) {
Loop through parent node’s children:
If current child node is the one with nodeid, then
return current node
else if current child node has at
least one child node of its own
Recursion, at it’s simplest, works
like this:
function foo () {
foo();
}
A function that calls itself – or,
put another way, a function that calls a COPY of itself.
In pseudo code:
Function findthatnode( parent node, nodeID
) {
Loop
through parent
Is there any easy, recursive way to
traverse a tree component? My tree’s data provider is an XML object sent
from the db. I have 3 tree components actually…the 2nd tree
is built based on the selection of the 1st tree and the 3rd
tree is built based on the selections made in the 1st and 2nd
The property name is in your email:
youList.selectedIndices = [0, 3, 4];
That'll select row 0, 3, and 4.
- Original Message -
From: "Eric Guesdon" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 04, 2005 5:51 AM
Subject: [flexcoders] selectedIndices
Hi to all,
Are there any possibi
After the install you need to whitelist the local server to allow it to run
the webservice samples.
Look inside your flex directory for flex-config.xml and scan through for the
whitelist tag inside http-service.
There are some examples there that you see what to add.
If this does not answer your
Isaac,
Are we to understand that the XML filename changes and that you are trying
to compile the result into the swf at compile time, or are you, for example,
passing a querystring variable to a dynamic page which results in dynamic
XML?
mx:Model and mx:XML tags grab the XML at compile time and s
> > In \Program Files\Apache software Foundation\Tomcat
> > 5.0\bin\catalina.bat, in the last section immediately after "rem
> > Execute
> > Java with the applicable properties", insert this line,
> > set CATALINA_OPTS=-mx1024m. Save the file.
Did you check in the bin directory of the Tomcat inst
This is my PHP:
';
echo '';
//fitching all the entries
while ($row=mysql_fetch_assoc($result)) {
$line = ''.$row['id'].'';
$line1 = ''.$row['title'].'';
$line2 = ''.$row['year'].'';
$line3 = ''.$row['publisher'].'';
$line4 = ''.$row['genres'].'';
$line5 = ''.$row['image'].'';
$line6 = ''.$row['i
Hi
I'm using flashorb remoting to retrieve data from my .net middle
tier. My flashorb is configured to return an initial 10 records and
then retrieve the rest as needed.
This is fine and is exactly what i want when (for example) i am
populating a datagrid or any other UI.
However, if i am po
When i run the samples i get a WSDL error...looking at my config
file i see this...but when i look for the /services/ dir i cant find
it. Should there be a services dir? I dont think i missed anything
on the install.
{context.root}/services/ContactManagerWS?wsdl
Hello group!
Im tryin to use repeated Form elements together with validation
but i absolutely dont know how.
without a repeater i hav my mx:model bound to my form elements
and define my mxml validator with fields referencing my mode.
and with a repeater?
i create my model at "initialize", so how
Sorry it is called "broadcastEvent" not dispatchEvent
Alex
-
Ah, I see your point now.
I presume u need to use commands when u want to exchange data with server.
Otherwise u just broadcast the event via EventBroadcaster's dispatchEvent
and that doesn't prevent from adding severa
Matt,
Glad to see that someone else would like to see this work. Our goals
may have been slightly different than yours. We were trying to use the
persistence layer and pojo's created with Hibernate in both an
internal Flex application and re-use it in a public Mach-II
application. Both our CF and
Ah, I see your point now.
I presume u need to use commands when u want to exchange data with server.
Otherwise u just broadcast the event via EventBroadcaster's dispatchEvent
and that doesn't prevent from adding several listeneres (via
AddEventListener) for the same event..
-Original Messa
supposing a datagrid with 5 rows
that´s function you give me:
function envia_motivos_fuc(){
var Request:Object = new Object();
for(var i=0;i wrote:
> Miguel,
>
> I'm not sure what are you asking. Can you please explain the problem?
>
> Thanks
>
> Agha
>
> -Original Message-
> Fr
It requires a new command class because the command classes I currently have
update the two views separately. The requirement is not always for the view
to be updated simultaneously, so they each have their own command class.
The controller looks something like:
addCommand("updateViewOne", ViewO
The command classes already exists and work in their own right for their
respective views. I will not always want to update both the views at the
same time.
You seem to be getting confused with the purpose of the event. The event is
broadcast once the product has been added, not when the product
Andrew Spaulding wrote:
I have tried using a getPreferredHeight method that returns the owners
layoutHeight and this works fine, the colour fills the entire cell
now. But I still have some weird behaviour when there is a scoll bar
on my datagrid. If click and drag on the scroll bar and move it up a
Tolulope Olonade [ MTN -YelloDrome ] wrote:
Dont mess with C# though.
According to opinions all over the globe its widely accepted as the most
elegant language. Developed by Anders Hejlsberg
[snip]
At the risk of taking this discussion off topic, here's my two-bit
opinion on C# vs. Java:
http://
Its definitely 15. One of the lines in the jrun console is: INFO License
Service: Flex 1.5 Developer Edition enabled
When you ran the 2nd example did the 2 grids have their columns spaced like
the one in the first example? Attached is a screenshot of what i see.
1.5 At 11:41 PM 2/3/2005, you wr
Not sure why it requires to create a new command class.
onResult function in your command class that is assigned with "add product"
event would be something like
public function onResult( event : Object ) : Void
{
var view1ViewHelper =
ViewLocator.getInstance().getViewHelper( "view1" );
var view
Yes that would certainly work, but that would involve creating a new command
class. I was wanting to re-use the command classes that are currently being
used, but just fire them both for the same event.
Although your solution does seem more elegant that broadcasting multiple
events.
-Mike
-O
shvilamit wrote:
i wont to buy a server and i wont to know if the flex will have a
better preformens on linux server or dose it will be faster on
windows server
I guess the single most important factor influencing the performance of
Flex is the J2EE server that Flex is deployed on.
Manish
pioplacz wrote:
Maybe it sounds king of noobish but i'm a noob... but cannot get it
to work... i tryed just passing the data from httpservice to
datagrid but the right data won't show... I'm getting all
confused maybe is something wrong with my php xml output... :S
Your XML output looks fin
Thanks Abdul, but I think I´ve not explained my problem correctly. As the
XML name is dynamic, I need to create the Model at runtime. In other words,
I know the XML name in the moment the .mxml page is built , I cannot
declare the Model as you suggest. me. Any thoughts?
Isaac Bibás
Abdul Qab
Hi Mike,
I presume nothing prevents you from accessing two different views via
ViewLocator singleton within one command.
Regards,
Alex.
-Original Message-
From: Michael Herron [mailto:[EMAIL PROTECTED]
Sent: Friday, February 04, 2005 2:48 PM
To: flexcoders@yahoogroups.com
Subject: [flex
Hi,
unfortunately considering that you/they can be used in flex methods
overload, here one example
side java i have to method
CPF getCodice(String cod_art);
CPF[] getCodice(String seasons);
in flex
{CSchedaModello.getCodice.result}
..
then in all my flex ui binding to
..
then I don'
Hi all
Just a quick question about using cairngorm:
In my application when a product has been added, I wish to broadcast a
"product added" event and have it picked up by two separate command classes
that will update two separate views. Unfortunately, when the event is
broadcast, it only seems to
Hi,
You can't use Model to load XML on runtime. It works at compile time...
However, you can use HTTPService object to load xml dynamically at runtime.
Please search the flexcoders archive, this question has been discussed
recently..
Also check out Flex documentation for HTTPService.
I answered
Hi to all,
Are there any possibilities to select programmaticaly more than one row
in Datagrid or in List where multipleSelection propertie is true.
Best regards.
--
Eric Guesdon / Capgemini / France
http://www.capgemini.com
This message contains information that may be privileged or confidentia
Hi,
there is a file called sqladmin.properties under WEB-INF/classes, did
you put your db name / url / username / password details in there ?
In MySQL, make sure the user you specify in the above file has localhost
connection permission (assuming your db is on the same machine as your
webapp)
Hi coders,
I intend to create a generic screen containing a comboBox its content
depends on externalized parameter specifying a XML file.
I´ve tried unsuccessfully the following:
In a AS function:
myModel:Model = new Model();
myModel.source=the_XML_path;
Anybody knows how to create model dynami
Thank you Sagar.
great help.
Best Regards,
Sandip
Hi,
Can you post your code here, so that we can see whats wrong in that?
You can also post your php code, I can look at it ?
-abdul
-Original Message-
From: pioplacz [mailto:[EMAIL PROTECTED]
Sent: Friday, February 04, 2005 4:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
Unless of course you’ve already bought
Dreamweaver J
From: Tracy Spratt [mailto:[EMAIL PROTECTED]
Sent: 04 February 2005 03:03AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex
Builder
To be more accurate, the Flex trial
converts to a Developer license whic
So I ran your examples it looked rightto
me. I seem to remember that we had a problem with binding into arraysin
repeaters in 1.0, is it possible you’re not using a 1.5 install?
Matt
From: Jeff Tapper
[mailto:[EMAIL PROTECTED]
Sent: Thursday, February 03,2005
3:43 PM
To: f
OK, so doing the preferredHeight trickis
a bad idea. Unfortunately in looking at the code that builds the row I
basically can’t figure out the “right” thing to do. I think
you should file a bug saying that it’s too difficult to indicate in a
cell renderer that you want to be the same size
Hey Abdul
Thanks dude.. that
did work.. We are going through the changes made by you and I think we should
succeed in getting the same into our app also
Cheers
Srikanth
-Original Message-
From: Abdul Qabiz
[mailto:[EMAIL PROTECTED]
Sent: Thursday,
February 03, 2005 7:
I never got the Menu component to work, can't help
you on 1 and too burnt to try again till the morning.
:: wavers ::
To heck with status, make your own, or overwrrite
the mug:
private var _status:String;
public function get status():String
{
return _status;
}
public function set
Thanks, Jesse, Coenraet's article was exactly what I needed.
Okay, two more questions now that I have a couple buttons in the panel:
1) One of the buttons spawns a menu like so:
function handleMenuButton ( event ) {
if ( _menuData ) {
winMenu = Menu.createMenu ( event.target, menuData );
winMen
Something close to this:
http://www.macromedia.com/2003/mxml";>
- Original Message -
From: "Mark Hitchcock" <[EMAIL PROTECTED]>
To:
Sent: Thursday, February 03, 2005 9:02 PM
Subject: [flexcoders] Printing TextArea
Does anyone have an example or ideas about how to print scr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
What are the equivalent commands for the *nix tomcat install? (or is
this not an issue for that version?)
Thanks,
Seth
On Feb 03, 2005, at 20:29, Tracy Spratt wrote:
There have been a couple threads that indicate you should boost the
memory settings:
Does anyone have an example or ideas about how to print scrollable content
in a textArea?
Thanks
Mark Hitchcock
[EMAIL PROTECTED]
Well and then there's the Microsoft XAML initiative too. And as for an IDE, IBM has built one for Laszlo http://www.alphaworks.ibm.com/tech/ide4laszloThe main thing for me is, and why I think Flex will be successful:1) Community/Support. I'm very appreciative of the Flex community. All the folks fr
There have been a couple threads that indicate you should boost the
memory settings:
Open the apache tomcat configuration app in sys tray, and on the "Java"
tab, bump up the initial memory pool size and the maximum memory pool
size to 512 Initial and 768 Max, click Ok
In \Program Files\Apache sof
How are you handling the returning data? Are you binding it directly,
or are you using an AS function to assign it to a control?
You understand about the asynchronous issues right?
There are examples of simple case uses of data services on
www.CFLEX.net.
Post your http service declaration.
Trac
Other than Jimmy's note, you approach looks ok.
How far in is your data getting? Trace something out of the model, if
the data is there, then trace something out of the data provider.
Tracy
-Original Message-
From: mwelie [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 03, 2005 11:27
I never would have expected casting an object to a String would return a
usable string! (will be interested to try it and look at the string!)
If there was a "key" field in the data provider, you could use the same
technique using the key value in place of String(item).
Tracy
-Original Messa
71 matches
Mail list logo