Marco,
Just had a quick look and you missing the arrayAppend to add the sttmp
struct to the array
<cfscript>
// apply custom cell renderers
aCustomColumns = arrayNew(1);
sttmp = structNew();
sttmp.webskin = "activeren.cfm"; // located in the webskin of the
type the controller is listing on
sttmp.title = "Activeren";
sttmp.sortable = false;
sttmp.property = "label";//optional
*arrayAppend(aCustomColumns, sttmp);*
</cfscript>
Chris.
On Wednesday, 13 June 2012 14:51:36 UTC+1, Marco van den Oever wrote:
>
> Hi all, i have copied/paste/modified a custom edit of a project made with
> farcry 5.0.x.
> I now see that the css is not ok in the webtop edit page.
>
> Anyone has an example on how to handle this, some example:
>
> <ft:form>
> <ft:object typename="advertenties" objectid="#stobj.objectid#"
> r_stPrefix="prefix" legend="General Details" />
>
> <extjs:onReady> <cfoutput> Ext.get("#prefix#lTypenames").on('change',
> this.onClick, this, {
> buffer: 500,
> fn: function() {
> renderWorkflowDefWebskins('#stobj.objectid#',
> Ext.get('#prefix#lTypenames').dom.value);
> }
> });
>
> function renderWorkflowDefWebskins(workflowDefID,lTypenames) {
>
> var el = Ext.get("editWebskins");
>
> if (workflowDefID != '') {
>
> el.slideOut('t', {
> easing: 'easeOut',
> duration: .5,
> remove: false,
> useDisplay: true,
> callback: function() {
> el.load({
> url:
> "#application.url.webtop#/facade/workflowFacade.cfc?method=renderWorkflowDefWebskins",
> scripts: true,
> autoAbort:true,
> callback: function() {
> el.slideIn('t', {
> easing: 'easeIn',
> duration: .5,
> remove: false,
> useDisplay: true
> })
> },
> params: {
> workflowDefID: workflowDefID,
> lTypenames: lTypenames
> }
> });
> }
> })
>
>
>
> }
>
> } </cfoutput> </extjs:onReady>
> <ft:farcryButtonPanel>
> <ft:farcryButton value="Save" />
> <ft:farcryButton value="Cancel" />
> </ft:farcryButtonPanel>
> </ft:form>
>
> Thanks.
>
--
--
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry