Dynamically change with of regions

Hi,
i have to display 2 regions side by side on the screen. This works very fine when I post
style="width:300px;float:left;clear:none" But for users with a grate or smale display I want to use an item (or page variable) to set the display width lager or smaller. When I use &P_VAR. with the content style="width:200px;float:left;clear:none" in Region Attribute nothing changes.
What can I do?
Regards
Siegwin

here i can able to make validation for return status item   not to null 
if transaction type is INWARD/OUTWARD RETURN if it is already saved in db
... but i am saving it any where initially
I m changing transaction type from inward to inward return if i pressed submit button it has to show a msg  that i have fill the return status later oly the record ll be updated..
for this wat i have to do..
sorry i m so poor in apex that y i m again asking for more details

Similar Messages

  • Date format does not change with the Regional and Language Options in 2008

    I have a one-column report that was created using the SQL "select current_date" in postgres.  (Thinks select getdate() ).
    In Crystal Reports XI when I change the "Standards and Formats" of Regional Options to:
    English (United States)  the date is in the format mm/dd/yy
    English (Canada) the date is in the format dd/mm/yy
    Japan the date is in the format yyyy/mm/dd
    In Crystal Reports 2008 when I change the "Standards and Formats" of Regional Options to:
    English (United States)  the date is in the format mm/dd/yy
    English (Canada) the date is in the format mm/dd/yy
    Japan the date is in the format mm/dd/yy
    It doesn't change.  Is this a bug?
    Thanks in advance,
    J

    hey Jason,
    i am going through some of the old forum posts and saw that no one replied to your language options post.
    for cr 2008, there are language packs for the applicable languages. there are advantages for this as you can save installation space with the option of installing language packs for each language that you want the designer application to be in.
    you have seen the disadvantage as it doesn't work the same as before.
    you do not need the language packs for testing though. in the crystal reports View menu, switch up to the Product Viewing Locale to test objects which are using "system" settings such as dates.
    if you do wish to install any language packs so that you can change up the actual language in the designer, go to your install media. in the install files "\package\langs\" directory, you will see a folder for each language that you need. install the desired language(s).
    once you have installed a language pack and then restart the cr designer, you will now have the additional language in the View > Product Locale.
    so in summary...Product Locale will change the language of the whole designer...language packs are needed for this.
    Preferred System Locale can be used to test languages without having to change your windows system settings.
    i hope that this helps,
    jamie

  • Dynamically change a spry region...

    I'm creating a "Next and Previous" function. With this
    particular design, the back and next functions will serve as back
    and next sets for the current "viewable" region. I was trying to
    figure out a way to dynamically get that going but I've had no
    luck. Does anyone have any ideas?

    Hi,
    Have you checked our Paging sample here:
    http://labs.adobe.com/technologies/spry/samples/PagingSample.html
    Regards,
    Dragos

  • Dynamic action with interactive report region refresh

    Hi!
    I'm using APEX 4.02
    I've got a page with 2 regions.
    Region1 is a (input) form
    Region2 is an interactive report on the same table as region 1
    When entering values on the form I'm trying to dynmically lookup similar records in the table with the interactive report.
    I've made a dynamic action on the change of the form fields which should refresh the interactive report region. I can see this one fires if I add a alert to debug if it fires.
    The dynamic report is based on a query with bind variables pointing to the form fields, for example
    where
    field1 = :P2_FIELD1
    This works great on the page load, so no dynamic action is fired but I can see the rows in the report region are the ones I am looking for.
    But the refresh of the report region is not working, it is never refreshing and/or showing the correct data after a change of the form fields, so it looks like the dynamic action "refresh region" is not working on the interactive report.
    Any ideas why this can go wrong ?
    I would like to solve this using standard dynamic actions and preferrably not via PL/SQL or JS, shoudl be possible if I should believe the documentation... ;)
    Cheers
    Bas
    Edited by: bklerk on 26-apr-2011 3:07

    Hi,
    When you change value to item, I assume you do not set value to session state.
    Use interactive report advanced attributes "Page Items to Submit" , set items session state before report is refreshed.
    http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/app_comp.htm#sthref1235
    Similar post/issue here
    Hide and show region - hides on refresh
    Regards,
    Jari

  • Problem with dynamic change a page item value

    Hi,
    I'm trying to dynamically calculated the value of an item based on a simple formula that involves the multiplication of two elements from the same page.
    To do this, create dynamic action as follows:
    Event: Change
    Selection Type: Item(s)
    Item(s): P19_DURATION
    Action: Set value
    Fire on page load: TRUE
    Set Type: SQL Statement
    SQL Statement: SELECT :P19_DURATION * :P19_RATE FROM DUAL
    Page items to submit: P19_DURATION
    Selection Type: Item(s)
    Item(s): P19_AMOUNT
    When altering the P19_DURATION get no change in P19_AMOUNT
    Since my knowledge of javascript is almost zero, I'm trying to do this with pl / sql or sql. Try the dynamic action with a function or a PL / SQL statement and nothing works.
    Have to use javascript for this?
    Searching the forum I think it's something simple, but I did not find an example similar to what I need.
    Regards

    Event: Change
    Selection Type: Item(s)
    Item(s): P19_DURATION
    Action: Set value
    Fire on page load: TRUE
    Set Type: javascript
    javascript Code:
    amount = $v('P19_DURATION') *  $v('P19_RATE');
    $s('P19_AMOUNT',amount);

  • How to dynamically change the text of a TextObject with embedded DataField?

    Hi
    I'm trying to dynamically change the text of a TextObject at runtime, by using the .NET library. My problem is that if one or more DatabaseFieldDefinition is embedded inside my text, I'm unable to change the "static text" only, by keeping the field, e.g. I have :
    Text1 => "Contact Name: {Contact.Name}"
    and I'd like to change it to anything else like:
    Text1 => "Nom du Contact: {Contact.Name}"
    Half of my TextObject is static text while second part comes from the dataset.
    (of course the translation is dynamic - it is called at run-time and the new value to be set depends on the calling application language)
    If I simply modify the Text property of my TextObject, the {Contact.Name} embedded field is not evaluated anymore by the Crystal Engine, but considered as a single text.
    Using formulas or parameters looks quite difficult, because it means having many ones just for translation needs - I cannot control the way my users will create their reports and "force them" to use complex methods just in order to put a text and a value together...
    Anyone knows how to deal with that ?

    Only way I can think of doing this:
    1) Create a formula (call it lang) and enter the string "Contact Name" in it
    2) Place the  {Contact.Name} field next to the string
    3) So now you have:
    ContactName:  {Contact.Name}
    4) Check what localization you are after. If you need "Nom du Contact", change the lang formula so it shows "Nom du Contact" using the code below:
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Public Class Form1
    Inherits System.Windows.Forms.Form
    Dim Report As New CrystalReport1()
    Dim FormulaFields As FormulaFieldDefinitions
    Dim FormulaField As FormulaFieldDefinition
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    FormulaFields = Report.DataDefinition.FormulaFields
    FormulaField = FormulaFields.Item(0)
    FormulaField.Text = "[formula text]"
    CrystalReportViewer1.ReportSource = Report
    End Sub
    I realize this may not give you consistent spacing as the translations may have strings of differnt length. Perhaps someone has other idea(s)...

  • Displaying dynamically changing image: a problem with JLabel.

    Hello! I use NetBeans 5.5 and I develop my GUI with Matisse. I'm rather a beginner in developing GUIs with this editor...
    I'd like to display a dynamically changing image. The idea is: GUI shows the image, that is modified as some computations run in a different thread. App will be run on a single machine.
    I'm trying to display the image as a label's icon. The problem is that my app's frame can be resized - and when it is, the label also resizes. When the label is resized, the image should also be resized - the image should always be of the same size as the label. The problem? I noticed, that it works only when I make my app's bigger. When I try to lower its dimensions, the label's dimensions remain the same. Why the label don't make its size smaller?
    My code works as follows: when app's main frame is resize, the panel (the one, that the label is placed in) is also resized. And, since the label is in the panel, it (should) also be resized. So I wrote all the resize-events handlers (therefore I know that the resize event is sent when my app's frame is resized, and when the panel is resized - but the label is resized only when it grows bigger). In this methods I modify the image displayed in the label (I resize the image).
    Or, perhaps, there is some other way to show a (dynamically changing) image with Swing... I chose JLabel, because I didn't want to write my own JComponent. JLabel can display image and that is all I need. The problem is: when the label grows bigger, I create a new, bigger image (icon). Why my label don't get smaller (the resize event isn't even sent)?

    There is no component that dynamically resizes an image. You need to create your own. Something like this:
    JComponent component = new JComponent()
         protected void paintComponent(Graphics g)
              //  Scale image to size of component
              g.drawImage(yourImage, 0, 0, getWidth(), getHeight(), null);
    };

  • Dynamically change flex variables with JSON

    I am trying to take different variables from within each other, and use that to dynamically change variables within flex, and I am not sure how to write it. For example, the JSON code would be something like:
         "content" : [
                                  "panels" : [
                                                           "height" : "200",
                                                           "width" : "300"
    Now I am trying to take the height and width from that, into flex, and change the panels' dimensions. any ideas?

    DSpider wrote:
    https://wiki.archlinux.org/index.php/Be … oxy_server
    Speed differences could be because the company is throttling certain connections (some companies do this, to discourage Youtube, FarmVille and other distractions). Hmmm... But a 10% difference is probably something else. Maybe check your /etc/resolv.conf?
    This is actually concerning my other thread . But in answer, no, same resolv.conf used in both cases. As I said there, I simply export a different value in http_proxy (no reconnection of any sort) and speed suddenly jumps.
    DSpider wrote:
    Edit: And maybe see this: http://askubuntu.com/questions/3554/how … connect-to
    And this: http://marin.jb.free.fr/proxydriver/
    Just about all of those things I've mentioned above as tried, except the .pac file. The problem with that is that it doesn't work generally for all graphical applications, just ones that understand it (like firefox, I believe chromium as well) while things like dropbox would not work.
    Proxydriver seems very much gnome/kde linked, which isn't of much help when I'm running awesomewm.
    Thanks for your answers, really, but still looking for something else. Latest idea I have is to replace dropboxd, firefox, and all the other executables with my own script which first sets up http_proxy and then runs the original executable. So something like this:-
    #!/bin/sh
    export http_proxy=`cat /path/to/the/desired/proxy/server/as/set/up/by/netcfg/hooks`
    /usr/bin/firefox &
    Any disadvantages to this method? Then I can just forget about using tinyproxy (wouldn't mind that at all, its been a pain sometimes, just dying in the middle of a big transfer). I could possibly also do away with the netcfg hook and just implement the checking logic (based on the IP range) in the bash script itself.

  • HT1918 I can't change my country/region with iTune and therefore can't change my method of payment. Help.

    I can't change my country/region on iTunes and therefore can't change my payment information. I've moved from Canada to Australia and am now using an Australian credit card.
    On my device I've gone into settings>iTunes &app store> Apple ID > view Apple ID > country/ region > change country/region. When I try tapping on this last icon, nothing happens. It doesn't give an option to change.
    I've also updated my address with apple.

    Hey there Sheava,
    It sounds like you are trying to change your country in the iPhone settings but when you get to the last step, nothing happens. I would start by closing all the running apps on the phone:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that and restart the phone and try changing the country again:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    If the issue persists, try signing out of your account in settings, then restart one more time, sign back in and try to change the country again.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • Using DelayQueue with dynamically changing delay times?

    Greetings all:
    First-time poster, so please be gentle. :-)
    I am implementing a cache timer task whose job is to removes idle elements from a cache after x time, and was considering a DelayQueue as potentially more efficient than iterating through the entire cache each time. Important point is that the delay time of elements in the queue will be dynamically changing while they're in the queue, until the point when they become idle, i.e., each time an element's content changes, its expiration time moves further out.
    I went looking in the DelayQueue source (and from there to PriorityQueue) as I was interested to see how it implements its sorting mechanism, and it appears to me that it may not handle this properly. Specifically, it appears that the queue is sorted when elements are added or removed but not otherwise, so that you could end up with the head of the queue being an element that has not really expired.
    Question: Has anyone used a DelayQueue for this kind of scenario, and if so, did it work as expected?
    Thanks,
    Brian

    If you want this behaviour I suggest you look at
    overriding LinkedHashMap as it has a means to
    maintain sorted from most recently accessed to last
    accessed.
    Thus to clear it all you need to do is remove the
    oldest elements.Interesting. Currently I'm using a HashMap so changing to a LinkedHashMap would require virtually no changes to existing code. It still won't quite work as-is, though, because access only gets updated on put's and remove's, whereas I would need access updated on any modification to a contained object as well. I'll think about it a bit more - thanks for the suggestion.

  • Dynamically change region sequence/column

    I have a page that has many regions on it (ie. dashboard). The regions are all set to customize so the user can hide/show any of them. I have them all set with Display Point Page Template Body (3) and in columns 1-3 (see below):
    Region 1 Region 2 Region 3
    Region 4 Region 5 Region 6
    My problem is that the users want to be able to decide what sequence/column to display each region. .ie move Region5 under the 1st column or move it above Region 2. Is there any way to do that? Should I be using a different approach for dashboarding?
    Thanks

    Hi Bob,
    it should be possible with Javascript. Each region is contained in a HTML-table cell. With the region static-id you can identify each region with something like :
    theRegion = document.getElementById('region static-id')
    the HTML-content of the region would be.
    theRegion.innerHTML
    You should be able to exchange the content of the regions like this.
    DickDral

  • Dynamically refresh to report regions

    I have a page with multiple regions. Two of the regions are report regions that I want to refresh dynamically. I am using 4.0. I created a dynamic action that fires based on an item's value changing. It contains two actions, a 'Refresh' action for each region. Only one region will refresh. If I put an 'Alert' action between the two 'Refresh' actions, then both regions will be refreshed. I have tried to do this multiple ways, such as using the $a_report() function from within my page level javascript. Results are the same. I can get one region to refresh, but not two. Any ideas or suggestions on why I can not refresh multiple regions?

    Thanks for your reply. I tried what you said and still no luck. I then created a new page with two simple regions, a select list, and a button to trigger the refresh. I wanted it be stripped of any other items or code and I used your javascript. It still only refreshes one region. I am requesting space on the Oracle site and will create my test there. Maybe there is a bug in the version we have installed. Our version is 4.0.0.00.46.

  • Best Practice: Dynamically changing Item-Level permissions?

    Hi all,
    Can you share your opinion on the best practice for Dynamically changing item permissions?
    For example, given this scenario:
    Item Creator can create an initial item.
    After item creator creates, the item becomes read-only for him. Other users can create, but they can only see their own entries (Created by).
    At any point in time, other users can be given Read access (or any other access) by an Administrator to a specific item.
    The item is then given edit permission to a Reviewer and Approver. Reviewers can only edit, and Approvers can only approve.
    After the item has been reviewed, the item becomes read-only to everyone.
    I read that there is only a specific number of unique permissions for a List / Library before performance issues start to set in. Given the requirements above, it looks like item-level permission is unavoidable.
    Do you have certain ideas how best to go with this?
    Thank you!

    Hi,
    According to your post, my understanding is that you wanted to change item level permission.
    There is no out of the box way to accomplish this with SharePoint.               
    You can create a custom permission level using Visual Studio to allow users to add & view items, but not edit permission.   
    Then create a group with the custom permission level. The users in this group would have the permission of create & add permission, but they could no edit the item.
    In the CodePlex, there is a custom workflow activities, but by default it only have four permission level:
    Full Control , Design ,Contribute and Read.
    You should also customize some permission levels for your scenario. 
    What’s more, when use the SharePoint 2013 designer, you should only use the 2010 platform to create the workflow using this activities,
    https://spdactivities.codeplex.com/wikipage?title=Grant%20Permission%20on%20Item
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Dynamic action with set value on date field

    Hi,
    I'm using APEX 4.02
    I'm trying to calculate the age based on the date of birth dynamically on a form. I'm trying to do this with a (advanced)dynamic action with set value.
    I'm able to get this kind of action working based on a number field etc, but NEVER on a date field.
    I've read all posts on this subject but so far no solution. Even if I try to simply copy the value over to another date field or typecast it to a string ( to_char function ) it does not work. So for me the problem seems to be in the source field being a date field.
    I've tried using the source value as is in a select statement :
    select :P33_GEBOORTEDATUM from dual;
    and also type casted based on the date format :
    select TO_DATE(:P33_GEBOORTEDATUM,'DD-MON-YYYY') from dual
    but still no luck.
    On the same form I don't have any issues as long as the calculation is based on number fields, but as soon as I start using dates all goes wrong.
    Any suggestions would be greatly appreciated. If you need any extra info just let me know.
    Cheers
    Bas
    b.t.w My application default date format is DD-MON-YYYY, maybe this has something to do with the issue .... ?
    Edited by: user3338841 on 3-apr-2011 7:33

    Hi,
    Create a dynamic action named "set age" with following values.
    Event: Change
    Selection Type: Item(s)
    Item(s): P1_DATE_OF_BIRTH
    Action: Set value
    Fire on page load: TRUE
    Set Type: PL/SQL Expression
    PL/SQL Expression: ROUND( (SYSDATE - :P1_DATE_OF_BIRTH)/365.24,0)
    Page items to submit: P1_DATE_OF_BIRTH
    Selection Type: Item(s)
    Item(s): P1_AGE
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • I want to change the country/region in my Apple ID but it wont let me because I have 69 cents credit left in another country's itunes how do I do it?

    We bought the phone in another country and used it there on a prepay plan. we also purchased several itunes gift cards and used them to download some music. We used all but 69 cents of the credit on the itunes card before leaving that country. We are now in another country and have signed up with another cellular provider and purchased another itunes card but when we went to redeem the credit on the card it wouldn't accept it and said it was only for use in the country we were in. I realised our itunes account did not recognise we have gone to another counrty so I went into the settings of the phone and selected the iTunes and App Stores. When in that setting i tapped the Apple ID and then view Apple ID which then gives you the option to change the country/ region. However when I try to change the country I keep getting the message under the banner Account, which says "You have a store credit balance; you must spend your balance before you can change stores".
    I have looked through everything but cannot find a way to delete or spend the 69 cents credit. Can anyone help me?

    Mikeandnicki wrote:
    I have looked through everything but cannot find a way to delete or spend the 69 cents credit. Can anyone help me?
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

Maybe you are looking for

  • How to log exceptions and imp logging info in Portal Service via ILogger?

    Hi Experts, I m trying to use ILogger for my application. Information about my application: I have created a Portal Service and exposed it as a Web Service which is deployed as a PAR file on to the SAP J2EE Engine. I need to use the Logging facility

  • HTTP adapter - 500 Internal server error

    Hi Experts, I have configured a B2B scenarion in which i am using HTTP receiver adapter to send data to vendor.I have checked my configuration every thing is fine but i ended up with the error as below. SXMB_MONI: PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER

  • Where do I install Custom File Input Panels for CC Bridge?

    I am trying to install the CustomPanel_allWidgets.xmp sample xmp file on a Mac in Adobe Bridge CC 6.1.0.115. I've tried about every application and user folder combination for Library ▸ Application Support ▸ Adobe ▸ XMP ▸ Custom File Info Panels ▸ 4.

  • SUS - Supplier Self Reg and Vendor Connectivity

    Hello Gurus, Could you pls help on SUS and R/3 MM Business process. If anybody have documents, Pls send asap. We are implementing SUS and MM process. I have couple of things on my mind. 1. Can we enhance SUS - Registration Page. I know its BSP Pages.

  • Rsum result view question

    Hi guys, I have a table with two column machine_ID and installed_Date, what i want to do is create a view show that number of machine for each month with a condition that users can select the period of time that they want to know So in the criteria i