Skip to content

Instantly share code, notes, and snippets.

View vietj's full-sized avatar
🤖
Coding the Future

Julien Viet vietj

🤖
Coding the Future
View GitHub Profile
org.apache.jasper.JasperException: /foss/foss-sign-up-thank-you.jsp(4,1) File "/foss/header" not found
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)
org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:300)
org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:333)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:442)
org.apache.jasper.compiler.Parser.parseFileDirectives(Parser.java:1749)
org.apache.jasper.compiler.Parser.parse(Parser.java:127)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)
/*
* Copyright (C) 2010 eXo Platform SAS.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
private void save(NavigationNodeContainerData src, Navigation dst)
{
if (src instanceof NavigationNodeData)
{
NavigationNodeData node = (NavigationNodeData)src;
Workspace workspace = dst.getSite().getWorkspace();
String reference = node.getPageReference();
if (reference != null)
{
String[] pageChunks = split("::", reference);
<urn:getMarkupResponse xmlns:urn="urn:oasis:names:tc:wsrp:v1:types">
<urn:markupContext>
<urn:mimeType>text/html; charset=UTF-8</urn:mimeType>
<urn:markupString><![CDATA[
<form method="post"
action="wsrp_rewrite?wsrp-urlType=blockingAction/wsrp_rewrite"
id="wsrp_rewrite_stockForm">
<table border="0" width="100%">
<tr>
<td>Enter Stock Symbol</td>
-= SQLMan request report =-
request: http://localhost:8080/portal/public/acme
jdbcquery/*: count=7701,time=16980,min=0,max=12024
jcrquery/*: count=660,time=17471,min=2,max=12101
-= SQLMan request report =-
request: http://localhost:8080/portal/rest/images/repository/collaboration/399bf3647f000001006d8fc6717e5411
jdbcquery/*: count=2,time=2,min=1,max=1
-= SQLMan request report =-
@vietj
vietj / TestNavigationServiceRebase.java
Created June 20, 2011 13:06 — forked from vstorm83/TestNavigationServiceRebase.java
TestNavigationServiceRebase - testConsistentStateAfterRebase
public void testConsistentStateAfterRebase() throws Exception
{
MOPService mop = mgr.getPOMService();
Site portal = mop.getModel().getWorkspace().addSite(ObjectType.PORTAL_SITE, "consistent_state_after_rebase");
Navigation def = portal.getRootNavigation().addChild("default");
def.addChild("a");
//
sync(true);
diff --git a/component/portal/src/main/java/org/exoplatform/portal/mop/user/UserNode.java b/component/portal/src/main/java/org/exoplatform/portal/mop/user/UserNode.java
index d8eb31a..10a0445 100644
--- a/component/portal/src/main/java/org/exoplatform/portal/mop/user/UserNode.java
+++ b/component/portal/src/main/java/org/exoplatform/portal/mop/user/UserNode.java
@@ -88,6 +88,7 @@ public class UserNode
public void setName(String name)
{
+ uri = null;
context.setName(name);
(julien)-(jobs:0)-(~/java/exogtn/component/web/controller)
(! 1660)-> git branch -a
3.1.7-navopt
3.1.8-dashboard-PLF
3.1.x-future-cache
3.2.x
3.2.x-cache
3.2.x-i18n
* 3.2.x-navcontroller
douanes
try
{
// As first attempt we tried to use the classpath since eclipse would copy the template to this location
// but that could a chicken egg problem as a template is coped in the classpath only if the compilation
// is successfull and sometimes a controller references a template literal that is generated from the
// template source
ClassLoader cl = env.getClass().getClassLoader();
Class eclipseImplClass = cl.loadClass("org.eclipse.jdt.internal.apt.pluggable.core.dispatch.IdeProcessingEnvImpl");
if (eclipseImplClass.isInstance(env))
{
var eXo = {
animation: {},
browser: {},
desktop: {},
core: {},
env: {
portal: {},
client: {},
server: {}
},