[flexcoders] Re: Flex 2 Beta 3 - MenuBar rollover text color not changing
I am encountering the same problem with datagrids. Even if I specify the style in the root "Application" tag of the style sheet, everything (Trees, Comboboxes, Buttons, etc) behaves properly, except for the datagrid. This is for both "text-roll-over-color" and "text-selected-color". "selection-color" and "roll-over-color" work properly. Placing the styles in the datagrid tag has no effect. Thanks, Ilia --- In flexcoders@yahoogroups.com, "supertodda" <[EMAIL PROTECTED]> wrote: > > Hello, > > I've searched everywhere and no matter what I do, CSS or setStyle, I > cannot change the color of the text on the top level of the menu bar > when rolled over (the text that actually appears on the menu bar). > Everything else works fine except for the textRollOverColor on the > menu bar. If anybody has any ideas on this, or if you need more > information, please let me know. > > Also note, I can change the rollover text on the sub menus by calling > the setMenuColors() function below, however it only applies to the sub > menus. > > Thanks. > > MenuBar CSS: > > .myMenuBar { > color: white; > font-weight: bold; > text-decoration: underline; > background-color: #ECECD4; > selectionColor: #ECECD4; > rollOverColor: #ECECD4; > textRollOverColor: black; > textSelectedColor: black; > separatorColor: #FF; > separatorWidth: 1; > themeColor: #ECECD4; > } > > Sub Menu Function: > > private function setMenuColors(mb:MenuBar):void { > for (var i:int = 0; i < dp1.length; i++) { > mb.getMenuAt(i).setStyle('color', 'black'); > mb.getMenuAt(i).setStyle('rollOverColor', '#2433AA'); > mb.getMenuAt(i).setStyle('selectionColor', '#2433AA'); > mb.getMenuAt(i).setStyle > ('textRollOverColor', '#FF'); > } > } > Yahoo! Groups Sponsor ~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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: http://docs.yahoo.com/info/terms/
[flexcoders] F2B3: Array within a complex object from a WebService result
Has anyone been able to successfully parse an array of complex objects within a complex object returned from a web service? Basically, I have a collection of items, and I'd like to include some information about the items in a complex object, which also contains the collection. ie: --- PersonObj: -Name: Bob -Gender: M -AddressArray: -Address[0]: -Addr1: 25 Main St -Addr2: Anytown, MA 02555 -Active: true -Address[1]: -Addr1: 725 Evergreen Ter -Addr2: Springfield, ?? 02555 -Active: false -Address[2]: -Addr1: 123 Church St -Addr2: Anytown, MA 02555 -Active: true Using an EJB3 web service via JBoss 4.0.4, the object is generated correctly, but when it gets to flex, the array is disfigured, exploding the first object, like so: PersonObj: -Name: Bob -Gender: M -AddressArray: -Address[0]: 25 Main St -Address[1]: Anytown, MA 02555 -Address[2]: true -Address[3]: -Addr1: 725 Evergreen Ter -Addr2: Springfield, ?? 02555 -Active: false -Address[4]: -Addr1: 123 Church St -Addr2: Anytown, MA 02555 -Active: true I know it's a weird problem, but has anyone else been successful in attempting this? Thanks, Ilia Yahoo! Groups Sponsor ~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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: http://docs.yahoo.com/info/terms/
[flexcoders] Re: F2B3: Array within a complex object from a WebService result
My spacing got hosed--it should look like this: What it should be: _ PersonObj: Name: Bob Gender: M AddressArray: --Address[0]: ---Addr1: 25 Main St ---Addr2: Anytown, MA 02555 ---Active: true --Address[1]: ---Addr1: 725 Evergreen Ter ---Addr2: Springfield, ?? 02555 ---Active: false --Address[2]: ---Addr1: 123 Church St ---Addr2: Anytown, MA 02555 ---Active: true __ What Flex parses: __ > PersonObj: --Name: Bob --Gender: M --AddressArray: --Address[0]: 25 Main St --Address[1]: Anytown, MA 02555 --Address[2]: true --Address[3]: ---Addr1: 725 Evergreen Ter ---Addr2: Springfield, ?? 02555 ---Active: false --Address[4]: ---Addr1: 123 Church St ---Addr2: Anytown, MA 02555 ---Active: true __ --- In flexcoders@yahoogroups.com, "ilia_papas" <[EMAIL PROTECTED]> wrote: > > Has anyone been able to successfully parse an array of complex objects > within a complex object returned from a web service? > > Basically, I have a collection of items, and I'd like to include some > information about the items in a complex object, which also contains > the collection. ie: > --- > PersonObj: >-Name: Bob >-Gender: M >-AddressArray: > -Address[0]: > -Addr1: 25 Main St > -Addr2: Anytown, MA 02555 > -Active: true > -Address[1]: > -Addr1: 725 Evergreen Ter > -Addr2: Springfield, ?? 02555 > -Active: false > -Address[2]: > -Addr1: 123 Church St > -Addr2: Anytown, MA 02555 > -Active: true > > > Using an EJB3 web service via JBoss 4.0.4, the object is generated > correctly, but when it gets to flex, the array is disfigured, > exploding the first object, like so: > > PersonObj: >-Name: Bob >-Gender: M >-AddressArray: > -Address[0]: 25 Main St > -Address[1]: Anytown, MA 02555 > -Address[2]: true > -Address[3]: > -Addr1: 725 Evergreen Ter > -Addr2: Springfield, ?? 02555 > -Active: false > -Address[4]: > -Addr1: 123 Church St > -Addr2: Anytown, MA 02555 > -Active: true > > > I know it's a weird problem, but has anyone else been successful in > attempting this? > > Thanks, > Ilia > Yahoo! Groups Sponsor ~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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: http://docs.yahoo.com/info/terms/
[flexcoders] Flex 2 not maintaining order of web service parameters.
Hello, I've been unable to get Flex to submit parameters to a web service method in a consistent order. I'm using Flex 2 beta 2 and a web service running on JBoss 4.0.4CR2 using annotations. This problem has been described in the following locations: -Macromedia Forum: Webservice always returns a "Error #2032: Stream Error" (http://tinyurl.com/ebyg8) -flexcoders archive: Flex 2: WebServervice call sometimes swaps parameters (http://tinyurl.com/ghwmr) -Macromedia Forum: WebService fields out of order (http://tinyurl.com/jsdg6) The order of the parameters appears to be somewhat random, as each time you refresh the page, the order changes. Though that order will last until you refesh again. One suggestion was wrapping the parameters in a single complex object. However, the problem still persists, as order is not maintained when flex serializies the object. Another suggested setting the parameters like so: "if svc is your webservice id... svc.function.arguments = {value1:val1, value2:val2, ...}; svc.function();" Unfortunately, order is still not mainatained. Has anyone found a workaround for this? Thanks, Ilia -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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: Flex 2 not maintaining order of web service parameters.
Thanks for the quick response, though the problem still exists for me if I put them into an object. It seems in its current state, Flex cannot enforce the order in which arguments are provided. I have found a way to have JBoss disregard the order of arguments by editing the wsdl and referencing it in the annotation like so: @WebService(name = "WSInterface" , serviceName = "WebService", wsdlLocation = "META-INF/wsdl/test.wsdl") To get it to work, I changed the type of parameter input in the wsdl from "sequence" to "all", ie: Though I'd rather use the generated wsdl for simplicity's sake. This workaround should be sufficient for now. Thanks, Ilia --- In flexcoders@yahoogroups.com, "Jonas Windey" <[EMAIL PROTECTED]> wrote: > > Try reading the comments on this page: > http://jeff.mxdj.com/as3_datamanager.htm > > I always pass the arguments in an object, and so far no problems.. > > var args:Object = new Object(); > args.yourParam = "first param"; > > etc. > > Good luck > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of ilia_papas > Sent: dinsdag 25 april 2006 17:06 > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Flex 2 not maintaining order of web service > parameters. > > Hello, I've been unable to get Flex to submit parameters to a web > service method in a consistent order. I'm using Flex 2 beta 2 and a > web service running on JBoss 4.0.4CR2 using annotations. > > This problem has been described in the following locations: > > -Macromedia Forum: Webservice always returns a "Error #2032: Stream > Error" (http://tinyurl.com/ebyg8) > -flexcoders archive: Flex 2: WebServervice call sometimes swaps > parameters (http://tinyurl.com/ghwmr) > -Macromedia Forum: WebService fields out of order > (http://tinyurl.com/jsdg6) > > The order of the parameters appears to be somewhat random, as each > time you refresh the page, the order changes. Though that order will > last until you refesh again. > > One suggestion was wrapping the parameters in a single complex object. > However, the problem still persists, as order is not maintained when > flex serializies the object. > > Another suggested setting the parameters like so: > > "if svc is your webservice id... > svc.function.arguments = {value1:val1, value2:val2, ...}; > svc.function();" > > Unfortunately, order is still not mainatained. > > Has anyone found a workaround for this? > > Thanks, > Ilia > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.