A public list module maybe needs for mojoportal.

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
10/25/2008 12:01:05 PM
Gravatar
Total Posts 550

A public list module maybe needs for mojoportal.

Hi All
A public list module maybe needs for mojoportal. A good sample of this feature exists on googleSites. In this feature user can define columns of a list and then add his items throw a form to the list. I try to establish this feature but I stop , because mojoportal is open source and developer can add a table to database and generate necessary code by a template. So I decide to create a List module template. In other hand for implementation of this feature we need reverse rows of table to columns witch I believe by this work the mean of data will lose. Am I right?.Do you have any idea?

 

10/25/2008 12:54:28 PM
Gravatar
Total Posts 18439

Re: A public list module maybe needs for mojoportal.

Hi Asad,

Sorry but I have no idea what you are asking about. I'm not familiar with the features of google pages so I have no idea about this feature and I do not understand your question about the database.

Best,

Joe

10/25/2008 1:12:21 PM
Gravatar
Total Posts 550

Re: A public list module maybe needs for mojoportal.

Hi joe

Excuse me for bad english.Please see this list(sites.google.com/site/newsoftwaresolutionsconsulting/Financial) witch I created by google sites.

best

Asad

10/25/2008 1:37:08 PM
Gravatar
Total Posts 18439

Re: A public list module maybe needs for mojoportal.

Hi Asad,

To implement something like this I think the columns would have to be stored in the db as rows and transformed back into columns for presentation in the UI

Table maybe something like this:

RowID TableID VirtualRowID ColmnName ColumnValue

VirtualRowID would be the id that reperesents a row as seen in the UI, RowID could be the real primary key for convenience but VirtualRowID and ColumnName must also have a unique constraint.

To present it in the UI you would have to create a DataTable object in code and make real columns using the distinct ColumnNames for the tableid. Then loop theough the rows to populate the data table, then bind to the data table in the UI.

Hope it makes sense.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.