Of the top of my head, Not sure
if you can... however, you can place the Panel inside a Canvas and then overlay
the control of your choice in the position you want using its X and Y
properties.
Dimitrios "Jimmy" Gianninas
RIADeveloper
Optimal Payments Inc.
From: superabe superabe
Hi,
Maybe you left it out in your example, but do
you have the DataGridColumn tags? Like so:
mx:DataGrid width="436"
height="100%"
mx:dataProvider
{person.phones}
/mx:dataProvider
mx:columns
mx:Array
mx:DataGridColumn headerText="number" width="125" labelFunction="zip"/
Hi Tim,
Yup, you got it right... it works doesn't
it? :)
Ya from now on, your ant build script will
basically copy all your files to the N:\Daemon\JRun\servers\test\flex\ folder,
so you can run the app and test it.
Enjoy!
Dimitrios "Jimmy" Gianninas
RIADeveloper
Optimal Payments Inc.
Hi David,
The only thing you need is to
use the getURL method. You can use it to communicate with a _javascript_ function
back on your JSP page... like so:
getURL(
"_javascript_:someJSFunction( 'someValue' )", "_top" );
Dimitrios "Jimmy" Gianninas
RIADeveloper
Optimal Payments Inc.
Maybe you need to send the data
to the server directly and have the work done there and not
use_javascript_?
Dimitrios "Jimmy" Gianninas
RIADeveloper
Optimal Payments Inc.
From: Abdul Qabiz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 31, 2005 10:37 AMTo:
Hi,
You will have to set the data
in the TextInput manually and verify the value before you set it, like
so:
myTextInput.text = (
myData == undefined || myData == null || myData == "null" || myData == "" )? "": myData;
Dimitrios "Jimmy" Gianninas
RIADeveloper
Optimal Payments Inc.
Hi Mike,
I use the FORM and FORMITEM
tags whenever I want to use the automatic layout they provide. I'd say I use
them about 75% of the time. The rest of the time, I just place a component(s)
within the container that is appropriate.
I guess the moral of the story
is, doesn't matter
Hi Dan,
You don't have to do that much
work to get Flex running under Tomcat. Here is the simplest
way:
- install Tomcat under
c:\tomcat (just an example, put it anywhere you want)
- createa folder called
"samples" under c:\tomcat\webapps
- extract the contents of the
samples.war to
Hi,
You must add the appropriate
entry for the cairngorm-manifest.xml in the flex-config.xml (portion in red
below):
namespace uri="http://www.macromedia.com/2003/mxml"
manifest/WEB-INF/flex/mxml-manifest.xml/manifest/namespace
namespace
uri=http://www.iterationtwo.com/cairngorm
Ok the cairngorm-manifest.xml
file is there, which is good.
I made a mistake in the earlier
post (blame copy'n'paste), the entry should look like this (missing
double-quotes):
namespace uri="http://www.iterationtwo.com/cairngorm"
Ahh, that has nothing to do
with the Cairngorm manifest... I looked to quickly at the previous
error.
Can you attach your flex-config.xml so we can take a look at what might be wrong with it. Seems like
the mxml-manifest can't be found.
Dimitrios "Jimmy" Gianninas
RIADeveloper
Optimal
Humm weird... I just did a
fresh install of Flex 1.5 under Tomcat 5.1 and used the flex-config.xml you
posted and it worked!
Perhaps you should start from
scratch as I did, just create a "Hello World" app, make sure it works and if it
does, then add in your other files.
You must have
a valid MXML editor into eclipse... I've downloaded
erverything... I can see the XML editor is here, I've associated MXML
file to it... It opens it as an XML file, but says "the document is
empty", while the source tab shows the mxml file... Any idea ?
Ciao, r0main --- In flexcoders@yaho
tes needed to be added.From:
namespace uri=http://www.iterationtwo.com/cairngorm
manifest/WEB-INF/flex/cairngorm-manifest.xml/manifest/namespacebe:
namespace uri="http://www.iterationtwo.com/cairngorm "
manifest/WEB-INF/flex/cairngorm-manifest.xml/manifest/namespace
On 5/17/05, Dimitri
anks a lot... It works that way...Now, for 100% free, I can
edit MXML files and also can edit flex .asfiles with MTASC::: ByeBye
flexBuilder :-)Ciao, r0main--- In
flexcoders@yahoogroups.com, "Dimitrios
Gianninas"[EMAIL PROTECTED] wrote: Hi
r0main, Here is what I did in Eclipse
Not sure if anyone uses it, but
I started using Eclipse Web Tools for MXML editing. You can specify the MXML
schema and works it wonderfully so far.
http://www.eclipse.org/webtools/index.html
Dimitrios "Jimmy" Gianninas
RIADeveloper
Optimal Payments Inc.
From: Andrew Muller
Hi,
You must add the appropriate
entry for the cairngorm-manifest.xml in the flex-config.xml (portion in red
below):
namespace uri="http://www.macromedia.com/2003/mxml"
manifest/WEB-INF/flex/mxml-manifest.xml/manifest/namespace
namespace
uri=http://www.iterationtwo.com/cairngorm
Haven't done it yet... been
using Hibernate 2.1.8 for now in the integration layer with Flex as the
presentation layer. It shouldn't be any different. What problem are you
experiencing?
Dimitrios "Jimmy" Gianninas
RIADeveloper
Optimal Payments Inc.
From: Rich Tretola [mailto:[EMAIL
Answer:
Ok I
finally understand the reason why fop.jar inside the CLASSPATH
breaks
Flex applications.
Flex
doesn't use the fop.jar but uses various batik components
(http://xml.apache.org/batik/).
In the
Mainifest.mf, in the fop.jar shipped with BEA, there is this
Hi,
I
know I have this question already, but maybe some help with someone with more
experience will help. Local I have the following setup:
http://localhost:8100/contextA/appA.mxml
http://localhost:8200/contextB/appB.mxml
Using the Loader component, appA can load
appB and then appB has
y 12, 2005 1:46 PMTo:
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and
domains
Have you tried:
- System.security.loadPolicyFile?
- System.allowDomain()?
- Original Message -----
From: Dimitrios Gianninas
To: flexcoders@yahoogroups.com
Sent: Thursday, May 12, 2005 1:39 PM
Subjec
ot;Yo A, can I borrow data?" A will have code in it granting permission for
B's domain in... make sense? Try that, we're gonna win!
- Original Message -
From: Dimitrios Gianninas
To: flexcoders@yahoogroups.com
Sent: Thursday, May 12, 2005 2:22 PM
Subject: RE: [flexcoders] SWFs and domai
rsday, May 12, 2005 2:52 PMTo:
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and
domains
Darn... hrm...
Try 'em both without anything in the (),
like:
System.security.allowDomain()
System.security.allowInsecureDomain()
- Original Message -----
From: Dimitrios Gianninas
To:
----
From: Dimitrios Gianninas
To: flexcoders@yahoogroups.com
Sent: Thursday, May 12, 2005 3:09 PM
Subject: RE: [flexcoders] SWFs and domains
lowers head...
Nope.
Well I have a plan B... but it
would be nice if this worked.
Don't know if you can think of
anything else... thanks for the h
mal Payments Inc.
From: JesterXL [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 12, 2005 1:46 PMTo:
flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFs and
domains
Have you tried:
- System.security.loadPolicyFile?
- System.allowDomain()?
- Original Message -
From: Dimitrios Gia
Hi,
A
co-worker of mine is running Flex with WebLogic 8.1 SP3 and see the following
error on his console:
Error: macromedia.css.LocatorParser
(/WEB-INF/flex/global.css)
Any
ideas?
Dimitrios "Jimmy" Gianninas
RIADeveloper
Optimal Payments Inc.
AVIS IMPORTANTWARNING Les informations
Hi,
Would you happen to have more
than Flex UI running when running the example? If yes, the it might be the temp
UI generated in the upload.jsp is communicating with the wrong main Flex UI... I
have seen this happen myself.
I don't think there is any way
around this, the Flex UI in
In the DueDiligence.mxml, you
must have:
?xml
version="1.0" encoding="utf-8"?
mx:Canvas
xmlns:mx=http://www.macromedia.com/2003/mxml
xmlsns:com="assents.comp.*"
width="100%"
height="100%"
comp:StatePicker
id="comp_c_state""/
Jimmy
Gianninas
Software Developer -
Optimal
Fantastic job, looks great!
Jimmy
Gianninas
Software Developer -
Optimal Payments
Inc.
From: James Ward [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 8:14 PMTo:
flexcoders@yahoogroups.comSubject: [flexcoders] My Company's Flex
Site Live
I want to thank everyone on this
Hi,
No need to do anything special,
just do:
myDataGrid.dataProvider =
remoteObject.result;
Then the data grid should be
declared as follows:
mx:DataGrid id="myDataGrid"
mx:columns
mx:Array
mx:DataGridColumn columnName="name" headerText="Name" /
mx:DataGridColumn
Hi,
I haven't used effects much in my first Flex project, only in two areas really:
- fade effect for tooltips
- sliding panel (hides/appears)
One area I think that we could use effects a bit more is with Validators. When
you have a component that is attached to a Validator and the validation
Hi,
It should work without having
to convert into to the AS2 type class as you did. If you simply
do:
results[0].price
results[1].price
this should get you the price
of the first product and seconds products. I assumed "results" is the name of
the object that contains the results of
Hi Josh,
Make sure the Group class in
Java has:
- no args
constructor
- getter/setter method for
every field
-
serializable
On the AS2 side, make sure you
have specified within the class:
static var regClass = Object.registerClass("com.package.Group",
com.package.Group);
Jimmy
Hi,
Just been playing around with having one Flex UI within another and I am
experiencing a little problem, and thus I was wondering if anyone has come
across this problem and might have a solution.
This is all under JRun 4 SP4... so we have the
parent UI at
I validate the modelin my case
then pass it on to the RO.
I think this is typical of
anyone using Cairngorm.
Jimmy
Gianninas
Software Developer -
Optimal Payments
Inc.
From: Matt Chotin
[mailto:[EMAIL PROTECTED] Sent: Sunday, March 13, 2005 6:28
PMTo:
Hi,
Here are some steps to
follow:
1) Using JRun admin,drilldown
in the "Flex" server instance
2) Delete the "FlashRemoting
EAR"
Next steps are I am giving you
because I don't recall what is in the "default-ear" folder.
3) Stop the "Flex" server
instance
4) Delete all the contents
Hi Michael,
I think the answer to your
question is as simple as calling the unregisterView() method on
the correct ViewHelper when you are destroying that view all together. Givethat
a try and let us know.
Jimmy
Gianninas
Software Developer -
Optimal Payments
Inc.
From: Michael
Hi,
For file upload you can look at
the following doc:
http://www.markme.com/mchotin/archives/2004_11.cfm
Jimmy
Gianninas
Software Developer -
Optimal Payments
Inc.
From: Jeff Chastain
[mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 2:35
PMTo:
Hi Gareth,
Here are some
answers:
1) It does not support this,
all tabs display on a single row. Although 30-40 tabs sounds like alot :) Perhaps there is a better way to allow the user to select from multiple
sections.
2) Its doesn't do this either,
however you could calculate it and set
Hi,
Attach your files here to the forum so we can try it, reproduce it and
hopefully find out what is wrong :)
Jimmy
Optimal Payments
-Original Message-
From: dduuggllaa [mailto:[EMAIL PROTECTED]
Sent: Sun 3/6/2005 5:02 PM
To: flexcoders@yahoogroups.com
Cc:
Subject:
Hi,
Yes you can pre-compile the
Flex UI into a SWF, but you will still need to have everything under
WEB-INF/flex folder in order for the UI to work. You cannot simply compile the
SWF and give it away, its against the Flex "Terms and Conditions" or whatever
you call it.
Within your EAR,
hi,
I wrote a doc on howto do file
upload with a Flex UI with JSP, the doc is here: http://www.markme.com/mchotin/archives/2004_11.cfm
Basically the Flash player does
not currently support file upload/download.
If you deploy your Flex UI in
Central it does have file upload/download
Hi,
None of the Flex components
handle double-click mouse events at the moment. Well you have obviously created
an alternative or you cancall the following piece ofcode on thecellPress event of a DataGrid for example to detect and handle a
double-click:
/*Handles the
double-click event on
Hi Robert,
For part 1, you willhave to
create your own PhoneNumberValidator class that only validates the value if
there is one. I had to do the same thing for some other
validator.
For part 2, I use the
StringValidator for validating ComboBoxes, it should be enough,never done
it with
Hi Dustin,
Are you talking about single
sign-on? Meaning, having multiple Flex UIs and only having to login
once?
I need to do this inthe next
month or so, and I plan to have a main Flex UI which provides the login form,
once login is successful, it will load the appropriate secondary UI
For the "other problem", you
could either:
A) modify the data on the
server before it reaches the UI
B) use AS2 to loop thru the
dataProvider and modify the appropriate rows.
Jimmy
Gianninas
Software Developer -
Optimal Payments
Inc.
From: Miguel Diaz Valenzuela
[mailto:[EMAIL
Very nice indeed... yup, Flex
is great for RAD.
Jimmy
Gianninas
Software Developer -
Optimal Payments
Inc.
From: David Solis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 23, 2005 1:06 PMTo:
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Screenshot of a
flex application
Hi,
Has
anyone done something regarding single sign-on with Flex UIs ? In my case, I
have one Flex UI and need to build two smaller ones over the next month, and
want to provide single sign-on to end-users.
Anyone do this already?
Also the UIs will most likely reside at different
Can you show how youare
calling them, or isolate the code that causes the same prob is a separate app
and post it here so we can take a look?
Jimmy
Gianninas
Software Developer -
Optimal Payments
Inc.
From: Rich Tretola [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 16, 2005 2:01
Just change the dataProvider
and the DataGrid will refresh itself.
Jimmy
Gianninas
Software Developer -
Optimal Payments
Inc.
From: Miguel D�az Valenzuela
[mailto:[EMAIL PROTECTED] Sent: Friday, February 11, 2005 8:23
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders]how
can I
Just of the top of my head
here, you need to change:
mx:DataGrid id="dataGrid"
dataProvider="{fProvider}" /
your curly braces are missing
for binding
Jimmy
Gianninas - Developer
Optimal
Payments Inc.
From: mwelie
[mailto:[EMAIL PROTECTED] Sent: Thursday, February 03,
2005 3:53
quot;
Prof. Edsger W. Dijkstra
(1930-2002)
-Original Message-From: Dimitrios Gianninas
[mailto:[EMAIL PROTECTED]Sent: Thursday,
February 03, 2005 2:31 PMTo:
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex Uploading
to server?
Of course, there is a
document I wrote with
al Message-From: Dimitrios Gianninas
[mailto:[EMAIL PROTECTED]Sent: Thursday,
February 03, 2005 4:24 PMTo:
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex Uploading
to server?
LOL!
Java is just fine much
more fun and much more technologies to play with... its like b
Is
it still valid to use source="servlet" on the RemoteObject to gain accessto a
server session... I don't see it mentioned in the API or in
LiveDocs.
Did
I miss something and it was removed?
Jimmy
Gianninas - Developer
Optimal
Payments Inc.
Does anyone know...
Say I have a TextArea and I type some text in it. Then I highlight a word, is
there a way to get the currently highlighted text via AS2?
Thanks!
Jimmy G.
table width=800 cellpadding=4 cellspacing=10 border=0tr bgcolor=BDBDBDtd
valign=top width=400font face=verdana
();
var endIndex:Number = Selection.getEndIndex();
var str:String = yourTextArea.text.substr(beginIndex, endIndex);
trace(you've selected: + str);
- Original Message -
From: Dimitrios Gianninas [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, January 28, 2005 11:04 PM
Subject
.
- sometimes triggering the code will have it run after whatever textfield your
typing in has lost focus
I know this works on textfields, but not too sure about the TextArea. My
suggestion is to have this code run in a focusOut event.
- Original Message -
From: Dimitrios Gianninas [EMAIL
-
From: Dimitrios Gianninas [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, January 29, 2005 8:54 AM
Subject: RE: [flexcoders]
Ok, but what is Selection ? The code below does not work as is.
-Original Message-
From: JesterXL [mailto:[EMAIL PROTECTED]
Sent: Fri 1/28/2005
-in class. I can't seem to
get this working though either because the triggering event to get the
selection takes focus away from the TextArea. I'll see if someone
internally might know something, but it'll be a few days.
Matt
-Original Message-
From: Dimitrios Gianninas [mailto:[EMAIL
+= o + newline;
}
]]
/mx:Script
mx:VBox width=100% height=100%
mx:TextArea id=test_ta width=300 height=100/
mx:TextArea id=debug_ta width=300 height=100/
/mx:VBox
/mx:Application
- Original Message -
From: Dimitrios Gianninas [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday
need the
selected text, I can use the stored variables values.
Does that make sense?
- Original Message -
From: Dimitrios Gianninas [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, January 29, 2005 1:06 PM
Subject: RE: [flexcoders]
Ok that works, however I want
-Original Message-
From: Dimitrios Gianninas
[mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 2:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Combo Boxes, Validation and Binding
Ok, I have a little dilemma
Say you have a ComboBox which has a list of credit
Ok, I have a little
dilemma
Say you have a
ComboBox which has a list of credit card type, which is populate via a remote
call: myCombo.dataProvider =
myCCList;
No problem, that
works and it is populated. Each element in the list is an object with two fields, "id" and "name". Except the
Hi,
Is there anything
special to do with Flex running on JRun in a clustered enviroment? Just deployed
our first app using Flex asits UI in QA and just having some problemsand
was wondering if anyone has experienced any problems in a clustered environment
(2 serversrunning Solaris)?
Jimmy
Hi,
I just did what you are trying to do yesterdayhere is
how you do it.
First imbed your movie inside a JSP page with a special
_javascript_ function:
%@ taglib uri="FlexTagLib" prefix="mm"
%
htmlheadscript// //
Yes so am I... I'd like to know when it will be
available.
Jimmy Gianninas - Software
Developer
Optimal Payments
Inc.
(514) 380 - 2700 extension
3249
From: Navita Bhoir [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 29, 2004 8:01 PMTo:
flexcoders@yahoogroups.comCc:
[EMAIL
the DepthManager orwhatever class is
responsible for correct z-ordering of the ComboBox'slayers is mixed up
because of the nesting inside the DataGrid.Could MM please check or
confirm this?Dirk.-Original Message-From:
Dimitrios Gianninas[mailto:[EMAIL PROTECTED]Sent:
Monday, April 26, 2004 2:26 PMTo
501 - 567 of 567 matches
Mail list logo