Items style
How can i do to make a border to an item? Like portlets border!
Thank you,
Gabriel
Yes, but I have already make this pagelinks. And I have about 20 page everyone with about 20 page links. How can I transform a item region with 20 page links into a navigation page?
Thanks
Similar Messages
-
Link Item Style to open a PDF hangs if opened in IE in 30 seconds
Hi,
I am using Jdeveloper version 9.0.3.
I have a page in which, I have an advanced table, in which there is a column, with item style - link.
On the link item there is a PPR event and it should open a PDF file, residing on the server.
I am using java code to open the PDF file.
In Internet Explorer, the link doesnt work, infact the Explorer hangs and the user has to exit the window.
This doesnt happen in Firefox. However, this is critical as , use of firefox is not allowed, and the users have to ultimately use IE.
Below is the java code for opening the PDF file from the server:
public void downloadFileFromServer(OAPageContext pageContext, String file_name_with_path, String file_name_with_ext)
HttpServletResponse response = (HttpServletResponse) pageContext.getRenderingContext().getServletResponse();
if (file_name_with_path == null || "".equals(file_name_with_path)){
throw new OAException("File path is invalid.");
File fileToDownload = null;
try{
fileToDownload = new File(file_name_with_path);
}catch (Exception e){
throw new OAException("Invalid File Path or file does not exist.");
if (!fileToDownload.exists()){
throw new OAException("File does not exist.");
if (!fileToDownload.canRead()){
throw new OAException("Not Able to read the file.");
String fileType = getMimeType(file_name_with_ext);
response.setContentType(fileType);
response.setContentLength((int)fileToDownload.length());
response.setHeader("Content-Disposition", "attachment; filename=\"" + file_name_with_ext + "\"");
InputStream in = null;
ServletOutputStream outs = null;
try{
outs = response.getOutputStream();
in = new BufferedInputStream(new FileInputStream(fileToDownload));
int ch;
while ((ch = in.read()) != -1){
outs.write(ch);
}catch (IOException e){
e.printStackTrace();
}finally{
try{
outs.flush();
outs.close();
if (in != null){
in.close();
}catch (Exception e){
e.printStackTrace();
}//end catch
}//end finally
}//end method
public String getMimeType(String s)
int i = s.lastIndexOf(".");
if (i > 0 && i < s.length() - 1){
String s1 = s.substring(i + 1);
if (s1.equalsIgnoreCase("pdf")){
return "application/pdf";
}//end if
}//end if
return "application/octet-stream";
}//end method
Thanks,
AJHi Kristofer,
We did look at the possibility for using messageDownload bean instead of a link, but we do not want to store the file as a LOB.
The file needs to be stored in the server location.
Any clue as to why the file opened in the browser ( on clicking on the link) hangs and this is happening only in IE.
Thanks,
AJ -
How to display HTML formatted text in the field with Item Style: Raw Text
How can I display HTML formatted text in the field with Item Style: Raw Text.
Currently the Item Style is Raw Text, but the text is being displayed along with HTML tags without formatting.
RegardsHi,
Use Item Style formattedText.
Regards,
Gyan -
Item style messagDownload for a blob datatype shows junk
Hello everybody,
I am using the item style 'messagDownload' for a blob datatype , but it is showing junk characters in the output page.
Has anybody faces this isse before.
Thanks in advance.
Riyazhi ,
i am having the same problem like yours. when i display the table in oa f page which contains filedata as blob , it is printin junk value.
i need to replace those junk value with any other character say '(Blob)'.
please help me if u solved this problem.
thanks -
Can we implement partial page rendering on item style Flex??
Hi All,
In an xml,
I have item style 'Flex' for expense account.
Requirement is :
In the same page i have other LOV which brings the data based on one of the segments of that expense account.
So any changes in one of the segments for the expesne account need to be stored and LOV query should be modified accrodingly..
So trying with following possibilties
1) Use partial page rendering for expense account
2) Split the page into two so that first expense account is displayed and any modifications to it are handled in controller and use LOV Mappings to update the query.
So can partial page rendering can be implemented for Item style "Flex".
Can anyone please provide the inputs to handle this scenario and best possible solution?
Issue is very hot right now.. Quick help needed..Hi
No u can not use PPR for flex items although u can create context flexfield .
thanx
Pratap -
SharePoint Branding - New Custom Item Style does not appear on dropdown of Item Styles
We are using custom styles on our SharePoint site. We need to create a new item style for a user requirement. I have created my new item style on the xml file using the existing Visual Studio solution then deployed it on our site. Unfortunately, I couldn't
seem to see the new style on the Item Style dropdown when I try to edit a webpart.
I have checked the 14 hive folder and the verified that the xml file is updated with my new item style. I have also verified that the XML is well formed.
I have done IISReset, BLOB Cached Flush, and remove browser cache but I still couldn't see my new item style.
Artificial intelligence can never beat natural stupidity.I presume you mean themes?
This link covers the process:
http://howtosharepoint.blogspot.co.uk/2010/04/how-to-deploy-new-theme-as-feature.html
It also includes a few comments which might be relevant, have you checked them? -
Link item style using personalization
We have a requirement using personalization
I want to create a link item style using personalization.
but when i go to personalize page and click on create child icon i can create only some of the widgets.
Is there any way to create a link bean using personalization?
Can anybody throw some points on this?I remember we removed it for some technical issues(earlier I think it was exposing the fireAction property) and added it back in RUP4 without those properties.
You have two good solutions to this in CU2 if you are not going to move to the latest.
1. Use a button instead which has a target frame property which will launch you page in a new window.
2. Use jdeveloper create a stackLayout and add a link inside that and set the properties required. Deploy that region in MDS, now use personalization to add a stacklayout(good thing for you is this feature of adding regions was introduced in CU2) and set the extends property pointing to the region you deployed and live happily ever after :).
We have a nice release notes which tells about features added, features removed. You should be utilising that to understand the restrictions on a particular release and the new features too, it's very short and sweet and you can go back to personalization or dev guide to know more about the feature.
Message was edited by:
Ramkumar Sekar -
Error encountered when Adding an Item style Flex in Search criteria
Hi All,
I am trying to add an Item style Flex in the Searchable region(search criteria region) ,then I have encountered an error saying
Program error. Please inform your support representative that the descriptive flexfield in the application could not be found.
Thanks
AKCan I use the DFF which exists in different Responsibility,caz i am using the DFF which exists in Oreder Management and i am adding the DFF in Sales Contracts Workbench User Responsibility.
Thnaks
AK -
Is EO necessary for the Item Style「MessageFileUpload」on EBS 12.1.3?
Hello experts,
When using Item Style「MessageFileUpload」,if the file which is being uploaded
exists ,the file name with an anchor will be rended and the file can be previewed
by click it.But the customer found that EO should be added for the VO associated with
Item Style「OAMessageFileUpload」.If EO is removed,the file will be opened as a blank file.
So is EO necessary for Item Style「MessageFileUpload」?
Thank you in advance.
Best regards,
Wang
Edited by: user593662 on May 16, 2012 1:06 AMHi,
You need to save the file and for that you need the EO.
Thanks
Anoop -
What Item Style i must use to get my list of value
hello forum,
initially i have selected Item Style as "messageChoice" in the Property Inspector and the VO had only 83 rows so the complete list was appearing.
After i changed my query in the VO to allow some more data to appear (i.e. 345 rows) the Item Style as "messageChoice" that i am using does not show all the rows. It is instead showing few data and at the end of the list it reads as follows:
<Max rows exceeded>: END_OF_DATA
could any out there please tell me how i can get all values displayed in my parameter?
Do i need to change the Item Style from "messageChoice" to something that can allow the complete list?
appreciate if some one can advise/help!
Brgrds,
JennyHi Jenny ,
Well , since you are working with standard page , you need to extend the controller class which is associated to the page .
First you need to hide the existing the Message Choice bean using personalization , this will actually make the field disappear from
the page .
Next to need to add the new field (MessageLovInput ) by making use of java code , this java code needs to be implemented in the
controller class .
The following link has complete set the code to implement the MessageLovInput pro-grammatically
https://cn.forums.oracle.com/forums/thread.jspa?threadID=458476
http://mukx.blogspot.in/2009/11/setting-query-dynamically-in-view.html ( Setting Query Dynamically )
Please go through it and let me know if you need any further help .
Keerthi -
Need detailed procedure on how to add an item with Item Style Check Box in
Need detailed procedure on how to add an item with Item Style Check Box in Framework.
The view instance should be the same as the view instance (view object) specified for your region.
If the View Attribute already that you need already exists in the View Object then you can use it.
Otherwise you have to extend the View Object and add the new attribute to it.
--Prasanna -
Personalizations with Create Item and Item Style "Pop Up"?
Can anyone provide me an example of how to create a simple pop up message? I would attempt to create this with Oracle Personalizations -> Create Item -> Item Style "Pop Up".
I attempted to create the pop up message but am not successful.
Any guidenace would be greatly appreciated.
Thanks!Hi Timo,
My question is related to personalizations in Oracle Self Service pages, Currently I am on Oracle APPS R.12.1.3.
The Self Service pages are associated to a VIEW OBJECT that is either copied from Oracle seeded VOs or created and/or modified in JAVA.
You can also perform a "Personalization" within the form and by pass making updates in JAVA. This option is available in any self-service screen, top right corner labeled "Personalize Page". Once you select "Personalize Page, there is a option called "Create Item" that will allow you to create a new column or custom action.
My request is simply to understand how to utilize the seeded "Create Item" and within this function "Pop Up" in order for a page or message to appear immediately after for example the user select a button or enters data into a field.
Not sure if I can perform this within a "Personlization" or is updating the underlining View Object or Controller class is required.
Thank you and I appreciate any guidance you can provide.
Robert -
Hi Folks,
I have a requirement in which I need to customize Standard Supplier Page from following navigation "Suppliers --> Inquiry" in Payables Manager Resp.
The change I need to do is:
Change "Supplier Name" MessageTextInput item as LOV item and attach a custom LOVVO to the LOVRN.
Is it possible?
If possible please tell me the Extensions involved and steps if brief to achieve this.
Thanks in advance.
gvk.Hi,
gvk wrote:
I have a requirement in which I need to customize Standard Supplier Page from following navigation "Suppliers --> Inquiry" in Payables Manager Resp.
The change I need to do is:
Change "Supplier Name" MessageTextInput item as LOV item and attach a custom LOVVO to the LOVRN.
Is it possible?
If possible please tell me the Extensions involved and steps if brief to achieve this.---Instead of chaingig the item style...y dont we hide the existing text input field and create new lov input filed
in the same region..
Regards
Meher Irk -
How to create a custom listview with a specific listview item style?
Hi everybody, I am trying to implement a custom image gallery. It has a very distinct design though, It supports drag and drop reordering. Each item has a button on the left and a thumbnail. The drag and drop should happen only when we drag the thumbnail
and drop on the + buttons. I tried a lot of ways but none of them seem to work properly. The design of the list view is as the image below.
the first item in the list view looks like this. a button and a thumbnail and the last item looks the same but instead of a thumbnail it has an icon. When the add button is clicked a open file dialog appears and we can insert a thumbnail when the add button
which is on the left and right of the thumbnail is clicked. When the add button at the end is clicked it adds a thumbnail at the end. How do i implement something like this ? Any help is much appreciated.
This is the code that i have for the list view item container.
<Style TargetType="ListViewItem" x:Key="ContainerStyle" >
<Setter Property="KeyboardNavigation.IsTabStop" Value="False"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ListViewItem}">
<StackPanel Orientation="Horizontal">
<Button x:Name="AddButton"
Style="{StaticResource SeparatorButtonStyle}"
Tag="{TemplateBinding Tag}" AllowDrop="True"
HorizontalAlignment="Left"
Click="AddBtn_Clicked" VerticalAlignment="Center" Margin="10,0,10,0"/>
<Border x:Name="Bd" BorderBrush="Transparent" BorderThickness="5" Background="{TemplateBinding Background}" Margin="10,10,10,15" SnapsToDevicePixels="true">
<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Border>
</StackPanel>
<ControlTemplate.Triggers>
<Trigger Property="IsSelected" Value="true">
<Setter Property="Background" TargetName="Bd" Value="#098ae4" />
</Trigger>
<Trigger Property="IsEnabled" Value="false">
<Setter Property="Background" TargetName="Bd" Value="#098ae4" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
<Setter Property="IsSelected" Value="False" />
</Style>
The datatemplate looks like this..
<DataTemplate DataType="{x:Type local:ThumbData}">
<Border BorderThickness="3,3,3,3" x:Name="thumbnailborder" PreviewMouseMove="MouseOverImage" MouseLeave="thumbnailborder_MouseLeave_1" AllowDrop="True" Tag="{Binding ThumbNumber}" DataContext="{Binding}" Width="150" PreviewMouseDown="Page_PreviewMouseDown" PreviewStylusDown="Page_PreviewStylusDown">
<StackPanel x:Name="border" Background="LightGray">
<Border>
<Grid>
<Border x:Name="transpBk" Height="{Binding ActualHeight, ElementName=thumbImage}" Width="{Binding ActualWidth, ElementName=thumbImage}" VerticalAlignment="Center" HorizontalAlignment="Center" />
<Image x:Name="thumbImage" Source="{Binding ImageSource}" VerticalAlignment="Center" HorizontalAlignment="Center" Stretch="Uniform" Width="150" Height="100" />
</Grid>
</Border>
<Border Width="150" Height="20" x:Name="ThumbnailNumberPanel">
<Border Background="{Binding PColor}" Opacity="0.8" Width="150" HorizontalAlignment="Center" Height="20">
<TextBlock Text="{Binding ThumbNumber}" TextWrapping="NoWrap" TextTrimming="WordEllipsis" VerticalAlignment="Center"
HorizontalAlignment="Center" FontFamily="Segoe UI" Foreground="White" FontSize="11" TextAlignment="Center"
Width="150" Margin="0" PreviewMouseDown="Page_PreviewMouseDown" PreviewStylusDown="Page_PreviewStylusDown"/>
</Border>
</Border>
</StackPanel>
</Border>
</DataTemplate>
Thanks and Regards, JohnnyWalker.Hello Johnny,
Can you describe what do you mean by say this:
"we can insert a thumbnail and dropped on to the add button which is on the left and right of the thumbnail"
And also could you describe in which part you have problem?
If you don't know how to add a image to your listviewitem, please try check VisualTreeHelper Class, use it to the specific element you need and then add the element, like a image to it.
See a code sample about it:http://rachel53461.wordpress.com/2011/10/09/navigating-wpfs-visual-tree/
And check for details from MSDN:http://msdn.microsoft.com/en-us/library/system.windows.media.visualtreehelper(v=vs.110).aspx
Best regards,
Barry
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.
Hi Barry, Sorry that was a typo. What i meant to say was we can insert a new thumbnail when the + button which are on either side of the thumbnail is clicked.
There are two problems that i am facing.
How do i do drag and drop by dropping on to the + buttons? Drag and drop should not work when one thumbnail is dropped on to the other. Multiple thumbnails can be selected and dragged and dropped to reorder. The + buttons should not be dragged nor
selected.
Dragging the last "add thumbnail" should not be possible. It has to be there always at the end. And user should not be able to select, reorder or delete it.
I have a class which holds the thumbnail and i am setting the observable collection as the item source of the list view. i do not have any problem in showing the thumbnails.
Thanks and Regards, JohnnyWalker. -
EDIT ITEM STYLE IN A PERSPECTIVE PAGE
The item created is News 1, with the text shown by default:
News 1
Creation date: date specified in an invalid format. Page Group: Portal de Gobierno del ELA Canal de Noticias Canal de Noticias "
We need to edit this information shown after the item creation: either show nothing or show desired text.In Release 2 you can change the list of attributes in Edit Defaults on the custom search portlet (used to show the Perspective view).
In 3.0 you can't change the style for a Perspective page. If you're getting an error message for the date attribute, please contact Oracle support. -
Copy item style attributes/properties to other item?
Just want to ask if someone know if there is short way to copy item properties to other object, than go through every possibilities with script. There is quite many possibilities with strokes and so on, so this could be helpful...
I mean like with "Eyedropper Tool", but with the script
I can set them manually like below. But just want to know is there already some "shortcut" way to handle this kind object style copying?
var doc = app.activeDocument;
var selectedItems = doc.selection;
var newLayer = doc.layers.add();
var ellipse = newLayer.pathItems.ellipse(100, 0, 100.0, 100.0, false, true );
ellipse.fillColor = selectedItems[0].fillColor;
ellipse.strokeColor = selectedItems[0].strokeColor;
ellipse.strokeWidth = selectedItems[0].strokeWidth;
ellipse.strokeDashes = selectedItems[0].strokeDashes;
ellipse.strokeDashOffset = selectedItems[0].strokeDashOffset;
// etc etc...You can make an object to store attributes you want to copy from some art item and then use that object as data for a function which takes another art item as an argument and applies all appropriate options from the data object.
My sample code here relies on having 2 path items with names of 'mySource' and 'myDest' .
The appStyle object acts as a clipboard to hold the style attributes of the art, and uses the for-in loops to apply and copy them, which means if AI art objects had a 'copyStyle' or 'applyStyle' properties, it would mess you up, then the names would need to change to be unique.
#target illustrator
function test(){
var doc= app.activeDocument;
var appStyle = {
fillColor: null,
strokeColor: null,
strokeWidth: null,
strokeDashes: null,
strokeDashOffset: null,
copyStyle: function(sourceArt){
var a = sourceArt;
for(var all in this){
if(a.hasOwnProperty(all)){
this[all] = a[all];
applyStyle: function(destArt){
var b = destArt;
for(var all in this){
if(b.hasOwnProperty(all) && this[all] != null){
b[all] = this[all];
var mySourcePath = doc.pathItems.getByName('mySource');
var myDestPath = doc.pathItems.getByName('myDest');
appStyle.copyStyle(mySourcePath);
appStyle.applyStyle(myDestPath);
test();
Maybe you are looking for
-
How do I update my internal flash player?
How do I update my internal flash player? My browser versions are version 10. I get this error in flex: C:\Program Files\Adobe\Adobe Flash CS3\Players\FlashPlayer.exe Flex Builder cannot locate the required debugger version of Flash Player. You might
-
HT1380 can the Ipod universal dock be connected to an AV Receiver
I have just purchased the latest I Pod Touch and want to get a dock that will allow me to connect to my Yamaha AV Receiver. Can this be done?
-
Licensing on Mac laptop and PC desktop
Hello, I have the CS6 Masters Collection for Mac and was wondering if it's possible to somehow use the same license in order to install it on my new PC desktop.
-
Duron 1300 and K7T266Pro: it doesn't work.
Hi there, I bought a Duron 1300 Mhz and try to put it in a K7T266Pro but it didn't boot. MSI web site tells it doesn't support 1300 Mhz, but it supports 1200 Mhz. Why does it not handle 1300 mhz? Is there a way to make this board boot with a 1300 mhz
-
When was the first time phone activated
Is there any way to find out when my phone was first activated? I purchased a "new " phone and tried to sent it in for repairs, and was told phone was out of warranty. Purchased the phone on july 24 2012, still have 2 months left if warranty is a ye