[ 
http://jira.codehaus.org/browse/DISPL-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130229#action_130229
 ] 

ghost0408 commented on DISPL-534:
---------------------------------

I try something with decorator:

        public String getIddossier() {
                AgentsDossierPActifbySecteur agent = 
(AgentsDossierPActifbySecteur) getCurrentRowObject();
                String idDossier = agent.getIddossier();

                String part1 = "<table style=\"font-size: 
12px;\"><tr>"+idDossier+"</tr><tr><html:text  
property=\"nbDemiJourGreve\"/></tr></table>";
                return part1;
        }

In IE:

<td><table style="font-size: 
12px;"><tr>16902751111224808307610</tr><tr><html:text 
property="nbDemiJourGreve"/></tr></table></td></tr>
<tr class="even">
<td><table style="font-size: 
12px;"><tr>27609010530122608307600</tr><tr><html:text 
property="nbDemiJourGreve"/></tr></table></td></tr>

SO, it's not possible to have in the same column a property and a struts tag ?!?
Same thing for a new row ?!?



> use of struts tag inside display tag or column
> ----------------------------------------------
>
>                 Key: DISPL-534
>                 URL: http://jira.codehaus.org/browse/DISPL-534
>             Project: DisplayTag
>          Issue Type: Bug
>            Reporter: ghost0408
>   Original Estimate: 3 days
>  Remaining Estimate: 3 days
>
> When I use a logic:equal tag inside display tag it works:
> <div><display:table class="simple nocol"
>               name="sessionScope.memoCivilCartes" pagesize="20" requestURI=""
>               id="objectLigne" sort="list"
>               
> decorator="fr.gouv.finances.douane.dnsce.oci.struts.actions.presaisies.validation.DisplayTagWrapperValidation">
>               <logic:equal property="cartes" name="ListeCartesProForm"
>                       value="Agents">
>                       <display:column property="nirreel" sortable="true" 
> title="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;N°&nbsp;INSEE" />
>               </logic:equal>
> when I use a html:text for an imput field it don't work :
>       <div style="text-align: center;"><display:table class="greve"
>               name="sessionScope.listeAgentSaisieParAgent" pagesize="20"
>               requestURI="" id="objectLigne" sort="list"
>               
> decorator="fr.gouv.finances.douane.dnsce.oci.struts.actions.saisieGroupee.greves.DisplayTagWrapperGreve">
>               <display:column property="insee" sortable="true"
>                       title="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;N°&nbsp;INSEE" />
>               <display:column property="nom" sortable="true"
>                       title="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOM&nbsp;Prénom" />
>               <display:column property="iddossier" sortable="true"
>                       title="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;N°&nbsp;dossier" >
>               <html:text property="nbDemiJourGreve" />
>               </display:column>
> In the html source of IE  I don't have a imput text html component to replace 
> html:text ????!!!!!!!!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to