You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Axel <ax...@gmail.com> on 2005/10/13 19:26:09 UTC

edit-website.jsp problem

Hi

I'm logged into roller 2.0 with my admin user.
If I go to the settings page the footer of the setting page is not
visible (for example missing "Update Weblogs Settings" button)

Only if I'm applying the following patch (i.e. delete "&&
model.groupBloggingEnabled") the settings page shows correctly.

Index: C:/eclipse31t/wikispace/roller_2.0/web/website/edit-website.jsp
===================================================================
--- C:/eclipse31t/workspace/roller_2.0/web/website/edit-website.jsp	(revision
315006)
+++ C:/eclipse31t/workspace/roller_2.0/web/website/edit-website.jsp	(working
copy)
@@ -157,7 +157,7 @@
     <input type="submit" value='<fmt:message
key="websiteSettings.button.update" />' />
 </div>

-<c:if test="${model.website.adminUserCount == 1 &&
model.groupBloggingEnabled}">
+<c:if test="${model.website.adminUserCount == 1}">
     <br />
     <br />
     <h2><fmt:message key="websiteSettings.removeWebsiteHeading" /></h2>

Re: edit-website.jsp problem

Posted by Dave Johnson <da...@rollerweblogger.org>.
You sure you have the latest source code?

Maybe you don't have the latest code for the WebsiteFormAction.java and  
the method? Looks like getAdminUserCount() is not defined.

- Dave


On Oct 13, 2005, at 1:26 PM, Axel wrote:

> Hi
>
> I'm logged into roller 2.0 with my admin user.
> If I go to the settings page the footer of the setting page is not
> visible (for example missing "Update Weblogs Settings" button)
>
> Only if I'm applying the following patch (i.e. delete "&&
> model.groupBloggingEnabled") the settings page shows correctly.
>
> Index: C:/eclipse31t/wikispace/roller_2.0/web/website/edit-website.jsp
> ===================================================================
> ---  
> C:/eclipse31t/workspace/roller_2.0/web/website/edit-website.jsp	 
> (revision
> 315006)
> +++  
> C:/eclipse31t/workspace/roller_2.0/web/website/edit-website.jsp	 
> (working
> copy)
> @@ -157,7 +157,7 @@
>      <input type="submit" value='<fmt:message
> key="websiteSettings.button.update" />' />
>  </div>
>
> -<c:if test="${model.website.adminUserCount == 1 &&
> model.groupBloggingEnabled}">
> +<c:if test="${model.website.adminUserCount == 1}">
>      <br />
>      <br />
>      <h2><fmt:message key="websiteSettings.removeWebsiteHeading"  
> /></h2>
>