How to embedded css in Struts using JBuilder 8

Hi everyone,
I have a serious problem in my GUI. Currently i am doin a web portal using struts,Enterprise JavaBean(EJB).
The softwares i am using are Jbuilder 8 and Dreamweaver MX.
The interface of my portal is coded in html with css involved.The problem is that once i converted my html coding into struts format using JBuilder 8, the css cannot be read in the struts.(For example, my font size,color,border is the what i have defined in css)
I have try to covert the html coding into 3.0 Browser compatible using dreamweaver MX. Although it is able to display some of the things that is specified in the CSS,
but some tags are still lost.
I will like to know if there is any method,steps or tag that i should take note in my coding so that i can embedded my CSS into my struts using JBuilder 8 without affecting my form color,aligments,size type,etc...
Regards,
Jong Hann

Hi bidris2003,
i have try the 2 different set of coding.The result is still the same. It doesn't read into the css thing. I have create a folder called css in WebPortal folder. The rest of my jsp pages are in WebPortal folder.
Example:(1) my jsp page contain in side the WebPortal folder.
C:\Documents and Settings\u\Desktop\GamePortal(with css)\WebPortal
(2) My css contain in css folder
C:\Documents and Settings\u\Desktop\GamePortal(with css\WebPortal\css
Example code 1:
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<html:html locale="true">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="layout.css" type="text/css">
<html:base/>
</head>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" rightmargin="0">
<table width="100%" border="0" cellspacing="0" height="49" cellpadding="0">
<tr>
<td rowspan="2" width="224" height="49" align="left" background="Images/headerbg2.jpg"><html:img width="224" height="49" src="Images/header.jpg"/></td>
<td height="27" background="Images/headerbg1.jpg">�</td>
<td width="250" height="27" background="Images/headerbg1.jpg" styleClass="headertext" valign="bottom">
     <html:link href="lostpassword.jsp" target="main">Lost
password</html:link> :: <html:link href="signup.jsp" target="main" style="text-decoration:none;">Join</html:link></td>
<td width="9" height="49" rowspan="2" align="right">
<div align="right"><html:img width="9" height="49" src="Images/header2.jpg"/></div></td>
</tr>
<html:form action="/loginAction">
<tr>
<td height="22" background="Images/headerbg2.jpg">�</td>
<td width="250" height="22" background="Images/headerbg2.jpg" valign="middle">
     <div align="right" styleClass="formtext" style="color:#FFFFFF"> Nick:
<html:text property="nick" styleClass="input"/>
Password:
<html:password property="password" styleClass="input"/>
<html:submit value="Go" property="Submit" styleClass="submit"/>
     </div>
</td>
</tr>
</html:form>
</table>
</body>
</html:html>
Example code 2:
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<html:html locale="true">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<html:base/>
<LINK rel="stylesheet" type="text/css"
ref="<html:rewrite page='/css/layout.css'/>">
</head>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" rightmargin="0">
<table width="100%" border="0" cellspacing="0" height="49" cellpadding="0">
<tr>
<td rowspan="2" width="224" height="49" align="left" background="Images/headerbg2.jpg"><html:img width="224" height="49" src="Images/header.jpg"/></td>
<td height="27" background="Images/headerbg1.jpg">�</td>
<td width="250" height="27" background="Images/headerbg1.jpg" class="headertext" valign="bottom">
     <html:link href="lostpassword.jsp" target="main">Lost
password</html:link> :: <html:link href="signup.jsp" target="main" style="text-decoration:none;">Join</html:link></td>
<td width="9" height="49" rowspan="2" align="right">
<div align="right"><html:img width="9" height="49" src="Images/header2.jpg"/></div></td>
</tr>
<html:form action="/loginAction">
<tr>
<td height="22" background="Images/headerbg2.jpg">�</td>
<td width="250" height="22" background="Images/headerbg2.jpg" valign="middle">
     <div align="right" class="formtext" style="color:#FFFFFF"> Nick:
<html:text property="nick" styleClass="input"/>
Password:
<html:password property="password" styleClass="input"/>
<html:submit value="Go" property="Submit" styleClass="submit"/>
     </div>
</td>
</tr>
</html:form>
</table>
</body>
</html:html>
CSS code inside the CSS folder:
font { font-family: Verdana, Arial, Helvetica, san-serif; font-size:9px;}
body {
               background-color: #FFFFFF;
               text-align: left;
               font-family: Verdana, Arial, Helvetica, san-serif;
               font-size:9px; font-weight:normal;
               padding:0;
               scrollbar-face-color:#FFFFFF;
               scrollbar-shadow-color:#AAAAAA;
               scrollbar-highlight-color:#AAAAAA;
               scrollbar-3dlight-color:#e5e4e4;
               scrollbar-track-color:white;
               scrollbar-arrow-color:#7f7f7f;
A { text-decoration: none;
     font-family:verdana, arial, helvetica, sans-serif;
     color:#5B5B5B;}
A:hover { color:#939393;}
A:active { color:#939393;}
A:link {color:#5B5B5B;}
A:vlink {color:#000000;}
.box {
               border-right: 1px solid #7F7F7F;
               border-top: 1px solid #7F7F7F;
               border-left: 1px solid #7F7F7F;
               border-bottom: 1px solid #7F7F7F;
               text-align:left;
               font-family: Verdana, Arial, Helvetica, san-serif;
               font-size:10px; font-weight:normal;
               color: #666666;}
.boxdashed {
               border-right: 1px dashed #7F7F7F;
               border-top: 1px dashed #7F7F7F;
               border-left: 1px dashed #7F7F7F;
               border-bottom: 1px dashed #7F7F7F;
               text-align:left;
               font-family: Verdana, Arial, Helvetica, san-serif;
               font-size:10px; font-weight:normal;
               color: #666666;}
.description {
               text-align:left;
               font-family: Verdana, Arial, Helvetica, san-serif;
               font-size:9px; font-weight:normal;
               color: #666666;}
.details {
               text-align:right;
               font-family: Verdana, Arial, Helvetica, san-serif;
               font-size:11px; font-weight:900; vertical-align:bottom;
               color: #666666;}
.formtext {
               font-family: Verdana, Arial, Helvetica, san-serif;
               font-size:8px; font-weight:900;
.forum {
               font-family: Verdana, Arial, Helvetica, san-serif;
               font-size:10px; font-color:#5B5B5B;
.forumtext {
               background-color:#FFFFFF;
               font-family: Verdana, Arial, Helvetica, san-serif;
               font-size:12px;vertical-align:top; padding:0;
               A { text-decoration: none;
                    font-family:verdana, arial, helvetica, sans-serif;
                    A:hover { color:#939393;}
                    A:active { color:#939393;}
                    A:link {color:#5B5B5B; text-decoration:none;}
                    A:vlink {color:#000000; text-decoration:none;}
.forumtext2 {
               background-color:#EEEEEE;
               font-family: Verdana, Arial, Helvetica, san-serif;
               font-size:10px; vertical-align:middle; padding:0;
.forumheader {
               font-family: Verdana, Arial, Helvetica, san-serif;
               font-size:10px; font-weight:900; color:white;
               height:20px; text-align: center;
.forumheader2 {
               font-family: Verdana, Arial, Helvetica, san-serif;
               font-size:10px; font-weight:normal; color:white;
               height:20px; text-align: center;
.headertext {
               text-align:right;
               font-family: Verdana, Arial, Helvetica, san-serif;
               font-size:9px; font-weight: bold;
               color: #FF0099;
               text-decoration: none
.headertext2 {
               text-align:left;
               font-family: Verdana, Arial, Helvetica, san-serif;
               font-size:10px; font-weight: bold;
               color: #5B5B5B;
               text-decoration: none
.input {
               border: 1px solid #5B5B5B;
               width: 53px;
               height: 12px;
               color: #FF0099;
               font-family: Verdana, Arial, Helvetica, sans-serif;
               font-size: 9px;
               text-align: left; line-height: 11px;
               padding: 0px;
.input2 {
               border: 1px solid #FFFFFF;
               border-bottom: 1px solid #7F7F7F;
               border-right: 1px solid #7F7F7F;
               border-top: 1px solid #7F7F7F;
               border-left: 1px solid #7F7F7F;
               width: 270px;
               height: 18px;
               background-color: #FFFFFF;
               color: #7F7F7F;
               font-family: Verdana, Arial, Helvetica, sans-serif;
               font-size: 9px;
               text-align: left;
               padding: 0px;
               overflow:auto;
.submit {
               border: 1px solid #FFFFFF;
               border-bottom: 1px solid #7F7F7F;
               border-right: 1px solid #7F7F7F;
               border-top: 0px;
               border-left: 0px;
               width: 25px;
               height: 15px;
               background-color: #FFFFFF;
               color: #7F7F7F;
               font-family: Verdana, Arial, Helvetica, sans-serif;
               font-size: 9px;
               text-align: center;
               padding: 0px;
.updates {
               text-align:left; border:1px solid #939393;
               font-family: Verdana, Arial, Helvetica, san-serif;
               font-size:10px; font-weight:normal;
               color: #666666;
               padding: 10px;}

Similar Messages

  • How to run a jar file in JBuilder

    Hi there
    I need to know how to run a jar file using JBuilder. Thanks :)
    Countess

    well i have a german version of jbuilder and there it is under
    experten Archiv-builder
    look at something that has a similar name

  • Using CSS for Struts JSP presentation using tiles

    hi all,
    i want to use CSS instead of table TRs ,TDs,TABLE in my jsps.
    can anyone help me how can i achieve that?
    i want to use css with struts presentation using tiles
    i couldn't find much information about using CSS for jsps on the web can anyone guide me with proper information in this regard?
    regards and thanks in advance

    Actually, I just realized it's the exact same syntax as regular html (which I was thinking, but for some reason it didn't work the night I posted):
    <head>
      <link rel="stylesheet" href="yourstylesheet.css"/>
    </head>I'm not sure why it didn't work for me the first time.
    theAmerican

  • How can I generate a component array using JBuilder?

    Now I'm using JBuilder to design my program's GUI. I wanted a JTextField array like this:nums[0]~nums[2].So I draged three JTextFields into the container at JBuilder's design view. But when I set the names of them as nums[x](x=0,1,2). I got a Error Message. It told me that I used a illegal name. How should I do, please?
    thank you a million!

    The DIO ports on a MIO will not satisfy your needs (unless you move to LV RT).
    They do not support buffered outputs.
    Your update rate (how often you can set the port and clear it) is going to be limited by how fast (a-hem slow) windows will let you iterate,
    and,
    be non-determinstic.
    You could use,
    1) LV RT with the existing board, or
    2) FieldPoint PWM module, or
    3) Arbitrary waveform generators, or
    4) HS DIO board, or
    5) use the analog output of your baord where you que-up a 0 -5V waveform of the proper shape (i.e. make sure that the duty cylce fraction of the update values are high, the rest low).
    This is just to get a PWM signal out.
    Now there is another issue. Determinism. How often do you plan on reading your inputs and making a change to you
    r PWM? If you plan on doing more often that 10/second, write your code to handle windows going out to la-la land when you expect it to be working.
    Can you tell I like LV-RT.
    I hope my ramblings have helped.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to set Css in mobile device + OS  using Flex 4.5 Mobile

    Hi,
    how to set Css for mobile device + OS
    is it possible
    @media (device : "IPAD") and (application-dpi: 160) and (os-platform: "IOS") { }
    Can anyone help to me.

    BorderContainer wont resize if the fixed width is specified, if u want to give some minimum width you can use minWidth . Give  Width = "100%", now it will get Resizing capabilities

  • How to update base java and use same jbuilder version

    hi,
    I use jbuilder 3.5, I need to use java1.4 but i dont know how to upgrade java while using the same jbuilder version.
    I tried changing the [prooject default properties such that the path pin[points to jdk1.4 it recognized this move and it automatically changed all the references upon specifying the home directory of jdk1.4. However, when i rename the jdk1.2.2 folder and then try to reload jbuilder it say vm error could not start vm.
    I need to remove 1.2.2 from my system and i want jbuilder to use 1.4 any ideas how this can be done.
    Thanks
    Derik
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    I remember JBuilder 3.x had quite a few little bugs and memory leaks. But I do know it does let you change the jdk, unlike the later versions (which force you to pay for the non-'personal' versions to get this and many other features)
    Toi be honest, if it's giving you grief, I swop to eclipse, which doesn't even come with a java environment, so it's completely separate. And a far nicer tool as well. And it's free, open source, blah blah <more buzz-words go here>.

  • Problem in struts using JDeveloper10.1.2

    hi
    Iam completly new to jdeveloper
    Iam using jdev 10.1.2 for my simple struts application
    I have
    action class -- LoginAction
    form bean -- login (using DynaActionForm)
    login.jsp to enter username
    success.jsp for welcom msg
    failure.jsp --- in this i use one submit btn when i press this it will go to login.jsp for relogin
    <form action="/login.jsp">....
    the problem is
    In LoginAction
    String password=(String)((DynaActionForm)form).get("password");
    // String pwd =request.getParameter("username");
    if(password.equalsIgnoreCase("oracle"))
    return mapping.findForward("success");
    else
    return mapping.findForward("failure");
    iam import all the class for the respective reff variables.
    But it will indicate err underline(blue) under text which are in bold saying msgs as
    --method get(java.lang.string) not found in org.apache.struts.action.DynaActionform
    the samething for remaining two showing on ActionMapping
    plese tell me where is the problem
    running on Embedded OC4J SERVER
    error message is
    http://hostname:8988/hello_struts1-ViewController-context-root/login.do
    07/07/19 17:12:31 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized
    Jul 19, 2007 5:12:32 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    Jul 19, 2007 5:12:32 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    Jul 19, 2007 5:12:32 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='view.ApplicationResources', returnNull=true
    Jul 19, 2007 5:12:32 PM org.apache.struts.action.RequestProcessor processException
    WARNING: Unhandled Exception thrown: class java.lang.NullPointerException
    thanks

    Duplicate post:
    problem on struts using jdeveloper 10.1.2
    user583549,
    I see you got an answer from Shay in the other post.
    Good Luck,
    Avi.

  • How to apply CSS to Existing Site

    Help! I am a Macromedia Dreamweaver user. I manage a few simple sites on a volunteer basis. I was recently forced by a new computer purchase to upgrade to CS4 for Vista compatibility.
    I have never used Style Sheets. I've spent several hours this afternoon combing the web for instructions and found that most of the information assumes way more knowledge than I have, and the more basic articles seem to provide nice overviews of what CSS is and why one might want to use it, or possibly how to build a new site using CSS, but they have not answered my "how to" questions about my existing sites.
    My two most pressing unanswered question are these:
    1)  I seem to have successfully created a new CSS rule by selecting a section of text in the document, setting the Property Inspector to CSS and then naming the rule and choosing a font style and size (although the new rule dialog box never appeared - I did it all in the Property Inspector). Do I have to go through the whole site and apply this rule individually to each section of body text? The existing document has all the text set by its specific features (e.g. Arial Bold 10), not using "heading 1" "heading 2" etc.
    2) I do not use Dreamweaver to upload my finished documents. I use a site-managemet ftp page on my host server. Once I've created these CSS style rules, is there anyting that I need to upload besides my edited pages?
    Thank you in advance for help.

    If you are using the same font family, font size, colour, etc... you can use a separate style sheet and just use
    body {font-size:14px; font-family:arial, helvetica, sans-serif}
    this will make all your site the same body style.
    Do I have the book for you:  CSS in easy steps by Mike McGrath  isbn#1-84078-301-x
    It's a really good beginner's book to CSS.  And really easy to read!  Was a huge help to me in my beginnings of CSS.
    Also, www.lynda.com is a great resource.
    Hope this helps!
    You'll need to upload that extra css page with the rest of your site!
    Message was edited by: JulesN

  • How to emulate CSS fixed position in Flex 3

    Does anyone know how to emulate CSS fixed positioning in Flex 3?
    Canvas (absolute layout) uses coordinates same as HTML/CSS absolute positioning.
    How do I achieve fixed positioning where the panel is taken out of the flow and positioned relative to the application chrome?  (similiar to applicationcontrolbar, but not exactly)
    Someone please tell me if it is possible and some ideas how to achieve.
    Mike

    do not use the forum as marketing place for you site. if you want to share the content with SDN users, you have the blog area, wiki, article area.
    raja

  • How to import a *.jar file with Jbuilder ?

    Hi,
    I just begin to use Jbuilder and when I use a sample with this line in the program:
    import com.borland.dbswing.*;
    The debugger find an error. In fact it cannot find com.borland....*;
    Do you know what to import how to find it and where to do it with Jbuilder
    Thanks, I am really lost

    JBuilder has this rather patronising notion of "libraries" - taking classpaths to a whole new level of idiocy!
    In "project properties" there should be a tab called "required libraries". I've no idea which library the package you want is in - have a look at the libraries that JBuilder comes with - it might be obvious.

  • Difference with embedded CSS vs loading runtime CSS

    Hi,
    Move from embedded CSS to runtime CSS, but having some subtle differences.
    note the numeric stepper handles have default colors, this is with embedded css and what the client wants
    This one is runtime css note the handles are black.
    I had this in both before embedded and runtime CSS
    NumericStepper {
       fillAlphas: 0.6, 0.4, 0.75, 0.65;
       fillColors: #ffffff, #cccccc, #ffffff, #eeeeee;
       themeColor: #92de78;
    I added this to the runtime css and entered the style name for the numeric stepper but still no luck
    .numericStepper {
            fillAlphas: 0.6, 0.4, 0.75, 0.65;
            fillColors: #ffffff, #cccccc, #ffffff, #eeeeee;
            themeColor: #92de78;
    Any ideas complete css below. BTW my alerts are not using the runtime css as well yet embedded css works fine  
    @font-face {
    src:url("auth_module/poetica.swf");
    font-family: "Poetica Std";
    Application {
       backgroundImage: Embed(source="/images/bkg.gif");
       backgroundSize: "100%";
    NumericStepper {
       fillAlphas: 0.6, 0.4, 0.75, 0.65;
       fillColors: #ffffff, #cccccc, #ffffff, #eeeeee;
       themeColor: #92de78;
            .numericStepper {
            fillAlphas: 0.6, 0.4, 0.75, 0.65;
            fillColors: #ffffff, #cccccc, #ffffff, #eeeeee;
            themeColor: #92de78;
    Alert{
    color : #000000;
    title-style-name : "alertTitle";
    button-style-name :"alertButtonStyle";
    header-height:21;
    border-thickness: 1;
    drop-shadow-enabled: true;
    drop-shadow-color :#CCCCCC;
    shadowDirection:right;
    shadowDistance:7;
    background-color: #ffffff;
    corner-radius :6;
    border-style :solid;
    header-colors : #DDDDDD, #ffffff;
    footer-colors : #DDDDDD, #ffffff;
    border-color : #333333;
    .alertButtonStyle {
    color : #000000;
    .alertTitle{
    font-family :Verdana;
    font-size :10;
    font-weight :bold;
    text-align :left;
    color :#000000;
    .selectedBox {
    headerColors:#336633,#447744;
    borderColor:#447744;
    titleStyleName: "selectedHeaders";
    .legendBox {
    border-thickness: 2;
    border-style:solid;
    border-color: #93C789;
    .legendMask {
    stroke-color: #333333;
    stroke-width:2;
    shadow-color: #333333;
    .legendTitle {
    font-size :12;
    font-weight :bold;
    .accordionHeaders {
    font-family: "Poetica Std";
    font-size:14pt;
    color:#FFCC00;
    .copyrighttext {
    font-family: "Poetica Std";
    font-size:14pt;
    TextInput {
       color: #0b333c;
    List {
       color: #0b333c;
    CheckBox {
       themeColor: #92DE78;
       fillColors: #ffffff, #cccccc, #ffffff, #eeeeee;
       color: #0b333c;
    .piecharBackground {
    backgroundImage: Embed(source="/images/bkg.gif");
       backgroundSize: "100%";
       color: #93C789;
    DataGrid {
       color: #0b333c;
       rollOverColor: #92de78;
       selectionColor: #93C789;
       textRollOverColor: #cc3333;
       headerColors: #000000, #333333;
       headerStyleName: "mydataGridHeaderStyle";
    .mydataGridHeaderStyle {
       color: #92de78;
    ApplicationControlBar {
       highlightAlphas: 0.4, 0;
       fillAlphas: 1, 1;
       cornerRadius: 0;
       fillColors: #000000, #333333;
       backgroundColor: #000000;
       color: #93C789;
    CheckBox {
    color: #93C789;
    Accordion {
       fillAlphas: 1, 1, 1, 1;
       fillColors: #000000, #333333, #000000, #333333;
       selectedFillColors: #000000, #333333;
       themeColor: #92de78;
       textRollOverColor: #cc3333;
       headerStyleName: "myaccordionHeader";
       borderColor: #93C789;
       backgroundImage: Embed(source="/images/bkg.gif");
       backgroundSize: "100%";
       color: #92de78;
    .myaccordionHeader {
       color: #92de78;
    TabNavigator {
    tabStyleName: "myTabs";
    selectedTabTextStyleName: "mySelectedTabs";
    dropShadowEnabled: true;
    backgroundColor: #2e2e2e;
    borderColor: #93C789;
    .mySelectedTabs {
    color: #92de78;
    .backGroundPanel {
            backgroundImage: Embed(source="/images/bkg.gif");
       background-size:"100%";
       color: #93C789;
       textRollOverColor: #92de78;
       dropShadowColor: #92DE78;
    Button {
       fillAlphas: 1, 1, 1, 1;
       fillColors: #000000, #333333, #333333, #000000;
       color: #92de78;
       textRollOverColor: #cc3333;
       borderColor: #93C789;
       themeColor: #92de78;
    RadioButton {
       themeColor: #92DE78;
       fillColors: #ffffff, #cccccc, #ffffff, #eeeeee;
       color: #0b333c;
    CheckBox {
       themeColor: #92DE78;
       fillColors: #ffffff, #cccccc, #ffffff, #eeeeee;
    ComboBox {
       themeColor: #92DE78;
       fillColors: #ffffff, #cccccc, #ffffff, #eeeeee;
       color: #000000;
    DateChooser {
       headerColors: #000000, #333333;
       themeColor: #92DE78;
       headerStyleName: "mydateChooserHeaderStyle";
       fillColors: #ffffff, #cccccc, #ffffff, #eeeeee;
    VScrollBar {
       trackColors: #333333, #666666;
       themeColor: #000000;
       borderColor: #000000;
    Panel {
       borderColor: #000000;
       borderAlpha: 1;
       titleStyleName: "mypanelTitle";
       dropShadowColor: #000000;
       roundedBottomCorners: true;
       headerColors: #333333, #000000;
    .selectedHeaders{
    color :#000000;
    font-weight:bold;
    .windowStyles {
                color: #92de78;
            TitleWindow {
            color: #92de78;
            closeButtonSkin: Embed("/images/del_24.png");
                /* Set values from defaults.css to null. */
                closeButtonDisabledSkin: Embed("/images/del_24.png");
                closeButtonDownSkin:Embed("/images/del_24.png");
                closeButtonOverSkin:Embed("/images/del_24.png");
                closeButtonUpSkin: Embed("/images/del_24.png");

    The documentation says that a NumericStepper is composed of a TextInput and 2 buttons so I do understand why the buttons are getting styled the way they are.
    I added a Button and a NumericStepper to a text application using Embedded Styles and it did produce the Button style effect.  I took the Button out and of course the Numeric buttons were rendered as the default Flex style of off grey / white.
    Some of the Flex objects have additional style properties that allow you to style the individual components of the object however the NumericStepper does not seem to have that option.
    I think the only way around it would be to get the children of the stepper and style them individually
     var btn:Button = numericStepper.getChildAt(1) as Button;
    btn.setStyle("fillColors",["#ffcccc","#cccccc"]
    and do the same thing for child 2
    or extend the NumericStepper and override the style to be what you would like.

  • Passing values to action form in struts using html:link tag in struts

    hi
    As we can post values to action form bean in struts using a <html:text> tag in side a form.
    Can the same be achieved by using a html:link attribute.
    If not then how can this be achieved (i.e. posting a form on click of a link and populating action form bean property for the same).
    thanx in advance.

    Crosspost:
    http://forum.java.sun.com/thread.jspa?threadID=5244035&tstart=0

  • How can I stop the Struts messages

    How can I stop getting Struts messages such as:
    RequestProcessor - -Processing a 'POST' for path '/login'RequestProcessor - -Processing a 'GET' for path '/Welcome'
    I cannot deploy my application on the production server because these messages will be all sent to the log files through System.out.
    In one of other postings, someone suggested adding the commons-logging.properties, and the simplelog.properties files to the project. Unfortunately, that didn't help.
    I appreciate your help.

    Struts 1.1 Beta-2 (which JDev 9.0.3, 9.0.3.1, and 9.0.3.2 ship with) has a bug where you cannot silence all of the diagnostics.
    It's been fixed in the Struts 1.1 final release.
    See this article on my web log for how to upgrade the BC4J Toy Store appliacation to use Struts 1.1 Final. You can use the tips to then upgrade your own application, too.
    http://radio.weblogs.com/0118231/2003/07/07.html

  • How to do Pagination in struts application????

    My struts application lists the records from database using iterator.
    I use ArrayList in Action class and i access the list in JSP through by setting request variable in action class.But if i have 10 fields which are multi line format such as address.I need to restrict records 4 per page.how to do that??
    I am stuck in pagination of struts.

    Use dispatch action.Here i am displaying only 2 records per page because my appln required 10 fields you can extend it to any count.You can use this..
    public class FeedListAction extends DispatchAction {
         public ActionForward list(ActionMapping mapping,
                                    ActionForm form,
                                    HttpServletRequest request,
                                    HttpServletResponse response)
                 throws IOException {
              //List method is called first when we want to list our records.
                                      FeedForm frm = (FeedForm)form;
                                      ArrayList feedlist = new ArrayList();
              //session is used to know where are we..
                                      HttpSession ses = request.getSession(true);
              // two parameters which will be used to limit the records for perticular page.
                                      String s = "0";
                                      String e ="2";
              //call the method which will be used to display the records..
                                      feedlist = frm.getEmployees(Integer.parseInt(s),Integer.parseInt(e));
              //set the list so that jsp page will use to display it.
                                      request.setAttribute("list", feedlist);
              // set the attributes so that they are used while navigation and
              // these attributes wiil be used by the  other methods of Dispatch action.
                                      ses.setAttribute("s", s);
                                      ses.setAttribute("e", e);
              //Find the success page.
                                      return mapping.findForward(success);
              //end of List method
         public ActionForward next(ActionMapping mapping,
                                    ActionForm form,
                                    HttpServletRequest request,
                                    HttpServletResponse response)
                  throws IOException {
                                      //here add code for session.          
                                    int en =0;
                                    int st=0;
                                    st = Integer.valueOf( s ).intValue();
                                      en = Integer.valueOf( e ).intValue();
    // to know whether next has exceeded the recordset limit we need to take number of rows
    // which can accessed through nrows function.
                                      int nrows = frm.rows();
                                      if(st==(nrows-2)){
                                           st = nrows-2;
                                      }else{
                           st=st+2;en=2;                                      
      //go for setting values in your module (which will interact with dadtabase to fetch records).                                           ses.setAttribute("s",Integer.toString(st));
    //then set session attribute.                                  
                                      return mapping.findForward(success);
           //end of next method.     
         }

  • Question about the CSS behavior when using layer 3 sticky and sticky table

    Hi everyone,
    I have a question about the CSS behavior when using layer 3 sticky and sticky table is full.
    If I configure layer 3 sticky and specify the inactivity timeout as below, how does the CSS
    handle subsequent needed sticky requests ?
    advanced-balance sticky-srcip
    sticky-inact-timeout 30
    CSS document says that
    Note:
    If you use the sticky-inact-timeout command to specify the inactivity timeout
    period on a sticky connection, when the sticky table becomes full and none of
    the entries have expired from the sticky table, the CSS rejects subsequent
    needed sticky requests.
    My question is what is the next reaction by doing the CSS if the CSS is in the
    following condition:
    when the sticky table becomes full and none of the entries have expired from
    the sticky table, the CSS rejects subsequent needed sticky requests
    Does CSS just rejects/drops subsequent needed sticky requests ?
    or
    Does CSS does not stick subsequence requests to particular service but CSS forward
    subsequence requests with round-robin basis ? which means if the sticky table is full,
    the CSS just works round-robin load balancing fashion for subsequence requests ?
    Your information would be appreciated.
    Best regards,

    Hello,
    There is a good document explaining this on Cisco web site
    http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_tech_note09186a0080094b4b.shtml
    It depends if the sticky-inact-timeout is used or not. If not, it's FIFO (the oldest entry in the sticky table is removed). If yes, the CSS will reject the next sticky request.
    Rgds,
    Gaetan
    Rgds
    Gaetan

Maybe you are looking for

  • IPhone 4s no longer streams via USB in 2010 Honda

    Previously with my iphone 4, I could connect to the USB port in my 2010 Honda Civic and also to the Auxiliary jack via a retractable auxiliary cable.  The phone was positioned at dash height and I could stream music over the 6 car speaksers from Pand

  • Do any one know how much it is to get the new ipod touch with the camera if you trade in your old ipod touch?

    do any one know how much it is to get the new ipod touch with the camera if you trade in your old ipod touch?

  • Safari won't view QuickTime object - *ALL* other browsers will...

    Ok this is nuts. Our client has a movie that will be viewed mostly by Safari users and it's the ONLY browser it doesn't work in. However, if you paste the URL for the movie into the location bar it loads fine. I'm new at this company and i've been gi

  • Intercompany Billing Scenerio

    Dear Sap Guru's , In the Intercompany billing. My scenerio as follows. Company : BP01 Plant BP11 Sales Organization  BP01 Company 2 : 2100 Plant Delivery : 2101 Now I have created order with Sales organization BP01 and delivery pant 2101 of company 2

  • Set JTable column width

    Hi, I would like to set the column width of JTable. ======================================== JTable table; DefaultTableModel tableModel; tableModel = new DefaultTableModel(); table = new JTable( tableModel); JScrollPane scrollPane = new JScrollPane(t