Also, I've tried using this code 
http://svn.jahia.org/svn/corporate_portal_templates/branches/JAHIA-5-0-SP-BRANCH/src/view/jsp/include/box_links.inc
 however still get the same error message:

283922 [2008-04-10 15:26:30,989] [org.apache.struts.action.RequestProcessor] 
WARN - Unhandled Exception thrown: class java.lang.Exception
283923 [2008-04-10 15:26:30,990] [org.jahia.bin.Jahia] ERROR - Throwable 
Exception caught in Jahia servlet : javax.servlet.ServletException: 
org.jahia.exceptions.JahiaException: User message=Error while processing 
request, System message=Exception in processing pipeline, root cause:User 
message=Could not create page., System message=Could not insert the page info 
into the database root cause=org.jahia.exceptions.JahiaException: User 
message=Could not create page., System message=Could not insert the page info 
into the database
javax.servlet.ServletException: org.jahia.exceptions.JahiaException: User 
message=Error while processing request, System message=Exception in processing 
pipeline, root cause:User message=Could not create page., System message=Could 
not insert the page info into the database root 
cause=org.jahia.exceptions.JahiaException: User message=Could not create page., 
System message=Could not insert the page info into the database
at 
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.jahia.bin.JahiaRequestProcessor.process(JahiaRequestProcessor.java:82)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.jahia.bin.Jahia.process(Jahia.java:1654)
at org.jahia.bin.Jahia.service(Jahia.java:855)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:110)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

Regards

Bojana


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bojana Lalic
Sent: Thursday, 10 April 2008 1:55 PM
To: '[email protected]'
Subject: Re: [template_list] Unable to reset links in the links portlet in 
Jahia5

Thanks Sergiy

The "Links" box type is definitively what I need. I am using Jahia release 
5.0.0, Community Edition, Build 16138 and this is the content of my 
box_links.inc file. Do you know why I am unable to change/reset the link? Any 
help would be greatly appreciated.


<ul class="box_links">
<content:containerList name='<%="linksContainer" + id%>' 
id="linksContainerList"  parentContainerName="boxContainer">
        <jahiaHtml:actionMenu name="linksContainerList" namePostFix="" 
resourceBundle="jahiatemplates.Corporate_portal_templates">
    <content:container id="linksContainer">
            <li><content:pageField valueId="link" name='boxlink'>
                <logic:notEmpty name="link">
                        <a class="box"
                            <logic:equal name="link" property="type" value="2">
                                target="_new"
                            </logic:equal>
                            href="<bean:write name='link' property='url'/>"
                        ><bean:write name="link" property="title" 
filter="false"/></a>
                        <content:textField valueId="linkDesc" name='linkDesc' 
display="false" defaultValue=""/>
                        <logic:notEmpty name="linkDesc">
                                                <ul>
                            <li><bean:write name="linkDesc" 
filter="false"/></li>
                                                </ul>
                        </logic:notEmpty>
                </logic:notEmpty>
                <logic:empty name="link">
                    <logic:equal name="currentRequest" property="editMode" 
value="true">
                            <content:resourceBundle 
resourceBundle="jahiatemplates.Corporate_portal_templates" 
resourceName="noLink"/>
                    </logic:equal>
                </logic:empty>
            </content:pageField>
                    <jahiaHtml:actionMenu name="linksContainer" namePostFix="" 
resourceBundle="jahiatemplates.Corporate_portal_templates" useFieldSet="false">
                    </jahiaHtml:actionMenu></li>
        </content:container>
    <content:addContainerURL id="addLinkContainerURL" display="false"/>
    <logic:present name="addLinkContainerURL">
                <jahiaHtml:actionMenu name="linksContainerList" namePostFix="" 
resourceBundle="jahiatemplates.Corporate_portal_templates"
                    useFieldSet="false" actionIcon='<%=theURL + 
"/images/add.gif"%>' labelKey="addLink">
                </jahiaHtml:actionMenu>
    </logic:present>
    </jahiaHtml:actionMenu>
</content:containerList>
</ul>

Regards

Bojana

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sergiy Shyrkov
Sent: Thursday, 13 March 2008 8:18 PM
To: Any questions regarding template development and/or about the taglibs 
extension
Subject: Re: [template_list] Unable to reset links in the links portlet in 
Jahia5

Hi Bojana,

if you are using a box of type "Pages" and create a page their using an
existing template, there is no possibility later to change the page
type, i.e. to make it an external page, if it was a Jahia page. Only to
change the template.
It is not the limitation of the Jahia Community Edition.

There is another possibility.
You can create a box of type "Links", where you can add either links to
any existing Jahia page or any external page. And you can also change it
later to be internal or external page.

Kind regards
Sergiy.

Bojana Lalic wrote:
> Hi Sergiy
>
> When using a links portlet to add a link I get the following options:
>
> Link/Page title
> Create a new Jahia page using template
> Move an existing Jahia page here
> Link to an existing Jahia page
> Create a link to an external web site
> Don't create Jahia page
>
> So, I add a Link using a template and click ok.
> Now I want to edit the link so it links to an external web site....
>
> However, the only option I've got now is:
> Change the existing Jahia page template
>
> Any ideas as to why this would be happening?
>
> Regards
>
> Bojana
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sergiy Shyrkov
> Sent: Wednesday, 12 March 2008 6:12 PM
> To: Any questions regarding template development and/or about the taglibs 
> extension
> Subject: Re: [template_list] Unable to reset links in the links portlet in 
> Jahia5
>
> Hello Bojana,
>
> could you, please, provide a bit more details? What do you mean under
> "reset or change links"?
>
> Kind regards
> Sergiy
>
> Bojana Lalic wrote:
>
>> Hi all
>>
>> I am using a free version of jahia5 and am unable to reset or change
>> links once I've created them.
>>
>> Is the demo site
>> (http://www.jahia.net/demo5/Jahia/site/demo/op/edit/home ) a free
>> version of jahia5 or not? Because it does have this functionality
>> which I want...
>>
>> Does anyone know why this might be happening?
>>
>> Regards
>>
>>
>> Bojana
>>
>>

_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list

IMPORTANT: This e-mail, including any attachments, may contain private or 
confidential information. If you think you may not be the intended recipient, 
or if you have received this e-mail in error, please contact the sender 
immediately and delete all copies of this e-mail. If you are not the intended 
recipient, you must not reproduce any part of this e-mail or disclose its 
contents to any other party. This email represents the views of the individual 
sender, which do not necessarily reflect those of education.au limited except 
where the sender expressly states otherwise. It is your responsibility to scan 
this email and any files transmitted with it for viruses or any other defects. 
education.au limited will not be liable for any loss, damage or consequence 
caused directly or indirectly by this email.
_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list

IMPORTANT: This e-mail, including any attachments, may contain private or 
confidential information. If you think you may not be the intended recipient, 
or if you have received this e-mail in error, please contact the sender 
immediately and delete all copies of this e-mail. If you are not the intended 
recipient, you must not reproduce any part of this e-mail or disclose its 
contents to any other party. This email represents the views of the individual 
sender, which do not necessarily reflect those of education.au limited except 
where the sender expressly states otherwise. It is your responsibility to scan 
this email and any files transmitted with it for viruses or any other defects. 
education.au limited will not be liable for any loss, damage or consequence 
caused directly or indirectly by this email.
_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list

Reply via email to