I am trying to mimic in Portal Factory 6 a function used in a portal we developed in PF 5...
that is a drop list that refreshes and shows a model underneath in a span div
where it makes this call...
com.bowstreet.builders.webapp.methods.ModelContainerSupport.renderModel(webAppAccess,modelName, modelFolder+"/"+modelName, "", null, ""+DataConverter.toBoolean("false"), "");
and thus the 'called' model should appear below the drop list.
in PF6 the com.bowsteet.builders.webapp does not have this method (it only has webcharts methods) and so I went to PF5 to find what jar thats in to import, and can't find it...
any help on anything about this method? or whar jar it might be in? or what new call I should make?
I get no errors on screen I know the model works, when launched on its own.
Thanks in advance for the help...
Pinned topic Portal 6 equillivent for old bowstreet: .ModelContainerSupport.renderModel
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2008-01-30T22:08:16Z at 2008-01-30T22:08:16Z by SystemAdmin
SystemAdmin 110000D4XK895 Posts
Re: Portal 6 equillivent for old bowstreet: .ModelContainerSupport.renderModel2008-01-30T22:08:16ZThis is the accepted answer. This is the accepted answer.Ok.. I figured it out..
1) I created a modelContainer builder object to show a mode in the <span that had the call in it
2) then I looked at the WebAppTree view in the pespective and saw what code the system generated there..
3) then I replaced the "ModelContainer" with the variable, ModelName and put this on the page:
com.bowstreet.builders.webapp.methods.ModelContainerSupport.renderModel(webAppAccess, (String)modelName, modelFolder+"/"+modelName, "", null, ""+DataConverter.toBoolean("false"), "", out);
4) Disabled the modelContainer builder object
And it works.. grand stuff this troubleshooting.