Just as an FYI, I actually had the code as 

> <display:table
>      <% if (cellspacing != null) {%>
>         cellspacing = <%=cellspacing%>
>      <% } %>
>      <% if (cellpadding != null) {%>
>         cellpadding = <%= cellpadding %>
>      <% } %>

I was just typing it in here for reference and forgot the closing
brackets.

Thanks.

----------
Rango Keshavan
617 563 2435
 

> -----Original Message-----
> From: Keshavan, Rango
> Sent: Wednesday, March 15, 2006 12:39 PM
> To: '[email protected]'
> Subject: Defaults for the Table and Column parameters
> 
> Hi,
> 
> We are trying to create a generic include jsp page for our users so
that
> they don't have to know how the DisplayTag tag library is used, they
can
> specify the properties for DisplayTag in a properties file, we parse
them
> out and pass that to the include jsp for rendition.
> 
> What I was hoping to do was to do the following
> 
> <display:table
>      <% if (cellspacing != null) %>
>         cellspacing = <%=cellspacing%>
>      <% } %>
>      <% if (cellpadding != null) %>
>         cellpadding = <%= cellpadding %>
>      <% } %>
> 
> ETC...
> 
> But if I do this, when the jsp compiles, it doesn't like that I've got
the
>      <% if (cellspacing != null) %> construct there and it says my
> <display:table is not closed...  (I do have it closed down below after
all
> the params are specified).
> 
> So, I was then thinking of just doing setting my variables to defaults
> when I get them from the map that holds the properties, so that I
would
> have
> 
> <display:table
>         cellspacing = <%=cellspacing%>
>         cellpadding = <%=cellpadding%>
>          ETC...
> 
> The only problem is that I have to set defaults on this...
> 
> Is there any information on what these defaults should be for the
> parameters???
> 
> Is there any other way to do what I originally wanted to do??
> 
> Thanks much!
> 
> ----------
> Rango Keshavan
> 617 563 2435
> 



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to