How to apply style sheets to table layout
hi i want to apply styles to my table layout region, i gave style sheets which are in OAF myhtml\OA_HTML\cabo\styles but i dint find any changes in my table layout, can any give one give me an idea of how to do it....
Check the OAF personalization guide for details on custom CSS. It won't be possible for me to summarize the whole thing here.
--Shiv
Similar Messages
-
How to apply style sheet (.css) in Weblogic directory listing
Hi,
We are migrating a directory listing application from Apache to Weblogic.
Earlier we did this by Apache httpd.conf entry like below :
<Directory "/opt/apache/httpd-2.1.9/htdocs/Myreportfolder">
IndexOptions FancyIndexing FoldersFirst NameWidth=* XHTML
IndexOrderDefault Descending Date
IndexStyleSheet "/css/style.css"
</Directory>
/opt/apache/httpd-2.1.9/htdocs folder has all it's usual resource files.
We were able to see documents in "Myreportfolder".
Now we have moved to Weblogic and using virtual directory mapping as below and we are trying to achieve the same thing:
<?xml version="1.0" encoding="UTF-8" ?>
- <wls:weblogic-web-app xmlns:wls="http://www.bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
- <wls:container-descriptor>
<wls:index-directory-enabled>true</wls:index-directory-enabled>
<wls:index-directory-sort-by>LAST_MODIFIED</wls:index-directory-sort-by>
</wls:container-descriptor>
- <wls:virtual-directory-mapping>
<wls:local-path>/Myreportfolder</wls:local-path>
<wls:url-pattern>/*</wls:url-pattern>
</wls:virtual-directory-mapping>
<wls:context-root>/getreports</wls:context-root>
</wls:weblogic-web-app>
We are able to view the reports but we do not get look-and-feel of Apache like directory listing.
but we encounter below issues:
1) File/Folder icons are not visible - we want to use style sheets in http header from the response that is returned from weblogic server
2) Filename is limited to 29 characters when it is showing
3) Files are not sortable as Descending order - we sorted using tag <wls:index-directory-sort-by>LAST_MODIFIED</wls:index-directory-sort-by> but the latest file is shown at the last
We are thinking that Weblogic must be having some configuration like Apache httpd.conf where we can apply style sheets (css ).
We would appreciate af anyone can provide better insight into the issue.
or is it possible to extend weblogic.servlet.fileservlet class to serve this purpose.
Thanks & regards,
RabiHi Vikash,
Check the below links which will you idea on the same.
Stylesheet for WDA without integrating in SAP Portal
Apply custom css to WebDynpro application
Thanks
KH -
How to apply style sheet to design page
hi all,
i have a discussion,
how to apply a style sheet to design page in webdynpro.
thanks
vikashHi Vikash,
Check the below links which will you idea on the same.
Stylesheet for WDA without integrating in SAP Portal
Apply custom css to WebDynpro application
Thanks
KH -
How to apply Style Sheets to all ComboBoxItems.
Here in the following code i have referred to stylesheet for each data item. Help me how I can set a stylesheet for all comboboxitems only one time.
<ComboBox
Foreground="Black"
BorderBrush="Black"
HorizontalAlignment="Left" Margin="108,280,0,0" VerticalAlignment="Top" Width="200" Style="{StaticResource ComboBoxStyl}">
<ComboBoxItem Content="One" IsSelected="True" Style="{StaticResource ComboBoxItemStyle1}"/>
<ComboBoxItem Content="Two" Style="{StaticResource ComboBoxItemStyle1}"/>
<ComboBoxItem Content="Three" Style="{StaticResource ComboBoxItemStyle1}"/>
<ComboBoxItem Content="Four" Style="{StaticResource ComboBoxItemStyle1}"/>
<ComboBoxItem Content="Five" Style="{StaticResource ComboBoxItemStyle1}"/>
</ComboBox>Hi MohanrajKrishnamoorthy,
I will recommend you create the ComboBox like the following:
<ComboBox
Foreground="Black"
BorderBrush="Black"
HorizontalAlignment="Left" Margin="108,280,0,0" VerticalAlignment="Top" Width="200">
<ComboBox.ItemTemplate>
<DataTemplate>
//Add style or control in here
</DataTemplate>
</ComboBox.ItemTemplate>
<!--<ComboBoxItem Content="One" IsSelected="True" Style="{StaticResource ComboBoxItemStyle1}"/>
<ComboBoxItem Content="Two" Style="{StaticResource ComboBoxItemStyle1}"/>
<ComboBoxItem Content="Three" Style="{StaticResource ComboBoxItemStyle1}"/>
<ComboBoxItem Content="Four" Style="{StaticResource ComboBoxItemStyle1}"/>
<ComboBoxItem Content="Five" Style="{StaticResource ComboBoxItemStyle1}"/>-->
</ComboBox>
After that all the ComboBox item will use the same style as you define in the DataTemplate.
Best Regards,
Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to Email POWL Reports / Apply Web Dynpro ALV Table Layout Settings
Hi all,
we want to be able to automatically extract POWL reports and email them to users in a batch job.
We can refresh a POWL report using FM POWL_QUERY_REFRESH, and access the raw report data using method CL_POWL_QUERY_ACCESSOR=>GET_CACHED_RESULTS.
However this merely gives us a table of raw data. No view layout (ie. Web Dynpro ALV table layout) settings have been applied, so there is no hiding or arranging of columns, row sorting, calculations or filters.
Ideally we would like to be able to specify a query and view layout. The batch job would then refresh and extract the data, and format the data according to the view layout before sending it on as an attachment in an email.
Does anyone know how to determine and apply Web Dynpro ALV table layout settings to format table data outside of the Web Dynpro environment ?
Thanks & regards,
GroganHi Grogan,
Did you find out how this works..i also have the same issue.
Thanks
Jdsouza -
Is there an example of this somewhere or some documentation? I'm using Jato
1.2.
Also, in the emails that fly back and forth I have seen a date sample
mentioned.
Where is this? I have got the JatoSamples.war deployed and I don't see a date
example. I just wonder if I'm missing some other Jato examples.
Thanks.
BelindaThere is some confusion here. The JatoSample project that shipped with the
Developer CD does not include the Components samples (which includes the Date
example). The "live" sample that is viewable on the intenal web site
http://ias.red.iplanet.com/jato/ does include the Component samples.
We intentionally disabled the Component samples in the Developer CD version
because at the time that it shipped we had an unresolved issue with running the
Component samples on certain servlet containers. That issue has been favorably
resolved.
The downloadable version of Jato 1.2 should contain a version of the JatoSample
which does have the Component sample enabled.
----- Original Message -----
From: Matthew Stevens
Sent: Thursday, November 29, 2001 8:39 AM
Subject: RE: [iPlanet-JATO] applying style sheets to Jato
Belinda,
Sorry for the delay. JATO is now available on http://developer.iplanet.com
and the JATO Sample WAR file is available separately for download - so make
sure you have this latest example. The sample is available LIVE on internal
sites which I will send you offline. We are working to have this and other
samples running live on the public web site shortly.
For the Date component example please check out the Components section in
the Index of the running application and the following in the WAR file
WEB-INF/classes/jatosample/module1/E0130Viewbean.java
WEB-INF/jatoSample.tld
WEB-INF/classes/jatosample/components
Could you please elaborate on your requirements for style sheets. Other
than using style sheets normally as you would with JSPs, what are you trying
to do? We would like to be focused in our answers.
matt
-----Original Message-----
From: Belinda Garcia [mailto:<a href="/group/SunONE-JATO/post?protectID=014056235009078154169082148140172241239144044214017123152006048067">belinda.garcia@s...</a>]
Sent: Tuesday, November 27, 2001 5:08 PM
Subject: [iPlanet-JATO] applying style sheets to Jato
Is there an example of this somewhere or some documentation? I'm using Jato
1.2.
Also, in the emails that fly back and forth I have seen a date sample
mentioned.
Where is this? I have got the JatoSamples.war deployed and I don't see a
date
example. I just wonder if I'm missing some other Jato examples.
Thanks.
Belinda
For more information about JATO, please visit:
http://developer.iplanet.com/tech/appserver/framework/index.jsp
For more information about JATO, please visit:
http://developer.iplanet.com/tech/appserver/framework/index.jsp
[Non-text portions of this message have been removed] -
Applying Style Sheets to all Project Topics
Currently I have topics that use different style sheets (there are 5 listed, although I only created one).
I want all topics to use the same style sheet.
Is there any way to apply a Style to all Project Topics?Welcome to the forum.
Go to the topic list and select all topics, then right click and select Properties. You can assign the new CSS there. Any style names in your topics not included in the new CSS will of course be broken and need to be assigned to whatever style you choose.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Discoverer item type - how to apply style
Hi.
On OracleAS 10.0.04, we have links to disco portal & viewer (added an item, chose Discoverer as item type, and typed "viewer" / "plus" in the DiscoItem section).
These to links does not seem to change according to style changes - always the same font (Time new roman), same size and same color.
How can we modify this?
Thanks,
Dovi.This is by no means a good technique for this problem but it
could work.
If you can leave a space beween the list item and the anchor
this will give you a selectable region.
Then write a JS function which looks through the document on
page load and removes any spaces at the beginning of li nodes.
As I said it ain't pretty and you'd best try to alter your
style sheet to work around your problem, but the above would work
if you have no other options. -
Hi,
I have created a ui5 page and i want to apply style to it.
so can anyone help me with the process on how to use the separate css file and style the different elements.
ThanksHi Anshul,
use the statement
jQuery.sap.includeStyleSheet(jQuery.sap.getModulePath("<project name>")+'/resources/css/zexthcmleavereqcre.css');
This would include your css in the project.
find attched a sample folder structure make folders under webcontent folder
in the above case the project name is 'local_json'.
Make sure you are using the right path to point to your css file.
Thanks and Regards, Venkatesh -
How to apply style to submit button
Hi All,
I am developing an application in struts where I have multiple buttons on a single form. Each button corresponds to different action to be executed, and to achieve this I have used DispatchAction.
Since I need to submit the data, I am looking for some ways through which I can put some style on submit button, such as putting an image over the submit button,giving it some border, some color and so on. I want to do this through CSS or if not possible through CSS then as inline style.
I am using struts-html.tld tag library to render all the HTML controls.
Any idea how to put images over submit buttons, or if putting an image is not possible then how to have style for it so that the look of submit button changes and the user feels as if it is a graphic button.
Any help is appriciated.
Thanks.You do realise there is an <html:image> tag which
generates the html graphical submit button (ie <input
type="image">) ?
There are two tags in struts:
<html:img> - generates an image tag: <img src="...">
<html:image> - generates a graphical submit buttonYea, I do know this. But the problem is I don't have one submit button in my page. There are mroe than one buttons and each button calls a different method of the Action class. I could not get a way to pass the parameter name and parameter value using
<html:image> tag.
To be more clear, I need CRUD operations in one page and they all refer to one Action class. If I use html:image tag, I can't call seperate functions as it will then call the execute method. Also I don't want to have any javascript to call the relevant method from the Action class.
Is there any way out? I am not a pro in struts, just s beginner, so any help is more than appreciated.
Thanks. -
How to Apply Style to a Spry Table?
I am new to Spry. I am trying to apply some basic style(table width,row height) to a table created with a spry region.
I have tried <table width="400px"> and <table style="width:400px;"> and these didn't work. I've tried creating a class and <table class="xxxxx"> and that didn't work either. Also <tr height="12px"> as well as <tr style="height:12px;"> and <tr class="xxxx">. Am I missing something really obvious??<!DOCTYPE HTML>
<html xmlns:spry="http://ns.adobe.com/spry">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
<style>
#myTable {
font-size: 0.8em;
color: #333;
#myTable .headrow {
color: #FFF;
background: #009;
text-align: center;
margin-bottom: 5px;
#myTable .headrow th {
font-size: 1.5em;
font-weight: bold;
padding: 2px 5px;
#myTable td {
line-height: 1.5em;
#myTable th.lastname,
#myTable th.firstname {
width: 150px;
</style>
<script src="SpryAssets/xpath.js"></script>
<script src="SpryAssets/SpryData.js"></script>
<script>var ds1 = new Spry.Data.XMLDataSet("employees.xml", "employees/employee");</script>
</head>
<body>
<div spry:region="ds1">
<table id="myTable" cellpadding="0" cellspacing="0">
<tr class="headrow">
<th spry:sort="lastname" class="lastname">Lastname</th>
<th spry:sort="firstname" class="firstname">Firstname</th>
<th spry:sort="phone" class="phone">Phone</th>
<th spry:sort="username" class="username">Username</th>
<th spry:sort="@id" class="id">Id</th>
</tr>
<tr spry:repeat="ds1">
<td>{lastname}</td>
<td>{firstname}</td>
<td>{phone}</td>
<td>{username}</td>
<td>{@id}</td>
</tr>
</table>
</div>
</body>
</html>
Have a look here for more info http://www.adobe.com/devnet/dreamweaver/css.html -
How to apply style to multiple links?
I'm a newbie here, so maybe this is a simplistic question. I am having trouble applying a color style to multiple links on a webpage at the same time. I have a page setup with a layout similar to the Drudge Report, which posts href links separated by horizontal rule lines. I want to apply a color style to these links, but I'm finding I have to select each link individually in design mode to apply the style. When I select multiple links in design mode, the color doesn't apply to the text. It's time consuming to select each link individually. I can do this easily in Microsoft Visual Web. How can I do it in Dreamweaver?
The best way is to put all related links into a division.
Let's say you want to have red links in your #header and white links in your #footer which has a black background.
CSS, set up two sets of link styles:
#header a {text-decoration:none}
#header a:link {color:red} /**unvisited**/
#header a:visited {color:gray} /**visited**/
#header a:hover, /**on mouse over**/
#header a:active, /**on click**/
#header a:focus /**on tab key**/
{text-decoration:underline}
#footer {background: #000;}
#footer a {text-decoration:none}
#footer a:link {color:white}
#footer a:visited {color:yellow}
#footer a:hover,
#footer a:active,
#footer a:focus
{text-decoration:underline}
HTML:
<div id="header">
<a href="some-link.html">Link in the header</a> |
<a href="some-link.html">Link in the header</a> |
<a href="some-link.html">Link in the header</a> |
</div>
<div id="footer">
<a href="some-link.html">Footer link</a> |
<a href="some-link.html">Footer link</a> |
<a href="some-link.html">Footer link</a> |
</div>
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com/ -
A friend pointed out that sometimes layout is easier by creating tables. So I have started created a website entirely with tables. This seems more logical to me, but now I am stuck....
http://test.taffyproductions.com/
See that great background under the buttons?... well I want to make that into a div tag and start typing over it.
How is this done?
Thanks!
G<table width="825" id="maincontent" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"> </td>
<td width="10" bgcolor="#000000"> </td>
<td width="750" id="tdTxt">This is your text</td>
<td width="18" bgcolor="#000000"> </td>
<td width="24"> </td>
</tr>
And again, with in your css file, or in Head of this page in a style tag of course :
td#tdTxt { background-image:url(../_images/bckgrnd1.jpg) } /*(or whatever the proper path will be given the location of the css file.)*/
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
How to apply Excel formula in BPS layout
Hi ,
I need to apply the following logic in my BPS layout.
There are three data columns called C,D,E respectivelt
redord 1 user input data for all the columns,
Record 2 C2 = D1 + E2.
Record 3 C3 = D2 + E3.
Record n Cn = D(n-1) + En.
n is the number of record in teh layout.
1: Can we use Excel formula to achive this?
2: If the anser is yes, how can we configure the BPS layout? I am not sure if we can do it at the last step of change layout.
3: If the answer is no, what is the other choice? I have tried to use user exit, but had some problem in passing the data to xth_data table in the orginal order sequence.
thanks in advance.JW,
please see my answer to your original post "data in BPS layout columns"
Regards,
Marc
SAP NetWeaver RIG -
How to apply data into 2 tables AND to more than one record in same table?
Hello,
I am trying to apply/insert data into 2 tables AND at the same time apply data to more than one record (in the same table). How would I do this in APEX?
I have updated using one table with no problem, however, when I try updating with the two tables/ multiple record sets, I get errors.
I appreciate the help.
Thanks.
LindaYou can achieve what you want using PL/SQL. Can you post ur code?
Maybe you are looking for
-
I have Pages on my Ipad2 and want to move a document to Google Drive but it wont let me. It does let me open a doucument from google drive but not save one to Google drive. Who can help?
-
Itunes uses 100% of cpu, Whats the deal?
Is there any solution to this problem out there?
-
I have installed Reader 10.0.1 on my MacBook (OS X 10.6.3). I am trying to disable protected mode in order to view a particularly troublesome file/document. Where is the configuration panel that will allow me to toggle on/off "Enable Protected Mode a
-
Problem with License determination
Hi, I have just setup license determination strategy as per the config guide. But, in the cockpit -> Legal COntrol Exports -> Maintain License determination strategy, Isee only 2 tabs(small views) 1.Legal regulation and 2. License Types Where are oth
-
Hi Experts, I have to do certain field of CJ02 IN non EDITABLE MODE( Only Display) . Please suggest me which user exit can be used ? Rgds Mohit