|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
new (1.2) snapshots of Trails artifacts deployedHi All
I have deployed 1.2-SNAPSHOT version of all the Trails artifacts to our snapshot repo. I want to gather some feedback from you. :) So please, play with it and tell me if it works ok mvn archetype:create -DarchetypeGroupId=org.trailsframework -DarchetypeArtifactId=trails-archetype -DremoteRepositories=http://snapshots.repository.codehaus.org/ -DarchetypeVersion=1.2-SNAPSHOT -DgroupId=<your package> -DartifactId=<your project> This snaphot It's not for the faint of heart, there is a new "core" and a new page life cycle and althoug both concepts should be transparent for the Trails user, the new implementation could be a little buggy. I worked hard to make it backward compatible. The best way to upgrade from 1.1.1 is to create a new 1.2-SNAPSHOT project from scratch and then copy your model and custom pages. You will need to add a few new lines to your custom pages page specification. You can see the diff between the versions here: DefaultEdit.page: http://svn.trails.codehaus.org/browse/trails/trunk/trails/archetypes/trails-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/DefaultEdit.page?r1=764&r2=878 DefaultList.page: http://svn.trails.codehaus.org/browse/trails/trunk/trails/archetypes/trails-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/DefaultList.page?r1=764&r2=878 And the full list of changes to the archetype in here: http://svn.trails.codehaus.org/changelog/trails/?cs=878 Check the 1.2 roadmap http://jira.codehaus.org/browse/TRAILS/fixforversion/13546 Here are some developer notes: http://docs.codehaus.org/x/QQByAQ Although Trails 1.2 release date is not fixed yet, I think it will it could be available in late February. Feedback, questions, patches, corrections, documentation and any kind of contribution are very welcome. -- Alejandro Scandroli Amneris: We build process-driven web applications. http://www.amneris.es --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
overwriting ObjectTable columns againIn my html I am using the ObjectsTable as follows:
<table jwcid="clipsTable"> <div jwcid="previewVideoColumnValue@Block"> <if jwcid="@If" condition="ognl:object.previewVideo"> <input type="submit" value="preview"/> </if> <else jwcid="@Else"> <span jwcid="@Insert" value="message:previewVideoNotAvailable"/> </else> </div> <div jwcid="downloadColumnValue@Block"> <if jwcid="@If" condition="ognl:object.download"> <input type="submit" value="download"/> </if> <else jwcid="@Else"> <span jwcid="@Insert" value="message:downloadNotAvailable"/> </else> </div> </table> in my component configuration this is: <component id="clipsTable" inherit-informal-parameters="yes" type="contrib:Table"> <binding name="columnsClass" value="columnsClass"/> <binding name="source" value="source"/> <binding name="columns" value="columns"/> <binding name="pageSize" value="pageSize"/> <binding name="initialSortColumn" value="initialSortColumn"/> <binding name="initialSortOrder" value="initialSortOrder"/> <binding name="persist" value="persist"/> </component> However, the columns are not overwritten....instead only the default true/false values are shown. Why is it that those columnvalues are ignored ? As it previously mentioned I have followed the advice and made different Subcomponents for the tables inside the Tabs. Thanks! --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: overwriting ObjectTable columns againHi Tobias
It looks like you are not using ObjectTable, you are using contrib:Table (type="contrib:Table">). contrib:Table doesn't have an "object" parameter, if you want to use contrib:Table you should bind the "row" parameter. Besides that I don't see anything else wrong. -- Alejandro Scandroli Amneris: We build process-driven web applications. http://www.amneris.es On Dec 10, 2007 3:58 PM, <superoverdrive@...> wrote: > In my html I am using the ObjectsTable as follows: > > <table jwcid="clipsTable"> > > <div jwcid="previewVideoColumnValue@Block"> > <if jwcid="@If" condition="ognl:object.previewVideo"> > <input type="submit" value="preview"/> > </if> > <else jwcid="@Else"> > <span jwcid="@Insert" value="message:previewVideoNotAvailable"/> > </else> > </div> > > <div jwcid="downloadColumnValue@Block"> > <if jwcid="@If" condition="ognl:object.download"> > <input type="submit" value="download"/> > </if> > <else jwcid="@Else"> > <span jwcid="@Insert" value="message:downloadNotAvailable"/> > </else> > </div> > </table> > > > in my component configuration this is: > > > <component id="clipsTable" inherit-informal-parameters="yes" type="contrib:Table"> > <binding name="columnsClass" value="columnsClass"/> > > <binding name="source" value="source"/> > <binding name="columns" value="columns"/> > <binding name="pageSize" value="pageSize"/> > > <binding name="initialSortColumn" value="initialSortColumn"/> > <binding name="initialSortOrder" value="initialSortOrder"/> > <binding name="persist" value="persist"/> > > > </component> > > > However, the columns are not overwritten....instead only the default true/false values are shown. > > Why is it that those columnvalues are ignored ? > > As it previously mentioned I have followed the advice and made different Subcomponents for the tables inside the Tabs. > > Thanks! > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: overwriting ObjectTable columns againMy suspicion is that if you configure a (Object)Table instance inside
of a page or component specification and then reference this component using the name with jwcid="myTable" instead of "@ObjectTable", that all enclosing colum value overwrites are ignored. It only seems to work if you directly use the Table in a template and not if you use a defined component from the specification files and additionally want to overwrite column values.... -------- Original-Nachricht -------- > Datum: Mon, 10 Dec 2007 17:38:22 +0100 > Von: "Alejandro Scandroli" <alejandroscandroli@...> > An: users@... > Betreff: Re: [trails-users] overwriting ObjectTable columns again > Hi Tobias > > It looks like you are not using ObjectTable, you are using > contrib:Table (type="contrib:Table">). > contrib:Table doesn't have an "object" parameter, if you want to use > contrib:Table you should bind the "row" parameter. > Besides that I don't see anything else wrong. > > -- > Alejandro Scandroli > Amneris: We build process-driven web applications. > http://www.amneris.es > > > On Dec 10, 2007 3:58 PM, <superoverdrive@...> wrote: > > In my html I am using the ObjectsTable as follows: > > > > <table jwcid="clipsTable"> > > > > <div jwcid="previewVideoColumnValue@Block"> > > <if jwcid="@If" condition="ognl:object.previewVideo"> > > <input type="submit" value="preview"/> > > </if> > > <else jwcid="@Else"> > > <span jwcid="@Insert" > value="message:previewVideoNotAvailable"/> > > </else> > > </div> > > > > <div jwcid="downloadColumnValue@Block"> > > <if jwcid="@If" condition="ognl:object.download"> > > <input type="submit" value="download"/> > > </if> > > <else jwcid="@Else"> > > <span jwcid="@Insert" > value="message:downloadNotAvailable"/> > > </else> > > </div> > > </table> > > > > > > in my component configuration this is: > > > > > > <component id="clipsTable" inherit-informal-parameters="yes" > type="contrib:Table"> > > <binding name="columnsClass" value="columnsClass"/> > > > > <binding name="source" value="source"/> > > <binding name="columns" value="columns"/> > > <binding name="pageSize" value="pageSize"/> > > > > <binding name="initialSortColumn" > value="initialSortColumn"/> > > <binding name="initialSortOrder" > value="initialSortOrder"/> > > <binding name="persist" value="persist"/> > > > > > > </component> > > > > > > However, the columns are not overwritten....instead only the default > true/false values are shown. > > > > Why is it that those columnvalues are ignored ? > > > > As it previously mentioned I have followed the advice and made different > Subcomponents for the tables inside the Tabs. > > > > Thanks! > > > > --------------------------------------------------------------------- > > To unsubscribe from this list please visit: > > > > http://xircles.codehaus.org/manage_email > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: overwriting ObjectTable columns againThis is very weird. The column blocks should work no matter where the
table component is defined. -- Alejandro Scandroli Amneris: We build process-driven web applications. http://www.amneris.es On Dec 11, 2007 12:49 PM, <superoverdrive@...> wrote: > My suspicion is that if you configure a (Object)Table instance inside > of a page or component specification and then reference this component using the name with jwcid="myTable" instead of "@ObjectTable", that all enclosing colum value overwrites are ignored. It only seems to work if you directly use the Table in a template and not if you use a defined component from the specification files and additionally want to overwrite column values.... > > > > -------- Original-Nachricht -------- > > Datum: Mon, 10 Dec 2007 17:38:22 +0100 > > Von: "Alejandro Scandroli" <alejandroscandroli@...> > > An: users@... > > Betreff: Re: [trails-users] overwriting ObjectTable columns again > > > > Hi Tobias > > > > It looks like you are not using ObjectTable, you are using > > contrib:Table (type="contrib:Table">). > > contrib:Table doesn't have an "object" parameter, if you want to use > > contrib:Table you should bind the "row" parameter. > > Besides that I don't see anything else wrong. > > > > -- > > Alejandro Scandroli > > Amneris: We build process-driven web applications. > > http://www.amneris.es > > > > > > On Dec 10, 2007 3:58 PM, <superoverdrive@...> wrote: > > > In my html I am using the ObjectsTable as follows: > > > > > > <table jwcid="clipsTable"> > > > > > > <div jwcid="previewVideoColumnValue@Block"> > > > <if jwcid="@If" condition="ognl:object.previewVideo"> > > > <input type="submit" value="preview"/> > > > </if> > > > <else jwcid="@Else"> > > > <span jwcid="@Insert" > > value="message:previewVideoNotAvailable"/> > > > </else> > > > </div> > > > > > > <div jwcid="downloadColumnValue@Block"> > > > <if jwcid="@If" condition="ognl:object.download"> > > > <input type="submit" value="download"/> > > > </if> > > > <else jwcid="@Else"> > > > <span jwcid="@Insert" > > value="message:downloadNotAvailable"/> > > > </else> > > > </div> > > > </table> > > > > > > > > > in my component configuration this is: > > > > > > > > > <component id="clipsTable" inherit-informal-parameters="yes" > > type="contrib:Table"> > > > <binding name="columnsClass" value="columnsClass"/> > > > > > > <binding name="source" value="source"/> > > > <binding name="columns" value="columns"/> > > > <binding name="pageSize" value="pageSize"/> > > > > > > <binding name="initialSortColumn" > > value="initialSortColumn"/> > > > <binding name="initialSortOrder" > > value="initialSortOrder"/> > > > <binding name="persist" value="persist"/> > > > > > > > > > </component> > > > > > > > > > However, the columns are not overwritten....instead only the default > > true/false values are shown. > > > > > > Why is it that those columnvalues are ignored ? > > > > > > As it previously mentioned I have followed the advice and made different > > Subcomponents for the tables inside the Tabs. > > > > > > Thanks! > > > > > > --------------------------------------------------------------------- > > > To unsubscribe from this list please visit: > > > > > > http://xircles.codehaus.org/manage_email > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe from this list please visit: > > > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |