1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
<%@ Page Language="C#" inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" masterpagefile="~masterurl/custom.master" title="Untitled 1" meta:progid="SharePoint.WebPartPage.Document" meta:webpartpageexpansion="full" %>
<%@ Register tagprefix="WebPartPages" namespace="Microsoft.SharePoint.WebPartPages" assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register tagprefix="SharePoint" namespace="Microsoft.SharePoint.WebControls" assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
<SharePoint:ListFormPageTitle runat="server"/>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
<SharePoint:ListProperty Property="LinkTitle" runat="server" id="ID_LinkTitle"/>
: Prendre en charge</asp:Content>
<asp:Content id="Content1" runat="Server" contentplaceholderid="PlaceHolderMain">
<script type="text/javascript">
function maFonction() {
window.open("http://www.google.fr");
}
</script>
<input name="g_9537eaf3_503b_4d50_9d0f_d3ec47df4259$ff12_1$ctl00$ctl00$TextField_spSave" type="HIDDEN" id="g_9537eaf3_503b_4d50_9d0f_d3ec47df4259_ff12_1_ctl00_ctl00_TextField_spSave" />
<input id="g_9537eaf3_503b_4d50_9d0f_d3ec47df4259_ff14_1_ctl00_ctl00_MultiLookupPicker" name="g_9537eaf3_503b_4d50_9d0f_d3ec47df4259$ff14_1$ctl00$ctl00$MultiLookupPicker" type="hidden" value><input id="g_9537eaf3_503b_4d50_9d0f_d3ec47df4259_ff14_1_ctl00_ctl00_MultiLookupPicker_data" name="g_9537eaf3_503b_4d50_9d0f_d3ec47df4259$ff14_1$ctl00$ctl00$MultiLookupPicker$data" type="hidden" value="1|t1 - Anomalie 1|t |t |t5|t5 - Ano 2|t |t "><input id="g_9537eaf3_503b_4d50_9d0f_d3ec47df4259_ff14_1_ctl00_ctl00_MultiLookupPicker_initial" name="g_9537eaf3_503b_4d50_9d0f_d3ec47df4259$ff14_1$ctl00$ctl00$MultiLookupPicker$initial" type="hidden" value="">
<WebPartPages:DataFormWebPart runat="server" IsIncluded="True" FrameType="None" NoDefaultStyle="TRUE" ViewFlag="0" Title="Anomalies" __markuptype="vsattributemarkup" __WebPartId="{9537EAF3-503B-4D50-9D0F-D3EC47DF4259}" id="g_9537eaf3_503b_4d50_9d0f_d3ec47df4259" __AllowXSLTEditing="true" WebPart="true" Height="" Width="">
<DataSources>
<SharePoint:SPDataSource runat="server" DataSourceMode="ListItem" UseInternalName="true" selectcommand="<View><Query><Where><Eq><FieldRef Name="ContentType"/><Value Type="Text">Bogue</Value></Eq></Where></Query></View>" id="Anomalies1"><SelectParameters><WebPartPages:DataFormParameter Name="ListItemId" ParameterKey="ListItemId" PropertyName="ParameterValues" DefaultValue="0"/><WebPartPages:DataFormParameter Name="ListID" ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="{47EAC1D3-BDDC-46BA-91C5-27D512829522}"/></SelectParameters><DeleteParameters><WebPartPages:DataFormParameter Name="ListItemId" ParameterKey="ListItemId" PropertyName="ParameterValues" DefaultValue="0"/><WebPartPages:DataFormParameter Name="ListID" ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="{47EAC1D3-BDDC-46BA-91C5-27D512829522}"/></DeleteParameters><InsertParameters><WebPartPages:DataFormParameter Name="ListItemId" ParameterKey="ListItemId" PropertyName="ParameterValues" DefaultValue="0"/><WebPartPages:DataFormParameter Name="ListID" ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="{47EAC1D3-BDDC-46BA-91C5-27D512829522}"/></InsertParameters><UpdateParameters><WebPartPages:DataFormParameter Name="ListItemId" ParameterKey="ListItemId" PropertyName="ParameterValues" DefaultValue="0"/><WebPartPages:DataFormParameter Name="ListID" ParameterKey="ListID" PropertyName="ParameterValues" DefaultValue="{47EAC1D3-BDDC-46BA-91C5-27D512829522}"/></UpdateParameters></SharePoint:SPDataSource>
</DataSources>
<ParameterBindings>
<ParameterBinding Name="ListItemId" Location="QueryString(ID)" DefaultValue="0"/>
//etc....
</ParameterBindings>
<datafields>@Title,Titre;@ResolvedBy,Corrigé par;@Resolution,Correction;@DuplicateBug,Anomalie dupliquée;@Severity,Gravité;@AssignedTo,Assigné à;@Status,État;@Priority,Priorité;@Comment,Étapes de reproduction;@BugCategory,Catégorie;@RelatedIssues,Anomalies liées;@V3Comments,Commentaires;@Version_x0020_constat_x00e9_e,Version constatée;@Version_x0020_de_x0020_recette,Version de recette;@Version_x0020_de_x0020_productio,Version de production;@lien,lien;@Domaine_x0020_fonctionnel,Domaine fonctionnel;@AssignationRecette,AssignationRecette;@AssignationFermeture,AssignationFermeture;@AssignationLivraison,AssignationLivraison;@Etats,Etats;@TEST,TEST;@ID,ID;@ContentType,Type de contenu;@Modified,Modifié;@Created,Créé;@Author,Créé par;@Editor,Modifié par;@_UIVersionString,Version;@Attachments,Pièces jointes;@_UIVersion,Version de l'interface utilisateur;@IsCurrent,Actuel;@File_x0020_Type,Type de fichier;@FileLeafRef,Nom (à utiliser dans formulaires);@FileDirRef,Chemin d'accès;@FSObjType,Type d'élément;@_HasCopyDestinations,Utilise des destinations de copie;@_CopySource,Source de la copie;@ContentTypeId,ID du type de contenu;@_ModerationStatus,État d'approbation;@Created_x0020_Date,Créé;@FileRef,Chemin d'URL;</datafields>
<XSL>
<xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal">
//etc....
<xsl:template match="/" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:SharePoint="Microsoft.SharePoint.WebControls">
<xsl:call-template name="dvt_1"/>
</xsl:template>
<xsl:template name="dvt_1">
<xsl:variable name="dvt_StyleName">ListForm</xsl:variable>
//etc....
</xsl:template>
<xsl:template name="dvt_1.rowedit">
<xsl:param name="Pos" />
<tr>
<td>
<table border="0" cellspacing="0" width="100%">
<tr>
<td></td>
<input type="button" value="test" name="test" onclick="maFonction()" />
</tr>
</table>
</td>
</tr>
</xsl:template>
</xsl:stylesheet>
</XSL>
</WebPartPages:DataFormWebPart>
</asp:Content> |
Partager