join-cvs Mailing List for Join Integration Management System (Page 4)
Brought to you by:
lbroudoux
You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(68) |
Aug
(146) |
Sep
(35) |
Oct
(30) |
Nov
(56) |
Dec
(45) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
|
Feb
(48) |
Mar
(56) |
Apr
(13) |
May
(15) |
Jun
(37) |
Jul
(113) |
Aug
(41) |
Sep
(24) |
Oct
(44) |
Nov
(52) |
Dec
|
| 2005 |
Jan
(73) |
Feb
(14) |
Mar
(19) |
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(90) |
Sep
(51) |
Oct
(5) |
Nov
(24) |
Dec
(1) |
| 2006 |
Jan
(26) |
Feb
(6) |
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(165) |
Aug
(4) |
Sep
(5) |
Oct
(48) |
Nov
(3) |
Dec
(10) |
| 2007 |
Jan
(38) |
Feb
(48) |
Mar
(3) |
Apr
(31) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(10) |
Nov
(9) |
Dec
|
| 2008 |
Jan
(21) |
Feb
(41) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(12) |
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
| 2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Laurent B. <lbr...@us...> - 2008-01-28 00:18:56
|
Update of /cvsroot/join/join1/src/main/org/figure8/join/businessfacades/environment In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv13583/businessfacades/environment Modified Files: DefaultEnvironmentManager.java EnvironmentManager.java Log Message: Fix for issue #1821986 : display deployments history Index: EnvironmentManager.java =================================================================== RCS file: /cvsroot/join/join1/src/main/org/figure8/join/businessfacades/environment/EnvironmentManager.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** EnvironmentManager.java 6 Apr 2007 21:02:35 -0000 1.3 --- EnvironmentManager.java 28 Jan 2008 00:18:51 -0000 1.4 *************** *** 1,4 **** /** ! * Copyright 2005-2006 the original author or authors. * * Licensed under the Gnu General Pubic License, Version 2.0 (the --- 1,4 ---- /** ! * Copyright 2005-2007 the original author or authors. * * Licensed under the Gnu General Pubic License, Version 2.0 (the *************** *** 223,226 **** --- 223,240 ---- /** + * Retrieve all the deployments realized for a logical environment + * @param environment The LogicalEnvironment we wants deployments for + * @return A list of {@link Deployment}s done for the specified logical environment + */ + public abstract List getDeployments(LogicalEnvironment environment); + + /** + * Retrieve all the deployments realized onto a physical environment + * @param environment The PhysicalEnvironment we want deployments for + * @return A list of {@link Deployment}s done onto the specified physical environment + */ + public abstract List getDeployments(PhysicalEnvironment environment); + + /** * Retrieve a Deployment using its unique identifier * @param id The identifier of deployment to retrieve Index: DefaultEnvironmentManager.java =================================================================== RCS file: /cvsroot/join/join1/src/main/org/figure8/join/businessfacades/environment/DefaultEnvironmentManager.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** DefaultEnvironmentManager.java 6 Apr 2007 21:02:35 -0000 1.5 --- DefaultEnvironmentManager.java 28 Jan 2008 00:18:51 -0000 1.6 *************** *** 229,233 **** * @param environment The LogicalEnvironment to retrieve mapping for * @param configDate The date to retrieve active mapping ! * @return The active {@link org.figure8.join.businessobjects.environment.EnvironmentMapping} at date or null if no one was active */ public EnvironmentMapping getEnvironmentMappingAtDate(LogicalEnvironment environment, Date configDate){ --- 229,234 ---- * @param environment The LogicalEnvironment to retrieve mapping for * @param configDate The date to retrieve active mapping ! * @return The active {@link org.figure8.join.businessobjects.environment.EnvironmentMapping} at date ! * or null if no one was active */ public EnvironmentMapping getEnvironmentMappingAtDate(LogicalEnvironment environment, Date configDate){ *************** *** 410,414 **** boolean allowed = deploymentRules.isDeploymentCreationAllowed(deployment); if (log.isInfoEnabled()) ! log.info("Deployment creation is " + (allowed == true ? "" : "not ") + "allowed"); if (!allowed) throw new OperationNotAllowedException("Deployment creation if not allowed for assembly " --- 411,415 ---- boolean allowed = deploymentRules.isDeploymentCreationAllowed(deployment); if (log.isInfoEnabled()) ! log.info("Deployment creation is " + (allowed ? "" : "not ") + "allowed"); if (!allowed) throw new OperationNotAllowedException("Deployment creation if not allowed for assembly " *************** *** 446,450 **** boolean allowed = deploymentRules.isDeploymentRealizationAllowed(deployment); if (log.isInfoEnabled()) ! log.info("Deployment realization is " + (allowed == true ? "" : "not ") + "allowed"); if (!allowed) throw new OperationNotAllowedException("Deployment realization if not allowed for assembly " --- 447,451 ---- boolean allowed = deploymentRules.isDeploymentRealizationAllowed(deployment); if (log.isInfoEnabled()) ! log.info("Deployment realization is " + (allowed ? "" : "not ") + "allowed"); if (!allowed) throw new OperationNotAllowedException("Deployment realization if not allowed for assembly " *************** *** 498,502 **** boolean allowed = deploymentRules.isDeploymentEndingAllowed(deployment); if (log.isInfoEnabled()) ! log.info("Deployment ending is " + (allowed == true ? "" : "not ") + "allowed"); if (!allowed) throw new OperationNotAllowedException("Deployment ending if not allowed for assembly " --- 499,503 ---- boolean allowed = deploymentRules.isDeploymentEndingAllowed(deployment); if (log.isInfoEnabled()) ! log.info("Deployment ending is " + (allowed ? "" : "not ") + "allowed"); if (!allowed) throw new OperationNotAllowedException("Deployment ending if not allowed for assembly " *************** *** 532,535 **** --- 533,556 ---- /** + * Retrieve all the deployments realized for a logical environment + * @param environment The LogicalEnvironment we wants deployments for + * @return A list of {@link Deployment}s done for the specified logical environment + */ + public List getDeployments(LogicalEnvironment environment){ + // Delegate call to dao. + return deploymentDao.getDeploymentsByLogicalEnvironment(environment); + } + + /** + * Retrieve all the deployments realized onto a physical environment + * @param environment The PhysicalEnvironment we want deployments for + * @return A list of {@link Deployment}s done onto the specified physical environment + */ + public List getDeployments(PhysicalEnvironment environment){ + // Delegate call to dao. + return deploymentDao.getDeploymentsByPhysicalEnvironment(environment); + } + + /** * Retrieve a Deployment using its unique identifier * @param id The identifier of deployment to retrieve |
|
From: Laurent B. <lbr...@us...> - 2008-01-21 22:56:12
|
Update of /cvsroot/join/join1/src/web/jsp In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv17039/jsp Modified Files: login.jsp Log Message: Fix for issue #1858374 : add a form validation error messages block Index: login.jsp =================================================================== RCS file: /cvsroot/join/join1/src/web/jsp/login.jsp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** login.jsp 30 Jul 2006 19:16:26 -0000 1.1 --- login.jsp 21 Jan 2008 22:56:07 -0000 1.2 *************** *** 29,32 **** --- 29,35 ---- </span><br/><br/> </logic:present> + <logic:present name="org.apache.struts.action.ERROR"> + <div class="warn"><html:errors/></div><br/> + </logic:present> <html:form action="/login"> |
|
From: Laurent B. <lbr...@us...> - 2008-01-21 22:55:10
|
Update of /cvsroot/join/join1/src/main/org/figure8/join/control/action In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv16282/control/action Modified Files: LoginAction.java Log Message: Fix for issue #1858374 : modify the redirect url in case of form validation failure Index: LoginAction.java =================================================================== RCS file: /cvsroot/join/join1/src/main/org/figure8/join/control/action/LoginAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** LoginAction.java 6 Feb 2007 21:32:47 -0000 1.2 --- LoginAction.java 21 Jan 2008 22:54:52 -0000 1.3 *************** *** 1,4 **** /** ! * Copyright 2005-2006 the original author or authors. * * Licensed under the Gnu General Pubic License, Version 2.0 (the --- 1,4 ---- /** ! * Copyright 2005-2008 the original author or authors. * * Licensed under the Gnu General Pubic License, Version 2.0 (the *************** *** 35,39 **** * @struts.action path="/login" name="loginForm" * scope="request" parameter="op" validate="true" ! * input="/pages/validationfailurepage.jsp" * @struts.action-forward name="Next" path="/jsp/login.jsp" */ --- 35,39 ---- * @struts.action path="/login" name="loginForm" * scope="request" parameter="op" validate="true" ! * input="/pages/mainpage.jsp?body=/jsp/login.jsp" * @struts.action-forward name="Next" path="/jsp/login.jsp" */ *************** *** 66,70 **** /** ! * * @param operation String representing the operation to invoke on Action * @param mapping Mapping between forwards name and path for this action --- 66,70 ---- /** ! * Realize the login execution using the {@link UserManager} facade. * @param operation String representing the operation to invoke on Action * @param mapping Mapping between forwards name and path for this action *************** *** 73,78 **** * @param response The servlet container response wrapper * @return A forward to the next view to render and display */ ! public ActionForward doExecute(String operation, ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception{ // Trace operation to execute. --- 73,80 ---- * @param response The servlet container response wrapper * @return A forward to the next view to render and display + * @throws Exception if application is not correctly initialized */ ! public ActionForward doExecute(String operation, ActionMapping mapping, ActionForm form, ! HttpServletRequest request, HttpServletResponse response) throws Exception{ // Trace operation to execute. |
|
From: Laurent B. <lbr...@us...> - 2007-11-27 22:00:33
|
Update of /cvsroot/join/join1/src/resources/properties In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv5196 Modified Files: gui_fr_FR.properties Log Message: Fix fo issue #1821817 : manage component type description Index: gui_fr_FR.properties =================================================================== RCS file: /cvsroot/join/join1/src/resources/properties/gui_fr_FR.properties,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** gui_fr_FR.properties 8 Apr 2007 19:42:15 -0000 1.5 --- gui_fr_FR.properties 27 Nov 2007 22:00:26 -0000 1.6 *************** *** 26,30 **** menu.builds=Builds ! menu.builds.list=Liste menu.builds.creation=Créer un build --- 26,30 ---- menu.builds=Builds ! menu.builds.list=Recherche de builds menu.builds.creation=Créer un build |
|
From: Laurent B. <lbr...@us...> - 2007-11-27 21:59:39
|
Update of /cvsroot/join/join1/src/web/jsp In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv4769/jsp Modified Files: componenttypes.jsp Log Message: Fix fo issue #1821817 : manage component type description Index: componenttypes.jsp =================================================================== RCS file: /cvsroot/join/join1/src/web/jsp/componenttypes.jsp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** componenttypes.jsp 14 Jan 2007 18:07:55 -0000 1.1 --- componenttypes.jsp 27 Nov 2007 21:59:35 -0000 1.2 *************** *** 1,4 **** --- 1,5 ---- <% // $Revision$ %> + <%@ taglib uri="/WEB-INF/ajaxtags.tld" prefix="ajax" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> *************** *** 6,9 **** --- 7,14 ---- <%@ taglib uri="/WEB-INF/displaytag-12.tld" prefix="display" %> + <script type="text/javascript" src="<%=request.getContextPath()%>/scripts/prototype.js"></script> + <script type="text/javascript" src="<%=request.getContextPath()%>/scripts/scriptaculous.js"></script> + <script type="text/javascript" src="<%=request.getContextPath()%>/scripts/ajaxtags.js"></script> + <div class="h3"> <h3> *************** *** 19,32 **** <h4><bean:message bundle="gui" key="title.componenttype.managed"/></h4> <div align="center"> ! <display:table id="row" htmlId="doctab" name="requestScope.componentTypes" export="true" ! requestURI="/action/componentType" excludedParams="*"> ! <display:column titleKey="label.componenttype.key" property="key" sortable="true" width="60"/> ! <display:column titleKey="label.componenttype.label" property="label" sortable="true" width="60"/> ! <display:column titleKey="label.componenttype.keytemplate" property="keyTemplate"/> ! <display:column headerClass="empty" media="html" ! url="/action/componentType?op=load" paramId="key" paramProperty="key"> ! <html:img page="/images/redo.gif" alt="Edit component category properties"/> ! </display:column> ! </display:table> </div> </div> --- 24,39 ---- <h4><bean:message bundle="gui" key="title.componenttype.managed"/></h4> <div align="center"> ! <ajax:displayTag id="adtFrame" tableClass="disptab"> ! <display:table id="row" styleClass="disptab" name="requestScope.componentTypes" export="true" ! requestURI="/action/componentType?rd=none" excludedParams="*"> ! <display:column titleKey="label.componenttype.key" property="key" sortable="true" width="60"/> ! <display:column titleKey="label.componenttype.label" property="label" sortable="true" width="60"/> ! <display:column titleKey="label.componenttype.keytemplate" property="keyTemplate"/> ! <display:column headerClass="empty" media="html" ! url="/action/componentType?op=load" paramId="key" paramProperty="key"> ! <html:img page="/images/redo.gif" alt="Edit component category properties"/> ! </display:column> ! </display:table> ! </ajax:displayTag> </div> </div> *************** *** 66,70 **** </tr> <tr> ! <td><bean:message bundle="gui" key="label.componenttype.description"/> :</td> <td><html:textarea property="description" cols="40" rows="4"/></td> </tr> --- 73,77 ---- </tr> <tr> ! <td><b><bean:message bundle="gui" key="label.componenttype.description"/></b> :</td> <td><html:textarea property="description" cols="40" rows="4"/></td> </tr> |
|
From: Laurent B. <lbr...@us...> - 2007-11-27 21:58:53
|
Update of /cvsroot/join/join1/src/web/jsp/artifact In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv4378/jsp/artifact Modified Files: buildform.jsp Log Message: Fix fo issue #1821817 : manage component type description Index: buildform.jsp =================================================================== RCS file: /cvsroot/join/join1/src/web/jsp/artifact/buildform.jsp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** buildform.jsp 14 Jan 2007 18:10:20 -0000 1.1 --- buildform.jsp 27 Nov 2007 21:58:46 -0000 1.2 *************** *** 81,84 **** --- 81,89 ---- </html:select> </td> + <td width="40"></td> + <td> + <span onmouseover="this.T_TITLE='Help'; return escape('<bean:write name="type" property="description"/>');"> + <html:img page="/images/16x16/help.gif" align="absmiddle"/></span> + </td> </tr> </logic:iterate> |
|
From: Laurent B. <lbr...@us...> - 2007-11-27 21:37:36
|
Update of /cvsroot/join/join1/src/resources/properties In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv28031 Modified Files: help_fr_FR.properties Log Message: Fix for issue #1834746 : steps labels are now correct. Correct a typo Index: help_fr_FR.properties =================================================================== RCS file: /cvsroot/join/join1/src/resources/properties/help_fr_FR.properties,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** help_fr_FR.properties 8 Apr 2007 19:42:15 -0000 1.4 --- help_fr_FR.properties 27 Nov 2007 21:37:29 -0000 1.5 *************** *** 23,27 **** help.setup.custom.dissociated.asynchro.text=Choisissez cette option si vous souhaitez paramétrer le serveur dédié aux traitements <b>Asynchrones</b>. ! help.setup.custom.dissociated.overside.choice=Configuration de l'accè à l'autre coté help.setup.custom.dissociated.overside.choose=Cette page vous permet de renseigner les <b>paramètres vous permettant d'accéder</b> à l'autre coté de l'application Join ; ou <b>d'etre atteint par cet autre coté</b>. (Services synchrones pour le coté asynchrones, traitements asynchrones pour le coté synchrone). help.setup.custom.dissociated.overside.configure=Paramètres d'accés --- 23,27 ---- help.setup.custom.dissociated.asynchro.text=Choisissez cette option si vous souhaitez paramétrer le serveur dédié aux traitements <b>Asynchrones</b>. ! help.setup.custom.dissociated.overside.choice=Configuration de l'accès à l'autre coté help.setup.custom.dissociated.overside.choose=Cette page vous permet de renseigner les <b>paramètres vous permettant d'accéder</b> à l'autre coté de l'application Join ; ou <b>d'etre atteint par cet autre coté</b>. (Services synchrones pour le coté asynchrones, traitements asynchrones pour le coté synchrone). help.setup.custom.dissociated.overside.configure=Paramètres d'accés |
|
From: Laurent B. <lbr...@us...> - 2007-11-27 21:36:20
|
Update of /cvsroot/join/join1/src/main/org/figure8/join/control/action In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv27622/control/action Modified Files: SetupActions.java Log Message: Fix for issue #1834746 : steps labels are now correct. Correct a translation error over -> other Index: SetupActions.java =================================================================== RCS file: /cvsroot/join/join1/src/main/org/figure8/join/control/action/SetupActions.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SetupActions.java 19 Feb 2007 20:56:21 -0000 1.2 --- SetupActions.java 27 Nov 2007 21:36:17 -0000 1.3 *************** *** 43,46 **** --- 43,47 ---- import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; + import java.io.InputStream; import java.io.IOException; *************** *** 60,64 **** * @struts.action-forward name="Standard" path="/jsp/setup/setupstandard.jsp" * @struts.action-forward name="Dissociated" path="/jsp/setup/setupsynchro.jsp" ! * @struts.action-forward name="OverSideAccess" path="/jsp/setup/setupoverside.jsp" * @struts.action-forward name="DatabaseChoice" path="/jsp/setup/setupdatabasechoice.jsp" * @struts.action-forward name="Database" path="/jsp/setup/setupdatabase.jsp" --- 61,65 ---- * @struts.action-forward name="Standard" path="/jsp/setup/setupstandard.jsp" * @struts.action-forward name="Dissociated" path="/jsp/setup/setupsynchro.jsp" ! * @struts.action-forward name="OtherSideAccess" path="/jsp/setup/setupotherside.jsp" * @struts.action-forward name="DatabaseChoice" path="/jsp/setup/setupdatabasechoice.jsp" * @struts.action-forward name="Database" path="/jsp/setup/setupdatabase.jsp" *************** *** 71,75 **** /** Get a commons logger. */ ! protected static Log log = LogUtil.getLog(SetupActions.class); /** Operation code for setting setup type */ --- 72,76 ---- /** Get a commons logger. */ ! private static Log log = LogUtil.getLog(SetupActions.class); /** Operation code for setting setup type */ *************** *** 79,84 **** /** Operation code for setting synchronous property of installation */ public static final String SETUP_SYNCH_OP = "setupSynch"; ! /** Operation code for setting application over side properties */ ! public static final String SETUP_OTHERSIDE_OP = "setupOverSide"; /** Operation code for setting administrator */ public static final String SETUP_ADMIN_OP = "setupAdmin"; --- 80,85 ---- /** Operation code for setting synchronous property of installation */ public static final String SETUP_SYNCH_OP = "setupSynch"; ! /** Operation code for setting application other side properties */ ! public static final String SETUP_OTHERSIDE_OP = "setupOtherSide"; /** Operation code for setting administrator */ public static final String SETUP_ADMIN_OP = "setupAdmin"; *************** *** 151,155 **** /** ! * * @param operation String representing the operation to invoke on Action * @param mapping Mapping between forwards name and path for this action --- 152,156 ---- /** ! * Execute the requested operation within action.s * @param operation String representing the operation to invoke on Action * @param mapping Mapping between forwards name and path for this action *************** *** 158,161 **** --- 159,163 ---- * @param response The servlet container response wrapper * @return A forward to the next view to render and display + * @throws Exception is something wrong occurs */ public ActionForward doExecute(String operation, ActionMapping mapping, ActionForm form, *************** *** 276,280 **** bootstrapManager.setProperty(ApplicationConfig.SYNCH_SIDE, isSynchronousSide); // Forward to the page for configuring access to over side. ! return mapping.findForward("OverSideAccess"); } // This should not happen... --- 278,282 ---- bootstrapManager.setProperty(ApplicationConfig.SYNCH_SIDE, isSynchronousSide); // Forward to the page for configuring access to over side. ! return mapping.findForward("OtherSideAccess"); } // This should not happen... |
|
From: Laurent B. <lbr...@us...> - 2007-11-27 21:34:53
|
Update of /cvsroot/join/join1/src/web/jsp/setup In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv26868/jsp/setup Removed Files: setupoverside.jsp Log Message: Fix for issue #1834746 : steps labels are now correct. Correct a translation error over -> other --- setupoverside.jsp DELETED --- |
|
From: Laurent B. <lbr...@us...> - 2007-11-27 21:33:40
|
Update of /cvsroot/join/join1/src/web/jsp/setup In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv26470/jsp/setup Added Files: setupotherside.jsp Log Message: Fix for issue #1834746 : steps labels are now correct. Correct a translation error over -> other --- NEW FILE: setupotherside.jsp --- <% // $Revision: 1.1 $ %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <logic:notPresent name="setupType" scope="request"> <table border="0" cellspacing="0" cellpadding="8" width="100%"> <tr> <td width="180" valign="top"> <jsp:include page="/jsp/setup/setupsteps.jsp"> <jsp:param name="current" value="4. Configure access"/> <jsp:param name="completed" value="1. Custom Installation;2. Choose Dissociation;3. Choose application side"/> <jsp:param name="uncompleted" value="4. Configure access;5. ...;6. Create administrator;7. Setup is complete"/> </jsp:include> </td> <td valign="top"> <div class="h3"> <h3><html:img page="/images/22x22/configuration.gif" align="absmiddle"/> <bean:message bundle="help" key="help.setup.custom.dissociated.overside.choice"/></h3> </div> <br/> <font class="text"> <bean:message bundle="help" key="help.setup.custom.dissociated.overside.choose"/><br/><br/> </font> <div class="h4"> <h4><bean:message bundle="help" key="help.setup.custom.dissociated.overside.configure"/></h4> <html:form action="/setup" method="post"> <div align="center"> <input type="hidden" name="rd" value="popup"/> <input type="hidden" name="op" value="setupOtherSide"/> <input type="hidden" name="setupSynch" value='<bean:write name="setupForm" property="setupSynch"/>'/> <table id="doctab"> <logic:equal name="setupForm" property="setupSynch" value="Synchronous"> <tr> <td align="right"><b><bean:message bundle="help" key="help.setup.custom.dissociated.overside.url"/></b> :</td> <td align="left"><html:text property="httpUrl" size="60" maxlength="60"/></td> </tr> <tr> <td align="right"><b><bean:message bundle="help" key="help.setup.custom.dissociated.broker.url"/></b> :</td> <td align="left"><html:text property="brokerUrl" size="50" maxlength="80"/></td> </tr> </logic:equal> <logic:equal name="setupForm" property="setupSynch" value="Asynchronous"> <tr> <td align="right"><b><bean:message bundle="help" key="help.setup.custom.dissociated.broker.port"/></b> :</td> <td align="left"><html:text property="brokerPortStr" size="6" maxlength="5" value="61616"/></td> </tr> </logic:equal> </table> </div> <div align="right"> <input type="submit" value="Next >>"/> </div> </html:form> </div> <jsp:include page="/includes/formfooter.jsp" /> </td> </tr> </table> </logic:notPresent> |
|
From: Laurent B. <lbr...@us...> - 2007-11-27 21:31:18
|
Update of /cvsroot/join/join1/src/web/jsp/setup In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv25650/jsp/setup Modified Files: setupdatabase.jsp Log Message: Fix the setup steps labels Index: setupdatabase.jsp =================================================================== RCS file: /cvsroot/join/join1/src/web/jsp/setup/setupdatabase.jsp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** setupdatabase.jsp 30 Jul 2006 19:39:56 -0000 1.1 --- setupdatabase.jsp 27 Nov 2007 21:31:13 -0000 1.2 *************** *** 40,46 **** <td width="180" valign="top"> <jsp:include page="/jsp/setup/setupsteps.jsp"> ! <jsp:param name="current" value="4. Configure database"/> <jsp:param name="completed" value="1. Custom Installation;2. Choose Dissociation;3. Choose Database"/> ! <jsp:param name="uncompleted" value="4. Configure database;5. ...;6. Create administrator;7. Setup is complete"/> </jsp:include> </td> --- 40,46 ---- <td width="180" valign="top"> <jsp:include page="/jsp/setup/setupsteps.jsp"> ! <jsp:param name="current" value="4. Configure Database"/> <jsp:param name="completed" value="1. Custom Installation;2. Choose Dissociation;3. Choose Database"/> ! <jsp:param name="uncompleted" value="4. Configure Database;5. ...;6. Create administrator;7. Setup is complete"/> </jsp:include> </td> |
|
From: Laurent B. <lbr...@us...> - 2007-11-23 20:45:18
|
Update of /cvsroot/join/join1/src/main/org/figure8/join/businessobjects/reporting In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv881/businessobjects/reporting Modified Files: Event.java Log Message: Fix for issue #1834745. Enlarge column length so that longer identifiers can be used. Index: Event.java =================================================================== RCS file: /cvsroot/join/join1/src/main/org/figure8/join/businessobjects/reporting/Event.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Event.java 22 Jul 2006 13:13:57 -0000 1.1 --- Event.java 23 Nov 2007 20:45:14 -0000 1.2 *************** *** 1,4 **** /** ! * Copyright 2005-2006 the original author or authors. * * Licensed under the Gnu General Pubic License, Version 2.0 (the --- 1,4 ---- /** ! * Copyright 2005-2007 the original author or authors. * * Licensed under the Gnu General Pubic License, Version 2.0 (the *************** *** 96,100 **** /** * @hibernate.property column="s_key" ! * not-null="true" unique="true" length="20" * @return The unique key for this event */ --- 96,100 ---- /** * @hibernate.property column="s_key" ! * not-null="true" unique="true" length="25" * @return The unique key for this event */ *************** *** 213,217 **** log.error("Exception while trying to instantiate resourceResolverClass for event '" + key + "'"); log.error("Here's the exception message : " + e.getMessage()); ! throw new InvalidParameterException("'" + resourceResolverClass + "' cannot be found or does not extend PermissionResourceResolver", e); } } --- 213,218 ---- log.error("Exception while trying to instantiate resourceResolverClass for event '" + key + "'"); log.error("Here's the exception message : " + e.getMessage()); ! throw new InvalidParameterException("'" + resourceResolverClass + "' cannot be found or " + ! "does not extends PermissionResourceResolver", e); } } |
|
From: Laurent B. <lbr...@us...> - 2007-10-21 18:57:03
|
Update of /cvsroot/join/join1/src/web/jsp/artifact In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv15249/jsp/artifact Modified Files: assemblies.jsp Log Message: Fix for issue #1817060 : add a control on row presence before calling getStatus() on it. Index: assemblies.jsp =================================================================== RCS file: /cvsroot/join/join1/src/web/jsp/artifact/assemblies.jsp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** assemblies.jsp 14 Jan 2007 18:10:20 -0000 1.3 --- assemblies.jsp 21 Oct 2007 18:56:55 -0000 1.4 *************** *** 2,5 **** --- 2,6 ---- <%@ taglib uri="/WEB-INF/join.tld" prefix="join" %> + <%@ taglib uri="/WEB-INF/ajaxtags.tld" prefix="ajax" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> *************** *** 7,10 **** --- 8,15 ---- <%@ taglib uri="/WEB-INF/displaytag-12.tld" prefix="display" %> + <script type="text/javascript" src="<%=request.getContextPath()%>/scripts/prototype.js"></script> + <script type="text/javascript" src="<%=request.getContextPath()%>/scripts/scriptaculous.js"></script> + <script type="text/javascript" src="<%=request.getContextPath()%>/scripts/ajaxtags.js"></script> + <div class="h3"> <h3> *************** *** 37,74 **** <h4><bean:message bundle="gui" key="title.assemblies.searched"/></h4> <div align="center"> ! <display:table id="row" htmlId="doctab" name="requestScope.assemblies" export="true" ! requestURI="/action/assembly?op=search" pagesize="10"> ! <display:column titleKey="label.assembly.key" property="key" sortable="true"/> ! <display:column titleKey="label.assembly.creationdate" sortable="true"> ! <bean:write name="row" property="creationDate" formatKey="pattern.date.datetostring"/> ! </display:column> ! <display:column titleKey="label.assembly.author"> ! <join:resolveUser name="row" property="composerId" link="true"/> ! </display:column> ! <logic:iterate id="type" name="cacheAccessor" property="cachedDeliverableTypes" scope="application"> ! <logic:equal name="type" property="mandatory" value="true"> ! <bean:define id="typeLabel" name="type" property="label"/> ! <display:column title="<%= typeLabel.toString() %>" sortable="true"> ! <join:getResult name="row" scope="page" method="getDeliverable" paramName="type" paramScope="page" resultName="deliverable"/> ! <html:link action="/deliverable?op=details" paramId="key" paramName="deliverable" paramProperty="key"> ! <bean:write name="deliverable" property="key" scope="page"/></html:link> ! </display:column> ! </logic:equal> ! </logic:iterate> ! <display:column headerClass="empty" media="html" ! url="/action/assembly?op=details" paramId="key" paramProperty="key"> ! <html:img page="/images/16x16/details.gif" alt="View assembly details"/> ! </display:column> ! <join:authorize role="manager"> ! <logic:notEmpty name="row" property="status"> ! <logic:equal value="true" name="row" property="status.terminal"> ! <display:column headerClass="empty" media="html" ! url="/action/deployment?op=form" paramId="assemblyKey" paramProperty="key"> ! <html:img page="/images/16x16/reload.gif" alt="Deploy this assembly"/> </display:column> </logic:equal> ! </logic:notEmpty> ! </join:authorize> ! </display:table> </div> --- 42,83 ---- <h4><bean:message bundle="gui" key="title.assemblies.searched"/></h4> <div align="center"> ! <ajax:displayTag id="adtFrame" tableClass="disptab"> ! <display:table id="row" styleClass="disptab" name="requestScope.assemblies" export="true" ! requestURI="/action/assembly?op=search&rd=none" pagesize="10"> ! <display:column titleKey="label.assembly.key" property="key" sortable="true"/> ! <display:column titleKey="label.assembly.creationdate" width="120" sortable="true"> ! <bean:write name="row" property="creationDate" formatKey="pattern.date.datetostring"/> ! </display:column> ! <display:column titleKey="label.assembly.author"> ! <join:resolveUser name="row" property="composerId" link="true"/> ! </display:column> ! <logic:iterate id="type" name="cacheAccessor" property="cachedDeliverableTypes" scope="application"> ! <logic:equal name="type" property="mandatory" value="true"> ! <bean:define id="typeLabel" name="type" property="label"/> ! <display:column title="<%= typeLabel.toString() %>" sortable="true"> ! <join:getResult name="row" scope="page" method="getDeliverable" paramName="type" paramScope="page" resultName="deliverable"/> ! <html:link action="/deliverable?op=details" paramId="key" paramName="deliverable" paramProperty="key"> ! <bean:write name="deliverable" property="key" scope="page"/></html:link> </display:column> </logic:equal> ! </logic:iterate> ! <display:column headerClass="empty" media="html" ! url="/action/assembly?op=details" paramId="key" paramProperty="key"> ! <html:img page="/images/16x16/details.gif" alt="View assembly details"/> ! </display:column> ! <join:authorize role="manager"> ! <logic:present name="row"> ! <logic:notEmpty name="row" property="status"> ! <logic:equal value="true" name="row" property="status.terminal"> ! <display:column headerClass="empty" media="html" ! url="/action/deployment?op=form" paramId="assemblyKey" paramProperty="key"> ! <html:img page="/images/16x16/reload.gif" alt="Deploy this assembly"/> ! </display:column> ! </logic:equal> ! </logic:notEmpty> ! </logic:present> ! </join:authorize> ! </display:table> ! </ajax:displayTag> </div> |
|
From: Laurent B. <lbr...@us...> - 2007-10-21 18:53:48
|
Update of /cvsroot/join/join1/src/web/scripts In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv13676/scripts Modified Files: prototype.js Log Message: Update to prototype 1.5.1 for ajaxtags Index: prototype.js =================================================================== RCS file: /cvsroot/join/join1/src/web/scripts/prototype.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** prototype.js 30 Jul 2006 19:50:47 -0000 1.1 --- prototype.js 21 Oct 2007 18:53:41 -0000 1.2 *************** *** 1,20 **** ! /* Prototype JavaScript framework, version 1.4.0 ! * (c) 2005 Sam Stephenson <sa...@co...> ! * ! * THIS FILE IS AUTOMATICALLY GENERATED. When sending patches, please diff ! * against the source tree, available from the Prototype darcs repository. * * Prototype is freely distributable under the terms of an MIT-style license. ! * ! * For details, see the Prototype web site: http://prototype.conio.net/ * [...3618 lines suppressed...] *** 1769,1773 **** // positioned. For performance reasons, redefine Position.cumulativeOffset for // KHTML/WebKit only. ! if (/Konqueror|Safari|KHTML/.test(navigator.userAgent)) { Position.cumulativeOffset = function(element) { var valueT = 0, valueL = 0; --- 3253,3257 ---- // positioned. For performance reasons, redefine Position.cumulativeOffset for // KHTML/WebKit only. ! if (Prototype.Browser.WebKit) { Position.cumulativeOffset = function(element) { var valueT = 0, valueL = 0; *************** *** 1784,1785 **** --- 3268,3271 ---- } } + + Element.addMethods(); \ No newline at end of file |
|
From: Laurent B. <lbr...@us...> - 2007-10-21 18:48:47
|
Update of /cvsroot/join/join1/src/web/scripts In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv11311/scripts Added Files: ajaxtags.js niftycube.js Log Message: Add ajax support and nifty cubes for nice rounded corners ! --- NEW FILE: niftycube.js --- /* Nifty Corners Cube - rounded corners with CSS and Javascript Copyright 2006 Alessandro Fulciniti (a.f...@ht...) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ var niftyOk=(document.getElementById && document.createElement && Array.prototype.push); var niftyCss=false; String.prototype.find=function(what){ return(this.indexOf(what)>=0 ? true : false); } var oldonload=window.onload; if(typeof(NiftyLoad)!='function') NiftyLoad=function(){}; if(typeof(oldonload)=='function') window.onload=function(){oldonload();AddCss();NiftyLoad()}; else window.onload=function(){AddCss();NiftyLoad()}; function AddCss(){ niftyCss=true; /* -- Comment cause css is added using dynamic context. var l=CreateEl("link"); l.setAttribute("type","text/css"); l.setAttribute("rel","stylesheet"); l.setAttribute("href","niftyCorners.css"); l.setAttribute("media","screen"); document.getElementsByTagName("head")[0].appendChild(l); */ } function Nifty(selector,options){ if(niftyOk==false) return; if(niftyCss==false) AddCss(); var i,v=selector.split(","),h=0; if(options==null) options=""; if(options.find("fixed-height")) h=getElementsBySelector(v[0])[0].offsetHeight; for(i=0;i<v.length;i++) Rounded(v[i],options); if(options.find("height")) SameHeight(selector,h); } function Rounded(selector,options){ var i,top="",bottom="",v=new Array(); if(options!=""){ options=options.replace("left","tl bl"); options=options.replace("right","tr br"); options=options.replace("top","tr tl"); options=options.replace("bottom","br bl"); options=options.replace("transparent","alias"); if(options.find("tl")){ top="both"; if(!options.find("tr")) top="left"; } else if(options.find("tr")) top="right"; if(options.find("bl")){ bottom="both"; if(!options.find("br")) bottom="left"; } else if(options.find("br")) bottom="right"; } if(top=="" && bottom=="" && !options.find("none")){top="both";bottom="both";} v=getElementsBySelector(selector); for(i=0;i<v.length;i++){ FixIE(v[i]); if(top!="") AddTop(v[i],top,options); if(bottom!="") AddBottom(v[i],bottom,options); } } function AddTop(el,side,options){ var d=CreateEl("b"),lim=4,border="",p,i,btype="r",bk,color; d.style.marginLeft="-"+getPadding(el,"Left")+"px"; d.style.marginRight="-"+getPadding(el,"Right")+"px"; if(options.find("alias") || (color=getBk(el))=="transparent"){ color="transparent";bk="transparent"; border=getParentBk(el);btype="t"; } else{ bk=getParentBk(el); border=Mix(color,bk); } d.style.background=bk; d.className="niftycorners"; p=getPadding(el,"Top"); if(options.find("small")){ d.style.marginBottom=(p-2)+"px"; btype+="s"; lim=2; } else if(options.find("big")){ d.style.marginBottom=(p-10)+"px"; btype+="b"; lim=8; } else d.style.marginBottom=(p-5)+"px"; for(i=1;i<=lim;i++) d.appendChild(CreateStrip(i,side,color,border,btype)); el.style.paddingTop="0"; el.insertBefore(d,el.firstChild); } function AddBottom(el,side,options){ var d=CreateEl("b"),lim=4,border="",p,i,btype="r",bk,color; d.style.marginLeft="-"+getPadding(el,"Left")+"px"; d.style.marginRight="-"+getPadding(el,"Right")+"px"; if(options.find("alias") || (color=getBk(el))=="transparent"){ color="transparent";bk="transparent"; border=getParentBk(el);btype="t"; } else{ bk=getParentBk(el); border=Mix(color,bk); } d.style.background=bk; d.className="niftycorners"; p=getPadding(el,"Bottom"); if(options.find("small")){ d.style.marginTop=(p-2)+"px"; btype+="s"; lim=2; } else if(options.find("big")){ d.style.marginTop=(p-10)+"px"; btype+="b"; lim=8; } else d.style.marginTop=(p-5)+"px"; for(i=lim;i>0;i--) d.appendChild(CreateStrip(i,side,color,border,btype)); el.style.paddingBottom=0; el.appendChild(d); } function CreateStrip(index,side,color,border,btype){ var x=CreateEl("b"); x.className=btype+index; x.style.backgroundColor=color; x.style.borderColor=border; if(side=="left"){ x.style.borderRightWidth="0"; x.style.marginRight="0"; } else if(side=="right"){ x.style.borderLeftWidth="0"; x.style.marginLeft="0"; } return(x); } function CreateEl(x){ return(document.createElement(x)); } function FixIE(el){ if(el.currentStyle!=null && el.currentStyle.hasLayout!=null && el.currentStyle.hasLayout==false) el.style.display="inline-block"; } function SameHeight(selector,maxh){ var i,v=selector.split(","),t,j,els=[],gap; for(i=0;i<v.length;i++){ t=getElementsBySelector(v[i]); els=els.concat(t); } for(i=0;i<els.length;i++){ if(els[i].offsetHeight>maxh) maxh=els[i].offsetHeight; els[i].style.height="auto"; } for(i=0;i<els.length;i++){ gap=maxh-els[i].offsetHeight; if(gap>0){ t=CreateEl("b");t.className="niftyfill";t.style.height=gap+"px"; nc=els[i].lastChild; if(nc.className=="niftycorners") els[i].insertBefore(t,nc); else els[i].appendChild(t); } } } function getElementsBySelector(selector){ var i,j,selid="",selclass="",tag=selector,tag2="",v2,k,f,a,s=[],objlist=[],c; if(selector.find("#")){ //id selector like "tag#id" if(selector.find(" ")){ //descendant selector like "tag#id tag" s=selector.split(" "); var fs=s[0].split("#"); if(fs.length==1) return(objlist); f=document.getElementById(fs[1]); if(f){ v=f.getElementsByTagName(s[1]); for(i=0;i<v.length;i++) objlist.push(v[i]); } return(objlist); } else{ s=selector.split("#"); tag=s[0]; selid=s[1]; if(selid!=""){ f=document.getElementById(selid); if(f) objlist.push(f); return(objlist); } } } if(selector.find(".")){ //class selector like "tag.class" s=selector.split("."); tag=s[0]; selclass=s[1]; if(selclass.find(" ")){ //descendant selector like tag1.classname tag2 s=selclass.split(" "); selclass=s[0]; tag2=s[1]; } } var v=document.getElementsByTagName(tag); // tag selector like "tag" if(selclass==""){ for(i=0;i<v.length;i++) objlist.push(v[i]); return(objlist); } for(i=0;i<v.length;i++){ c=v[i].className.split(" "); for(j=0;j<c.length;j++){ if(c[j]==selclass){ if(tag2=="") objlist.push(v[i]); else{ v2=v[i].getElementsByTagName(tag2); for(k=0;k<v2.length;k++) objlist.push(v2[k]); } } } } return(objlist); } function getParentBk(x){ var el=x.parentNode,c; while(el.tagName.toUpperCase()!="HTML" && (c=getBk(el))=="transparent") el=el.parentNode; if(c=="transparent") c="#FFFFFF"; return(c); } function getBk(x){ var c=getStyleProp(x,"backgroundColor"); if(c==null || c=="transparent" || c.find("rgba(0, 0, 0, 0)")) return("transparent"); if(c.find("rgb")) c=rgb2hex(c); return(c); } function getPadding(x,side){ var p=getStyleProp(x,"padding"+side); if(p==null || !p.find("px")) return(0); return(parseInt(p)); } function getStyleProp(x,prop){ if(x.currentStyle) return(x.currentStyle[prop]); if(document.defaultView.getComputedStyle) return(document.defaultView.getComputedStyle(x,'')[prop]); return(null); } function rgb2hex(value){ var hex="",v,h,i; var regexp=/([0-9]+)[, ]+([0-9]+)[, ]+([0-9]+)/; var h=regexp.exec(value); for(i=1;i<4;i++){ v=parseInt(h[i]).toString(16); if(v.length==1) hex+="0"+v; else hex+=v; } return("#"+hex); } function Mix(c1,c2){ var i,step1,step2,x,y,r=new Array(3); if(c1.length==4)step1=1; else step1=2; if(c2.length==4) step2=1; else step2=2; for(i=0;i<3;i++){ x=parseInt(c1.substr(1+step1*i,step1),16); if(step1==1) x=16*x+x; y=parseInt(c2.substr(1+step2*i,step2),16); if(step2==1) y=16*y+y; r[i]=Math.floor((x*50+y*50)/100); r[i]=r[i].toString(16); if(r[i].length==1) r[i]="0"+r[i]; } return("#"+r[0]+r[1]+r[2]); } --- NEW FILE: ajaxtags.js --- /** * Copyright 2005 Darren L. Spurgeon * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ var AjaxJspTag = { Version: '1.2' } [...1258 lines suppressed...] }); }, handler: function(content, options) { if (options.overlib) { if (options.title) { return eval("overlib(content,CAPTION,options.title,"+options.overlib+")"); } else { return eval("overlib(content,"+options.overlib+")"); } } else { if (options.title) { return overlib(content,CAPTION,options.title); } else { return overlib(content); } } } }); |
|
From: Laurent B. <lbr...@us...> - 2007-10-21 18:22:31
|
Update of /cvsroot/join/join1/src/web/images In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv31494/images Added Files: ajax-loader.gif Log Message: Ajax spiner --- NEW FILE: ajax-loader.gif --- (This appears to be a binary file; contents omitted.) |
|
From: Laurent B. <lbr...@us...> - 2007-10-21 18:19:10
|
Update of /cvsroot/join/join1/src/resources/WEB-INF In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv29815 Modified Files: join.tld Log Message: Add AjaxAnchorsTag as supported tag handler Index: join.tld =================================================================== RCS file: /cvsroot/join/join1/src/resources/WEB-INF/join.tld,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** join.tld 25 Jul 2006 21:58:32 -0000 1.1 --- join.tld 21 Oct 2007 18:19:06 -0000 1.2 *************** *** 10,13 **** --- 10,52 ---- <display-name>Join Tag Library</display-name> <tag> + <name>ajaxA</name> + <tag-class>org.figure8.join.control.taglib.AjaxAnchorsTag</tag-class> + <body-content>JSP</body-content> + <description> + A tag that transforms simple anchor tags (a href) with Ajax calls + allowing to refresh only a part of the current page (within a target). + </description> + <attribute> + <name>target</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + <description>The target to refresh with ajax content</description> + </attribute> + <attribute> + <name>ajaxFlag</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description>A flag to add as request parameter on href</description> + </attribute> + <attribute> + <name>preFunction</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description>A Javascript function to invoke before ajax call</description> + </attribute> + <attribute> + <name>options</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description>Some options to pass to underlying ajax framework</description> + </attribute> + <attribute> + <name>postFunction</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + <description>A Javascript function to invoke after ajax call</description> + </attribute> + </tag> + <tag> <name>authorize</name> <tag-class>org.figure8.join.control.taglib.AuthorizeTag</tag-class> |
|
From: Laurent B. <lbr...@us...> - 2007-10-21 18:17:37
|
Update of /cvsroot/join/join1/src/test/org/figure8/join/control/taglib In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv29029/control/taglib Added Files: AjaxAnchorsTagTest.java Log Message: Test for AjaxAnchorsTag --- NEW FILE: AjaxAnchorsTagTest.java --- /** * Copyright 2005-2007 the original author or authors. * * Licensed under the Gnu General Pubic License, Version 2.0 (the * "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.opensource.org/licenses/gpl-license.php * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the Gnu General Public License for more details. */ package org.figure8.join.control.taglib; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * JUnit test case for testing AjaxAnchorsTag * @author <a href="mailto:lau...@fr...">Laurent Broudoux</a> * @version $Revision: 1.1 $ */ public class AjaxAnchorsTagTest extends TestCase{ // Constructors ------------------------------------------------------------- /** Default constructor. Build a test case using a name. */ public AjaxAnchorsTagTest(String testName){ super(testName); } // Override of TestCase ----------------------------------------------------- /** * Make this class a TestSuite. * @return A TestSuite containing this TestCase. */ public static Test suite(){ TestSuite suite = new TestSuite(AjaxAnchorsTagTest.class); return suite; } // Public ------------------------------------------------------------------- public void testReplaceByAjaxAnchors(){ AjaxAnchorsTag tag = new AjaxAnchorsTag(); tag.setTarget("targetDiv"); String result = tag.replaceByAjaxAnchors("<div><a href='http://join.sourceforge.net'>Link</a></div>"); assertEquals("Result is correct", "<div><a href=\"javascript://nop/\" onclick=\"new Ajax.Updater('targetDiv', " + "'http://join.sourceforge.net?ajax=true', {evalScripts:true}); return false;\">Link</a></div>", result); } /** Test the getAjaxOnClick() method */ public void testGetAjaxOnClick(){ AjaxAnchorsTag tag = new AjaxAnchorsTag(); tag.setTarget("targetDiv"); // Basic options. String result = tag.getAjaxOnClick("http://join.sourceforge.net"); assertEquals("Result is correct without options", "new Ajax.Updater('targetDiv', 'http://join.sourceforge.net?ajax=true', " + "{evalScripts:true}); return false;", result); // Basic otions and param. result = tag.getAjaxOnClick("http://join.sourceforge.net?user=lbroudoux"); assertEquals("Result is correct without options but param", "new Ajax.Updater('targetDiv', 'http://join.sourceforge.net?user=lbroudoux&ajax=true', " + "{evalScripts:true}); return false;", result); // Flag positionning. tag.setAjaxFlag("xhr"); result = tag.getAjaxOnClick("http://join.sourceforge.net"); assertEquals("Result is correct with flag positionning", "new Ajax.Updater('targetDiv', 'http://join.sourceforge.net?xhr=true', " + "{evalScripts:true}); return false;", result); // Pre-function specification. tag.setPreFunction("loading()"); result = tag.getAjaxOnClick("http://join.sourceforge.net"); assertEquals("Result is correct with pre-function", "loading(); new Ajax.Updater('targetDiv', 'http://join.sourceforge.net?xhr=true', " + "{evalScripts:true}); return false;", result); // Post-function specification. tag.setPostFunction("unloading()"); result = tag.getAjaxOnClick("http://join.sourceforge.net"); assertEquals("Result is correct with post-function", "loading(); new Ajax.Updater('targetDiv', 'http://join.sourceforge.net?xhr=true', " + "{evalScripts:true}); unloading(); return false;", result); // Options specification. tag.setOptions("onComplete:function(request){hideLoading();}"); result = tag.getAjaxOnClick("http://join.sourceforge.net"); assertEquals("Result is correct with full options", "loading(); new Ajax.Updater('targetDiv', 'http://join.sourceforge.net?xhr=true', " + "{evalScripts:true, onComplete:function(request){hideLoading();}}); unloading(); return false;", result); } } |
|
From: Laurent B. <lbr...@us...> - 2007-10-21 18:16:44
|
Update of /cvsroot/join/join1/src/test/org/figure8/join/control/taglib In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv28531/taglib Log Message: Directory /cvsroot/join/join1/src/test/org/figure8/join/control/taglib added to the repository |
|
From: Laurent B. <lbr...@us...> - 2007-10-21 18:15:09
|
Update of /cvsroot/join/join1/src/main/org/figure8/join/control/taglib In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv27667/control/taglib Added Files: AjaxAnchorsTag.java Log Message: Base on ajaxtags : a tag handler for transforming html anchors into ajax anchors --- NEW FILE: AjaxAnchorsTag.java --- /** * Copyright 2005-2007 the original author or authors. * * Licensed under the Gnu General Pubic License, Version 2.0 (the * "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.opensource.org/licenses/gpl-license.php * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the Gnu General Public License for more details. */ package org.figure8.join.control.taglib; import au.id.jericho.lib.html.Source; import au.id.jericho.lib.html.StartTag; import au.id.jericho.lib.html.Attribute; import au.id.jericho.lib.html.Attributes; import au.id.jericho.lib.html.OutputDocument; import au.id.jericho.lib.html.HTMLElementName; import au.id.jericho.lib.html.AttributesOutputSegment; import javax.servlet.jsp.JspWriter; import javax.servlet.jsp.JspException; import javax.servlet.jsp.tagext.BodyTagSupport; import java.util.List; /** * Rewrites Html anchors (<a>) by replacing their href attribute * by a onclick event realizing an Ajax call. * @author <a href="mailto:lau...@fr...">Laurent Broudoux</a> * @version $Revision: 1.1 $ */ public class AjaxAnchorsTag extends BodyTagSupport{ // Static ------------------------------------------------------------------- /** Constant representing the default value of ajaxFlag attribute */ public static final String AJAX_FLAG_DEFAULT = "ajax"; // Attributes --------------------------------------------------------------- /** A flag to append on request telling we're an XHR */ private String ajaxFlag = AJAX_FLAG_DEFAULT; /** The target div of the ajax retrieved content */ private String target = null; /** A Javascript function to execute before making ajax call */ private String preFunction = null; /** A Javascript function to execute after making ajax call */ private String postFunction = null; /** A list of options to pass to ajax library */ private String options = null; // Public ------------------------------------------------------------------- /** @param ajaxFlag A flag to append on request telling we're an XHR */ public void setAjaxFlag(String ajaxFlag){ this.ajaxFlag = ajaxFlag; } /** @param target The target div of the ajax retrieved content */ public void setTarget(String target){ this.target = target; } /** @param preFunction A Javascript function to execute before making ajax call */ public void setPreFunction(String preFunction){ this.preFunction = preFunction; } /** @param postFunction A Javascript function to execute after making ajax call */ public void setPostFunction(String postFunction){ this.postFunction = postFunction; } /** @param options A list of options to pass to ajax library */ public void setOptions(String options){ this.options = options; } // Override of BodyTagSupport ----------------------------------------------- /** * * @return * @throws JspException */ public int doEndTag() throws JspException{ // Retrieve already evaluated body. JspWriter writer = pageContext.getOut(); String body = bodyContent.getString(); try{ body = replaceByAjaxAnchors(body); writer.write(body); } catch (Exception e){ } return EVAL_PAGE; } /** Release all allocated resources. */ public void release(){ super.release(); this.ajaxFlag = AJAX_FLAG_DEFAULT; this.target = null; this.preFunction = null; this.postFunction = null; this.options = null; } // Protected ---------------------------------------------------------------- /** * Replace Html anchors by Ajax anchors * @param body The Html body to parse for replacing ancors * @return A new body where anchors are ajaxified */ protected String replaceByAjaxAnchors(String body){ // Parse source and produce output. Source source = new Source(body); OutputDocument outputDocument = new OutputDocument(body); List anchors = source.findAllStartTags(HTMLElementName.A); for (int i=0; i<anchors.size(); i++){ StartTag anchorTag = (StartTag)anchors.get(i); // Ensure we have a destination Attributes attributes = anchorTag.getAttributes(); Attribute hrefAttribute = attributes.get("href"); if (hrefAttribute == null || hrefAttribute.getValue() == null) continue; // Produce a new output segment AttributesOutputSegment outputSegment = new AttributesOutputSegment(attributes, true); outputSegment.getMap().put("href", "javascript://nop/"); outputSegment.getMap().put("onclick", getAjaxOnClick(hrefAttribute.getValue())); outputDocument.add(outputSegment); } return outputDocument.toString(); } /** * Build the command that corresponds to an Ajax call with specified * options and pre/post-functions. * @param href The request url of ajax call * @return The ajax command for onClick event */ protected String getAjaxOnClick(String href){ StringBuffer result = new StringBuffer(); // Append preFunction if specified. if (preFunction != null && preFunction.length() > 0) result.append(preFunction).append("; "); // Now create ajax updater with specified href and ajax flag. result.append("new Ajax.Updater('").append(target); result.append("', '").append(href); if (ajaxFlag != null && ajaxFlag.length() > 0){ if (href.indexOf(ajaxFlag + "=") < 0){ if (href.indexOf('?') >= 0) result.append('&'); else result.append('?'); result.append(ajaxFlag).append("=true"); } } // Append default options. result.append("', {evalScripts:true"); // Append custom options if specified. if (options != null && options.length() > 0) result.append(", ").append(options); result.append("}); "); // Append postFunction is specified. if (postFunction != null && postFunction.length() > 0) result.append(postFunction).append("; "); return result.append("return false;").toString(); } } |
|
From: Laurent B. <lbr...@us...> - 2007-10-10 19:14:26
|
Update of /cvsroot/join/join1/lib In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv28380/join1/lib Added Files: ajaxtags-1.2-beta2.jar jericho-html-2.1.jar Log Message: Add new libraries for allowing ajax calls and page composition --- NEW FILE: jericho-html-2.1.jar --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ajaxtags-1.2-beta2.jar --- (This appears to be a binary file; contents omitted.) |
|
From: Laurent B. <lbr...@us...> - 2007-10-10 19:11:45
|
Update of /cvsroot/join/join1/src/site In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv27499 Modified Files: checkstyleconf.xml Log Message: Allow "log" as a constant name Index: checkstyleconf.xml =================================================================== RCS file: /cvsroot/join/join1/src/site/checkstyleconf.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** checkstyleconf.xml 5 Aug 2005 20:18:44 -0000 1.1 --- checkstyleconf.xml 10 Oct 2007 19:11:39 -0000 1.2 *************** *** 1,116 **** ! <?xml version="1.0"?> ! ! <!-- =========================================================================== ! A Checkstyle configuration that checks the coding conventions of the Join ! project - http://join.sourceforge.net ! ! Author: ! Laurent Broudoux ! $Revision$ ! ============================================================================ --> ! ! <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.1//EN" "http://www.puppycrawl.com/dtds/configuration_1_1.dtd"> ! ! <module name="Checker"> ! <!-- Global checker properties --> ! <property name="localeCountry" value="US"/> ! <property name="localeLanguage" value="en"/> ! ! <module name="TreeWalker"> ! <!-- JavaDoc conventions --> ! <module name="JavadocType"> ! <property name="scope" value="private"/> ! <property name="authorFormat" value="^.+$"/> ! <property name="versionFormat" value="^\$Revision.*\$$"/> <!-- CVS Keyword --> ! </module> ! <module name="JavadocMethod"> ! <property name="scope" value="public"/> ! <property name="allowUndeclaredRTE" value="true"/> ! </module> ! <module name="JavadocVariable"> ! <property name="scope" value="protected"/> ! </module> ! ! <!-- Naming conventions --> ! <module name="ConstantName"> ! <property name="format" value="^[A-Z](_?[A-Z0-9]+)*$"/> ! </module> ! <module name="LocalFinalVariableName"> ! <property name="format" value="^[a-z](_?[a-zA-Z0-9]+)*$"/> ! </module> ! <module name="LocalVariableName"> ! <property name="format" value="^[a-z](_?[a-zA-Z0-9]+)*$"/> ! </module> ! <module name="MemberName"/> ! <module name="MethodName"/> ! <module name="ParameterName"/> ! <module name="PackageName"/> ! <module name="StaticVariableName"/> ! <module name="TypeName"/> ! ! <!-- Code layout --> ! <module name="LeftCurly"/> ! <module name="RightCurly"> ! <property name="option" value="alone"/> ! </module> ! ! <!-- Whitespace settings --> ! <module name="TabCharacter"/> ! <module name="WhitespaceAfter"> ! <property name="tokens" value="COMMA"/> ! </module> ! <module name="EmptyBlock"> ! <property name="option" value="text"/> ! </module> ! ! <!-- Imports --> ! <module name="AvoidStarImport"/> ! <module name="IllegalImport"/> ! <module name="UnusedImports"/> ! <module name="RedundantImport"/> ! <module name="ImportOrder"> ! <property name="groups" value="org,javax,java"/> ! <property name="ordered" value="false"/> ! <property name="separated" value="true"/> ! </module> ! ! <!-- Length limits, different settings for method and ctor length --> ! <module name="LineLength"> ! <property name="max" value="120"/> ! </module> ! <module name="MethodLength"> ! <property name="tokens" value="METHOD_DEF"/> ! <property name="max" value="300"/> ! </module> ! <module name="MethodLength"> ! <property name="tokens" value="CTOR_DEF"/> ! <property name="max" value="100"/> ! </module> ! ! ! <!-- Coding best practices --> ! ! <!-- Override hashCode whenever you override equals() --> ! <module name="EqualsHashCode"/> ! ! <!-- Don't create new instances of Boolean, use Boolean.TRUE/FALSE or Boolean.valueOf() instead --> ! <module name="IllegalInstantiation"> ! <property name="classes" value="java.lang.Boolean"/> ! </module> ! ! <!-- avoid inner assignments --> ! <module name="InnerAssignment"/> ! ! <!-- don't allow public members except in private record like classes, the members have special names there --> ! <module name="VisibilityModifier"> ! <property name="publicMemberPattern" value ="^f[a-zA-Z0-9]*$"/> ! </module> ! ! <!-- simplify your code --> ! <module name="SimplifyBooleanReturn"/> ! <module name="SimplifyBooleanExpression"/> ! ! <!-- flag reminder comments --> ! <module name="TodoComment"/> ! </module> </module> \ No newline at end of file --- 1,116 ---- ! <?xml version="1.0"?> ! ! <!-- =========================================================================== ! A Checkstyle configuration that checks the coding conventions of the Join ! project - http://join.sourceforge.net ! ! Author: ! Laurent Broudoux ! $Revision$ ! ============================================================================ --> ! ! <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.1//EN" "http://www.puppycrawl.com/dtds/configuration_1_1.dtd"> ! ! <module name="Checker"> ! <!-- Global checker properties --> ! <property name="localeCountry" value="US"/> ! <property name="localeLanguage" value="en"/> ! ! <module name="TreeWalker"> ! <!-- JavaDoc conventions --> ! <module name="JavadocType"> ! <property name="scope" value="private"/> ! <property name="authorFormat" value="^.+$"/> ! <property name="versionFormat" value="^\$Revision.*\$$"/> <!-- CVS Keyword --> ! </module> ! <module name="JavadocMethod"> ! <property name="scope" value="public"/> ! <property name="allowUndeclaredRTE" value="true"/> ! </module> ! <module name="JavadocVariable"> ! <property name="scope" value="protected"/> ! </module> ! ! <!-- Naming conventions --> ! <module name="ConstantName"> ! <property name="format" value="^[A-Z]*(log)*(_?[A-Z0-9]+)*$"/> ! </module> ! <module name="LocalFinalVariableName"> ! <property name="format" value="^[a-z](_?[a-zA-Z0-9]+)*$"/> ! </module> ! <module name="LocalVariableName"> ! <property name="format" value="^[a-z](_?[a-zA-Z0-9]+)*$"/> ! </module> ! <module name="MemberName"/> ! <module name="MethodName"/> ! <module name="ParameterName"/> ! <module name="PackageName"/> ! <module name="StaticVariableName"/> ! <module name="TypeName"/> ! ! <!-- Code layout --> ! <module name="LeftCurly"/> ! <module name="RightCurly"> ! <property name="option" value="alone"/> ! </module> ! ! <!-- Whitespace settings --> ! <module name="TabCharacter"/> ! <module name="WhitespaceAfter"> ! <property name="tokens" value="COMMA"/> ! </module> ! <module name="EmptyBlock"> ! <property name="option" value="text"/> ! </module> ! ! <!-- Imports --> ! <module name="AvoidStarImport"/> ! <module name="IllegalImport"/> ! <module name="UnusedImports"/> ! <module name="RedundantImport"/> ! <module name="ImportOrder"> ! <property name="groups" value="org,javax,java"/> ! <property name="ordered" value="false"/> ! <property name="separated" value="true"/> ! </module> ! ! <!-- Length limits, different settings for method and ctor length --> ! <module name="LineLength"> ! <property name="max" value="120"/> ! </module> ! <module name="MethodLength"> ! <property name="tokens" value="METHOD_DEF"/> ! <property name="max" value="300"/> ! </module> ! <module name="MethodLength"> ! <property name="tokens" value="CTOR_DEF"/> ! <property name="max" value="100"/> ! </module> ! ! ! <!-- Coding best practices --> ! ! <!-- Override hashCode whenever you override equals() --> ! <module name="EqualsHashCode"/> ! ! <!-- Don't create new instances of Boolean, use Boolean.TRUE/FALSE or Boolean.valueOf() instead --> ! <module name="IllegalInstantiation"> ! <property name="classes" value="java.lang.Boolean"/> ! </module> ! ! <!-- avoid inner assignments --> ! <module name="InnerAssignment"/> ! ! <!-- don't allow public members except in private record like classes, the members have special names there --> ! <module name="VisibilityModifier"> ! <property name="publicMemberPattern" value ="^f[a-zA-Z0-9]*$"/> ! </module> ! ! <!-- simplify your code --> ! <module name="SimplifyBooleanReturn"/> ! <module name="SimplifyBooleanExpression"/> ! ! <!-- flag reminder comments --> ! <module name="TodoComment"/> ! </module> </module> \ No newline at end of file |
|
From: Laurent B. <lbr...@us...> - 2007-04-08 22:37:45
|
Update of /cvsroot/join/join1/src/web/pages In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv18196/pages Added Files: authorizationfailurepage.jsp servicefailurepage.jsp Log Message: --- NEW FILE: authorizationfailurepage.jsp --- <% // $Revision: 1.1 $ %> <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> <tiles:insert definition="main" flush="true"> <tiles:put name="body" value="/jsp/authorizationfailure.jsp"/> </tiles:insert> --- NEW FILE: servicefailurepage.jsp --- <% // $Revision: 1.1 $ %> <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> <tiles:insert definition="popup" flush="true"> <tiles:put name="body" value="/jsp/servicefailure.jsp"/> </tiles:insert> |
|
From: Laurent B. <lbr...@us...> - 2007-04-08 22:35:19
|
Update of /cvsroot/join/join1/src/web/jsp In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv16997/jsp Modified Files: deliverabletypes.jsp Added Files: authorizationfailure.jsp servicefailure.jsp workflow.jsp Log Message: --- NEW FILE: workflow.jsp --- <% // $Revision: 1.1 $ %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <div class="h3"> <h3> <html:img page="/images/22x22/help.gif" align="absmiddle"/> <bean:message bundle="gui" key="menu.help.workflow"/> </h3> </div> <br/> <div class="h4"> <br/> <div align="center"> <html:img page="/images/workflow.png" alt="Join's Workflow" border="1"/> </div> <br/> <div class="text"> <ul> <li>More information on workflow <a target="new" href="http://join.sourceforge.net/workflow.html">online</a></li> <li>More information on users involved <a target="new" href="http://join.sourceforge.net/useraccess.html">online</a></li> <li>More information on artifacts and categorization <a target="new" href="http://join.sourceforge.net/artifacts.html">online</a></li> <li>More information on environments and configuration <a target="new" href="http://join.sourceforge.net/environments.html">online</a></li> </ul> </div> </div> Index: deliverabletypes.jsp =================================================================== RCS file: /cvsroot/join/join1/src/web/jsp/deliverabletypes.jsp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** deliverabletypes.jsp 30 Jul 2006 19:16:26 -0000 1.1 --- deliverabletypes.jsp 8 Apr 2007 22:35:15 -0000 1.2 *************** *** 49,53 **** requestURI="/action/deliverableType" excludedParams="*"> <display:column titleKey="label.deliverabletype.key" property="key" sortable="true" width="60"/> ! <display:column titleKey="label.deliverabletype.label" property="label" sortable="true" width="60"/> <display:column titleKey="label.deliverabletype.versionable" property="versionable" width="80"/> <display:column titleKey="label.deliverabletype.mandatory" property="mandatory" width="80"/> --- 49,53 ---- requestURI="/action/deliverableType" excludedParams="*"> <display:column titleKey="label.deliverabletype.key" property="key" sortable="true" width="60"/> ! <display:column titleKey="label.deliverabletype.label" property="label" sortable="true" width="100"/> <display:column titleKey="label.deliverabletype.versionable" property="versionable" width="80"/> <display:column titleKey="label.deliverabletype.mandatory" property="mandatory" width="80"/> --- NEW FILE: authorizationfailure.jsp --- <% // $Revision: 1.1 $ %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <div class="h3"> <h3> <html:img page="/images/22x22/no.gif" align="absmiddle"/> <bean:message bundle="gui" key="label.global.error"/> </h3> </div> <br/> <div class="h4"> <h4><bean:message bundle="gui" key="label.global.authorization.error"/></h4> </div> --- NEW FILE: servicefailure.jsp --- <% // $Revision: 1.1 $ %> <%@ page import="java.io.PrintWriter, java.util.Enumeration" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <script type="text/javascript" src="<%= request.getContextPath() %>/scripts/prototype.js"></script> <script type="text/javascript" src="<%= request.getContextPath() %>/scripts/scriptaculous.js"></script> <script type="text/javascript" src="<%= request.getContextPath() %>/scripts/effects.js"></script> <script type="text/javascript" src="<%= request.getContextPath() %>/scripts/hide.js"></script> <div class="h3"> <h3> <html:img page="/images/22x22/no.gif" align="absmiddle"/> <bean:message bundle="gui" key="label.global.service.error"/> </h3> </div> <br/> <div class="h4"> <h4><bean:message bundle="gui" key="label.global.service.error"/></h4> </div> <br/> <div class="h4"> <h4> <bean:message bundle="gui" key="label.global.service.error.details"/> <html:img page="/images/16x16/down.gif" styleId="details-ud" align="absmiddle" onclick="showHide('details', 'details-ud')" style="position: absolute; right: 26px;"/> </h4> <div id="details" style="display: none"> <span class="text">Request URI : <%= request.getRequestURI() %></span><br/><hr/> <logic:present name="exception" scope="request"> <span class="text">Exception stack trace :</span> <pre class="text"> <% Throwable exception = (Throwable)pageContext.findAttribute("exception"); %> <% exception.printStackTrace(new PrintWriter(pageContext.getOut())); %> </pre> <hr/> </logic:present> <span class="text">Request parameters :</span> <pre class="text"> <% Enumeration names = request.getParameterNames(); while (names.hasMoreElements()){ String name = (String)names.nextElement(); Object value = request.getParameter(name); %> <%= name + " = " + value.toString() + "<br/>" %> <% } %> </pre> <hr/> <span class="text">Request attributes :</span> <pre class="text"> <% names = request.getAttributeNames(); while (names.hasMoreElements()){ String name = (String)names.nextElement(); Object value = request.getAttribute(name); %> <%= name + " = " + value.toString() + "<br/>" %> <% } %> </pre> <hr/> <span class="text">Request headers :</span> <pre class="text"> <% names = request.getHeaderNames(); while (names.hasMoreElements()){ String name = (String)names.nextElement(); String value = request.getHeader(name); %> <%= name + " = " + value + "<br/>" %> <% } %> </pre> </div> </div> |
|
From: Laurent B. <lbr...@us...> - 2007-04-08 22:31:39
|
Update of /cvsroot/join/join1/src/web/jsp/setup In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv15772/jsp/setup Modified Files: setupcustom.jsp setupstandard.jsp Log Message: Index: setupstandard.jsp =================================================================== RCS file: /cvsroot/join/join1/src/web/jsp/setup/setupstandard.jsp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** setupstandard.jsp 30 Jul 2006 19:39:56 -0000 1.1 --- setupstandard.jsp 8 Apr 2007 22:31:36 -0000 1.2 *************** *** 22,26 **** <font class="text"> <bean:message bundle="help" key="help.setup.finish.text"/><br/><br/> ! <bean:message bundle="help" key="help.setup.finish.link"/><br/><br/> </font> </td> --- 22,26 ---- <font class="text"> <bean:message bundle="help" key="help.setup.finish.text"/><br/><br/> ! <bean:message bundle="help" key="help.setup.finish.link" arg0="<%= request.getContextPath() %>" /><br/><br/> </font> </td> Index: setupcustom.jsp =================================================================== RCS file: /cvsroot/join/join1/src/web/jsp/setup/setupcustom.jsp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** setupcustom.jsp 30 Jul 2006 19:39:56 -0000 1.1 --- setupcustom.jsp 8 Apr 2007 22:31:36 -0000 1.2 *************** *** 22,26 **** <font class="text"> <bean:message bundle="help" key="help.setup.finish.text"/><br/><br/> ! <bean:message bundle="help" key="help.setup.finish.link"/><br/><br/> </font> </td> --- 22,26 ---- <font class="text"> <bean:message bundle="help" key="help.setup.finish.text"/><br/><br/> ! <bean:message bundle="help" key="help.setup.finish.link" arg0="<%= request.getContextPath() %>"/><br/><br/> </font> </td> |