How to refresh/redraw visuals in a mobile view
I have an issue with a list properly sizing itself. Here's my basic layout:
<s:Scroller width="100%" height="100%" >
<!-- required b/c scroller can only handle one component -->
<s:Group width="100%" >
<s:layout >
<s:VerticalLayout gap="0" />
</s:layout>
<!-- text blocks -->
<s:List width="100%" id="textBlocks"
dataProvider="{calendar.taskDetails}"
itemRenderer="components.BBWListMultilineRenderer">
<s:layout>
<s:VerticalLayout variableRowHeight="true" gap="0" horizontalAlign="justify"/>
</s:layout>
</s:List >
<components:BBWHeaderSubComp label="Team Members"/>
<s:List width="100%"
dataProvider="{calendar.taskLogins}" />
The issue is with how the list handles the test block area. My custom renderer allows for multiple lines of text. Let's assume I've got two "blocks" of text (two rows within the list each with multiple lines of text) as shown in the screen shot below. If the first text block is larger than the second then the second block is drawn reserving the same height as the first. As you can see below, the second block "ends" and there is still more space to make up for the difference in size.
HOWEVER, if I make an orientation change (emulator or device) then the list instantly snaps everything to the right size.
Here is how it looks after the orientation change:
So, how do I get the visuals to update via code as I can't just tell users to switch their orientation? Thanks!
take a look at this:
Diagnosis
In the view, not all of the mandatory fields were included as key
fields. The key of the view therefore is not unique.
System Response
All the fields are regarded as key fields in order to guarantee that th
key lengths are unique.
Procedure
For views with a large number of fields, this could have a negative
effect on the performance for the language construction described below
In this case, all the mandatory key fields should be included in the
view.
regards
Similar Messages
-
How to stop google from defaulting to mobile view?
how do I stop google from opening up in a mobile view? It only happens when I use firefox.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
*http://kb.mozillazine.org/Resetting_preferences -
External display flickers BADLY on refresh/redraw under Mavericks
Running a mid 2008 Macbook Pro: 2GB RAM, 2.5GHz Intel Core 2 Duo, GeForce 8600M GT 512MB. Connected to a 24" Apple Cinema Display via the DVI to ADC adapter. Had been running Lion, no problem. Decided to break my own rule about jumping into OS updates and download Mavericks today. Immediately ran Software Update to apply any patches.
Screen refresh/ redraw is TERRIBLE. Endless parade of flickering and crappy redraws. Click on a folder in the Dock and you see it refreshing each scale-step of the expanding and brightening pop-up. Click on the Launcher, and you can see it redrawing the screen line by line through the animation steps and transplucency until eventually the icons show up. Safari continuously redraws the page contents, the address/search bar flickers like mad when entering information and loading a page.
This is unacceptable and darn near unusuable.
Does anyone know of any fixes or tips to make this stop? Is this an issue with Mavericks "breaking" the NVIDIA display drivers? Something that's changed with how external monitors are supported or managed?
Thank you in advance!I unplugged my Macbook and worked with it away from my monitor for a while. When I came back a day later and plugged it in, the flicker problems were resolved, for the most part. Launcher renders smoothly. I see a little bit of the Application folder animating only, but I think that may just be the icons themselves updating. Safari renders pages as expected and the URL bar no longer flickers/redraws while loading. I think it might have been the new gradient-progress bar redrawing that threw it off before.
Unplugging and re-plugging (along with much ranting in between) seems to have resolved this for the moment. I'll be working away from my desk again soon, so we'll see whether this holds up once I dock it again. So far, though, so good. I didn't apply any updates while I was away, unless Mavericks does something like that in the background without notifying me but it doesn't appear to be doing that. -
How to refresh CR 2008 datasource
Hello,
We have upgraded CR 10 that came with the Visual Studio 2005 to CR 2008. However, just upgrading of the Visual Studio project was not enough, to make old CR 10 reports to work I have to open each report in the CR 2008 application (not the Visual Studio), refresh their data source and save, after this they work.
I'm using datasets as a datasource, so I don't have problem with it. But some reports I inherited from the previous developer. He was using a C# class as a datasource for reports. It's just a C# class file - InvReport.cs. This file contains field definitions for several reports.
I cannot figure out how to refresh this datasource. Class file is not in the list of the datasources for Crystal Reports, so whatever I'm trying to do in the Database Expert (or by setting datasource location) fails.
Could you please advise me on how to deal with this situation? Or perhaps there is another way to to upgrade the old reports to 2008 version? According to Visual Studio - they all had been upgraded automatically, but in reality they don't work until I open each one in the report application and refresh datasource.
Thank you,
Peter AfoninPeter,
Rather than updating the reports from VS2005 I would suggest you to use CR2008 designer. During updating of the application the reports might not have got updated properly as it depends on the complexity of the reports like stored procedures, formulas etc. So I would suggest you open the .rpt file in designer, Go to Field Explorer -> set data source location and then create a new connection in Replace with window and update the fields in Current datasource window.
Preview to ensure the report displays proper data and then use this report in the application.
Hope that helps!
AG. -
Hi Experts,
Can anyone tell how to refresh the events ("SUBMIT") in visual composer.Where to set or see the event settings??
roshiniHi Roshni,
Can you explain in detail what type of event do you want to put on your form. Do you want to refresh the elements on your form by clicking some button?
About where to set the event settings, follow the following steps:
a) Select the outline of your Form and then click the Configure button in the task-panel
toolbar. The fields and controls in the form are displayed in the table at the bottom of the
task panel.
b) Click the Plus (Add) button at the bottom of the task panel. The New UI Control dialog
box is displayed.
c) From the Select control type list, choose Pushbutton and in the Field name field, enter a name. This creates a new control in your Form.
d) Right-click the button, choose Properties from the context menu and click the Action tab to define the event that is associated with the button.
f) Now if you want to submit the data entered in this form, you can set Action Type as System Action, and select the action from drop down as 'Submit Form'. Else you can define your own custom action by setting the Action Type as Custom Action and the defining your own action.
By the way, the if some event can be put on some UI element, it has to be defined in the same way, ie by going to the properties of that element.
See if this solves your problem, otherwise please explain in detail what event do you want to be put.
Bye
Ankur
Reward points if it helps!! -
How to refresh the data in a container and to update the new data
Hi,
I have created a Module Pool Program in which i have two containers to display the long text.
Initially this container is filled and based on some condition i want to update the text in the same conatiner.
I am using the below two classes to do all this.
cl_gui_textedit,
cl_gui_custom_container,
Could someone help me how to remove the long text in the container and update the new long text.
I am getting the new long text but not able display it in the same container. Please someone help me how to refresh and update the container.
Thanks in advance.Hi
Try this.
IF cl_gui_textedit IS INITIAL.
create control container
CREATE OBJECT cl_gui_custom_container
EXPORTING
container_name = 'Container Name''
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5.
create text_edit control
CREATE OBJECT cl_gui_textedit
EXPORTING
parent = cl_gui_custom_container
wordwrap_mode = cl_gui_textedit=>wordwrap_at_windowborder
wordwrap_to_linebreak_mode = cl_gui_textedit=>false
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
gui_type_not_supported = 5.
ENDIF.
*--use method to set the text
CALL METHOD cl_text_edit->set_text_as_stream
EXPORTING
text = t_lines ( Internal table with long text).
EXCEPTIONS
error_dp = 1
error_dp_create = 2
OTHERS = 3.
regards,
Raghu. -
How to refresh/initialize sy-tabix in a loop?????
Dear all,
Please do let me know how to refresh/initialize 'sy-tabix' for every new document in a loop statement.
Thanx in advance.
Alok.Never try to refresh or initialize system variable. It shall always lead to errors in the programs. For this I have an alternative way below.
Please declare a variable for e.g
data: <b>l_count</b> type sy-tabix.
Inside loop you can write the code like this:
say for eg. you need to refresh l_count for every new material.
Loop at itab.
on change of itab-material.
clear : l_count.
endon.
l_count = l_count + 1.
endloop.
Hope this clarifies your issue.
Lakshminarayanan -
How to refresh XML file from my client machine
Hai All
I have temp.XML and temp.XSL template in our server machine.
when i give a print from client machine first time it gives the record,and next time it did not get refresh.Always it shows the previous records in the browser.But when i go into the server machine and click on temp.xml,it shows the current record(correct records)
How to refresh XML file from my client machine?
Regards
DhinaYou never delete a Time Machine backup by dragging it to the Trash. You are supposed to use the TM application to manage the backups. What you will need to do now is to simply erase the drive using Disk Utility.
-
Hi...i have a WAD template wih 6 queries on it....i want to know how to refresh all the template ...or i have to refresh every query one by one...i try to put a command button but it appears inactive and i dont konw how to actiavte it...
RegardsHi,
Please try with CMD: REFRESH_DATA. You can find this under 'Commands for Planning Application'.
Otherwise, you can take Action as : SCRIPT_FUNCTION and give "javascript:location.reload(true)" under Script Function.
Regards,
-Vj -
How to Refresh a Page once saved to database in ADF.
Hi,
I created a JSF page using project template as "JSF,ADF,business components".
There is a List of values displayed in a dropdown list,
User can create new value and once it is saved to the database it should reflect in the list of values.But it is not displaying in the LOV and it is happening only when i close that page and open a new one.
Can u please tell me how to refresh a page without closing the current page once save button is clicked.
Thank you,
Harika.Mini wrote:
Hi Hari,
Yes i have a apex page redirects from the ebs menu like you said. But for the refresh issue instead of modifying in the jsp i thought of bringing the automatic refresh for that apex page once it is loaded within apex.
However these type of issues are sometimes get fixed by clearing browser cache or just by restarting your browser. Have you tried it?Yes i have tried, by clearing the browser cache and also by restarting the browser then too it still persist.
Any DA action will be helpful for refreshing that page for 1sec once it is loaded. Since i dont want it to be loaded multiple times often once it is loaded.
The refresh has to be only once if the page is loaded.
or is it possible to Refresh the page based on the application page item through DA
Thanks
Brgds,
MiniTechnically Yes, you can create a D.A. that will fire only once based on some apex page item or application item value. However this is NOT the correct solution.
<li> When you see apex page (after clicking menu in EBS), do you see apex url in browser address bar? Can you post the URL here?
<li> If you directly log-in to APEX (not via EBS), do you still face this issue?
Regards,
Hari -
How to refresh after delete the records in ALV report ?
Hi Friends,
How to refresh after delete the records in ALV report.
I am deleting records in ALV report .
After successful delete the screen should refresh.
u201C Deleted records should not appear in the screen u201C.
Please guide me.
Regards,
SubashHi subhash,
FORM user_command USING r_ucomm LIKE sy-ucomm rs_selfield TYPE slis_selfield.
WHEN 'BACK'.
Refresh the internal table from the ALV grid
PERFORM update_alv_tab.
ENDFORM. "user_command
FORM update_alv_tab .
DATA : e_grid TYPE REF TO cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = e_grid.
CALL METHOD e_grid->check_changed_data.
"update_alv_tab
CALL METHOD e_grid->refresh_table_display.
ENDFORM. " UPDATE_ALV_TAB
Then see in Debug mode is it updating or not..
Please confirm .
And please paste the code if you can.
Regards. -
How to Refresh System Form in Run Time
Dear All,
Please give me idea for Refresh System Document in Run Time using DI,basically I am using system columns for update for some scenarios.
So please give solution that how should refresh system form.
Thanks a lot.
Ashish Singh.Hi,
Please post above discussion in SDK forum.
Thanks & Regards,
Nagarajan -
How-To "Refresh a table of data after inserting or deleting"
I'd like to say a word on the how-to article "How to refresh a table of data after inserting or deleting a row using ADF".
(http://www.oracle.com/technology/products/jdev/howtos/1013/updtable/index.html?_template=/ocom/technology/content/print)
I spent a lot of time on it because I needed help in implementing simple CRUD functionality on a table, using JSF-ADF-TopLink technologies.
While the the article does provide correct steps, it is in one important place not specific enough, so the reader may easily get stuck. In section "Refresh the data table", point 1: when you double click on the removeEntity() button, in Structure window, then you do not get the required dialog. You get CommandButton Properties dialog.
You must click on the removeEntity() button in Editor's Design view. But even there you may get the CommandButton Properties dialog, not managed beans dialog.
You may resolve that by going to JSF configuration file, faces-config.xml, and switch to Overview view. This will show you the managed beans that you have.
Then, you may already have a backing bean for the page. You can use that and avoid creating a new managed bean.
I could understand what the operations mean only after very careful reading of "Creating More Complex Pages", section "Overriding Declarative Methods" in JDeveloper Help (or in ADF Developer's Guide PDF document).
In general: I believe that "ADF bindings" need more conceptual explanation, maybe in form of an article. Grammatical form "bindings" may create a false understanding that "bindings" are just references. But they are not -- ADF bindings are active objects that handle traffic between UI components and Data Controls. It seems that "bindings" even communicate among themselves. Maybe it would be more understandable to differentiate strictly between "binding objects" (or "binders"?), binding object definitions and binding object references.
It would be very helpful to have a diagram showing grahically what specific binder objects are created in a small apllication (2-3 pages using 1-2 tables), with whom they communicate and what type of data is passed on.
PriitHi
Thanks for your infos.
Yes exactly I use almost the same code you have post here.
Could You answer to my next questions?
First - >what do you mean by saying that "it's not good idea using refreshing in IE?" Of course I use refreshing in backing_bean for my button "remove" that removes row, commit changes to database and refresh table, almost the same as You said in your post:
Code in backing_bean is and comments on difference to Your code is below:
public commandButton2_action1(){
BindingContainer bindings = getBindings();
OperationBinding operationBinding =
bindings.getOperationBinding("removeEntity");
Object result = operationBinding.execute();
if (!operationBinding.getErrors().isEmpty()) {
return null;
//above remove entity, but I dont now if it do commit to database? So i do it below
OperationBinding commit1 = bindings.getOperationBinding("Commit");
commit1.execute();
//and at the end I refresh my table, "findAllRezerwacja1 - it is an id of the methodAction, not the iterator -> is it ok? or should I change to Iterator id?
OperationBinding requery = bindings.getOperationBinding("findAllRezerwacja1");
requery.execute();
return null;
Page Definition code for this:
<methodAction id="findAllRezerwacja1"
InstanceName="SessionEJBLocal.dataProvider"
DataControl="SessionEJBLocal" MethodName="findAllRezerwacja"
RequiresUpdateModel="true" Action="999"
ReturnName="SessionEJBLocal.methodResults.SessionEJBLocal_dataProvider_findAllRezerwacja_result"/>
<table id="findAllRezerwacja2" IterBinding="findAllRezerwacja1Iter">
<AttrNames>
<Item Value="dataDo"/>
<Item Value="dataOd"/>
<Item Value="idRezerwacja"/>
<Item Value="liczbaUczestnikow"/>
<Item Value="prowadzacy"/>
<Item Value="uwagi"/>
</AttrNames>
</table>
<methodAction id="removeEntity" InstanceName="SessionEJBLocal.dataProvider"
DataControl="SessionEJBLocal" MethodName="removeEntity"
RequiresUpdateModel="true" Action="999">
<NamedData NDName="entity"
NDValue="${bindings.findAllRezerwacja2.currentRow.dataProvider}"
NDType="java.lang.Object"/>
</methodAction>
<action id="Commit" IterBinding="findAllRezerwacja1Iter"
InstanceName="SessionEJBLocal.dataProvider"
DataControl="SessionEJBLocal" RequiresUpdateModel="true"
Action="2"/>
</bindings>
//and rest of code for Iterator etc
My second question is, why when you use refresh button in IE (I know is not recommended as You said, but sometimes user do it, so I want prevent situations that I will describe here) so when I press refresh button in IE exactly after removing one row by clicking my button, refreshing by pressing IE button is doing the same --> is deleting next row. How to stop deleting row, when for example user would press IE refresh button after pressing remove button for table. If I change selection in table after deleting row, and press refresh button in IE, instead of deleting row, I got error message: JBO-29000: JBO-35007: and
JBO-35007. So where Im doing wrong. Maybe I should do sth with postback ? Could You help me? Thanks in advance
Last one question: what is the difference between using delete and removeEntity from operations node? Im now reading carefully ADF Dev Guide, so I hope I can find infos there? But if You know, please answer to this question.
Thanks -
How to refresh the textedit object in module pool
Hi All,
I would appreciate if anybody can solve my problem.
Problem is i have created one TEXTEDIT and now when user clicks on the cancel button and come back to the screen the data which was previously entered is still coming up.
Please tell me how to refresh the data in TEXTEDIT.actualy it is enough to do the following, assuming you have a container to put the textedit into it:
DATA: l_parent_container TYPE REF TO cl_gui_custom_container,
l_obj_editor TYPE REF TO cl_gui_textedit, "make this a global variable
l_text_table TYPE re_t_textline,
l_itftext TYPE STANDARD TABLE OF tline,
l_thead TYPE thead.
l_parent_container = ... "your container
move .... to l_thead... "your text header to read or reread
read text from SO10
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = l_thead-tdid "Text-ID
language = l_thead-tdspras "im_request-language?
name = l_thead-tdname "TDIC Text-Name
object = l_thead-tdobject "Texte: Anwendungsobjekt
TABLES
lines = l_itftext
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
convert itf text to stream text (SAPSCRIPT_DEMO_NOTE_EDITOR)
CALL FUNCTION 'CONVERT_ITF_TO_STREAM_TEXT'
TABLES
itf_text = l_itftext
text_stream = l_text_table.
IF l_obj_editor IS INITIAL.
CREATE OBJECT l_obj_editor
EXPORTING parent = l_parent_container. " Abstract Container for GUI Controls
ENDIF.
discard any previous changes
l_obj_editor->set_textmodified_status( cl_gui_textedit=>false ).
übertragen text in editor
CALL METHOD l_obj_editor->set_text_as_stream
EXPORTING
text = l_text_table
EXCEPTIONS
error_dp = 1
error_dp_create = 2. -
How to Refresh a Single Graphic based on Time of Day
On this Muse Developed Website, HOME | The Great American Car Wash, The traffic light is programmed to change to Red when the business is closed and to green when it opens. The code that I wrote incorporates this meta tag:
<meta http-equiv="refresh" content="5"/>
This refreshes the entire page every 5 seconds. The page blinking as it refreshes is undesirable. My best temporary fix is to change the refresh rate to 2 minutes. I have it tentatively set to 5 seconds for troubleshooting. It will be set to 30 seconds when it is time to publish the site.
I used the "INSERT HTML" command in Muse to add the code. It works as intended, except for the annoying page blink to refresh the traffic light. The business owner could easily tolerate a traffic light blinking on refresh.
Is there a way to just refresh only the graphic? Or is there a better way to automatically "update" the status of the light?
Thanks.
"Cincinnati"You can try the suggestions mentioned here :
http://stackoverflow.com/questions/17886578/refresh-part-of-page-div
http://crunchify.com/how-to-refresh-div-content-without-reloading-page-using-jquery-and-aj ax/
Thanks,
Sanjit
Maybe you are looking for
-
Hi - I'm having challenges with the Notes and Reminders apps. Data in both disappear - i.e. in Reminders I have the titles of the Reminder list but all the items in the list are no longer there. Notes just flat out go into the ether. This started
-
Syncing certain Aperture 3 albums with iphone causes inconsistency
Hi! I'm trying to sync some of my projects/albums in aperture 3 with an iphone 3g with latest firmware and have the following issue: Sometimes iTunes shows that there're only one photo in the album, while there may be some dozens of photos. This happ
-
What does "Backups" mean in the "About this Mac" storage graphic?
I just migrated the contents of one Mac to a new MacBook Air and discovered something I had never seen before. I had 37MB of storage taken up with "Backups." What is that? What is the best way to reduce or manage it? One other question, while I am
-
I try to sign in but don't remember my ID or password
I couldn't find how to register. but finally found it. Now maybe I can sign in. Hope so.
-
Flash player not installing correctly as different user, same computer
I can view videos as one user on the same computer running IE9 windows 7, user is admin, but as another admin user, it keeps asking to install Adobe flash player, which I've done a million times, and it's still not working. It will not let me view an