Question: When mapping a HasMany or HasManyToMany in fluent nhibernate, you can specify the column name to use for the list as a parameter to the AsList() method as follows:

```
HasMany(c => c.Customers)
    .AsList(c => c.Column("PositionIndex"));

```

I would prefer to be able to set this using a Fluent NHibernate convention (either a pre-existing one, or a custom one), especially since the default name appears to be "Index" which is a reserved word in MSSQL.

I've tried using a custom convention implementing IHasManyConvention, but the instance parameter does not seem to contain the information about whether its a list, a bag, or a set, and also does not contain the column details for the index column.

```
public void Apply(IOneToManyCollectionInstance instance)
{

}

```

Any ideas?

Answer: 
I ran into this same issue. My solution was to submit the form data using the jQuery serialize method to append the form data tho the href of the anchor tag.

```
<s:url var="urlFkey" namespace="%{namespace}" action="GotoAddForeignKeyRecord" escapeAmp="false" >
  <s:param name="target" >disp${fieldName}</s:param>
  <s:param name="fkeyName" value="fkeyName"/>
  <s:param name="fkeyTableName" value="fkeyPrimaryTableName"/>
  <s:param name="recordID" value="recordID"/>
</s:url>
<s:a id="disp%{fieldName}" href="%{urlFkey}" cssClass='nyroModal' onclick="this.href = this.href + '&' + $('#%{dispTablename}saveRecord').serialize();">
   Add New <s:property value="fkeyPrimaryTableNameLabel"/>
</s:a>

```

Notice how the serialize method is called in the onclick event for the anchor tag.
You can find more examples of using Struts with jQuery at my blog [here](http://richgski.blogspot.com/).
I'd suggest just doing a javascript:form.submit() inside your anchor tag href