Class names to change the stylesheet
Hi experts,
i need the different class names to change the style sheet of my web template, in this moment the problem is this:
i made a query with exceptions but i do it to get some function with the bex broadcaster, but not to show it when the report is executed, now i need the calls name to chage the color
i used this class but it was to show some data vertically, now i need to change colors of the web report
<STYLE>
.SAPBEXHLevel0 {writing-mode: tb-rl;
filter: fliph flipv };
.SAPBEXHLevel1 { writing-mode: tb-rl;
filter: fliph flipv };
.SAPBEXHLevel2 {writing-mode: tb-rl;
filter: fliph flipv };
.SAPBEXHLevel3 {writing-mode: tb-rl;
filter: fliph flipv };
</STYLE>
Hi,
i am not getting ur requirement. can u explain more.
Do u want to call different style sheet for different level?
regards,
kathir
Similar Messages
-
Where can i find the different class names to change the style sheet
Hi experts,
i m making a WAD but i need change somethings in the stylesheet, for example, in my query i have some exceptions, i need this exceptions to works some functions of the broadcaster, but i dont need show the exceptions in the report, so, i need a class name to change the stylesheet to dont show the colors of these exceptions when the report is executed, i have seen this function in a report but i dont remember how to do it.....
for example this works to change a hier from horizontal to vertical
<STYLE>
.SAPBEXHLevel0 {writing-mode: tb-rl;
filter: fliph flipv };
.SAPBEXHLevel1 { writing-mode: tb-rl;
filter: fliph flipv };
.SAPBEXHLevel2 {writing-mode: tb-rl;
filter: fliph flipv };
.SAPBEXHLevel3 {writing-mode: tb-rl;
filter: fliph flipv };
</STYLE>
some like this, was the class name to change the colors, please helpnot answered
-
Need BAPI name to change the PO data in SRM.
HI All,
Need BAPI name to change the PO data in SRM.
The BAPI_PO_CHANGE is not available in SRM.
If there is no BAPI to change PO in SRM, what is the alternate solution?
Regards,
A.I.Rajesh.hello,
try using FM BBP_PD_PO_UPDATE.
regards. -
Query to find the class name that has the maximum number of students ?
I need the query to find the [class Name] which has the most number of students. please look below at the tables
Students Table
StudentId StudentName ClassID
1 xxx 1
2 yyy 1
3 zzz 1
4 fff 2
5 ttt 2
Classes Table
ClassID ClassNane
1 CSHARP
2 JSHARP
The result should be : CSHARP
since there are 3 students in CSHARP and 2 students in JSHARP class
Appreciate your help
ThanksTry:
DECLARE @Classes TABLE (
ClassID INT identity(1, 1) PRIMARY KEY
,ClassName VARCHAR(50)
INSERT INTO @Classes (ClassName)
VALUES ('CSharp')
,('JSharp')
DECLARE @Students TABLE (
StudentID INT identity(1, 1) PRIMARY KEY
,StudentName VARCHAR(10)
,ClassID INT
INSERT INTO @Students (
StudentName
,ClassID
VALUES (
'xxx'
,1
'yyy'
,1
'zzz'
,1
'fff'
,2
'ttt'
,2
SELECT TOP (1)
WITH TIES C.ClassName
FROM @Classes C
INNER JOIN @Students S ON C.ClassID = S.ClassID
GROUP BY C.ClassID
,C.ClassName
ORDER BY COUNT(S.StudentID) DESC
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
Getting the class name from within the compiled class file
hey!
I was wondering (i know its possible) how to read a .class and get the name of the class. ok that made not much sense^^ so, You have a file: c:\f.class but it wont run because the file name has to be the same as the classes name, right? so how can you read the class file i guess in binary mode to receive the correct class name.
I saw inside my f.class i have "realname.java" so i know now that the name of the class file should be realname.class, i tried ways to extract it from the class file but never had any success.
i think i need to study english^^
ps: i need this because i have some class files sent to me and the file names have been changed so they wont work, they only work when i open the class file in notepad and find out what its real name should be and then rename the file.
Edited by: forgotmydamnpass on May 7, 2009 11:23 AMah looks interesting, problem is i cant use it.. im prone to errors!
import java.net.URLClassLoader;
public class NewMain {
* @param args the command line arguments
public static void main(String[] args) {
FileClassLoader loader = new FileClassLoader();
Class clazz = loader.createclass("c:\\f.class");
Method method = clazz.getName();
}apparently "createclass" doesnt exist :/
FileClassLoader = cannot find symbol
Method = cannot find symbol -
The songs downloaded to my iTunes on my Macbook Pro by CD have divided into different albums. Now I have put them into the same album by changing the Album Artist in File- Get Info but the song order changes; this is a problem as a lot of these albums are from Musical Theatre shows and the songs need to be in chronological order to make sense! Please tell me how I can put them into the same album and also keep them in the same order as on the CD.
For a full run down see Grouping tracks into albums. Generally to control the order of tracks within an album you need to use appropriate disc and track numbers. You may also need to change the sort column for the view.
tt2 -
Class names - why is the fully qualified name required?
Hello,
Why is the fully qualified name required? I thought that if the class was imported, it was not necessary to fully qualify it in a method call.
Since I have these import statement in my java class:
import javax.swing.*;
import javax.swing.border.*;
//I was wondering what the reason is that "javax.swing.border." is required in the following:
jsectionPanel.setBorder(new javax.swing.border.TitledBorder(
new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.RAISED, Color.black, Color.black,
Color.lightGray,
Color.lightGray),
"Section Data",
javax.swing.border.TitledBorder.CENTER, //int titleJustification,
javax.swing.border.TitledBorder.TOP, //int titlePosition,
new Font("Dialog",0,11), //Font titleFont,
new Color(0,51,255)));
//Thanks,
-- HSC --I guess there must have been something else conflicting at the time I tried because it would not compile, however, it works fine now.
Chalk it up to the ghost in the machine.
- I am using Windows ME afterall! :)
thanks,
-- HSC -- -
Importing a class file to change the Texture colour of a JFrame and JMenu?
Well, my friend told me its possible, he has it on his Jframe, this is the code he uses;
package theme;
import javax.swing.plaf.ColorUIResource;
import javax.swing.plaf.metal.OceanTheme;
public class BlackTheme extends OceanTheme
public BlackTheme()
public String getName()
return "Black";
protected ColorUIResource getPrimary1()
return primary1;
protected ColorUIResource getPrimary2()
return primary2;
protected ColorUIResource getPrimary3()
return primary3;
protected ColorUIResource getSecondary1()
return secondary1;
protected ColorUIResource getSecondary2()
return secondary2;
protected ColorUIResource getSecondary3()
return secondary3;
protected ColorUIResource getBlack()
return black;
protected ColorUIResource getWhite()
return white;
private final ColorUIResource primary1 = new ColorUIResource(33, 33, 33);
private final ColorUIResource primary2 = new ColorUIResource(160, 160, 160);
private final ColorUIResource primary3 = new ColorUIResource(77, 77, 77);
private final ColorUIResource secondary1 = new ColorUIResource(0, 0, 0);
private final ColorUIResource secondary2 = new ColorUIResource(51, 51, 51);
private final ColorUIResource secondary3 = new ColorUIResource(100, 100, 100);
private final ColorUIResource black = new ColorUIResource(20, 20, 20);
private final ColorUIResource white = new ColorUIResource(125, 125, 125);
}So how would i make it use that as the JFrame etc, because i tried like
import theme.BlackTheme;and
MetalLookAndFeel.setCurrentTheme(new BlackTheme()); but it dosn't re-colour it, am i doing something wrong? It only re-colours the actuall outside frame, not the main bits or menu bar as it is suppose to.
ThanksHere are pictures of how the bar should look and what mine looks like.
THIS IS WHAT MINE LOOKS LIKE
[http://i166.photobucket.com/albums/u116/the_owner2007/menubaretc.jpg]
This is how it should look correct...
[http://i166.photobucket.com/albums/u116/the_owner2007/menubaretcblack.jpg]
Edited by: i_own_pking on Apr 5, 2008 4:07 AM -
Can i put the iphone in my name and change the family plan?
Hello, i bought an iphone4 from a friend she charged me $130 cause she was getting the evo. I bought it because i wanted to get an iphone anyways. So my question is can i take the phone outta her name and put it into mine and get my on family plan? She told me i could thats the reason i bought it. Thanks for all replies. (:
Restore...
From iTunes, select the iPad/iPod and then select the Summary tab. Follow directions for Restore and be sure to say "yes" to the backup. You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.
There's more to try but let's go a bit at a time. -
Change the Development class in the Report
Hi
I want to change the deelopment class for and Report.bcoz the existing Development class dose not exist.
I need to change can any one help.
Thanks,
NelsonHi Nelson
If it is a custom Program then you just go to SE38
and display the table then In Menu bar you can find Go to------Object Directory Entry
Option
In that click change button then assign Required Package then activate
or
Goto SE80
Select Package from dropdown
Give the Package name and click on display icon
expand the dictionary structures
Right click on ur table name and change the package name and activate it
Regards Rk -
How does one call a class if one gets the class name from a database?
Hi,
I'm writing an application that needs to handle different types of input file.
Each type of input file will be handled by a different processing class.
I plan to use a controller class that will read from a database rows that each contain a file name and processor class name such that the class can then be used to process that file:
So on a table somewhere I might have relationships like:
file1.csv , ProcessorClassA
file2.csv , ProcessorClassB
file3.csv , ProcessorClassB
My hope is that if I need a new processor class, I will not have to change the controller class. I simply write the new class say, ProcessorClassC and put an entry in my table for:
file4.csv , ProcessorClassC
So, finally, the question...
I can read in the new class name into a string but how can I employ that class or instantiate objects of that new class and use their methods.
The rationale is that so that the controller class needs no further modifications no matter how many new processor classes are required.
Any ideas anyone?A factory class? I'm all ears... or is that another
days work...?Look e.g. here (or Google for "Factory Design Pattern"):
http://www.exciton.cs.rice.edu/JavaResources/DesignPatterns/FactoryPattern.htm -
How to programmatically get the source for a class provided the class name?
Hello,
As a quick background, I am providing some tools to potential users of an in-house framework. One is the ability to generate quick prototypes from our existing demo applications. Assume a user downloads our jars and uses them in their project (we are using Eclipse, but that detail should not greatly affect my question). Included in the jars is a demos package that contains ready-to-run classes that serve to exhibit certain functionality. Since many users may just need quick extensions of these demos, I am trying to provide a way for them to be able to create a new project that starts with a copy of the demo class.
So, the user is provided a list of the existing demos (each one uses a single class). When the user makes their selection, with the knowledge of our framework, I can translate that into what demo class they need (returned as a string of format package.subpack1.subpackn.DemoClassName). What I now want to do is to use that complete class name to get the source (look up the file) for the corresponding class, and copy it into to a new file in their project (the copying into the project can be done easily in Eclipse, so what I need help with is the bolded part). Is there a simple way to get the source given a class path for a class as described above? You may assume the source files are included in the jars for the framework.
Thanks in advance.If there's a file named "package.subpack1.subpackn.DemoClassName.java" in a "demos" directory in the jar, then yes. You'd just use
InputStream code = getResourceAsStream("/demos.package.subpack1.subpackn.DemoClassName.java");Or if those dots in the name actually separate directory names, i.e. you have a "package" directory under "demos" and a "subpack1" director under that and so on, then:
InputStream code = getResourceAsStream("/demos/package/subpack1/subpackn/DemoClassName.java"); -
How can I find the servlet class name from inside a ServletFilter?
Ive implemented a servlet filter, but need to discover the class name of any servlet class that gets executed.
Ive dug through the spec and cant seem to find any path to do this.
Seems the methods needed to do this have been deprecated. (for security reasons?)
Is there any way to write a ServletFilter to grab this info?
If not, is there any other way to capture every servlet execution in the container, time its execution, and log the class name along with the execution time?
(***WITHOUT*** requiring a classpath over ride of any container provider classes)
Any help is much appreciated. Been banging my head against this for some time now :(request.getServletPath() returns the part of the URL which refers to the servlet. It isn't the classname of the servlet but it should be a reasonable surrogate. If you log that, then you could write some code which reads your web.xml and uses the servlet-mapping elements to convert it to servlet class names later.
-
Why not change the Macintosh HD to a shorter name.
I have a friend that picked up a Mac mini with OS X 10.5.8 and one for the first things
I noticed was the previous owner had changed the name of the single drive from Macintosh HD
to a shorter name
I recall reading somewhere that it is not a good idea to change the name of the primary
hard drive from Macintosh HD and I cannot remember why.
Can someone point me to a document that describes why the primary hard drive should not be renamed?{Usually the problem occurs when a user changes the Short Name of the
computer where it affects how it is then seen in a network, and does this
improperly so the computer can't be networked until this issue is fixed.}
• Mac OS X: How to change user short name or home directory name:
http://support.apple.com/kb/ht1428
• Mac OS X (10.4) Help: What's my computer's name and address?
http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh632.html
• How do I change the Owner's Name on my Mac?
http://www.askdavetaylor.com/howto_change_owners_name_applemac.html
And if you change the Short Name (account user, etc) then KeyChain
access and other items may well be a real problem to weed out & fix.
Note the comments, after the basic info in this thread:
• Changing Names - Root - Mac Gems - MacWorld:
http://www.macworld.com/article/41481/2004/12/changeshortname.html
Or, if a user changes the name of their User Account, improperly, then the
account won't match the password and other issues will result; unless it
is fixed or the problem of changing the name incorrectly in the first place
is avoided; since there is a proper way to change the short name of the
computer (not that on the icon of the hard disk drive, btw) and a correct
way, a process, to change the user account name.
It is not advised to change the User name on an account or that of the
Computer's name where it is seen on a network. That aside, the name
change of the computer's Hard Disk Drive, at the icon on the desktop,
can be avoided by using Dock preferences to Hide the HDD so it will
not appear on the desktop at all. (Kids in schools change the HDD icon's
name frequently, when it is available and the computer not set up to
work under the Parental Controls or lower user account privilege access.)
+You can change the name of the Hard Disk Drive and that won't make+
+much difference; except in those cases where you have an Alias of the+
+original name, since it would no longer activate access to the Mac HD.+
I got over the urge to change the HDD name some time ago. However
if you partition the original hard disk drive so you have two icons on the
Desktop, you could have fair reason to change the names if you like.
(Just remember, if you make a clone, or do any complete computer drive
backup to some external device, the name change could affect the result.)
If you have an Intel-based Mac running Windows, you may have a different
matter in re-naming the hard disk drive; since Windows may require another
avenue into the means to rename that drive. And then, that may be a problem.
*You can change the Mac HD to any name.* In previous Mac OS (pre-x) versions
it was also common for users to change the hard drive icon to some other one,
and if they'd named the computer (a monster name, for example) a new image
for the icon could easily be applied through a copy-paste. In fact, that may still
be something one may be able to do, through a different agency in OS X.
And, when installing an all-new OS X, you can also change the name of the Mac HD
in Disk Utility, since the name is blank after choosing a partition scheme & reformat.
The real issue revolve around changing the computer's short name, and changing
the user's account name(s) since this is where problems begin that are harder to fix.
If the rules are followed in regard to these two, going into the situation, problems
are more readily avoided. I just don't change those things, since I'm too busy.
Good luck & happy computing!
{ edited 2x } -
Can I change the Column Name without losing data and change the sequence
Dear Experts,
I want to change the column name without changing the sequence and dont want lose the data.Oracle Version : ?
Example Based on 10g.
SQL> conn scott/tiger
Connected.
SQL> create table col1 as select * from all_objects where rownum <= 100;
Table created.
SQL> alter table col1 add constraints col1_pk_objid primary key(object_id);
Table altered.
SQL> desc col1
Name Null? Type
OWNER VARCHAR2(30)
OBJECT_NAME VARCHAR2(30)
SUBOBJECT_NAME VARCHAR2(30)
OBJECT_ID NOT NULL NUMBER
DATA_OBJECT_ID NUMBER
OBJECT_TYPE VARCHAR2(19)
CREATED DATE
LAST_DDL_TIME DATE
TIMESTAMP VARCHAR2(19)
STATUS VARCHAR2(7)
TEMPORARY VARCHAR2(1)
GENERATED VARCHAR2(1)
SECONDARY VARCHAR2(1)
SQL> alter table col1 rename column object_id to object_no;
Table altered.
SQL> desc col1;
Name Null? Type
OWNER VARCHAR2(30)
OBJECT_NAME VARCHAR2(30)
SUBOBJECT_NAME VARCHAR2(30)
OBJECT_NO NOT NULL NUMBER
DATA_OBJECT_ID NUMBER
OBJECT_TYPE VARCHAR2(19)
CREATED DATE
LAST_DDL_TIME DATE
TIMESTAMP VARCHAR2(19)
STATUS VARCHAR2(7)
TEMPORARY VARCHAR2(1)
GENERATED VARCHAR2(1)
SECONDARY VARCHAR2(1)
SQL> column column_name format a30
1 select column_name,constraint_name
2 from user_cons_columns
3 where table_name = 'COL1'
4* and owner = 'SCOTT'
COLUMN_NAME CONSTRAINT_NAME
OBJECT_NO COL1_PK_OBJID
SQL>
also go through
http://www.dizwell.com/prod/node/65
Message was edited by:
user52
Maybe you are looking for
-
Perfomance Issue on Parent Child table SQL
I am having table a and child table b contains data and message . both are linked with id column. how can i pick the latest message from b against id . how can we make fastest sql. I tried with subquries but it is taking time and working slow. When i
-
Exporting Frame content to Word?
Hi, I am working on manuals that have been done in both Frame 7.2 and Word 2003 and am hoping to migrate to a newer version of Frame some day. Right now I'm trying to update a few Word-based manuals with some content from Frame docs but it's slow and
-
[HELP] Conky: one or more $endif's are missing
Hello Today, I tried to custom a conkyrc file found in the web. I've at least one syntax problem when I try to start conky: [evasivefr@desktop ~]$ conky Conky: one or more $endif's are missing Conky: desktop window (120002e) is subwindow of root wind
-
PanelFormLayout Alignment inside panelGroupLayout
Hi Following is the code of my jsff page. It has a panelGroupLayout in the top with two panelHeaders. Each of the panel Header has a panelFormLayout inside it. When i run this page, the panelFormLayout dont align with each other. Please suggest a met
-
How much is a GRC consultant paid per hour?
I know that in USA, for FICO consultants the rate per hour is in the range of 100 -150 dollars per hour. Will a GRC consultant get more than this or less? There is a qualification called CISA. Is this GRC anyway realted to this? Is a GRC consultant i