JSF tr:table pagination Not working

I developed small application in jsf , i get the 30 records from db for when i click the "next30" button and append the that 30 records to pageflowscope variable and displaying in screen .list per page is 50...
Acutally i got records from DB and added to list but when i click the Next ## link or choose from dropdown is not working
Please help me to resolve this problem ,
i tried many ways

"is not working" contains exactly zero information. If you want help, offer something other than "it doesn't work". Some code is already a good start.
Also, I would ask the question in a forum or mailing list that covers Trinidad. You'll have far more chance of getting actual suggestions.

Similar Messages

  • Command Link in ADF table is not working/ PPR event not getting fired

    Hi All,
    I am having ADF Table, in that one column is with command link if click on command link, it is not navigating to corresponding page or method of a bean. If i give same command link out of the table it working fine, this issue i am facing is in IE9.
    if i use IE in compatibility mode the links works fine, even in IE8 version also.
    Browser: IE 9
    Jdev version: 11.1.1.5.0
    I tried all possible things, but nothing workout for me.
    showPopupBehavior not working in IE9 for af:table buttons (jdev11.1.1.5.0)
    Partial page rendering not working in ie9
    Command Link in ADF table is not working
    Thnks

    Hi,
    please file a bug if you have a customer support contract and provide a testcase
    Frank

  • The next link of advance table is not working ??

    Hi,
    The next link and also all properties of the advance table is not working as soon as i click on the next link the page gets hanged no other components of the page not working
    i have two regions one is advance table region and one is default double column for showing all buttons in one row plz help..
    regards
    Dips (paddy)
    Edited by: 918001 on Feb 29, 2012 10:24 PM

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • Early Adopter release : Extract DDL for tables does not work

    Hi,
    just had a look at Raptor - really nice tool - easy install - could be a replacement for SQLnavigator for us. One or two things I noticed though ...
    1)
    Export->DDL for tables does not work throws following error
    java.lang.ClassNotFoundException: oracle.dbtools.raptor.dialogs.actions.TableDMLExport
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at oracle.ideimpl.IdeClassLoader.loadClass(IdeClassLoader.java:140)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:164)
         at oracle.dbtools.raptor.dialogs.BasicObjectModifier.launch(BasicObjectModifier.java:142)
         at oracle.dbtools.raptor.dialogs.BasicObjectModifier.handleEvent(BasicObjectModifier.java:210)
         at oracle.dbtools.raptor.dialogs.actions.XMLBasedObjectAction$DefaultController.handleEvent(XMLBasedObjectAction.java:265)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:530)
         at oracle.ide.controller.IdeAction$1.run(IdeAction.java:785)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:804)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:499)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    and 2)
    when I click on a package body - I get "loading ..." below it but it never puts the
    procedure names in and the "loading ..."message stays in the tree view - however you do get to see the packages in the source window.
    Realise this is very much a work in progress and am grateful to see an early release such as this. Looking forward to the production release.
    Best regards,
    David.

    OK thanks for looking ....you've obviously got the fixes on your to do lists
    Noticed that the SQL tab when you select an object works fine - displays the
    DDL for the object
    Do you think you'll have functionality so you can select many objects (shift left click) and
    then create a DDL script for them? It looks like you can do this for all objects in a schema but
    the ability to select a subset of objects in a schema would be very useful for our DBA's.
    Couldn't see any good reason for keeping using SQLNavigator
    Many congratulations on producing such a useful tool.
    Kind regards,
    David.

  • ADCS Remove child table is not working

    Hi
    The AD out-of-box adapter ADCS Remove from child table is not working correctly.
    when i remove data from child table the task status shows completed, but the description inside the task shows that the GROUP HAS BEEN REMOVED ALREADY FROM TARGET.
    But on checking the AD I found the groups were not removed actually.
    In the log i found this error
    Running Remove User From Group
    DEBUG,03 Nov 2009 10:21:06,099,[OIMCP.ADCS],tcUtilADTasks::removeUserFromGroup() Enter
    DEBUG,03 Nov 2009 10:21:06,099,[OIMCP.ADCS],tcUtilADTasks::getLookupCodeValue() Enter
    DEBUG,03 Nov 2009 10:21:06,115,[OIMCP.ADCS],tcUtilADTasks::getLookupCodeValue() Exit
    DEBUG,03 Nov 2009 10:21:06,115,[OIMCP.ADCS],tcUtilADTasks::getObjectByObjectGUID() Enter
    DEBUG,03 Nov 2009 10:21:06,115,[OIMCP.ADCS],tcADUtilLDAPController::search() Enter
    DEBUG,03 Nov 2009 10:21:06,115,[OIMCP.ADCS],tcADUtilLDAPController::getPath() Enter
    DEBUG,03 Nov 2009 10:21:06,115,[OIMCP.ADCS],tcADUtilLDAPController::getPath() Exit
    DEBUG,03 Nov 2009 10:21:06,115,[OIMCP.ADCS],tcADUtilLDAPController::connectToAvailableAD() Enter
    DEBUG,03 Nov 2009 10:21:06,115,[OIMCP.ADCS],tcADUtilLDAPController::hashTableEnvForDirContext() Enter
    DEBUG,03 Nov 2009 10:21:06,115,[OIMCP.ADCS],tcADUtilLDAPController::hashTableEnvForDirContext() Exit
    DEBUG,03 Nov 2009 10:21:06,115,[OIMCP.ADCS],tcADUtilLDAPController::hashTableEnvForLDAPContext() Enter
    DEBUG,03 Nov 2009 10:21:06,115,[OIMCP.ADCS],tcADUtilLDAPController::hashTableEnvForLDAPContext() Exit
    INFO,03 Nov 2009 10:21:06,115,[OIMCP.ADCS],SSL option is not selected in ITResource
    DEBUG,03 Nov 2009 10:21:06,131,[OIMCP.ADCS],tcADUtilLDAPController::connectToAvailableAD() Exit
    DEBUG,03 Nov 2009 10:21:06,334,[OIMCP.ADCS],tcADUtilLDAPController::disconnect() Enter
    DEBUG,03 Nov 2009 10:21:06,334,[OIMCP.ADCS],tcADUtilLDAPController::disconnect() Exit
    DEBUG,03 Nov 2009 10:21:06,334,[OIMCP.ADCS],tcADUtilLDAPController::search() Exit
    DEBUG,03 Nov 2009 10:21:06,334,[OIMCP.ADCS],tcUtilADTasks::getObjectByObjectGUID() Exit
    DEBUG,03 Nov 2009 10:21:06,334,[OIMCP.ADCS],tcADUtilLDAPController::getPath() Enter
    DEBUG,03 Nov 2009 10:21:06,334,[OIMCP.ADCS],tcADUtilLDAPController::getPath() Exit
    DEBUG,03 Nov 2009 10:21:06,334,[OIMCP.ADCS],tcADUtilLDAPController::connectToAvailableAD() Enter
    DEBUG,03 Nov 2009 10:21:06,334,[OIMCP.ADCS],tcADUtilLDAPController::hashTableEnvForDirContext() Enter
    DEBUG,03 Nov 2009 10:21:06,334,[OIMCP.ADCS],tcADUtilLDAPController::hashTableEnvForDirContext() Exit
    DEBUG,03 Nov 2009 10:21:06,334,[OIMCP.ADCS],tcADUtilLDAPController::hashTableEnvForLDAPContext() Enter
    DEBUG,03 Nov 2009 10:21:06,334,[OIMCP.ADCS],tcADUtilLDAPController::hashTableEnvForLDAPContext() Exit
    INFO,03 Nov 2009 10:21:06,334,[OIMCP.ADCS],SSL option is not selected in ITResource
    DEBUG,03 Nov 2009 10:21:06,349,[OIMCP.ADCS],tcADUtilLDAPController::connectToAvailableAD() Exit
    DEBUG,03 Nov 2009 10:21:06,349,[OIMCP.ADCS],tcADUtilLDAPController::modifyAttributes() Enter
    *ERROR,03 Nov 2009 10:21:06,349,[OIMCP.ADCS],The error occured in tcADUtilLDAPController::modifyAttributes():null*
    DEBUG,03 Nov 2009 10:21:06,349,[OIMCP.ADCS],tcADUtilLDAPController::disconnect() Enter
    DEBUG,03 Nov 2009 10:21:06,349,[OIMCP.ADCS],tcADUtilLDAPController::disconnect() Exit
    DEBUG,03 Nov 2009 10:21:06,349,[OIMCP.ADCS],tcUtilADTasks::removeUserFromGroup() Exit
    Any thoughts would be grateful
    TIA,
    Manoj

    Hi Manoj,
    The error message below is performed when the connector tried to remove the user from a user group removeUserFromGroup() (ADCS Remove User From Group), so the user group will not be removed. To delete a group, you have to run the delete group task of AD Group process.
    When the user has already been removed from the group, the connectors shows null to the tcADUtilLDAPController::modifyAttributes():null
    Renato.

  • Select list pagination not working for big tables

    Hi,
    i am trying to view a table with large amount of data using tabular form. the pagination using select list is not working in this page. i have selected select list kind of pagination but it is showing "row range 1-15 16-30(with set pagination)' type of pagination. when i lowered the amount of data in the table the pagination type will automatically change to select list pagination. could you please tell me why this happens and any possible work around if any.
    Thanks,
    Jo

    Hi Jo,
    I don't know what you call a large amount of records, but the effect you describe might be intentional by apex.
    The select list pagination would generate a selection tag with (number of records in table/15) options in your page HTML.
    Although there isn't a hard limit to the number of options a select list can have there certainly is a limit to what your browser/pc can render.
    Think about it
    Let's say you table contains a million rows. this would result to a select list with 66666 options. Which your browser won't handle :)
    I very possible the apex team resolved this by simply reverting to row range pagination when the number of select options would grow to large.
    Geert

  • Command link in adf table is not working..

    Hi All,
    I am having ADF Table, in that one column is with command link and,if click on commnad link it is not going to coorsponding action or actionListener methods of bean. If i give same command link out side of the table it working fine.But i have to pass some perameters on click of button.
    I am getting same problem in many places , if i delete the page and page-def files again if i create some times it is working but some times not working. Is there any specific reason for this.Following is the code snippet...
    <af:column sortProperty="GlobalDealId" sortable="false"
    headerText="#{bindings.DsaDealsResultsVO1.hints.GlobalDealId.label}"
    id="c8">
    <af:commandLink text="#{row.GlobalDealId}" id="cl1" action="#{pageFlowScope.editProfileCompleteness.sample}" immediate="true" partialSubmit="true">
    <af:setActionListener from='"#{row.GlobalDealId}"'
    to='"#{pageFlowScope.globalDealId}"'/>
    <af:setActionListener from='"#{row.CustName}"'
    to='"#{pageFlowScope.custName}"'/>
    <af:setActionListener from='"#{row.IsSaDeal}"'
    to='"#{pageFlowScope.isSaDeal}"'/>
    </af:commandLink>
    </af:column>
    Even i tried with out immediate="true" partialSubmit="true" also.
    And i set ChangeventPolicy = ppr for Iterator in page defnation file.
    Awaiting for ur reply.

    Hi,
    the real problem of the original poster seems to be <af:commandLink text="#{row.GlobalDealId}" id="cl1" action="createMDM" immediate="true" partialSubmit="true"> having immediate set to true in which case the request goes from restore view to render response. You usually use immediate=true on a command item to cancel an action (bypassing all the other JSF lifecycle steps).
    Peter551059,
    you don't give us much information about your case. So if the problem is IE9 and you verified IE9 is supported for the version of JDeveloper you use, then - in case you have a support contract - my best advise is to file a service request and have support looking at it just in case you hit a defect that should be filed as a bug
    Frank

  • JSF Getting Started Example not Working

    I've installed and configured JSF according to CoreJSF 1st Chapter example "A simple JSF Application" (available at http://horstmann.com/corejsf/). The only different thing i've done is to put the jsp pages in a separate folder within the root web application folder. The JSF seems to be properly configured, since i'm able to see the UI components in the login page. However, once I click login button, the application takes me once more to the login page (same page that put the request). I figure it is a problem with the navigation file, I've changed the faces-config.xml including "jsf/welcome.jsp" as target since "jsf" is the separate directory I created for JSP files. I does not work (not getting exceptions though). Any prompt help will be highly appreciated.
    These are the files:
    webapproot/jsf/index.jsp
    <html>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:view>
    <head>
    <title>A Simple Java Server Faces Application</title>
    </head>
    <body>
    <h:form>
    <h3>Please enter your name and password.</h3>
    <table>
    <tr>
    <td>Name:</td>
    <td>
    <h:inputText value="#{user.name}"/>
    </td>
    </tr>
    <tr>
    <td>Password:</td>
    <td>
    <h:inputSecret value="#{user.password}"/>
    </td>
    </tr>
    </table>
    <p>
    <h:commandButton value="Login" action="login"/>
    </p>
    </h:form>
    </body>
    </f:view>
    </html>
    webapproot/jsf/welcome.jsp
    <html>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:view>
    <head>
    <title>A Simple Java Server Faces Application</title>
    </head>
    <body>
    <h:form>
    <h3>
    Welcome to Java Server Faces,
    <h:outputText value="#{user.name}"/>!
    </h3>
    </h:form>
    </body>
    </f:view>
    </html>
    webapproot/WEB-INF/faces-config.xml
    <faces-config>
         <navigation-rule>
         <from-view-id>jsf/index.jsp</from-view-id>
         <navigation-case>
         <from-outcome>login</from-outcome>
         <to-view-id>jsf/welcome.jsp</to-view-id>
         </navigation-case>
         </navigation-rule>
         <managed-bean>
         <managed-bean-name>user</managed-bean-name>
         <managed-bean-class>co.edu.unal.dnic.licapa.capa.UserBean</managed-bean-class>
         <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
    </faces-config>
    webapproot/WEB-INF/web.xml
    <web-app>
         <servlet>
         <servlet-name>Faces Servlet</servlet-name>
         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet-mapping>
         <servlet-name>Faces Servlet</servlet-name>
         <url-pattern>*.faces</url-pattern>
         </servlet-mapping>
         <welcome-file-list>
         <welcome-file>/index.html</welcome-file>
         </welcome-file-list>
         <display-name>DNIC - Capacitaci�n 1.0.1</display-name>
         <description>
         DNIC - Capacitaci�n 1.0.1
    </description>
    </web-app>
    Since I'm not getting any java exceptions I figure the UserBean class is working properly.
    Thank you......
    Julian

    try to put / at the beginning of the from-view-id and to-view-id

  • Select All in a table does not work for Drag and Drop

    Hi. I am using Jdeveloper 11.1.1.2 but have also reproduced in 11.1.1.3.
    I am trying to implement drag and drop rows from one table to another. Everything works fine except when I do a Select All (ctrl-A) in a table, the table visually looks like all rows are selected, but when I try to click on one of the selected rows to drag to the other table, only the row I click on is dragged.
    I tried setting Range Size -1, fetch mode to FETCH_ALL, content delivery to "immediate" but nothing works.
    I even have reproduced not using a view object but just a List of beans with only 5 or 10 beans showing in the table.
    Does anyone know how to get Select All to work for a Drag Source?
    Thanks.
    -Ed

    Frank-
    OK, thanks for looking into that. I also submitted this service request, which includes a simple sample app to demonstrate the problem:
    SR #3-2387481211: ADF Drag and Drop does not work for rows in table using Select All
    Thanks again for the reply.
    -Ed

  • In SSRS , after exporting report in excel,wrap text property for cell and freeze column for SSRS table header not working in Excel

    I am working no one SSRS my table headers are freeze cangrow property is false and my report is working perfect while rendering data on RDL and i want same report after exporting in Excel also , i want my table header to be freeze and wrap text property
    to work after exporting in my report in excel but its not working ,is there any solution ? any patch ? any other XML code for different rendering ? 

    Hi Amol,
    According to your description, you find the wrap text property and fix column is not working after exporting into Excel. Right?
    In Reporting Services, when exporting to excel file, it has limitation for textbox.
    Text boxes are rendered within one Excel cell. Font size, font face, decoration, and font style are the only formatting that is supported on individual text within an Excel cell.
    Excel adds a default padding of approximately 3.75 points to the left and right sides of cells. If a text box’s padding settings are less than 3.75 points and is just barely wide enough to accommodate the text, the text may wrap in Excel.
    In this scenario, it supposed to be wrap text unless you merge cells. If cells are merged, word-wrap does not work correctly. If any merged cells exist on a row where a text box is rendered with the
    AutoSize property, autosize will not work. For the Fix Data Property, it can't be working in Excel. These are features when exporting to Excel. We can't change it because it's by design.
    Reference:
    Exporting to Microsoft Excel (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • My 8.5 look-up table is not working in 8.6.

    Hi, I recently updated my labview from 8.5 to 8.6, but my model has some lookup tables which is not working in the new version so my model is not working as well.
    the proporty of the lookup table in 8.6 does not include preview and it shows an array icon when I point it , and when I do right click, I can see the render window seperately.
    would you tell me whats the difference between lookup tables in this two version. besides I could not open my model in the last version;(
    Solved!
    Go to Solution.

    Sararahimi,
    The 8.5 version of your VI appears to be corrupt, but I recreated it.  The preview window seems to be the same in both versions, so I do not really understand what differences you are seeing.  Can you please attach a screenshot of what you are seeing in 8.6 that is not the same in the property dialog?  Also, please explain in detail what functional differences you see between 8.5 and 8.6.
    Chris M 

  • Use Current Exchange Rate from the Exchange Rate Table itu00B4s not working

    Hi Experts:
    Working with manager user, Iu2019m trying to create a Goods Receipt PO through the Draw Document Wizard, but the option u201CUse Current Exchange Rate from the Exchange Rate Tableu201D it is not working, it does not bring me the USD exchange rate of today defined in  the table;  it brings the USD exchange rate from the base document (AP Reserve Invoice), and Iu2019m not allowed to change it. What should I do?. We are working wih SAP Business One SP01 PL06. Thanks
    CLAUDIA

    Hi,
    There is a SAP Note related to your issue, have a look at this.
    [http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_sbo_adm/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d373033303238%7d]
    ...For companies using the Continous Stock System feature, there are three additional scenarios in which the row Exchange Rate will be copied from the base document regardless of the calculation method chosen in the 'Draw Document Wizard':
    a) Goods Receipt PO -> Goods Return.
    b) Goods Return -> Goods Receipt PO.
    c) AP Reserve Invoice -> Goods Receipt PO.
    Hope this helps,
    Son.

  • Table Sorter Not working in EP 7.01

    Hi All,
    The table sorter stopped working in ep 7.01.
    Can anyone comment why?
    Are there any notes or patches to be applied?
    Thanks and Regards,
    Nuzhat

    Hi Shanti,
    Thanks for replying.
    I am working on WD for Java.
    Can you please give me your table sorter Java file?
    I think there may be issues in versions.
    Previous server was ep 7.00 and now when code is moved to ep 7.01 sp05 patch 1, the table sort doesnt seems to work. even though I checked all the codes are there in the new system.
    Thanks and Regards,
    Nuzhat

  • Table authorisation not working in RSA3

    Hi All,
       I come across a problem, I have linked a R/3 table to an authorization group so that its data will be viewable to only those who are authorized for that group. Its working fine when anyone tries to view the data from SE16. But in case i have attached it to an extractor its data is viewable to everyone who has rights for RSA3. Why authorization group check is not working with RSA3? What i need to do in order to avoid that. Pls guide.
    Regards:
    Jitendra

    Hi Shanti,
    Thanks for replying.
    I am working on WD for Java.
    Can you please give me your table sorter Java file?
    I think there may be issues in versions.
    Previous server was ep 7.00 and now when code is moved to ep 7.01 sp05 patch 1, the table sort doesnt seems to work. even though I checked all the codes are there in the new system.
    Thanks and Regards,
    Nuzhat

  • Table Attribute not working with MVC5 and EF6

    Hello,
           Having an issue with a project I am working on.  I have a web project and portable classes.  I am using Entity Framework 6, and MVC 5.  Everything was working when I had all the classes in the Web side,
    but once I moved them to the Portable side, I began to have an issue with the data annotation.  Here is the code from one of the classes:
    namespace Inventory.Entities
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Linq;
    [Table("Common.Location")]
    public class Location
    public Location()
    Assets = new HashSet<Asset>();
    [Key]
    public int LocationID { get; set; }
    [Required]
    [Display(Name = "Location Name")]
    public string LocationName { get; set; }
    public virtual ICollection<Asset> Assets { get; set;}
    Now the issue is that Table has a red squiggle and I am getting the following error: Error  43  The type or namespace name 'TableAttribute' could not be found (are you missing a using directive or an assembly reference?)
    As far as I can tell everything is set up correctly, but this just does not want to work.  It is not only this class, but all of my classes.  The only reference I have in the portable classes is .Net with a target of 4.5.  Everything I read
    says this should work, but clearly it is not working.  I have also uninstalled and installed the entity framework, did a clean and build but with no luck.  Any thoughts?
    Michael R. Mastro II

    Hello Michael,
    >>but once I moved them to the Portable side, I began to have an issue with the data annotation.
    This is by designed, please check the namespace “System.ComponentModel.DataAnnotations.Schema”:
    https://msdn.microsoft.com/en-us/library/system.componentmodel.dataannotations.schema(v=vs.110).aspx, as you can see, only the DatabaseGeneratedAttribute is supported in Portable Class Library.(If a class is supported in PCL, there should be a
     symbol).
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • How do I transfer contacts from iCloud to my phone?

    The Apple guy at the store moved all my contacts to iCloud and restarted my phone. Now all my contacts are gone from the phone but are still in iCloud. How do I get them back on the phone?

  • How can i sort music by artist in the store?

    I want to browse the store by artists? why cant this be done, im so tired of seeing the popular artists.  sometimes i just want to browse the store by artist.  If you know what genre you want to look in, but dont know the artist or group name, just a

  • Show blank in

    I am having a problem with a report. I have a sortable number column. When I put a decode statement around my number to show a blank or a space instead of a zero, it completely screws up my sort. It seems to turn the entire column to text rather than

  • Opening downloaded .asp (Citrix ICA) files with Safari

    I would like to have Safari, after downloading a Citrix connection file, open the Citrix ICA Client application and then use the file the establish a connection. In other browsers, you can set this up under "helper applications" or something like tha

  • What is the best way to edit photos and save changes across devices (without using iphoto)

    So I took allot of vacation photos with my iphone and created a photo stream so they can be viewed across devices. Some are dark and I would like to lighten them up and have the changes saved across devices. What is the best way? I originally tried s