Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2012-12-26T16:29:09Z by SystemAdmin
SystemAdmin
SystemAdmin
1493 Posts
ACCEPTED ANSWER

Pinned topic Modify model without Portlet Factory

‏2012-12-26T11:56:12Z |
I'm new on Portlet Factory. I have to modify a EAR file that someone developped some years ago. I can't installed Portlet Factory by now, so I'm trying to modify files with an editor. I have to add a new column in the SQL and then I have to show it in the table.
I have modify my provider and the SQL query now is returning the new column. My problem is modifying the consumer, I have modified my consumer.model to add the new column but it doesn't appear when I execute the application.
What is the step that I'm missing?
I can see that the generate a jsp under genjsp directory but It doesn't have the new column.
In the .model file I have modified
<BuilderCall id="bc28"><BuilderDefID>com.bowstreet.builders.webapp.VariableBuilder</BuilderDefID> to add the new column
and <BuilderCall id="bc18"><BuilderDefID>com.bowstreet.builders.webapp.pageautomation.DataPageTableModifier</BuilderDefID> to add the description for the new column.
Thanks in advance.
Updated on 2012-12-26T16:29:09Z at 2012-12-26T16:29:09Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    1493 Posts
    ACCEPTED ANSWER

    Re: Modify model without Portlet Factory

    ‏2012-12-26T16:29:09Z  in response to SystemAdmin
    I have the solution. My problem was that I wasn't changing all the SQL querys with the result data, so add the new column to all the SQL querys and I could see my changes.