Template in Content module

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Template in Content module

Jacques Le Roux
Administrator
Hi,

I'm looking closerly at the Content application. I find the List and Find buttons very confusing. You understand when you use Find,
but what is the List button used for ?

I had a look at the ManagerReferenceContent.pdf file, but I'm sorry to say that it does not help a lot. Maybe because there is
anotion of Layout and Content Data Ressource mixed here ?

Also when I use the clip column I always get this error

Erreur lors de l'appel de l'événement: org.ofbiz.webapp.event.EventHandlerException: Problems processing event:
java.lang.IllegalArgumentException: Could not find resource bundle [ContentErrorUiLabel] in the locale [fr] (Could not find resource
bundle [ContentErrorUiLabel] in the locale [fr])

Is this because something is missing in French, or ? (BTW what for is used the clip feature ? :o)


Also just got this one, and sorry but have no time to look at it...

https://localhost:8443/content/control/EditLayoutUrl?contentIdTo=TEMPLATE_MASTER&mapKey=&contentId=CMSS_DEMO_HOME&drDataResourceId=CMSS_DEMO_HOME

org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://content/widget/layout/LayoutScreens.xml#EditLayoutUrl]: org.ofbiz.base.util.GeneralException: Error running Groovy
script at location [component://content/webapp/content/WEB-INF/actions/layout/EditSubContent.groovy] (Error rendering FTL template
(Expression thisContent is undefined on line 22, column 17 in DataResource:CMSS_DEMO_HOME.)) (Error running Groovy script at
location [component://content/webapp/content/WEB-INF/actions/layout/EditSubContent.groovy] (Error rendering FTL template (Expression
thisContent is undefined on line 22, column 17 in DataResource:CMSS_DEMO_HOME.)))

Actually I got plenty of other errors. Do the content data need a cleanup ?

Thanks

Jacques

Reply | Threaded
Open this post in threaded view
|

Re: Template in Content module

David E Jones

Which part of the content manager are you looking at, ie which screens/requests/whatever?

If you are looking at the layout editor you might want to check out the history of the relevant files. I don't think it's been touch much in the last 4-5 years, and honestly much of the content stuff from that era is broken, and was never really written very well.

-David


On Thu, 17 Jul 2008 21:30:46 +0200, "Jacques Le Roux" <[hidden email]> wrote:

