aspose file tools*
The moose likes Portals and Portlets and the fly likes modify Portlet Factory Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "modify Portlet Factory Application" Watch "modify Portlet Factory Application" New topic
Author

modify Portlet Factory Application

Natt Gonzalez
Ranch Hand

Joined: Apr 28, 2008
Posts: 31
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.
Mohan Ramu
Greenhorn

Joined: Dec 26, 2012
Posts: 5
<mapping package=“x.x.x”/> not working fine in hibernate


I have many classes in my Hibernate annotation project,

i want to add all those classes in hibernate.cfg.xml.

if i add set of classes like below , it's working fine,

<mapping class="com.infosys.ans.data.model.InbMst"/>
<mapping class="com.infosys.ans.data.model.InterfaceAccessTypMst"/>
<mapping class="com.infosys.ans.data.model.InterfaceOperTypMst"/>
<mapping class="com.infosys.ans.data.model.OutbMst"/>
<mapping class="com.infosys.ans.data.model.StsMst"/>
<mapping class="com.infosys.ans.data.model.InterfaceMst"/>

to reduce the code , i want to add only package name.

Thanks in advance
Natt Gonzalez
Ranch Hand

Joined: Apr 28, 2008
Posts: 31
I don't understand anything

Mohan Ramu wrote:<mapping package=“x.x.x”/> not working fine in hibernate


I have many classes in my Hibernate annotation project,

i want to add all those classes in hibernate.cfg.xml.

if i add set of classes like below , it's working fine,

<mapping class="com.infosys.ans.data.model.InbMst"/>
<mapping class="com.infosys.ans.data.model.InterfaceAccessTypMst"/>
<mapping class="com.infosys.ans.data.model.InterfaceOperTypMst"/>
<mapping class="com.infosys.ans.data.model.OutbMst"/>
<mapping class="com.infosys.ans.data.model.StsMst"/>
<mapping class="com.infosys.ans.data.model.InterfaceMst"/>

to reduce the code , i want to add only package name.

Thanks in advance
Natt Gonzalez
Ranch Hand

Joined: Apr 28, 2008
Posts: 31
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: modify Portlet Factory Application