good morning
i used sharekit twitter and it's worked good but the send and the cancel button don't appera. I explain more i have two classes the first have a navigation controller and his job to show two text view, the second class which contain a twitter second code
http://cl.ly/2B0C3G031W0A2t2C0C3h
http://cl.ly/1s361l2I2L1Q061N3O2b
you see there is no send button and cancel
try to add this in your viewDidLoad : [SHK setRootViewController:myViewController];
since ShareKit is on GitHub, it might be a good idea to check in the issues area. Here is a thread about the issue:
https://github.com/ideashower/ShareKit/issues/254
Hope that helps.
check this diff
Classes/ShareKit/Core/SHK.m
https://github.com/ideashower/ShareKit/commit/e741af1f120faab2342e1811c17d649a06f922d4
it worked for me.
Related
I am creating the buttons dynamically in the BOT framework. The issue I am facing is that if the text of the button is coming long it's not coming as a button but as a list of text and I am not even able to click them because on the click of each button my different activity will start.
Thanks
Thank you Hessel and Bipin Bhandari. Posting your discussions as answer to help other community members.
Text of the suggested action (Button) should be less than certain
number (~ 20 Characters). If not, the suggested action become a
list-item. There is no option to perform the CLICK operation on
the list-items.
I am developing an application on xpages and would like to put a wait message while there is an ongoing processing. There are several articles that indicate how to do, but this only functional with partial update. I need the message, preferably with lock and an animated gif to work with the full update.
Problem is that a full refresh will reload the page, to get this working you need to load the page inside an iframe and place the standby code in the top page.
If you do something you need to call parent.window.dothestandby()
and in onload on the page inside the iframe call parent.window.hidestandy()
Take a look at this NotesIn9 video by David Leedy and watch from 5 minutes and see if it helps:
http://www.notesin9.com/2016/02/19/notesin9-188-adding-a-please-wait-to-xpages/
What I did was use the technique described in the link below, from an article by Brad Balassaits. In the various techniques mentioned, I implemented the one that inserts the waiting animated gif into the triggered button. From the techniques suggested and researched this was the one that would least impact when there are changes of adjustments in the application.
Brad Balassaiti article
I have a Xpage that takes too long to load. So the client ask me to do a loading indicator.
I searched and found XSP.startAjaxLoading(), that I put in onClientLoad event of the Custom Control.
But now I don't know where should I put XSP.endAjaxLoading() to make the loading screen go away.
I'tried to use in afterRenderResponse and beforeRenderResponse: view.postScript("XSP.endAjaxLoading()"), since this comand is CSJS, but it doesn't work.
Thanks in advance.
I think you want to put it in the onComplete event. That can be difficult to find. You typically need to use the outline control to find it.
I have a video demo on NotesIn9 that has an example on this.
http://www.notesin9.com/2016/02/19/notesin9-188-adding-a-please-wait-to-xpages/?unique=http%3A//www.notesin9.com/2016/02/19/notesin9-188-adding-a-please-wait-to-xpages/
Your attempt (view.postscript) works only with full/partial updates and does not work for page loading.
You have used onClientLoad - which is executed when your page is finished with loading. I guess you get ajax animation after a while and it won't stop.
You should make preload screen - very simple XPage which starts animation and does not care to turn it off. In onClientLoad event redirect to your slow XPage. That will discard the animation.
I'd highly recommend using the Standby Dialog XSnippet https://openntf.org/XSnippets.nsf/snippet.xsp?id=standby-dialog-custom-control. I use it as a standard in all XPages applications.
I used this answer as solution: https://stackoverflow.com/a/35481981/5339322
I've saw it a few days ago, what made me think twice is that using this i should know what is doing my XPages to delay. I ran some tests and discovered what, and it was a call to a method in the afterRestoreView event, then I migrated it to onClientLoad event and used the solution in the answer above cited.
But I'm afraid that I have to keep an eye on it, so if someone adds some code that delays in one of the another events of XPages I have to move it again, of course, if it's possible, if it's not, I'll figure it out something diferent.
Thanks for all the answers ans comments.
I am creating a program in which i want to display dialog box(which shows yes/no command) when button clicked, after dialog box has been shown, when clicking yes button it moves to another form, can you help me to achieve this task? please let me know as soon as possible.
Checkout the LWUIT repository here... In this repository contains LWUIT sample applications. See the sample code. and do like this..
Dialog.show("Sample", "Put ur information", "Ok", "Cancel");
Have a look at the Alert class (link text, the Form class, and the Display method to show stuff. That's pretty basic stuff and you'll find tons of examples / tutorials out there.
ps: Pure MIDP no LWUIT involved.
I have linkbutton that has the onclick event handler. The control is disabled as soon the user clicks but certain users are able to click multiple times.
Not able to reproduce. Could it depend on the browser?
Please help with any ideas
I'm sorry for commenting on this by way of answer field, but I have no other way to do so.
You will need to be a little more specific about the case; could you include the code fragment where the bug seems to occur?