> Hi,
>
> I'm looking closerly at the Content application. I find the List and Find
> buttons very confusing. You understand when you use Find,
> but what is the List button used for ?
>
> I had a look at the ManagerReferenceContent.pdf file, but I'm sorry to say
> that it does not help a lot. Maybe because there is
> anotion of Layout and Content Data Ressource mixed here ?
>
> Also when I use the clip column I always get this error
>
> Erreur lors de l'appel de l'événement:
> org.ofbiz.webapp.event.EventHandlerException: Problems processing event:
> java.lang.IllegalArgumentException: Could not find resource bundle
> [ContentErrorUiLabel] in the locale [fr] (Could not find resource
> bundle [ContentErrorUiLabel] in the locale [fr])
>
> Is this because something is missing in French, or ? (BTW what for is used
> the clip feature ? :o)
>
>
> Also just got this one, and sorry but have no time to look at it...
>
> https://localhost:8443/content/control/EditLayoutUrl?contentIdTo=TEMPLATE_MASTER&mapKey=&contentId=CMSS_DEMO_HOME&drDataResourceId=CMSS_DEMO_HOME
>
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
> [component://content/widget/layout/LayoutScreens.xml#EditLayoutUrl]:
> org.ofbiz.base.util.GeneralException: Error running Groovy
> script at location
> [component://content/webapp/content/WEB-INF/actions/layout/EditSubContent.groovy]
> (Error rendering FTL template
> (Expression thisContent is undefined on line 22, column 17 in
> DataResource:CMSS_DEMO_HOME.)) (Error running Groovy script at
> location
> [component://content/webapp/content/WEB-INF/actions/layout/EditSubContent.groovy]
> (Error rendering FTL template (Expression
> thisContent is undefined on line 22, column 17 in
> DataResource:CMSS_DEMO_HOME.)))
>
> Actually I got plenty of other errors. Do the content data need a cleanup
> ?
>
> Thanks
>
> Jacques

Reply | Threaded
Open this post in threaded view
|

Re: Template in Content module

Bruno Busco
I think Jacques is referring to
https://localhost:8443/content/control/FindLayout
In OFBIZ-1881 <https://issues.apache.org/jira/browse/OFBIZ-1881> there is a
patch to use the FindScreenDecorator in this screen. So now may be the two
links List and Find could be now removed.

-Bruno


2008/7/17 David Jones <[hidden email]>:

>
> Which part of the content manager are you looking at, ie which
> screens/requests/whatever?
>
> If you are looking at the layout editor you might want to check out the
> history of the relevant files. I don't think it's been touch much in the
> last 4-5 years, and honestly much of the content stuff from that era is
> broken, and was never really written very well.
>
> -David
>
>
> On Thu, 17 Jul 2008 21:30:46 +0200, "Jacques Le Roux" <
> [hidden email]> wrote:
> > Hi,
> >
> > I'm looking closerly at the Content application. I find the List and Find
> > buttons very confusing. You understand when you use Find,
> > but what is the List button used for ?
> >
> > I had a look at the ManagerReferenceContent.pdf file, but I'm sorry to
> say
> > that it does not help a lot. Maybe because there is
> > anotion of Layout and Content Data Ressource mixed here ?
> >
> > Also when I use the clip column I always get this error
> >
> > Erreur lors de l'appel de l'événement:
> > org.ofbiz.webapp.event.EventHandlerException: Problems processing event:
> > java.lang.IllegalArgumentException: Could not find resource bundle
> > [ContentErrorUiLabel] in the locale [fr] (Could not find resource
> > bundle [ContentErrorUiLabel] in the locale [fr])
> >
> > Is this because something is missing in French, or ? (BTW what for is
> used
> > the clip feature ? :o)
> >
> >
> > Also just got this one, and sorry but have no time to look at it...
> >
> >
> https://localhost:8443/content/control/EditLayoutUrl?contentIdTo=TEMPLATE_MASTER&mapKey=&contentId=CMSS_DEMO_HOME&drDataResourceId=CMSS_DEMO_HOME
> >
> > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
> > [component://content/widget/layout/LayoutScreens.xml#EditLayoutUrl]:
> > org.ofbiz.base.util.GeneralException: Error running Groovy
> > script at location
> >
> [component://content/webapp/content/WEB-INF/actions/layout/EditSubContent.groovy]
> > (Error rendering FTL template
> > (Expression thisContent is undefined on line 22, column 17 in
> > DataResource:CMSS_DEMO_HOME.)) (Error running Groovy script at
> > location
> >
> [component://content/webapp/content/WEB-INF/actions/layout/EditSubContent.groovy]
> > (Error rendering FTL template (Expression
> > thisContent is undefined on line 22, column 17 in
> > DataResource:CMSS_DEMO_HOME.)))
> >
> > Actually I got plenty of other errors. Do the content data need a cleanup
> > ?
> >
> > Thanks
> >
> > Jacques
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Template in Content module

Jacques Le Roux
Administrator
Hi David, Bruno,

From: "Bruno Busco" <[hidden email]>
I think Jacques is referring to
https://localhost:8443/content/control/FindLayout
In OFBIZ-1881 <https://issues.apache.org/jira/browse/OFBIZ-1881> there is a
patch to use the FindScreenDecorator in this screen. So now may be the two
links List and Find could be now removed.

-Bruno

Yes it is, I will have a look at it... in one week now...

2008/7/17 David Jones <[hidden email]>:
>
> Which part of the content manager are you looking at, ie which
> screens/requests/whatever?
>
> If you are looking at the layout editor you might want to check out the
> history of the relevant files. I don't think it's been touch much in the
> last 4-5 years, and honestly much of the content stuff from that era is
> broken, and was never really written very well.

OK, I will have to have a serious look at it beginning in August... It seems to mostly works, it should not be a big pain.

Jacques

> -David
>
>
> On Thu, 17 Jul 2008 21:30:46 +0200, "Jacques Le Roux" <
> [hidden email]> wrote:
> > Hi,
> >
> > I'm looking closerly at the Content application. I find the List and Find
> > buttons very confusing. You understand when you use Find,
> > but what is the List button used for ?
> >
> > I had a look at the ManagerReferenceContent.pdf file, but I'm sorry to
> say
> > that it does not help a lot. Maybe because there is
> > anotion of Layout and Content Data Ressource mixed here ?
> >
> > Also when I use the clip column I always get this error
> >
> > Erreur lors de l'appel de l'événement:
> > org.ofbiz.webapp.event.EventHandlerException: Problems processing event:
> > java.lang.IllegalArgumentException: Could not find resource bundle
> > [ContentErrorUiLabel] in the locale [fr] (Could not find resource
> > bundle [ContentErrorUiLabel] in the locale [fr])
> >
> > Is this because something is missing in French, or ? (BTW what for is
> used
> > the clip feature ? :o)
> >
> >
> > Also just got this one, and sorry but have no time to look at it...
> >
> >
> https://localhost:8443/content/control/EditLayoutUrl?contentIdTo=TEMPLATE_MASTER&mapKey=&contentId=CMSS_DEMO_HOME&drDataResourceId=CMSS_DEMO_HOME
> >
> > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
> > [component://content/widget/layout/LayoutScreens.xml#EditLayoutUrl]:
> > org.ofbiz.base.util.GeneralException: Error running Groovy
> > script at location
> >
> [component://content/webapp/content/WEB-INF/actions/layout/EditSubContent.groovy]
> > (Error rendering FTL template
> > (Expression thisContent is undefined on line 22, column 17 in
> > DataResource:CMSS_DEMO_HOME.)) (Error running Groovy script at
> > location
> >
> [component://content/webapp/content/WEB-INF/actions/layout/EditSubContent.groovy]
> > (Error rendering FTL template (Expression
> > thisContent is undefined on line 22, column 17 in
> > DataResource:CMSS_DEMO_HOME.)))
> >
> > Actually I got plenty of other errors. Do the content data need a cleanup
> > ?
> >
> > Thanks
> >
> > Jacques
>
>