Group user style class
Hi,
In my skin I have defined 2 style classes:
.myFooterCenter af|panelBox::footer-center:core:default {
background-image: none;
.myFooterEnd af|panelBox::footer-end:core:default {
background-image: none;
I would like to group them to one user style class because they have the same properties.
how could I do that?
Thanks
But I would like to use only one style class instead of 2.
something like this:
.myFooter
af|panelBox::footer-center:core:default,
af|panelBox::footer-end:core:default {
background-image: none;
I want 'myFooter' style class to include both.
how could I do that?
Similar Messages
-
Hi,
I would like to group few style classes to one user style class.
I was trying ths code:
.myButton af|commandButton:hover, af|commandButton:focus:hover {
background-color: transparent;
and also this:
.myButton af|commandButton:hover af|commandButton:focus:hover {
background-color: transparent;
But it didn't work.
Do you know how could I define it?
So I will be able to use only myButton style class and it will include af|commandButton:hover, af|commandButton:focus:hover etc.
Thanks!Duplicate of {thread:id=2488442}
-
OIM 10g Event Handler : Integrated with User Groups.User Members
I have created custom event handler and integrated it with User Groups.User Members data object.
here is my code od event handler class:
public class GroupEventHandler extends tcBaseEvent {
public GroupEventHandler() {
this.setEventName("Event Handler Sample");
protected void implementation() throws Exception {
System.out.println("============@@@@@@@@ IN EVENT HANDLER ");
try
String groupKey = this.getDataObject().getString("Groups.Key");
writeToFile(groupKey);
catch (Exception e)
e.printStackTrace();
But I am getting this exception :
ERROR [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.SERVER - Class/Method: tcTableDataObj/getString encounter some problems: Column 'GROUPS.KEY' not found
com.thortech.xl.dataaccess.tcDataSetException: Column 'GROUPS.KEY' not found
at com.thortech.xl.dataaccess.tcDataSet.getColumnIndex(Unknown Source)
at com.thortech.xl.dataaccess.tcDataSet.getString(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.getString(Unknown Source)
at oim.GroupEventHandler.implementation(GroupEventHandler.java:19)
at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.eventPostInsert(Unknown Source)
at com.thortech.xl.dataobj.tcUSG.eventPostInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcGroupOperationsBean.addMemberUsers(Unknown Source)
at com.thortech.xl.ejb.beans.tcGroupOperationsSession.addMemberUsers(Unknown Source)
at com.thortech.xl.ejb.beans.tcGroupOperations_ejm77u_EOImpl.addMemberUsers(tcGroupOperations_ejm77u_EOImpl.java:1671)
at Thor.API.Operations.tcGroupOperationsClient.addMemberUsers(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy66.addMemberUsers(Unknown Source)
at com.thortech.xl.webclient.actions.UserGroupMembersAction.assignMemberUsers(Unknown Source)
at com.thortech.xl.webclient.actions.UserGroupMembersAction.assignGroupMembers(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)Anyone have idea about why "Groups.Key" not found exception thrown here..
I have assigned this event handler at postinsert event of User Groups.User Members Data Object. -
Add user validation in create user form during Configure User Object Classe
Hi friends,
I like to add a user validation code (javaScript or PL/SQL) into create user form during Configure User Object Classes.
Is any way to pick user information and role assignment for validation in Portal side?
or pre event in OID provisioning befor loading LDAP?
We like to make a rols assignment validation. But portal does not have this function.
TOM, Any suggestion?
Thanks!!after study, portal form --LOVGroupSearch take a role search and display user name for select role.
Who know we are can find system object LOVGroupSearch in portal or OID?
the source SCR as /oiddas/ui/oracle/ldap/das/search/LOVGroupSearch?title=Role%3Fredirect=/oiddas/ui/oracle/ldap/das/search/LOVGroupSearch%3Ftitle=Role
When we search a role and added it. selected role appears in form Search and Select:.
When click role name in Search and Select form. system will display Group Members and group owner.
Who can find behind codes for this form or samilar pl/sql codes?
Thanks!! -
Reconcile AD group users to OIM Organization
How to reconcile AD group users to respective OIM Organization? We have an AD group ADG1 and user added to this group as ADuser1. On running AD Group Recon the ADG1 gets created as organization in OIM but it is not reflecting user in the orgganization. How will i make this happen ?
One way you can achieve that is to write an identical scheduler to one available ootb for Group-Lookup reconciliation. The logic which you would implement here is to fetch the mail-id for the corresponding group users. Once you fetch the details using LDAP API's you can populate those values in a lookup already created in OIM. Precisely this will be as follows:
1) Add another field of lookup type for the 'AD Group member's email' in your child table.
2) Write a class which actually connects to the AD, fetches the group members email Id into an Arraylist.
3) Also populate the lookup provided in step-1 using lokkup API's.
4) Write a custom scheduler similar to the 'AD Group Lookup Recon'. Map the above class with this scheduler.
5) Ru this Scheduler.
For nearly all of this you can refer to the existing code of AD.
Thanks
Sunny -
Hello,
We recently upgrade our SQL Server 2012 SP1 (64bit) dev edition to standard edition, after we purchased the required licence and it was deployed in production.
Since the edition change, we are now receiving the following error, with some of our jobs, which have an e-mail step in them, which is causing the jobs to fail.
Msg 14661,Level 16, State 1, Procedure sp_send_dbmail, Line 517
Query execution failed: Msg 15404, Level 16, State 19, Server BL-SVR15, Line 1
Could not obtain information about Windows NT group/user 'BLUELIZARD\savaa', error code 0x6e.
Any ideas how to fix this issue? We were also having a similar error, when executing the jobs, but changing the job owner to SA has fixed this issue.
Thanks,
Andy.Hi,
Which user account you used for SQL Server service, domain account or local account?
If it is domain account, are you able to log in to a machine with it?
Make sure that the password of account is not expired.
Also, grant the user Allowed to Authenticate permission and see how it helps.
Refer to the below article:
http://geeks.ms/blogs/ozonicco/archive/2013/01/14/208266.aspx
Thanks.
Tracy Cai
TechNet Community Support -
How to print/list all the groups/users present in Weblogic using Java code
Hi,
Weblogic version : 11.1.1.5
How to print/list all the groups/users present in Weblogic using Java code
I want to make a remote connection to Weblogic server and print all the users/groups present in it.
I have gone through the below mentioned site, but I cannot use the same approach since most of the API' are deprecated for example "weblogic.management.MBeanHome;"
http://weblogic-wonders.com/weblogic/2010/11/10/list-users-and-groups-in-weblogic-using-jmx/
Thanks in advance,
Edited by: 984107 on 05-Feb-2013 05:26
Edited by: 984107 on 05-Feb-2013 22:59see this http://www.techpaste.com/2012/06/managing-user-groups-wlst-scripts-weblogic/
Hope this helps. -
FindChangeByList script to include Style Groups/sub Style Groups
I've been using this function happily (with varying degrees of success & lots of trial and error) for a while now. I'm not a script writer, understand very little but manage to copy and paste, and hope for the best.
This has served my wishes for the most part, but I have the need to apply a GREP search/replace to some text that needs to be styled with a paragraph style that lives inside a style group, inside another style group.
Style group called 'Headings', inside which is a style group called 'News from Areas heads' inside which is a paragraph style called 'b head_red (News from areas)'
I have picked up on helpful examples from others for applying a paragraph style that lives within one level of "Style Group", but don't know what the correct syntax to describe: a paragraph style within a folder, within a folder, within another folder might be?
I did wonder if the choice of underscores and brackets in the paragraph style may not help.
MTIA
SteveHi Jarek
Unfortunately I don't have much scripting knowledge, but to answer your questions
1. paraStyle real name is "b head_red (News from areas)"
- "b head_red" is used elsewhere. Why didn't I keep it simple?
2. Do your findWhat string work in UI (run manually)?
- yes, when I use normal GREP find/change it works okay.
3. Do your FindChangeByList.jsx work with some simplier example?
- yes, I use it often. The .txt file I'm working on at the moment already contains about 10 text/glyph changes which work fine. I have had success in applying a 'paragraph style' that is within a 'style group'. But this is the first time I've tried to apply a 'paragraph style' that is in a 'style group', within a 'style group'.
Steve -
Need urgent help on mailing lable report in group above style
Hi
I need to prepare a report on reports 6i in mailing lable style based on group above style (multiple levels) e.g. yellow page directory. can anybody help me.
rgdsHi,
That's something I also had to do.
Ad here's how this works.
Suppose you have:
Select ...
from ...
where ...
order by name;
Yet in your data model, in your group the fields appear, let's say, in the following order:
date
name
So, Reports will sort within the group first by date.
The answer is that your fields should appear in the data model in the order you wish to have them sorted. Thus, in the example, you should have:
name
date
Frankly, I don't really like the way it works. Yet, it's just that simple.
Hope this will help,
BD. -
hi all,
Is it possible to create some custom style classes and assign them to styleClass property of some components?
And if it possible, where to place those custom classes and how to use them?
I've tried without success.
Regards,
BassamSo this begs the question... if I wanted to change the color of a font on a af:panelHeader for example, (inlineStyle="background-color:navy;color:white;") or I set it up as a class in my css e.g. (styleClass="ph" where the css class is ph{background-color:navy;color:white;}) why doesn't the af:panelHeader component render as one would expect... with a blue back ground and white text? I'm using JDeveloper11g.
-
How to import user defined class in UIX page?
Does anyone know how to import user defined class in UIX page so that the class can be called in the javascript in the UIX ?
Thks & Rgds,
Bennywhat you are referring to is not javascript.
it is JSP scriptlets. These are very different.
In order to keep a strict separation between View and Controller, it is not possible to run arbitrary java code from within your UIX code.
However, you can run java code from within a UIX event handler; see:
http://otn.oracle.com/jdeveloper/help/topic?inOHW=true&linkHelp=false&file=jar%3Afile%3A/u01/app/oracle/product/IAS904/j2ee/OC4J_ohw/applications/jdeveloper904/jdeveloper/helpsets/jdeveloper/uixhelp.jar!/uixdevguide/introducingbaja.html
event handler code is run before the page is rendered. -
HOW to define a style class apply to the specified component?
Java(TM) 1.6.0_24
Oracle IDE 11.1.2.1.38.60.81
In my skin file, I defined the style that I want use it apply to the af:inputText read-only content.But it's not work.
Can anyone give me some advice for this case?
/* Style class definition in skin file. */
.MyReadOnly af|inputText:read-only::content {
display: block;
margin: 1px;
padding-left: 3px;
padding-right: 2px;
padding-bottom: 1px;
padding-top: 1px;
border: red 1px solid;
font-size: 13px;
font-weight: normal;
height: 13px;
/* Snippet of jspx */
<af:inputText label="Label 2" id="it2" columns="1" contentStyle="width:35px;" readOnly="true" styleClass="MyReadOnly"/>
Edited by: MKevin_OTN on Nov 13, 2012 11:21 PMThat line is an ADF CSS selector.
<font color="red">af|inputText</font>: with this selector you are accessing to any <af:inputText> component (this is not the final html <input/>, is a div/table/tr that contains the final <input/>)
<font color="red">af|inputText:read-only</font>: access only to <af:inputText> components that have readOnly="true".
<font color="red">af|inputText:read-only.MyReadOnly</font>: access only to <af:inputText> components that have readOnly="true" and styleClass="MyReadOnly".
<font color="red">af|inputText:read-only.MyReadOnly::content</font>: access to the content (the final <input/>) of <af:inputText> components that have readOnly="true" and styleClass="MyReadOnly".
AP -
Cannot comile user defined classes
Hello i have a problem on compiling user defined classes .
example
file x.java
public class x{
file y.java
import x;
public class y{
I first compile x.java and everything is OK .
Then i compile y.java and the compiler gives the folowing
y.java:2: '.' expected
import y
I have tried to put the classes on a package and added the folowing line yo each file
import /home/bill/test
Then i puted the java files on that dir
and compiled with
javac -classpath /home/bill/test y.java
AGAIN THE SAME
y.java:2: '.' expected
import y
WHAT I DO WRONG PLEASE HELP!!!!!!!!!!!!1. Since J2SDK 1.4, you can not import classes that are in the default (or unnamed) package. You are getting the error because the compiler expects something after y like y.*;
2. You do not need to import classes that are in the same package, and all classes in the default package are in the same package.
In your case, your classes are in the default package so remove the import statement. -
Pass an array of a user defined class to a stored procedure in java
Hi All,
I am trying to pass an array of a user defined class as an input parameter to a stored procedure. So far i have done the following:
Step 1: created an object type.
CREATE TYPE department_type AS OBJECT (
DNO NUMBER (10),
NAME VARCHAR2 (50),
LOCATION VARCHAR2 (50)
Step 2: created a varray of the above type.
CREATE TYPE dept_array1 AS TABLE OF department_type;
Step 3:Created a package to insert the records.
CREATE OR REPLACE PACKAGE objecttype
AS
PROCEDURE insert_object (d dept_array);
END objecttype;
CREATE OR REPLACE PACKAGE BODY objecttype
AS
PROCEDURE insert_object (d dept_array)
AS
BEGIN
FOR i IN d.FIRST .. d.LAST
LOOP
INSERT INTO department
VALUES (d (i).dno,d (i).name,d (i).location);
END LOOP;
END insert_object;
END objecttype;
Step 4:Created a java class to map the columns of the object type.
public class Department
private double DNO;
private String Name;
private String Loation;
public void setDNO(double DNO)
this.DNO = DNO;
public double getDNO()
return DNO;
public void setName(String Name)
this.Name = Name;
public String getName()
return Name;
public void setLoation(String Loation)
this.Loation = Loation;
public String getLoation()
return Loation;
Step 5: created a method to call the stored procedure.
public static void main(String arg[]){
try{
Department d1 = new Department();
d1.setDNO(1); d1.setName("Accounts"); d1.setLoation("LHR");
Department d2 = new Department();
d2.setDNO(2); d2.setName("HR"); d2.setLoation("ISB");
Department[] deptArray = {d1,d2};
OracleCallableStatement callStatement = null;
DBConnection dbConnection= DBConnection.getInstance();
Connection cn = dbConnection.getDBConnection(false); //using a framework to get connections
ArrayDescriptor arrayDept = ArrayDescriptor.createDescriptor("DEPT_ARRAY", cn);
ARRAY deptArrayObject = new ARRAY(arrayDept, cn, deptArray); //I get an SQLException here
callStatement = (OracleCallableStatement)cn.prepareCall("{call objecttype.insert_object(?)}");
((OracleCallableStatement)callStatement).setArray(1, deptArrayObject);
callStatement.executeUpdate();
cn.commit();
catch(Exception e){
System.out.println(e.toString());
I get the following exception:
java.sql.SQLException: Fail to convert to internal representation
My question is can I pass an array to a stored procedure like this and if so please help me reslove the exception.
Thank you in advance.OK I am back again and seems like talking to myself. Anyways i had a talk with one of the java developers in my team and he said that making an array of structs is not much use to them as they already have a java bean/VO class defined and they want to send an array of its objects to the database not structs so I made the following changes to their java class. (Again hoping some one will find this useful).
Setp1: I implemented the SQLData interface on the department VO class.
import java.sql.SQLData;
import java.sql.SQLOutput;
import java.sql.SQLInput;
import java.sql.SQLException;
public class Department implements SQLData
private double DNO;
private String Name;
private String Location;
public void setDNO(double DNO)
this.DNO = DNO;
public double getDNO()
return DNO;
public void setName(String Name)
this.Name = Name;
public String getName()
return Name;
public void setLocation(String Location)
this.Location = Location;
public String getLoation()
return Location;
public void readSQL(SQLInput stream, String typeName)throws SQLException
public void writeSQL(SQLOutput stream)throws SQLException
stream.writeDouble(this.DNO);
stream.writeString(this.Name);
stream.writeString(this.Location);
public String getSQLTypeName() throws SQLException
return "DOCCOMPLY.DEPARTMENT_TYPE";
Step 2: I made the following changes to the main method.
public static void main(String arg[]){
try{
Department d1 = new Department();
d1.setDNO(1);
d1.setName("CPM");
d1.setLocation("LHR");
Department d2 = new Department();
d2.setDNO(2);
d2.setName("Admin");
d2.setLocation("ISB");
Department[] deptArray = {d1,d2};
OracleCallableStatement callStatement = null;
DBConnection dbConnection= DBConnection.getInstance();
Connection cn = dbConnection.getDBConnection(false);
ArrayDescriptor arrayDept = ArrayDescriptor.createDescriptor("DEPT_ARRAY", cn);
ARRAY deptArrayObject = new ARRAY(arrayDept, cn, deptArray);
callStatement = (OracleCallableStatement)cn.prepareCall("{call objecttype.insert_array_object(?)}");
((OracleCallableStatement)callStatement).setArray(1, deptArrayObject);
callStatement.executeUpdate();
cn.commit();
catch(Exception e){
System.out.println(e.toString());
and it started working no more SQLException. (The changes to the department class were done manfully but they tell me JPublisher would have been better).
Regards,
Shiraz -
How to put a user defined class in Web dynpro
How and where can we create some user defined classes?
For example i wanted to create some utility classs for my project. Under what folder should i create this?Please create the .java files under src folder of the project
Go to PackageExplorer->expand the project->select src/packages and create the package under this and create java file.
Regards, Anilkumar
Maybe you are looking for
-
I own a HP Laserjet P1005 that's shared in a wireless network, used by 2 pcs, a Macbook and several iPhones. All of them can print normally, only my Macbook doesn't. It lists the network and recognize the printer, but Mavericks took away the drivers
-
Hello, I realized the load of a new IMSI to an instance of BRM (Portal Roaming) through the process Batch_Controller, this load correctly and generated an account number with no problem. It was associated with the products, services and deals as well
-
Can you send out a html email from Out Look? Meaning I've created a html page and would like to send it out as a html email to my clients. I'm using Out Look and I'm on a PC. I would love to be able to do this today? Any feed back would be great!
-
After installing icloud, I can't open Photoshop CS, please help. I am an artist and need photoshop to work.
-
Organize by thread in different language
Hi, I have OSX set to english, but I receive a lot of mails in another language, meaning the replies often come in SV: instead of RE:. When they come in SV: they don't get threaded.. what to do? Maybe edit the header? How? Thanks a lot to those that