JSF Faces: can a detailStamp conditionally be rendered per row?
Hi,
I created a master/detail view as a table with an inline detail table.
Is it now possible to render the detailStamp drill link conditionally?
For example, I have a master table TAB1 with two columns C1 and C2.
In the detailStamp faced I have the detail table TAB2 with certain columns.
Can I only view the drill down link when TAB1.C1 has value 'A':
detail | C1 | C2
<show> | A | X
| B | Z
<show> | A | YMessage was edited by:
arti
Arti,
I did a simple test - I selectively hid/showed the item inside of the detail facet depending upon the value of some other column. It didn't work - if the first row had the detail item, they all had them, and vice versa.
So, I'm going to say, "no"
John
Similar Messages
-
How Can I put a customized tooltip per row on a UIAPI Matrix?
Hi everyone,
I want to set an specific tooltip per each row been display on a UIAPI Matrix.
Does anyone could please replay with a code explample about setting a tooltip?
Does the SDK have a way to catch a mouse over event o mouse position?
ThanksHello
The tooltip is the description of the Column
For Each oCol As Column In oMatrix.Columns
oCol.Description = "tooltip"
Next
Regards
J -
Use of filter to JSF faces servlet
Hi
I have a JSF application which is secured by a custom security framework (similar to SITE MINDER). The security framework after authentication passes the authenticated user name within a in-memory session cookie.
The entire user information like his group and access restrictions (field / UI compoonent level) resides in the application database
I have used a filter to JSF Faces servlet to retrieve the user information from the database and storing in session.
Is this use of filter a good approach?I would fetch such information only once and store it in a simple session scoped bean after a successful login, but I am weird for wanting to do things in a simple way.
A filter can work to validate if the user is still "logged in" (IE. his/her session didn't expire), but since this is JSF you could also use a phase listener for such a purpose. -
Using struts-faces : can't find "forward".
using struts-faces : can't find "forward".
I download the struts-faces lib and want to make a integration with struts && JSF.
The action's one method is executed, but after that, it can't find the forward page.
The console display:
// Here is the initLogon() method of LogonAction, just print 2 message
[LogonAction] DEBUG: initLogon start
[LogonAction] DEBUG: initLogon end
// Then output these:
[FacesRequestProcessor] DEBUG: Standard action perform returned /index.faces forward path
[FacesRequestProcessor] DEBUG: Performing standard forward config handling
[RequestProcessor] DEBUG: processForwardConfig(ForwardConfig[name=logon_page,path=/index.faces,redirect=false,contextRelative=false])
[FacesRequestProcessor] DEBUG: doForward(/index.faces)
// Then exception occured:
<[ServletContext(id=19306074,name=/interactive,context-path=/interactive)]
Servlet failed with Exception
java.lang.NullPointerException
at org.apache.struts.faces.application.FacesRequestProcessor.doForward(FacesRequestProcessor.java:121)
......Here is part of my config file, maybe the exception was caused by something I missed
In struts-config.xml:
<action-mappings>
<action path="/LogonAction"
type="org.interactive.interactive.presentation.security.LogonAction"
scope="request"
name="LogonForm"
parameter="method"
input="/LogonAction.do?method=initLogon"
validate="false">
<forward name="logon_page" path="/index.faces"/>
</action>
</action-mappings> In web.xml:
<servlet>
<servlet-name>faces</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>faces</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping> In faces-config.xml, I left it empty:
<faces-config>
</faces-config> The index.jsp is very simple:
it just include a string "This is index.jsp", no any tag.
Please give me some advice, thanks !Need Help!
I use weblogic8.1 and
the entry is http://localhost:7001/interactive/LogonAction.do?method=initLogon
I don't know why it execute the initLogon() method but can't return to the page. -
Trinidad faces and JSF faces not optimized for android web-browser.
We are developing Mobile based application using Oracle ADF Mobile (Jdev R1). Trinidad Faces and JSF faces are rendering optimized on all smart phones (i.e. iPhone, Blackberry and windows) except Android (linuxwebkit) web browser. On Android web-browser page rendering as render in desktop browser.
any idea please?
thanks
yousufHi,
copying the answer I provided on the Stack Overflow forum to the same question:
Apparently you are correct and the ADF Mobile developer guide for 11g R1 doesn't mention Android as a target platform: http://docs.oracle.com/cd/E23943_01/web.1111/e10140/toc.htm
However, JDeveloper 11g R2 does : http://docs.oracle.com/cd/E26098_01/web.1112/e16178/toc.htm
Just search for "Android" and you see what I mean. As you mention the base technology is Apache MyFaces Trinidad and the version of Trinidad thus determines the support for mobile devices.
Apparently JDeveloper 11g R2 uses the Trinidad libraries (JSF 2) that support the Android platform while JDeveloper 11g R1 does not.
Given that Trinidad 1.2 supports Android (though it might not have been tested as mentioned here: http://myfaces.apache.org/trinidad/devguide/mobile.html) you should be able to create your own skin for Android as documented here: http://myfaces.apache.org/trinidad/devguide/mobileSkinning.html
The RequestContext object in Trinidad returns the calling agent and you may want to check first if this returns Android. If it does then creating and applying a skin is easy to do.
Frank -
Can the Start conditions editor of a Standard WF be changed
Can the Start conditions editor of a Standard WF be changed and transported to Production?
Please suggest
Edited by: kittu reddy on Dec 12, 2008 2:15 PMHI,
Yes you can do that. You can deactivate the start conditions and transport it.
I think you are working on SRM workflows. Below are few links which might be useful to you.
[http://help.sap.com/saphelp_srm50/helpdata/en/ee/277e3c281f1817e10000000a114084/content.htm]
[http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/content.htm]
Regards,
Raj -
Can we change Condition Tables
Dear Experts,
can you please tell me can we change condition tables for SD example 017/018?
T code for this is M/04
Requirement is now i need to check the checkbox With Release Status..
Can anybody help me?
Sachin
Edited by: Sachin Bidkar on Aug 12, 2011 8:44 AMHi Max,
Thanks for the reply.
Actually my requirement is to change processing status through ME12 for purchasing info records
And My query is suppose i add this field in T681E, then will it allow to change the processing status in ME11/12?
Please guide me.
Thanks & Regards,
Sachin Bidkar
Edited by: Sachin Bidkar on Sep 23, 2011 2:36 PM -
Can we a condition type in PO, accepts negative value & vendor no.
Hi freinds,
i have a query,
can we a condition type in PO, where user can enter negative value and can assign a vendor against that condition type as like freight vendors in import PO.
now what i have done is , i have created a condition type which can accept negative value , but unable to assign vendor against it.
if i select condition category as delivery cost it allows me to enter vendor but not a negative value.
pls suggest what should i do ?
regards
RashmiHi,
Please, could you tell me how resolved this requirement? Because I have a similar problem.
Thanks a lot in advance.
Gabriela Ramirez.
Edited by: Gabriela Ramirez on Aug 25, 2009 3:47 PM -
How can i maintain conditions for vendor sub-ranges
Hi All,
How can i maintain conditions for vendor sub-ranges. These conditions apply to all materials from vendor's sub-range.
Eg: vendor X has the two subranges R1 & R2. I want to maintain separate conditions for R1 & R2. When ever i created PO with ref to particular subrange that Vendor conditions has to be appeared.
How can i achieve this?
Could u pls suggest?
Thanks & Regards
Anilkumar DalaiHi,
First Create a Condition Table with field "Vendor sub-range" in M/03
Then create an Access Sequence using this Condition Table in M/07
Then assign this Access Sequence in the Gross Price Condition Type in M/06
Then assign this Condition type in Calculation Schema in M/08
Then maintain condition record for this condition type in MEK1
And then select the appropriate VSR Code in ME21N and check the Pricing. -
Can I use conditional formatting in OWA?
Can I use conditional forwarding for emails in OWA. I would like to set up rules in OWA that will allow certain messages to change their display upon receipt.
Hi,
Based on my knowledge, I'm afraid that we can't do it via OWA. You need to setup the conditional formatting on Outlook. Here is the steps for your reference.
On the View tab, in the Current View group, click View Settings, and then click Conditional Formatting. Click Add to create a conditional formatting rule.
For more information, here is a blog for your reference.
Conditional Formatting: Highlight your most important mails
http://blogs.office.com/2012/05/10/conditional-formatting-highlight-your-most-important-mails/
Hope it helps.
Best regards,
Amy
Amy Wang
TechNet Community Support -
Hi,
I'm trying to make a jsp page that contains ADF Faces components and some conditions, using JSTL.
Is it possible to use these together? I'm having a view-object that contains a query which returns records with an hour (as string, eg: 8:00) and a description. What I'm trying to do, is to create a selectOneRadio for each record. If the hour of the previous record is the same as the current hour .. the selectOneRadio will belong to the same group; I need JSTL to check the equality (<c:if>).
Eg:
Records returned by query:
08:00 Description1
08:00 Description2
09:00 Description3
09:00 Description4
09:00 Description5
Output wanted on the jsp: (O = selectOneRadio)
08:00 O Description1 O Description2
09:00 O Description3 O Description4 O Description5
Thanks!
KoenI added a new method to the AM which return a List. The list contains an object with a couple of strings and with another List. I display all the data like this:
<af:forEach items="#{bindings.getNextPresentationsList.result}"
var="presentation">
<af:selectOneRadio label="#{presentation.startHour} - #{presentation.endHour}">
<af:forEach items="#{presentation.subjects}" var="subject">
<af:selectItem label="#{subject.subjectName}" value="#{subject.subjectName}"/>
</af:forEach>
</af:selectOneRadio>
</af:forEach>
[edit]
It creates following layout (like I wanted)
08:00 O Description1 O Description2
09:00 O Description3 O Description4 O Description5
[edit]
I now have another problem :/ Because the data is dynamically displayed on the jsp .. I don't now how to bind the values to a bean-attribute.
I hope my problem is clearly descriped ..
And yet another thanks ;)
Message was edited by:
Koen_Verhulst -
Neha.R can we see conditions in delivery level
Hi SAP GURUS ,
Can we see conditions records in delivery level.If it is not
what is the reason ,and one more thing we can see in Billing leve lwhat is the logic .
Advanced thanks
Neha.RHi Neha,
The reason why we wont see conditions or pricing procedure in delivery and we can see the pricing procedure in billing is,,;, , but we can assign the pricing for delivery in case of frieght conditions.
the question is how the pricing copying form sales order to billing, while billing is taking with reference to sales order right, so in the delivery document details , u can see the field order reference,so with that reference pricing will flow to the billing document.
in case of delivery with out order reference, document DL ( seudo document) will taken as reference for pricing.
regards,
ram. -
can we apply conditions,xception,etc.. on ods while doing reporting.
Hi,
Yes, you should be able to place an exception or condition on your query while reporting directly of an ODS Object.
Hope this helps.
Regards,
Andrew -
Can i use partial page rendering with BC4J?
Hi!
I can't use partial page rendering when i use table for bc4j...
Why is it?
ViktorWhy do you say that? It seems to work fine for me...
-
How can i give conditions in smartform text editor
Hi all,
i want to display something based on some condition using text element in smartforms , how can i do it.
in SAP Scripts normally we give conditions in text element using command line(/:)
but it wont work in smartforms , how can i give the same in smartforms ?
please help me soon.
thank you.Hi,
You can use the Conditions tab for the corresponding text.
ex: in the text-editor consider you are displaying a name field based on a variable
<b>
ws_name
ws_variable</b>
In the text give the field to be displayed
&ws_name&
In the conditions tab give
ws_variable = 'X'
This will print the value from ws_name only when ws_Variable = 'X'.
Regards,
Tushar
Maybe you are looking for
-
I have PS Elements 5. I read a previous article about above error. According to the steps you have to uninstall the program. What happens to pictures, etc. that at in the program.???
-
Hello Here's a strange one: After updating to the previous version of iTunes (the one which underwent the first major redesign), and my iphone to IOS 7, there's lots of inconveniencies occurring. The funniest one is this: When I connect the phone and
-
Reinstalling Elements 11 after upgrading from Windows XP to Windows 7?
Any idea how I can reinstall Elements 11 (Premier and Photoshop) after upgrading from Windows XP to Windows 7?
-
I'm geting an unknown error message 13010 when I restored my iPod Classic (160 GB) 2.0.4 Mac to my OS X version 10.9.5 Mac computer. It cannot by synced. Help!!
-
Obtaining patchset 9.0.1.4 for bug 2144889
I need to get this patchset, have been all over the oracle website looking for it can anybody help. Thanks John