UIX 2.2.8: rendered attribute for onBlurValidater and onSubmitValidater?
Hi, i want to create onBlurValidater and / or onSubmitValidater in my subclassed ui:dateField based on a new attribute.
In UIX 2.2.8 there is no rendered attribute on the onXxValidator tags.
Any idea how i can achive something like
<ui:dateField>
<onBlurValidater
rendered="${uix.rootAttr.validatorType == 'blur'}">
<date pattern="${uix.rootAttr.formatPattern}"/>
</onBlurValidater>
<onSubmitValidater
rendered="${uix.rootAttr.validatorType == 'submit'}">
<date pattern="${uix.rootAttr.formatPattern}"/>
</onSubmitValidater>
</ui:dateField>Thanks, Markus
ping
Similar Messages
-
Marketing Attributes for account and Contact
Hi,
I am looking at Marketing Attributes of an Account. They are fine.
And I am looking at Marketing attributes of an Contact for this account. But these values are different from Account Marketing Attributes.
They are not same...can you please let me know..when they will bcome same (for Account and his contact).
And when I create lead(campaign)...will these attributes changes for Account and Contact?
Please let me know...as I am very new to CRM Marketing.
Thanks,
SandeepHi,
If the marketing attribute set is created with assignment to bith Accounts and Contacts.. the same would be visible through out.
If u want different set of attributes for contacts and accounts, define multiple marketing attributes and select the checkbox for availability in either contacts or accounts and not both. -
Hey Scripting Guys,
I have been in and out of Powershell last few years, not that great at it tbh !!! I'm looking for advice on how I can as in Title, Create a Powershell script to Scan Active Directory Attributes for Country and Department ,Then add to Group then add to Distribution
list based on Region/Country
I was thinking along the lines of get-aduser -LDAPFilter "(department=SALES France) and adding a where clause for country.
Any help would be great.
DecSo I have tried a few variations but get errors on both
get-aduser -LDAPFilter "(&(department=SALES)(c=us))" | Add-ADPrincipalGroupMembership -MemberOf "testgroup"
get-aduser -LDAPFilter "(&(department=SALES)(c=fr))" | Add-ADGroupMember -identity "testgroup"
Add-ADPrincipalGroupMembership : Object reference not set to an instance of an
object.
At line:1 char:86
+ get-aduser -LDAPFilter "(&(department=SALES)(c=fr))" | Add-ADPrincipalGroupMe
mbership <<<< -MemberOf "testgroup"
+ CategoryInfo : NotSpecified: (:) [Add-ADPrincipalGroupMembershi
p], NullReferenceException
+ FullyQualifiedErrorId : Object reference not set to an instance of an ob
ject.,Microsoft.ActiveDirectory.Management.Commands.AddADPrincipalGroupMem
bership -
SAP Standard Field Attributes for ME21n and ME
Hi,
Can anyone suggest me where i can see all the display,Hidden,Mandatory, optional SAP Standard field attributes for ME21N and ME51N.
I looking for Configuration settings
Thanks
VenkiHi ,
All i see is Field Label Reqd.entry Opt. entry Display for ME21N and ME51N
I want to see what SAP Standard Fields are Hidden for these T-codes.
I want to use and Non Used Field ( Hidden SAP Field) for new Enhancement instead of creating a custom Tab
Thanks
Venki -
Need to retrieve additional attributes for roles and users
Hello
We need to access some attributes for our application. This information is not accessible through the core API. The attributes we need are as follows
User Account
Password locked
Date account locked last
Account locked last by
Date account last unlocked
Account last unlocked by
Reason for last account unlock
Roles
Created By
Person Responsible
Changed By
I know we can access this attributes using the IPCDAttribute. What i want to know are the namespaces and the corresponding attribute names. Could anybody point me in right direction? I have seen that IUserAccount API has a method called isPasswordLocked() which should return me the locked information, but i cannot access that method in the java code.
Any help is very much appreciated.
Regards
Kalpesh
Edited by: Kalpesh Shirodker on Aug 5, 2008 3:10 PM
Edited by: Kalpesh Shirodker on Aug 5, 2008 3:11 PMHi Apurva,
This Srini, i need your help for Leave Encashment workflow Approval Process in 3levels of approval.
r u worked on same proceed for that. i can see the your posted on 5 months back in sdn.
i can implement the bidi. how to determine agent 3 levels and how to link to workflow template and which workflow step types are using one by one tell me.
Please i need your help leave encashment approval process. plz give me u r GMAIL ID.
Regards
MSR -
Additional attributes for requester and approver
Hi,
I have a scenario:
1.Requester should raise the request to assign the role for beneficiary and requester should select 'Valid from' and 'valid till' (valid from and valid till are additonal attributes)
2. Approver will reivew the request and should be able to change the 'valid from' and 'valid till' dates ( role active dates )
I have changed the 'AssignRolesDataset.xml' to display the additionals attributes for approver task by making 'approver-only'.
Can I add addtionals attributes for requester ? Can the requester additional attributes values will visible to approver to review and change?
These Additional attributes stores in which table?
Can any one Please guide me here.
Thanks
grHi,
I have created the 'AssignRolesDataset.xml' as below and imported successfully in oim (purged also), but not able to see the additonal attributes when I raise the request from self service and select the 'Assign Roles' , also not able to see the attributes with approver.
AssignRolesDataset.xml
<request-data-set xmlns="http://www.oracle.com/schema/oim/request" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.oracle.com/schema/oim/request" name="AssignRolesDataset" entity="Role" operation="ASSIGN">
<DataSetValidator name="CreateUserDataValidator" classname="oracle.iam.requestactions.plugins.datavalidator.CreateUserDataValidator"/>
<AttributeReference name="RoleActiveFrom" attr-ref="RoleActiveFrom" type="Date" length="30" widget="date" read-only="true"/>
<AttributeReference name="RoleActiveTo" attr-ref="RoleActiveTo" type="Date" length="30" widget="date" required="true"/>
</request-data-set>
Please correct me here.
Thanks
Gr -
Changing rendered attribute on postback and contained components
I am using:
Container: Apache Tomcat 6.0.24
JSF: Mojarra 1.2_12-b01-FCS
Facelets: 1.1.14
I have a search page with the search criteria at the top and the results at the bottom. For the results at the bottom, I'm using
<ui:fragment rendered="#{searchBean.hasResults}">
[... various components that display results, like a graph component ...]
</ui:fragment>#{searchBean.hasResults} is false on the initial GET page load. The user types in the criteria, clicks "Search". On the page load, when components are created, hasResults is false. Then later the actionListener on the searchButton loads the results and sets #{searchBean.hasResults} to true. However, by the time Render comes around, the result components were not created, so they are not rendered.
How do I get around this? Is there a way to force controls to be created inside a fragment? Is my approach totally wrong? If so, what is a better approach?
I think I understand the whole page lifecycle well enough to know why things are going wrong, but I don't understand how to use it to get what I need to happen to happen.
Thanks in advance,
ChrisHi, Raymond,
Thanks for your reply.
I tried the <h:panelGroup rendered="..."> as well as <c:if test="..."> and got the exact same behavior.
My thought was that it was not <ui:fragment> who's job it was to create the children, but rather the framework's "Restore View Phase" aka "Reconstitute Component Tree" that would not know to create the component. But I don't really understand the inner workings of how it knows which components to recreate. I know if I set a break point in one of the contained component constructors, the debugger breaks on the initial load, but it is never hit (and therefore never constructed) when I reload.
http://www.ibm.com/developerworks/library/j-jsf2/
"This phase of the lifecycle presents three view instances: new view, initial view, and postback, with each one being handled differently." [...] "In the case of a postback (the user returns to a page she has previously accessed), the view corresponding to the page already exists, so it needs only to be restored. In this case, JSF uses the existing view's state information to reconstruct its state."
If I am misunderstanding, and the view is really only created on the first load along with all of the components, then perhaps it is getting removed somewhere along the way or there is some other flag telling it not to render. Or maybe the view is only ever created once, and specific instances of the view are used for the page? If that were the case, why are the variables created in the constructor of the component getting cleared?
[In case it matters, I'm using PrimeFaces' LineChart component.] -
Where to configure extended attributes (for cases and alerts)
Hi,
Re. http://docs.oracle.com/cd/E48549_01/index.htm (referred to by the Online Help under Applications > Case Management > Case Management concepts > Extended attribute) please can you advise where one should make the Configuration changes described on the Windows platform.
This document says "The complete set of Case Management extended attributes that are used on an Oracle Enterprise Data Quality (EDQ) server are configured in a file named flags.xml in the oedq_localhome/casemanagement directory. This file must be modified to add new extended attributes"
On my Windows installation I do not have that flags.xml file under C:\ProgramData\Oracle\Enterprise Data Quality\oedq_local_home\casemanagement
I do however have the file under C:\ProgramData\Oracle\Enterprise Data Quality\oedq_home\casemanagement however I am not able to modify it.
Please could you confirm how to proceed.
Also, generally what is the usage of the oedq_local_home and oedq_home directories.
Thanks, NikHi Nik,
From section 1.4.2 of the install guide.
https://docs.oracle.com/middleware/1213/edq/DQINS/planning.htm#DQINS5205
EDQ Configuration Directories
EDQ requires two configuration directories, which are separate from the EDQ Home (installation) directory that contains the program files. The configuration directories are:
The base configuration directory: This directory contains default configuration data. Once EDQ is installed, the files in the base configuration directory must not be altered, renamed, or moved.
The local configuration directory: This directory contains overrides to the default configuration. EDQ looks for overrides in this directory first, before looking in the base configuration directory. Files in the local configuration directory can be modified to customize or extend EDQ.
The names and locations of the configuration directories are as follows:
If you are using Oracle WebLogic Server, the Oracle installation wizard automatically creates and populates the configuration directories in the EDQ domain with the names of oedq.home (base configuration directory) and oedq.local.home (local configuration directory). An example installation path is: WLS_HOME/user_projects/domains/edq_domain/edq/oedq.home
WLS_HOME/user_projects/domains/edq_domain/edq/oedq.local.home
If you are using Apache Tomcat, you create the configuration directories manually in any location, with any names, and the configuration utility will populate them. You are prompted to create the directories during the installation instructions.
Just copy flags.xml from your oedq.home casemanagement folder to your oedq.local.home casemanagement folder and edit the file accordingly.
thanks,
Nick -
Problem in Updating marketing attributes for Contact
Hi,
I am trying to update marketing attributes for contact and Account while Creating lead. For this I implemented ORDER_SAVE (Chek before save).
For account, the marketing attributes are getting updated fine. But, for Contact they are not getting updated. For both I am using the same code. But, I dont understand, why.
Please, let me know why this is happening.
Here is the code i used.
The internal table li_imp_seltab contains Marketing attributs.Its being filled properly. No problem with Internal table data.
For contact----
>
If not v_contact is initial.
IF lo_contact_head->is_changeable( ) = abap_true.
Update or create the marketing attribute if it does not exist and set the value of the attribute to 'Prospect'
CALL FUNCTION 'CRM_MKTBP_CHANGE_BP'
EXPORTING
iv_profile_template_id = k_template_id
iv_bp_guid = l_contact_guid
iv_xdescr = abap_false
iv_fcode = abap_false
iv_msa = abap_false
iv_commit = abap_true
iv_partner = l_contact_no
iv_convert_values = abap_true
TABLES
it_imp_seltab = li_imp_seltab
et_return = li_return.
Modify core and save so that the updations would reflect immediately in Web UI
lo_core->modify( ).
lo_tx = lo_contact_head->get_transaction( ).
IF lo_tx IS BOUND.
IF lo_tx->save( ) = 'X'.
lo_tx->commit( ).
ENDIF.
ENDIF.
ENDIF.
For Account -
>
if not v_ac is initial.
Check if the entity is changeable.
IF lo_account_head->is_changeable( ) = abap_true.
Update or create the marketing attribute if it does not exist and set the value of the attribute to 'Prospect'
CALL FUNCTION 'CRM_MKTBP_CHANGE_BP'
EXPORTING
iv_profile_template_id = k_template_id
iv_bp_guid = l_account_guid
iv_xdescr = abap_false
iv_fcode = 'C'
iv_msa = abap_true
iv_commit = abap_true
iv_partner = l_account_no
iv_convert_values = abap_true
TABLES
it_imp_seltab = li_imp_seltab
et_return = li_return.
Modify core and save so that the updations would reflect immediately in Web UI
lo_core->modify( ).
lo_tx = lo_account_head->get_transaction( ).
IF lo_tx IS BOUND.
IF lo_tx->save( ) = 'X'.
lo_tx->commit( ).
ENDIF.
ENDIF.
ENDIF.
ENDIF.
Please
Thanks,
SandeepHi Sandeep,
You can use 'CRM_MKTBP_UPDATE_ATTR_BP' FM to update the marketing attributes of the BP.
Regards,
Lakshmi.Y -
Target group with attributes of persons and organizations
Hi,
we are using marketing attributes for persons and organizations.
Now, we want to realize a segmentation for organizations with marketing attribute productgroup xyz and persons with marketing attribute decider.
Is it possible to combine organizations with marketing attributes and persons with marketing-attributes in one target group?
thanksHi,
thank you very much for your answers!
Im sorry, I think my description was too short. I have the following situation / problem:
I am using InfoSet CRM_MKTTG_BP_ORG with business partner BUT000-PARTNER_GUID.
My person datasource based on Info Set CRM_MKTTG_BP_ORG and business partner BUT000_PER-PARTNER_GUID.
Furthermore Im using an attribute Set for organizational attributes and an attribute set for person attributes.
Now I want to build up a target group with persons who have specific attributes. The persons should be members of organisations with specific attributes.
Example: Persons with attribute decider should be member of organizations with attribute productgroup xyz.
We are using SAP CRM 5.0. I added the function modul CRM_MKTTG_PF_BP_TAB_TO_CP in my organization Datasource.
But I have problems to build up a profil set and a target group where I can combine the attributes of the organizations and the attributes of the persons. The counting result is 0.
I hope my description is understandable. Thank you in advance!
Volker -
Custom tag with rendered attribute
Is it possible to create a custom tag that operates similar to a JSF tag with the rendered attribute? Wrapping output with c:if test="..." is not as nice as the JSF rendered option, but I don't want to use JSF for this particular project.
Edited by: black_lotus on Nov 23, 2007 12:13 PMTLD File, per your previous recommendation:
<attribute>
<name>disabled</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
</attribute>My Tag class (snippet):
public class ButtonTag extends TagSupport
private boolean disabled;
public ButtonTag() {}
public boolean isDisabled()
return disabled;
public void setDisabled(boolean b)
disabled = b;
}A sample of the jsp file invoking it:
<c:set var="result" value="${computedValue}"/>
<ltm:button disabled="${result}"/>Regardless of the value of result, ("true" or "false") it always passes false to the setDisabled method of the button tag class. -
Should I use the .do or .uix file as the destination attribute on a link?
Good Morning all,
What is the difference in using the .do action file or the .uix file as the destination attribute on a link? Is one preferred over the other? Any clairification would be helpful.
Thank youI've spent considerable time on this myself but from the perspective of a GO vs. a link. Why the difference and what do we gain?
You really need to understand Struts. I am just beginning to. The stuff that comes with 10g on Struts is the tip of the iceberg. I picked up an O'Reilly book (Jakarta Struts) which actually addresses why one should use an action reference vs a direct link to a page (UIX JSP or otherwise). There are many other useful discussions on the MVC and Struts' place in it.
Briefly, a link to a UIX page bypasses the controller aspect of Struts and you forfeit the opportunity for extensions/customizations etc and basically violate the MVC blueprint (See sun.com).
My issue was why do I have to do a DataAction and a forward (as all the Oracle collateral would have you do)when I just need to go directly to a page?
Struts has a class (org.apache.struts.actions.forwardAction) that allows you to do just that without violating the MVC rules and without having to create all the extra actions and forwards when you just want to go to a page without a DataAction.
Get the book, well worth the $ vs the frustration.
Hope this helps somewhat.
Tom -
Problem with rendered attribute in jhs 10.1.3.3
We are currently trying to migrate our applications from jhs 10.1.3.2.52 to jhs 10.1.3.3.87 using jdeveloper 10.1.3.5. We are facing a problem with all the detail groups structured inside detail group regions - they have all disappear from the pages.
In my example code i have two master-detail groups Products (Master) and ExpertiseAreas (Detail) on the same page:
Products - Group
-> ExpertiseAreasDtl - Detail Group Region
-> ExpertiseAreas - Group (Samepage="true")
The problem is that the detail group ExpertiseAreas is not rendered on the page.
As i looked in through the pages generated by the 2 different releases of jhs using the same app definition, i can see the following:
CODE GENERATED FOR THE ExpertiseAreasDtl Detail Group Region (all the vms used are the default):
in jhs10.1.3.3.87:
<af:panelGroup *rendered="#{(ProductsIterator.currentRow!=null and ProductsIterator.findMode!='true')}"* id="ProductsRegionsExpertiseAreasDtlPanelGroup">
in *jhs 10.1.3.2. 52*:
<af:panelGroup id="ProductsRegionsExpertiseAreasDtlPanelGroup">
First of all a rendered attribute is being generated in the new version of jhs and not in the old.
The real problem seems to be with the iterator binding generated from verticalRegionContainer.vm in the regular expression: "#{(ProductsIterator.currentRow!=null and ProductsIterator.findMode!='true')}". It should have been *bindings.*ProductsIterator and not plain ProductsIterator. Has anybody got any ideas on how to solve the problem?
Thanks
Giorgos
Edited by: user647567 on 17 Δεκ 2009 2:16 πμ
Edited by: user647567 on 17 Δεκ 2009 5:58 πμGiorgos,
We have uploaded a new service update, 10.1.3.3.88, on the cso.oracle.com site. This should fix your issue.
Steven Davelaar,
JHeadstart Team. -
Problem with rerendering h:panelGrid with rendered attribute
Hi,
I am new to jsf and trying to learn its features as I find it easy and fast for development purpose.I have been developing with jsf for past few weeks and got myself stuck with a problem, tired of which I had to take the forum's help :). My problem is that I need to show/hide h:panelGrid using any of the options below:
I tried putting the grid in the div and show/hide that div using javascript..works fine but the problem with this is, even when the div is hidden the components (h:inputText ) within the grid are submitted with the form, which should not be the case since its hidden (as with normal jsps).
I worked around with rendered attribute of the grid, and show/hide this grid using the backing bean method which is actually a valueChangeListener of h:selectOneMenu and set the boolean for the rendered to true/false as required, the grid is hide/shown correctly, but this isn't giving me any solution because when I submit the form with this grid shown on the view, its components values are still not submitted :( I dont know whats the reason behind this or what clue am I missing here. I dont know why when the grid is shown correclty, its components values are not submitted.. hence not validated too..
Any help will be highly appreciable.
Regards
srehman>
gimbal2 wrote:
No, in "normal jsps" you'll get the same thing - even though you
visibly hide a component, it is still there and thus will still be part
of a form submit. If you don't want form fields to submit, you'll have
to make sure they are physically not there, or the fields are disabled.Well thanks alot for correcting me on this mate.
Don't know either, it should work if you did everything correctly. Are
you sure the databinding (to a JSF backing bean field) of the grid is
correct? When you create a similar setup but without any of the
show/hide logic, does it work then?I guess I have done it correctly but let me tell you, I have no direct binding to the grid itself, instead I have h:inputText fields in the grid that are bound to the backing bean's properties, which I need to submit and validate too. e.g{color:#800000}<h:panelGrid id="myPanel" columns="3" rendered="Bean.renderStatus">
<h:outputText value="variable"/>
<h:inputText id="v" value="Bean.property" required="true">
<a4j:support ......... />
</h:inputText>
</h:panelGrid>{color}
{color:#800000}<rich:message for="v"/>{color}
Here I am able to hide and show the grid but I am unable to submit the field in any case whether its hidden or shown :( At first the grid is hidden and then on the valueChangeListener of h:selectOneMenu rendered value is set to either true or false.( renderStatus is set in the value change listener ).
And yeah without this logic of hide/show its working fine with me. Any guess or idea what am I doing wrong here.
Thanks for your time by the way.
Regards,
Shoaib -
TaskMenu is not rendering properly using rendered attribute withSecurityCxt
Hi All,
I am trying to use this code rendered="#{!(securityContext.userInRole['ZPM_ENT_MARKETING_BUDGET_MANAGER_DUTY'])}" in the itemNode UI component of my Budget_taskmenu.xml. But UI is not rendering it properly.
I have checked the same code in the backing bean and it is returning true and false as per expectation but at UI level my menu is not coming properly (it is coming as #{null} in place of name in menu).
But same piece of code is working fine in my .jsff file where I am doing the same check in rendered attribute.
rendered="#{!(securityContext.userInRole['ZPM_ENT_MARKETING_BUDGET_MANAGER_DUTY'])}"
Any Suggestion.
Regards,
Sarvesh KaushikHi Frank,
Thanks for your reply.
But I found the actual root cause of the issue.
There is nothing wrong in the expression rendered="#{!(securityContext.userInRole['ZPM_ENT_MARKETING_BUDGET_MANAGER_DUTY'])}".
The actual issue with my code was one label name was wrong bcoz of which menu was not rendering properly.
Thanks and Regards,
Sarvesh Kaushik
Maybe you are looking for
-
How to avoid creation of _(file.*), coping from tiger to pc?
how to avoid the creation of this file for ever on a pc environment?? I explain: as i copy any image file, it goes to a spooler directory and that begins instantly to process the file to an OPI server, separating CMYK channels, converting it to high
-
RE: help regardng the popups
Hi experts , i am new to webdynpro and got the task to do such tht when we click on some button it should give me the popup window and again a popup should be displayed so plz tell me the procedure for creating the popup screen in webdynpro for abap.
-
What is the best method for backing up movies?
I've been using Handbrake to rip out movies that I OWN so I can watch them on my apple tv. Everything works great, I'm just wondering what the best way to back up these files is. Any ideas? I own about 400 DVD's and would like to have them all in my
-
I'm having trouble adding photos to iMovie '11 (same issue when I was on '09).
I start a new project in iMovie and drag a photo over from my desktop. I see the green line and then drop, the photo does not add. I tried using the media tables and dragging events, albums, and individual photos, but the same thing happens. The on
-
Which type of attachments can i open from Mail for...
which type of attachments can i open from Mail for Exchange in Nokia E 7. ( e.g.MS Office Word , Excel , PowerPoint Latest versions , PDF , Jpeg Etc ) Regards, COMDINI Regards, COMDINI