Sorry my german mailer has put a AW: before the RE: and it has created a new thread so 
i repeat the message:
 
Hello,  

         
        Not exactly, Iâve got two tiles with one list per tile:
         
        -------------------
        Master Line 1
        *Master Line 2
        Master Line 3
        -------------------
        Detail Line 21
        Detail Line 22
        Detail Line 23
        -------------------
         
        When I select (due to AREF) âMaster line 2â I refresh the page and I 
display the master list + the corresponded detail.
        The problem I have: If you have 20 master lines, how can the user known which 
one is selected (Which one is the master for the given detail)?
        For this I have to highlight the master row, but not just with a star at the 
beginning, for example with another background color.
        Iâve tried a lot of things and at least Iâve got two working solutions 
(And other non-working solutions-see my previous post 12/29/2003):
        1)    Code it by myself in the display Tag core (new Attribute in tld, etc...) 
(Of course I will share the code if you want)
        2)    Such an horrible thing:

                    <display:table align="left" id="row"  styleClass="odd"   
width="100%"  name="listBean" >

                    

                    <display:column  width="20%"  title="Id">

                          <c:choose>

                                <c:when test="${row_rowNum==selectedRow*}" >

                                     <span class="selectedRow"><c:out 
value="${row.comp_id.orgNod.orgNodeApplId}"/></span>

                                     <c:set var="rowClass" value="selectedRow" 
scope="page"  />

                                </c:when>

                                <c:otherwise>

                                     <span class=""><c:out 
value="${row.comp_id.orgNod.orgNodeApplId}"/></span>

                                     <c:set var="rowClass" value="unselectedRow" 
scope="page"  />

                                </c:otherwise>               

                          </c:choose> 

                </display:column>

                            

                <display:column property="comp_id.orgNod.orgNodeApplId" width="20%" 
title="Id" />        

        ââ..        

             </display:table>

         

                *selectedRow is a request scope attribute
         
        It would be great if you have an elegant solution for this problem.
         
        Thanks in advance
         
        Regards
        Steve
         
        > I think you mean to say that when you click on the master the detail is 
displayed, and when
        > you save the detail, you want to return to the master and highlight the row 
that was
        > updated.  Is this correct?
        > 
        > Matt
        > 
        > > -----Original Message-----
        > > From: [EMAIL PROTECTED] 
        > > [mailto:[EMAIL PROTECTED] On 
        > > Behalf Of Steve Hostettler
        > > Sent: Sunday, January 04, 2004 4:54 AM
        > > To: [EMAIL PROTECTED]
        > > Subject: [displaytag-user] Row Highlight really needed
        > > 
        > > 
        > > Hi,
        > >  
        > > I need to produce a master-details representation, when you 
        > > click on the master the detail is updated. Once I've clicked 
        > > on the master I want to hightlight the selected row. I've 
        > > tried many solutions but nothing works.
        > >  
        > > Has somebody an idea?
        > >  
        > > Best regards,
        > > Steve

         

         

†+w­zf¢–+,¦‰ìo"0¸§»îâj[yÊ&y©ÞÆ«¶)Ë Õ¢¸î²Û!jº^Ÿ*.®É"–[Š    î¥ú+ 
,·ž.)îÅ;­¢¸š–ÂÞj¹Þêò¶§úèšØ^m«!²¥–Ú,ÊÆš)Â'$žŒ!¶Úý§l¢Çgr‰¿iØ×nüjYhr'wßh¥ÉbrGb²™ZÊֺǙ¨¥Šx%ŠË]ŠÊek+Z‚ë®X¬¶Ë(º·~Šàzw­†Ûi³ÿåŠËl²‹«qçè®§zßåŠËlþX¬¶)ß÷b²™ZÊÖºÇ

Reply via email to