I set up a
DataGridColumn sort function but the sort only happens every otherheader
clickeven though the sort arrow changes direction on every
click.
Anyone got any
ideas???
Kind Regards,
Simon Fifield
Sorting should happen every click, you should probably look into your sort
function
Look at the attached code, it works fine:-
##DataGridSort.mxml###
?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
backgroundColor=#FF
mx:Script
![CDATA[
function
Hello,
I have a simple question regarding the way to use
formatters. In case I attach a number formatter or
currency formatter to a form item should I unformat
the input text value before sending it back on the
server side?. Is it something that am I missing?
Shouldn't the value remain
Yep
:) But the following seems to do the trick...
test.mxml
?xml version="1.0" encoding="iso-8859-1"?
mx:Application
xmlns:mx="http://www.macromedia.com/2003/mxml"
xmlns="*"
mx:Form
HackedFormItem label="small label"
mx:TextInput /
/HackedFormItem
HackedFormItem label="really big label"
damn, didn't think of that; I did an exact
positioning of an entirely new label on the Stage's resize:
?xml version="1.0"
encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"initialize="initApp();"mx:Script![CDATA[function
Next version will make the formatter
function assignment better.
I dont know off-hand of a way to
prevent the selection to null, I assume you could do it by subclassing the
DateField and overwriting the selectedDate setter, but I havent tried
it.
Matt
From: r0main
Im not sure why you want the idto
be the same as the class name. It may not work as you want (having ids
the same as a class name can lead to weird conflicts). What youd
want to do is after creation give your parentDocument a property with the name as
your class.
Matt
From:
Periodically, Macromedia asks for help from you, the Flex community.
Recently, Ive solicited your thoughts about components and printing. Its
incredibly valuable to us. It helps us get the product right so it works the
way you want it to. I cant tell you how much direct impact you can have
Hi,
No, Formatter doesn't have any unformat method. Probably, formatting is
undoable unless you extend the formatter and add a unformat method with
reverse logic..
You can have your server-side script to process a formatted string. Its
always better and less work on server?
Another way is you
Is this possible to do or is it possible to change the dataprovider property of a repeater?
Hi all,
is there a document or something about guidelines and
standards in devoleping a flex app? I searched in
Macromedia site but didn't find anything.
Thanks
Duccio Del Ministro
___
Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam,
Hi Matt
conflicts). What you'd want to do is after creation give your
parentDocument a property with the name as your class.
The problem is i'm also interested in objects before creation. I'm
actually interested in the className but if the component hasn't
been created, you get
Hi all.
I'm looking for some help with custom components. Basically, I have done
a bit of a hack and managed to get something that appears to the user as
an editable date field, by placing a TextInput over top of a DateField
control and capturing the required events (see attached for the
Hi,
Well there could many guidelines. Try to read the Flex documentation to get
an understanding on Flex components and Flex environment.
Search Flex coder archives for discussions on different RIA frameworks, like
cairngorm or ARP..
Ali's Steven's book Developing Rich Client with Macromedia
On Fri, 11 Mar 2005 09:54:39 -, Michael Herron [EMAIL PROTECTED] wrote:
· Or, is there an easier, more elegant way to provide an editable
date field? (The docs indicate editable property inherited from ComboBase
will be ignored)
Yes. :)
If you downloaded it already, download the latest version. It used
DateFormatter.parseDateString() for the default date parsing. You can
specify your own dateFunction as well, but the default one is good
enough.
Manish
@@SAP/Oracle11i Training Online Available!!
we are a ERP training center,Job Oriented Training Available!!
My Yahoo Messenger ID:erphouse (or email to [EMAIL PROTECTED])
(if i didn't online ,pls leave a message to me)
Remote access USD100/month,Training Cost USD900(50 hours) for SAP/Oracle11i
Abdul,
Thanks for your input, I'll try to put together some code and send it to the group for review and maybe find some help. This question looks to me very basic and finding the right way to do it will save me some time down the road.
My client want the input form field to be formatted but I
Hello
I am trying to integrate a help system with a flex app am currently
developing. I am currently evaluating Robohelp (FlashHelp; as it's a
MM product !!), is there an elegant way of calling FlashHelp files
from within flex without having to go out to javascript. Ideally via
ActionScript.
Hello again,
I make an app that populate an datagrid with data from a remote object, the
data is loaded perfectly, but the function enter in a infinite loop. Looking
in the debbuger, I see the RPC are call and work, and work, and work,
forever and ever :(
I'd try use a webservice to this, but
On Fri, 11 Mar 2005 15:18:37 +1000, Scott Barnes [EMAIL PROTECTED] wrote:
I have an mx:Panel, with a simple headerColors=[col1,col2] approach,
easy enough.
BUT...
How do i prevent its children Panels/Controls from also inheriting
that style?
[snip]
'headerColors' is an inheriting style.
Alright, I got FLEX installed on IIS over JRun. Now I created a new
Server via the JRun Management Console and called it 'Flex', on port 8101.
When I browse to http://localhost:8200/samples/ however is when the
Flex samples appear. And they appear to run just fine. However if I
create my OWN
If there are any Macromedia people out there or others who can
influence decision makers at Macromedia you *really* need to get your
documentation up on safari.oreilly.com.
Having all docs entirely indexed and searchable is a huge win and will
greatly improve our productivity and will increase
Hey all,
I'm trying to make a custom component which dynamically changes it's
state/appearance. Actually, it's a cell renderer/cell editor which
works with our own version of dataGrid, and creates an additional
object/changes it appearance when the cell is focused in. To this end,
I've decided
Thank
you Dimitrios, thank you so much!
-Mensagem original-De: Dimitrios Gianninas
[mailto:[EMAIL PROTECTED]Enviada em:
sexta-feira, 11 de março de 2005 11:06Para:
flexcoders@yahoogroups.comAssunto: RE: [flexcoders] Doubts with
remote objects
Hi,
You problem lies with the
fact
Sure.
mx:Repeater id=outerRepeater
dataProvider={myArray}
mx:Repeater id=innerRepeater
dataProvider={outerRepeater.currentItem}
/mx:Repeater
/mx:Repeater
You can also change the dataProvider of
the repeater no problem, but note that it will replace the items that had been
You want the name of the class or the
class itself? The type property in the descriptor is the class itself. I
think you might be able to get the class name by then getting the undocumented
symbolName property from the class object.
Matt
From: bhaq1972
[mailto:[EMAIL
Move the DataFormatter tag so its
at the same level as the form tag.
mx:Application
mx:DataFormatter /
mx:Form /
/
Another thing I missed on tech-edit I
guess J
From: Dave Carabetta
[mailto:[EMAIL PROTECTED]
Sent: Friday, March 11, 20057:07
AM
To:
On Fri, 11 Mar 2005 08:54:22 -0800, Matt Chotin [EMAIL PROTECTED] wrote:
Move the DataFormatter tag so it's at the same level as the form tag.
mx:Application
mx:DataFormatter /
mx:Form /
/
Yeah, I saw that and was able to move on. However, I'm curious as to
why
When you created your JRun server, did you create it as a Service or as
an Application?
If it is a service, do NOT try to start/stop the sever using the Admin
console app it will cause serious problems. Instead use the windows
services app.
if it is an app, start it from a console window. Verify
...ok, I give up, I don't know how the product tag needs to be formatted;
Flex nor FlexBuilder is in the docs, and I've tried combos of names and
cases, but the Extension Manager assumes Flex/FlexBuilder 1.0/1.5 isn't
installed.
- Original Message -
From: JesterXL [EMAIL PROTECTED]
I don't know of any way to prevent an inheriting style from
being inherited except to write a custom component. However, you can use CSS to
your advantage by having a default style and your custom style. Apply the custom
style to the outer panel and then the default style to the inner panels
Sorry for the reply to my own message, but I tried out some
stuff; here's a quick and dirty way to prevent style inheritance with a
custom component (called SpecialPanel in this example).
The regular panel picks up the styles from the CSS class
selector in the main application file (these
Ok, here you go...
Product name: Flex Builder
Version: 1.5
Create a sample .mxi:
macromedia-extension
name=Test Extension
version=1.0.0
requires-restart=true
type=suite
author name=Macromedia /
products
product name=Flex Builder version=1.5 primary=true /
/products
description
![CDATA[This
How do I set the background canvas to a dark black gradient like I
have seen in some of the samples?
I am also having issues using 100% width / Hight of my panels. Anyone
have any sampel code I can play with it seems even though I have set
the height and width 100% the panels still fit tight on
I think the XMLTreeDataProvider class (as opposed to the
TreeDataProvider Interface implemented by the XML class) is just
what I need to display and modify an XML object in an MXML Tree.
This is what it says
in mx.controls.treeclasses.XMLTreeDataProvider.as.
/**
The XMLTreeDataProvider class
It would be convenient when receiving an XML payload via a remote
service to be able to dump the returned it to a file for debuggin,
diagnostics, etc. Can someone suggest a simple way to do this? Perhaps
using mx:Model ? Thanks.
-Douglass
What method are you using to retrieve the XML payload?
If you're using HTTPService you can specify the resultFormat as text
which will just give you the raw text that came back from the server.
You can then output that as you see fit.
Spike
dduuggllaa wrote:
It would be convenient when
Have you tried turning on AMF Gateway debug-level logging? The AMF Gateway
processes RemoteObject requests on the Flex Server.
In /WEB-INF/flex/gateway-config.xml there's a logger element with a level
attribute. Set this attribute to Debug and restart the web app. If the
logging class is set to
Spike,
Actually, I'm consuming a web service and want to dump the XML to a
text file (foo.xml). Whatever service I use (HTTP, Web, Remote Object)
I thought there must be a way to generate such a file.
You can then output that as you see fit.
And that would be ...? What I'm looking for here
--- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote:
Hi,
mx:Model can not be used on runtime. You can look at FlexBuilder
debugger
and network monitor, its just super cool
You can also install Mozdev's Live HTTP Header extension in
Firefox to see
the HTTP Header
Hi,
Sorry, I mis understood your question.
You can do that...You might need to write java code on server, you can dump
data to disk using that code...
On client, you can save data in SharedObject, but its client specific data,
so you need to be logged on the same machine with same account to
Surely you can just output the content of the in either a mx:Text or
mx:TextArea.
If it's coming back as an ActionScript XML object you can use
objName.toString() to convert it to plain text.
something like this:
?xml version=1.0 encoding=utf-8?
mx:Application
If this is just for debugging, use the
debug player, trace the XML object, look in your flashlog.txt file.
Matt
From: Spike
[mailto:[EMAIL PROTECTED]
Sent: Friday, March 11, 200512:04
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Need
an easy way to dump
All of the XMLTreeDataProvider methodsare
already mixed into the XML object itself. So you should be able to use them
without doing anything to create it (I think).
Matt
From: don4sin
[mailto:[EMAIL PROTECTED]
Sent: Friday, March 11, 200511:04
AM
To:
I'm curious how people handle the flex-config.xml file when they
deploy their application to a public server?
The issue we have is that the flex config has both development
settings which should not be released and other settings like
RemoteObject settings which need to be released when they
All,
I am working on setting up my first cairngorm app. I am trying to figure
out how to make the flex delegate classwork with the service locator and
invoke methods on my SOA. On my appserver I have a user business delegate
class. So for example UserMangerBD that has a method
Eric,
We are using ant to do value replacement in the flex-config then taking
the basic flex.war and dumping all our our custom stuff in. This
approach works well for us since we do value replacements elsewhere as
well. If you want my ant scripts I would be happy to post them.
-James
On Fri,
They probably did an Assetpropflags on it to hide it from for in loops.
- Original Message -
From: Robin Hilliard [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, March 11, 2005 5:18 PM
Subject: Re: [flexcoders] Left aligned form labels
Nice One! Thanks Paul Jesse.
I implemented the Google WebService in Flex. Works fine. I now want to
snoop in the returned results. I'm having a very difficult time
extracting the XML payload.
My service:
mx:WebService id=ws wsdl=http://api.google.com/GoogleSearch.wsdl;
mx:operation name=doGoogleSearch
// ...
From the wsdl it looks like the result comes back as a complex type
called GoogleSearchResult.
I expect Flex is turning that into an ActionScript object...
Try using this as the output:
mx:TextArea id=theDump
text={ws.doGoogleSearch.result.estimateIsExact} /
The estimateIsExact key should be
51 matches
Mail list logo