Hi Chris, Attached the images.
Thanks, Srineel On Tue, Sep 10, 2013 at 1:17 PM, Chris Pratt <thechrispr...@gmail.com>wrote: > Srineel, your images didn't come through the mail list, any chance you > could PasteBin them or put them somewhere else accessible? > (*Chris*) > > > On Tue, Sep 10, 2013 at 7:50 AM, Srineel Mazumdar <smaz19...@gmail.com > >wrote: > > > Hi Chris, > > > > Thanks for the help. But the change I need is bit different . > > > > What I need : > > > > > > [image: Inline image 1] > > What I am getting : > > > > [image: Inline image 2] > > > > Code for image 1 : > > > > <%@ include file="IncludeTop.jsp" %> > > <%@ taglib prefix="html" uri="http://jakarta.apache.org/struts/tags-html > " > > %> > > > > <html:form action="/shop/newOrder.do" styleId="workingOrderForm" > > method="post" > > > > > <TABLE bgcolor="#008800" border=0 cellpadding=3 cellspacing=1 > > bgcolor="#FFFF88"> > > <TR bgcolor="#FFFF88"><TD colspan=2> > > <FONT color=GREEN size=4><B>Payment Details</B></FONT> > > </TD></TR><TR bgcolor="#FFFF88"><TD> > > Card Type:</TD><TD> > > <html:select name="workingOrderForm" property="order.cardType"> > > <html:options name="workingOrderForm" property="creditCardTypes" /> > > </html:select> > > </TD></TR> > > > > > > Code for image 2 : > > > > <%@ include file="IncludeTop.jsp" %> > > <%@ taglib prefix="html" uri="http://jakarta.apache.org/struts/tags-html > " > > %> > > <%@ taglib prefix="s" uri="/struts-tags" %> > > > > <%-- <html:form action="/shop/newOrder.action" styleId="workingOrderForm" > > method="post" > --%> > > > > <form action="<c:url value="/shop/newOrder.action"/>" method="POST"> > > <!-- <TABLE bgcolor="#008800" border=0 cellpadding=3 cellspacing=1 > > bgcolor="#FFFF88"> --> > > <TABLE border=0 cellpadding=3 cellspacing=1 bgcolor="#008800" > > > <TR bgcolor="#FFFF88"><TD colspan=2> > > <FONT color=GREEN size=4><B>Payment Details</B></FONT> > > </TD></TR> > > <tr bgcolor="#FFFF88"><s:select cssStyle ="background-color : yellow" > > label = "Card Type" > > headerKey="-1" headerValue="Cards" > > list="cardTypeList" > > name="cards" /></tr> > > Please let me know where I am going wrong. > > > > Thanks, > > Srineel > > > > > > On Mon, Sep 9, 2013 at 2:36 AM, Chris Pratt <thechrispr...@gmail.com > >wrote: > > > >> Try cssStyle="background-color:yellow;" > >> (*Chris*) > >> > >> > >> On Sun, Sep 8, 2013 at 9:54 PM, Srineel Mazumdar <smaz19...@gmail.com > >> >wrote: > >> > >> > Hi, > >> > > >> > I am using s:select to create a dropdown and then checked the html. I > >> > wanted to add bgcolor as yellow. I referred to the following link > >> > > >> > http://struts.apache.org/release/2.2.x/docs/struts-2-themes.html > >> > > >> > but still not sure how to put the background clour as yellow. Can > anyone > >> > provide any pointers ? > >> > > >> > Also, is it OK to use JSTL tags in JSPs in a Struts 2 application ? > >> > > >> > Thanks, > >> > Srineel > >> > > >> > > > > >
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org