Flex/Spring UserDetailsService issue

I'm fairly new to both Flex and Spring.  I can get them to communicate and have no issues there, I can even authenticate a user from lines in my database.  I've implemented my own UserDetailsService which returns my own custom UserDetails object with some extra user information in it.  This is where my problem is.
I need to login with more information than just a username and password.  I need to also check to make sure that they also put in the proper first name and last name.  I can't seem to figure out where to validate that.  I'm doing the standard:
ro.channelSet.login(number.text, password.text)
but I can't pass anything else into it.
Any suggestions?

This can be done by using <mx:Reparent/> tag.

Similar Messages

  • Flex PHP Wizard Issues (Is Flex/PHP ready for prime time)

    I have been designing a website using Flex. I thought of using Flex form many reasons, but one was to reduce the number of languages used in the development process. I am going to be hosting at Godaddy so I thought  I would try PHP. I normally would use Java, but Flex seems to want Enterprise Beans and Java Remote Objects which cost to much and would probably not work on Godaddy. I started out with MAMP on a Apple computer and have design 60% of my application, when I started noticing as the database go larger, I started getting communication errors with the MAMP version of mysql. So I installed MySQL and and started using Apache and PHP that comes with OSX. The communication errors are increased.
    Any suggestions? I am at the point, if I can find a proven programmer, with GoDaddy/Flex/MySQL/PHP and Java experience to help answer some question, I think I can come up with contract dollars.
    First question is Flex ready? or is this an issue with PHP?

    have moved this thread from the ADDT forums to the Flex Data Services forums

  • Flex 4 migration issue

    Hello,
    I am trying to migrate a project that was using Flex 3.2 to Flex 4.1, but I am getting the following error:
    Description : 1046: Type was not found or was not a compile-time constant: [mx.core]::IDeferredContentOwner.
    Line : -1.
    Please help

    I figured it out. It seems that when changing the sdk used in the project properties, not all the necessary libraries were imported, thus generating this error.
    After manually loading all libraries, the project compiles just fine.
    I mention that my IDE is Spring Source with the flex 4 plugin.

  • Flex swf cache issue in IE

    Hi,
    We are facing an important issue with the IE cache of the swf file. Could you please help us?
    For example, we built and put calendar.html & calendar.swf on server. We don't want users to download a 800 KB large swf file everytime when they access the web page, especially at a lower speed of network. However, although we coded some IE cache setting in calendar.html, like response.setHeader("Cache-Control" ...., IE still download the file from server sometimes instead of using the local one in cache.
    One of reasons is the cache size. If you set the size to 50 MB by default, it will be full very soon after you view some websites. Then IE will clean part of the cache. The cached swf file might be cleaned, or might not be. We never know. If it's cleaned and you access calendar.html, you will found out IE downloads the file again from server. To avoid this, users can enlarge the cache size, but the downloading still happen sometimes. Also, letting user enlarge the cache may not be a good and final solution.
    We want to force IE to use the local file everytime. If we updated the file, we want IE to download it in this case, and download it only once.
    So, we want to ask if you also have faced this kind of issue and how you did it? Please follow this topic or anyone is welcomed to send an email to me at [email protected]
    Thank you very much.

    Hmmm
    Not sure about this one.  However to reduce download time have you tried using Runtime Shared Libraries.  This allows the Flash Player to cache the Flex Framework.  This means the first time someone gets a flex app it will take a bit longer to load, but it will cache the framework, then next time the load is quicker.
    Its the Flash Player that caches the frameowrk also, so the browser can;t clear it.
    That might help
    Andrew

  • Reg. JSF Spring Integration issue.

    Hi All,
    I am using JSF for the front end and using the Spring Core, DAO and AOP for the BO and DAO layers. When i try to inject the Objects using the DI to the JSF, i am getting the following error and the objects are not getting set from the Spring.
    Error Log:*
    javax.servlet.ServletException: Unable to create managed bean dataUploadControllerBean. The following problems were found:
    - Bean or property class #{dataUploadVO} for managed bean dataUploadControllerBean cannot be found.
    - Bean or property class #{dataUploadVO} for managed bean dataUploadControllerBean cannot be found.
    - Bean or property class #{dataUploadVO} for managed bean dataUploadControllerBean cannot be found.
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)
    org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:112)
    i have defined the respective entries correctly to integrate the JSF & Spring. But still the JSF&Spreing is not integrated successfully. Please find the configs defined and help to resolve the issue. i am stuck in this for 2 days...
    Web.xml
    <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
    <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>WEB-INF/applicationContext.xml</param-value>
    </context-param>
    Faces-Config.xml
    <application>
    <el-resolver>org.springframework.web.jsf.el.SpringBeanFacesELResolver</el-resolver> <!-- have used this ELResolver to injects objects from Spring-->
    </application>
    <managed-bean>
    <managed-bean-name>dataUploadControllerBean</managed-bean-name>
    <managed-bean-class>com.sgspace.model.dataupload.DataUploadControllerBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>dataUploadBean</property-name>
    <value>#{dataUploadBean}</value> _<!-- Already present in the faces-config.xml-->_ </managed-property>
    <managed-property>
    <property-name>dataUploadVO</property-name>
    <property-class>#{dataUploadVO}</property-class> _<!-- Injected from Spring DI. This is currently not working.-->_
    <value></value>
    </managed-property>
    <managed-property>
    <property-name>dataUploadBO</property-name>
    <property-class>#{dataUploadBO}</property-class>_<!-- Injected from Spring DI. This is currently not working.-->_ <value></value>
    </managed-property>
    </managed-bean>
    applicationContext.xml:_
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:p="http://www.springframework.org/schema/p"
    xmlns:context="http://www.springframework.org/schema/context"
    xmlns:tx="http://www.springframework.org/schema/tx"
    xmlns:aop="http://www.springframework.org/schema/aop"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
    http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
    http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
    <bean id="dataUploadDAO"
    class="com.sgspace.dao.dataupload.DataUploadDAOImpl">
    <property name="dataSource" ref="dataSource"></property>
    </bean>
    <bean id="dataUploadBO"
    class="com.sgspace.bo.dataupload.DataUploadBOImpl">
    <property name="dataUploadDAO" ref="dataUploadDAO"></property>
    </bean>
    <bean id="dataUploadVO" class="com.sgspace.vo.dataupload.DataUploadVO"></bean>
    </beans>
    Warm Regards,
    Praveen S

    The TestBean have a property for DeviceManager along with setter/getter methods as shown below. Sorry for not including in earlier posting
    TestBean.java (Backing Bean)
    private DeviceTypeManager deviceManager;
    public DeviceTypeManager getDeviceManager() {
         return deviceManager;
    public void setDeviceManager(DeviceTypeManager deviceManager) {
         this.deviceManager = deviceManager;
    Here are the two scenarios
    Scenario 1 : without <managed-property> the code works fine
    Scenario 2 : with <managed-property> the code results in following error
    javax.faces.FacesException: Cannot get value for expression '#{test.selectedDevice}'
    Scenario 1 has only JSF whereas Scenario 2 has JSF-Spring integration
    The Scenario 1 works absolutely fine as the expression '#{test.selectedDevice}' gets its value from setter/getter method in the backing bean(TestBean.java) . This is expected behaviour & wondering why it doesn't work similarly in Scenario 2 instead it complains
    Cannot get value for expression '#{test.selectedDevice}'
    I am willing to upload the war file. Any pointers/suggestions in resolving the error will be highly appreciated
    Regards
    Bansi

  • Flex Builder 3 Issues

    I apologize in advance for my cynicism, but since I received
    cricket sounds from Adobe Support I figured I would give this a go.
    I downloaded and installed the trial version of Flex Builder 3, but
    when trying to click on any of the links in the start page
    (tutorials, etc..) it displays the following error: Windows - No
    Disk
    Then it requires me to kill both the FlexBuilder.exe and the
    associated javaw.exe using task manager to get rid of the error. I
    found a similar issue in the knowledge base, but it was for people
    who installed from a DVD on Vista.
    I installed to the default location on XP SP2, with all the
    latest patches. I've un-installed/reinstalled like the knowledge
    base entry states as the solution, but to no avail.
    If anyone can provide insight or a solution, I would
    appreciate it!
    Thanks in advance,
    Rob

    I am not sure if this would work but worth a try.
    1. Try to launch your flex builder with -clean. (Using
    Command line)
    Go to Program Files-> Adobe->Flex Builder 3
    Run Flexbuilder.exe -clean
    Also if it doesn't work try reinstall but after uninstalling
    make sure Program Files-> Adobe->Flex Builder 3 is empty.
    Also please log a bug at
    http://bugs.adobe.com/flex
    HTH,
    Gaurav

  • Flex 15 brightness issue.

    After upgrade the latest Windows 8.1 update (End Apr), the brightness adjustment are not function any more.
    The brightness key at the keyboard and setting in the windows also not working.
    Kindly help to solve this issue. 
    Thanks

    Have you updated all your drivers after upgrading to Windows 8.1?
    You can find drivers for your model here: http://mobilesupport.lenovo.com/us/en/products/laptops-and-netbooks/flex-series/ideapad-flex-15-note...
    Jonas
    Microsoft MVP: Windows Consumer Expert
    Yoga Tablet 2 10 || ThinkPad X1 Carbon (20A7007MPH) || ThinkPad Helix (3698-6EU) || IdeaCentre B540
    Twitter: @jonashendrickx

  • FLEX Flashpaper sizing issue

    I have down loaded the demo of Flashpaper2 and am able to
    convert pdf documents to SWF. When I convert a pdf document that is
    8.5 x 11 then load it into FLEX the initial size of the swf opened
    in FLEX is not taking up the same size every time. I tried to
    resize it with benSum.setSize(h,w) but it still does not work
    correctly.
    code example:
    <mx:VBox id="flashPaper"
    label="{ewn.planDetails.benefitSummaryTitle}" height="100%"
    width="100%" hScrollPolicy="off" vScrollPolicy="off">
    <mx:VBox width="100%">
    <mx:HBox creationComplete="loadBenSum()">
    <mx:Loader id="benSum" autoLoad="false"
    scaleContent="true"/>
    </mx:HBox>
    </mx:VBox>
    </mx:VBox>
    benSum.setSize(3000,3000);
    One of the SWF displays the correct size then the next does
    not. Is there a way to define the size of the swf?

    well i dont knoe exactly whether the size of swf's can be
    resized,,
    but definately size of flashpaper can be done..
    see the part of the code am posting below, u might get some
    logic for ur program.
    its about a issue with loading a swf in flex with the
    <mx:Loader> tag.
    Loading ColdFusion Generated Flash Paper into a Flex
    application.
    All you realy have to do is to pass the coldfusion page on
    the contentPath on the <mx:Loader> tag like this
    <mx:Loader id="myLoader1" contentPath="
    http://localhost/cfdocexample.cfm"/>
    The left hand panel is calling a cfdocument while the right
    hand panel is calling a cfreport
    One note however, you cannot use the print functionality at
    the moment.
    code part (flashpaperTest.mxml)
    <mx:Application xmlns:mx="
    http://www.macromedia.com/2003/mxml"
    xmlns="*" creationComplete="resizeFlashPapers()">
    <mx:Script>
    <![CDATA[
    function resizeFlashPapers()
    resizeFlashPaper1();
    resizeFlashPaper2();
    function resizeFlashPaper1()
    var flashPaper1 = myLoader1.content.getIFlashPaper();
    if (flashPaper1 == undefined ||
    flashPaper1.setSize("480","500") == false)
    doLater(this, "resizeFlashPaper1");
    function resizeFlashPaper2()
    var flashPaper2 = myLoader2.content.getIFlashPaper();
    if (flashPaper2 == undefined ||
    flashPaper2.setSize("480","500") == false)
    doLater(this, "resizeFlashPaper2");
    ]]>
    </mx:Script>
    <mx:HDividedBox width="100%" height="100%" >
    <mx
    anel id="panel1" title="Flash Paper through
    cfdocument" width="50%" height="100%" >
    <mx:Loader id="myLoader1" contentPath="
    http://localhost/cfdocexample.cfm"/>
    </mx
    anel>
    <mx
    anel id="panel2" title="Flash Paper through cfreport"
    width="50%" height="100%" >
    <mx:Loader id="myLoader2" contentPath="
    http://localhost/cfrepexample.cfm"/>
    </mx
    anel>
    </mx:HDividedBox>
    </mx:Application>
    --------------------

  • Flex TextArea HTMLText issue.

    Hi All,
             I am using a Flex textArea control and recently i found an interesting behaviour while using htmlText property of the TextArea.
    By default the htmlText has "<P align=''left' /> tag.When i added bullets to the text it adds the "<LI>" tag to the text and get rid of the the "<P/>" tag.
    The problem is that,when i add bullets and the right align the text,it displays fine on the textArea ,but since the htmlText does not have the "<P/>" tag,when i send the htmlText to the backend to generate the .jpg preview of the screen,it is not aligning the text to right.
    Bottom line:"when text right aligned with bullets,htmlText does not have "<P/>" tag and only have "<LI/>" tag.
    Does anyone know about this issue?
    Any ideas to overcome this issue?
    Thanks
    Kartik B

    Thanks for reply,
    i am taking htmlText from another textarea..
    code:
    var htmltext:String = txtarea.htmlText
    var textarea1:TextArea = new TextArea();
    textarea1.htmlText = htmltext;
    vboxName.addChildAt(textarea1,0);
    while tracing value of htmltext
    <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="11" COLOR="#000101"
    LETTERSPACING="0" KERNING="0">agenda descriptyion</FONT></P></TEXTFORMAT>
    <TEXTFORMAT LEADING="2"><LI><FONT FACE="Verdana" SIZE="11" COLOR="#000101"
    LETTERSPACING="0" KERNING="0">neethu<FONT FACE="none" COLOR="#FFFFFF"></FONT></FONT></LI></TEXTFORMAT>
    Regards,
    Manu Lal

  • Flex spring security

    hi,
    I need to know permision based security framwork called chimp in flex.I am using spring in backend.Any ideas?

    ok.
    you can use spring security as your server side security framwork. In spring there are two way security
    URL blocking
    method level security
    As you know Chimp is a permision based security framwork.
    and you can mention the
    you can decelare the activities for paticular role as follows
        <!--Meta Data here-->
        <fx:Metadata>
            [Protected(permissions="admin",inPermissionAction="visible",componentId="btnAdd")]
            [Protected(permissions="admin",inPermissionAction="visible",componentId="fmAdmin")]
            [Protected(permissions="user",notInPermissionAction="enable",componentId="btnDelete")]
            [Protected(permissions="user",notInPermissionAction="removeChild",componentId="btnList")]
            [Protected(permissions="user",notInPermissionAction="removeFromLayout",componentId="btnFi nd")]
        </fx:Metadata>
    you can load chimp security as follows
    do this initialy
                private function create():void {
                    //load the chimp
                     var perms:ArrayCollection = new ArrayCollection();
                    perms.addItem("user");//load role
                    perms.addItem("update");               
                    Chimp.load(perms);               
    do this when role change add/remove/override
                private function addPerm(event:Event):void {
                    Chimp.addPerm(cmbRole.selectedItem);
                private function removePerm(event:Event):void {
                    Chimp.removePerm(cmbRole.selectedItem);
                private function overwritePerms(event:Event):void {
                    var perms:ArrayCollection = new ArrayCollection();
                    perms.addItem(cmbRole.selectedItem);
                    Chimp.updatePerms(perms);
    For spring security use the link
    http://www.springbyexample.org/examples/simple-spring-security-webapp-spring-config.html
    thnx

  • Flex file upload issue with large image files

         Hello, I have created a sample flex application to upload an image and also created java servlet to upload and save image and deployed in local tomcat server. I am testing the application in LAN. I am able to upload small as well as large image file(1Mb) from some PCs but in some other PCs I am getting IOError while uploading large image files however it is working fine for small images. Image uploading is hanging after 10%-20% and throwing IOError. *Surprizgly it is working Ok with XP systems and causeing issues with Windows7 systems*.
    Plz give me any idea to get a solution.
    In Tomcat server side it is giving following error:
    request: org.apache.catalina.connector.RequestFacade@c19694
    org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedly
            at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:371)
            at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.ja va:126)
            at flex.servlets.UploadImage.doPost(UploadImage.java:47)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
            at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
            at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProto col.java:594)
            at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
            at java.lang.Thread.run(Thread.java:722)
    Caused by: org.apache.commons.fileupload.MultipartStream$MalformedStreamException: Stream ended unexpectedly
            at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStre am.java:982)
            at org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:8 86)
            at java.io.InputStream.read(InputStream.java:101)
            at org.apache.commons.fileupload.util.Streams.copy(Streams.java:96)
            at org.apache.commons.fileupload.util.Streams.copy(Streams.java:66)
            at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:366)
    UploadImage.java:
    package flex.servlets;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import java.text.*;
    import java.util.regex.*;
    import org.apache.commons.fileupload.servlet.ServletFileUpload;
    import org.apache.commons.fileupload.disk.DiskFileItemFactory;
    import org.apache.commons.fileupload.*;
    import sun.reflect.ReflectionFactory.GetReflectionFactoryAction;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class UploadImage extends HttpServlet{
             * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse
             *      response)
            protected void doGet(HttpServletRequest request,
                            HttpServletResponse response) throws ServletException, IOException {
                    // TODO Auto-generated method stub
                    doPost(request, response);
            public void doPost(HttpServletRequest request,
                            HttpServletResponse response)
            throws ServletException, IOException {
                    PrintWriter out = response.getWriter();
                    boolean isMultipart = ServletFileUpload.isMultipartContent(
                                    request);
                    System.out.println("request: "+request);
                    if (!isMultipart) {
                            System.out.println("File Not Uploaded");
                    } else {
                            FileItemFactory factory = new DiskFileItemFactory();
                            ServletFileUpload upload = new ServletFileUpload(factory);
                            List items = null;
                            try {
                                    items = upload.parseRequest(request);
                                    System.out.println("items: "+items);
                            } catch (FileUploadException e) {
                                    e.printStackTrace();
                            Iterator itr = items.iterator();
                            while (itr.hasNext()) {
                                    FileItem item = (FileItem) itr.next();
                                    if (item.isFormField()){
                                            String name = item.getFieldName();
                                            System.out.println("name: "+name);
                                            String value = item.getString();
                                            System.out.println("value: "+value);
                                    } else {
                                            try {
                                                    String itemName = item.getName();
                                                    Random generator = new Random();
                                                    int r = Math.abs(generator.nextInt());
                                                    String reg = "[.*]";
                                                    String replacingtext = "";
                                                    System.out.println("Text before replacing is:-" +
                                                                    itemName);
                                                    Pattern pattern = Pattern.compile(reg);
                                                    Matcher matcher = pattern.matcher(itemName);
                                                    StringBuffer buffer = new StringBuffer();
                                                    while (matcher.find()) {
                                                            matcher.appendReplacement(buffer, replacingtext);
                                                    int IndexOf = itemName.indexOf(".");
                                                    String domainName = itemName.substring(IndexOf);
                                                    System.out.println("domainName: "+domainName);
                                                    String finalimage = buffer.toString()+"_"+r+domainName;
                                                    System.out.println("Final Image==="+finalimage);
                                                    File savedFile = new File(getServletContext().getRealPath("assets/images/")+"/LowesFloorPlan.png");
                                                    //File savedFile = new File("D:/apache-tomcat-6.0.35/webapps/ROOT/example/"+"\\test.jpeg");
                                                    item.write(savedFile);
                                                    out.println("<html>");
                                                    out.println("<body>");
                                                    out.println("<table><tr><td>");
                                                    out.println("");
                                                    out.println("</td></tr></table>");
                                                    try {
                                                            out.println("image inserted successfully");
                                                            out.println("</body>");
                                                            out.println("</html>");  
                                                    } catch (Exception e) {
                                                            System.out.println(e.getMessage());
                                                    } finally {
                                            } catch (Exception e) {
                                                    e.printStackTrace();

    It is only coming in Windows 7 systems and the root of this problem is SSL certificate.
    Workaround for this:
    Open application in IE and click on certificate error link at address bar . Click install certificate and you are done..
    happy programming.
    Thanks
    DevSachin

  • Flex 2-14 issues

    Dear Users,
    I strongly advise you not to consider buying the Lenovo model Flex 2-14 or any Lenovo machines at all.
    I bought one recently and the screen has yellow spots in the corners and on the sides from day 1. Also the laptop rattles thanks to its flexibility I guess. The annoying rattling noise just drives one crazy.
    I thought these problems will dissapear, but I waited in vain, they are just getting worse. Well, I am covered by warranty, so I thought no problem, even though I am out of the US where I purchased it online. But calling the customer service and struggling to get the right person, who eventually refuses to fulfill the Lenovo warranty obligations on the basis of the fact the receipent's first name is different from mine (though we do have the same family name, as we are family). Then after some time, the person agrees to consider the possibility of repair. And now they ask million questions and put different conditions to delay the return for repair, and just to make us so sick and tired of them, that we don't want to call them anymore, especially given that we don't have time to waste on the telephone. So the Customer service does everything just to avoid accepting for repair the defective laptop they sold us. I am deeply dissatisfied with the quality of Lenovo products and with the attitude of their staff.
    Moderator comment: Post split out of the Knowledgebase and a new topic created. Subject edited to match. Was: Re: New forum feature: Search before posting new topics

    hi Swtess,
    Welcome to the Forums.
    Depending on the SKU, the Flex 2-14 can be powered by either an 802.11AC card and some are onlg b/n (see page 79 of the HMM for more info).
     - Link to picture
    A b/n or b/g/n wireless card will not be able to detect a 5Ghz wireless access point as these type of cards can only detect and connect to a 2.4Ghz band.
    More info:
    Wireless: Determine if Computer Has 5GHz Network Band Capability (Windows)
    Laptop wireless networking options: 1x1 vs 2x2
    As for the battery, this review shows that the battery can up to the following scenarios:
    If you're getting 2hrs during WiFi surfing, try the following:
    1. Set the power plan to Power Saver and screen brightness to minimum.
    2. If you have devices plugged-in to the USB port, temporarily unplug them and observe
    Regards
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Spring IOC issues in MVC WebApplication with JSF integration

    Hello All,
    I am getting null pointer exception while using spring's IOC feature in my application.
    I have created one Spring + JSF Application in Eclipse ID given instruction at link http://www.javabeat.net/articles/39-integrating-spring-and-jsf-3.html.
    This is working fine.
    I tried to modify this code and instead of initializing the Map from the default constructor I have added below code in applicationContext.xml like
    <util:map id="stockSymbolsAndValuesMap" map-class="java.util.HashMap">
    <entry key="AAA" value="100"></entry>
    <entry key="BBB" value="200"></entry>
    <entry key="CCC" value="300"></entry>
    <entry key="DDD" value="400"></entry>
    <entry key="EEE" value="500"></entry>
    </util:map>
    and add this id's ref something like below.
    <bean id="stockBean"
    class="net.javabeat.articles.springjsf.introduction.StockValueFetcher">
    <property name="stockBeanValue" ref="stockBean"></property>
    </bean>
    and modified the bean some thing like
    public class StockValueFetcher {
    private Map<String, String> stockSymbolsAndValues;
    // with some getters and setters
    while taking this map to my public String findStockValue() method I am getting null when I do stockSymbolsAndValues.containsKey(symbolName);.
    I did this map injection in plain java main spring program and its working fine. So, in this case am I doing anything wrong or missing anything. Please guide me on this.
    Thanks And Regards
    Jaik

    Hi Nithin,
    We could solve this issue finally. The issue was HTTPS cookie persistence was not set at loadbalancer level. As we have two web servers behind load balancer, it seems once user authenticates with Azure AD, post back from Azure AD was happening to the server
    other than the initial server which redirected the user to Azure AD intially.
    Setting the HTTPS cookie persistence solved the issue.
    However can you suggest if this is the only solution to fix this kind of issue. We don't want to enable this kind of sticky session on load balancer so if there is another way to fix it, it would be better.
    -Ashish http://www.ashishsheth.com

  • Flex Builder License Issues

    The flex builder serial number that I have works when I
    install it as standalone but doesnt work when I add it as a plugin
    to my existing Eclipse Installation.
    Anyone have any information or knowledge that can help me?
    Thanks
    Prem

    You mean you can't use your FB2 anymore, or your FB2 license
    does not work with Flex 3 beta? I think you can point Flex 3 toward
    the Flex 2 or 3 SDKs, so maybe a setup issue?

  • Flex + BlazeDS SSL issue with IE7

    Hi there,
    Am facing an unique issue when accessing my application using https (SSL) protocol. Actually my app is configured for "secure amf" and when it fails then it hits the "amf" of blazeds.
    All is fine, when i try to open an IE window and hit the url for the first time. The client side is able to hit the server side thru secure amf and its receiving the response back from the server. But when i open another new IE7 tab/window then am getting a NetConnection issue....
    i.e, NetConnection.Failed:HTTP error is popping up eventhough it tries to access the https url..
    Let me know if any of you guys have a work around for this.
    This works fine for FF & Chrome.
    Thanks.

    So it's definitely due to a change in Firefox, but I was able
    to find a workaround. We put headers in our flex pages so we can
    incorporate our global navigation at the top of the page.
    You're not going to believe the workaround. Here's what the
    code looked like before I fixed it:
    <cfinclude
    template="/cfdocs/proddev/common/cf/flex_header.cfm">
    <script src="AC_OETags.js"
    language="javascript"></script>
    Now, here's the fix:
    <script src="AC_OETags.js"
    language="javascript"></script>
    <cfinclude template="common/flex_header.cfm">
    So, I either had to put the script tag in the <head>
    tag, or put it before my html declarations.
    My guess is that Firefox over SSL doesn't allow <script
    src=''> tags in the body of an html document anymore.

Maybe you are looking for

  • Installation Failed

    I'm trying to install Photoshop CS2 onto a 24" iMac (Intel 2.4ghz) running Leopard. I've successfully installed on 4 other identical machines but this one is giving me a hard time. It proceeds through the installation process and gets to 'Installing

  • N78 Visual Radio problem - stops for 5 secs then r...

    Good evening, My Nokia N78 is showing some strange behavior lately. When I listen to Visual Radio after about 2-3 mins of playback the sound completely stops for about 5 seconds then it starts again. Any idea about what is causing this problem? Is it

  • Bug? Right-click on Front Panel causes selection rectangle!

    Originally posted on LAVA: http://lavag.org/topic/12097-right-click-on-front-panel-causes-selection-rectangle/. This post contains an updated description of the problem. Anytime I right-click on a control on the FP, and dismiss the context menu, I ge

  • Lenovo v560 Veriface issues

    I have a problem. on startup, my paticular system brings me to the log in screen and it used to have the option to 1) scan my finger 2) enter a passwor or 3) use veriface log in. then all of a sudden, the veriface login thing disapears. i go into the

  • Add node at particular location in XML file

    I'd like to add an item to a particular location in an XML file.  Location of parent node is given by string variable "itemtoaddto" and the XML file is given by "myXML": function TraverseXMLfile(itemtoaddto,myXML): void {     var AttributeList:XMLLis