> Thanks for your reply, Matt. I have looked at the examples, but this 
> is not quite what I want. I primarily want to create a table like this:
> 
> Company     Name            Address
> ----------------------------------------
> Ericsson    Bosse Larsson   Gangvegen 2
> Evjen       Bard            Testroad 1
> Exit        My              Goneroad 2
> 
> If you click on <Evjen> it should be shown as:
> 
> Company     Name            Address
> ----------------------------------------
> Ericsson    Bosse Larsson   Gangvegen 2
> Evjen       Bard            Testroad 1
>             Birthdate       Alive
>             ----------------------------
>             23.01.66        Still standing
> Exit        My              Goneroad 2
> 
> Company, name, address, birthdate and alive are just column headings.
> 
> If this is not possible, I want another small window to be opened in 
> front with the detailed information.
> 

This functionality does not exist in the display tag.  You could do it with
JavaScript and dynamically insert table rows
(http://www.experts-exchange.com/Manager/Web/Web_Languages/JavaScript/Q_20419635.html),
but you'd have to either 1) have the data (hidden) in the page already, or 2)
use a JavaScript remote scripting library to get the details.  Also, you might
be able to use a scriptlet and show hide a grouping, but I doubt it. 

For the small window pop-up, use a decorator to write <a href="#"
onclick="window.open..." /> around the value.

HTH,

Matt


-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to