I'm building a demo site about server management, I have a requirement as following:
- User can search servers when he input an IP certain range, the site will list all information of available servers respectively (Server name, IP , status, usage...).
I used a TableViewer to show the search result, and I also used pagination. I have 2 buttons Next ans Previous to move among pages.
The problem I'm facing is how to move automatically among pages with slide effect ( similar as we see photos of an album). When I click Next and Previous buttons, the effect must be the same.
I don't know if RAP can do it and how to do it?
I'd appreciate for any suggestion or answer. Thanks so much.
See the answer in the RAP Forum: http://www.eclipse.org/forums/index.php/t/357538/
Related
We are in the process of setting up our new website with Suite Commerce Advance - this means that we have been moving items around in categories, we seem to have an issue where items are disappearing within the categories (they are still present on the website if you search from them) has anyone else had this problem and how do you solve it?
i hope the problem was already solved, for other folks facing the same.
follow the following step:
Check whether the categories are properly tagged in commerce categories.
Check the display in webstore checkbox to be true.
Inside Webstore tab -> WebSite categories-> Site category = Home.
Then build index and cache invalidation request. Not always
mandatory(but if any thing changes in record level).
I have tried searching for a way to download some basic stats, or even a time series plot, that tallies the amount of facebook messenger activity between myself and my significant other. This is a much needed step to expedite some paperwork we need for a government application. Scrolling through a multi-year history and counting which days we used Messenger seems tortuous. Even if there was a way to download a vector of timestamps of messages between us, that would help a lot. I could code my own plot for the paperwork. Some blogs have mentioned using the "download a copy of your facebook data" from the support inbox, but I do not see that link on the appropriate page anymore. Does anyone know where it moved to?
Thank you.
I haven't tried this myself, but hopefully it works:
Go to your settings (the little downward pointing arrow, then choose settings),and right below all the options within the main box there should be a message saying "Download a copy of your Facebook data.", click the link, start the archive and apparently it should work. But whether or not it has timestamps and such, is a mystery for me (but likely).
edit: If this does not work, depending on your computer/volume of messages, what you could also do is open the mobile browser messenger (to reduce processing power needed), and start scrolling up within your conversation right up until to the top, then ctrl+a and copy everything to a word document. But obviously this would not work for conversations in the multiple thousand message territory
I have one created one campaign and underneath that I have created three teasers(each of them having different content, third teaser is default). I have linked first two teasers to two different segments and default is not assigned to any teaser. But every time my page is loading, I am seeing the first teaser(even though segments not resolving the client context). Any pointers would be highly appreciated.
If you are testing segments in same browser/window in which you have configured segments then you might see this problem. Open page in another browser or clear localStorage of your browser (to reset clientContext) and try again.
Currently my system works on abcd.appspot.com, it has two buttons, one Home and other About us, clicking on each button displaying respective UI.
Requirement now is, if user writes abcd.appspot.com/home then it should display the 'home' page and abcd.appspot.com/about should display 'about us' page. I know if I chose the history token then it will be much more easier for me, but requirement is the it must be abcd.appspot.com/{menu_id}/... only.
In short, I want the REST URI for client side version. Any idea how it should be implemented in GWT? May be I am missing some simple clue.
Fragment-identifier # is mandatory, if it is not present the page will reload...
You can remove the # using the HTML 5 feature "pushState", I known the last version of errai can do this, see http://docs.jboss.org/errai/3.1.0-SNAPSHOT/errai/reference/html_single/#_pushstate_functionality, but this will work only with HTML5 compatible navigator...
A few others links about gwt and pushstate:
https://github.com/jbarop/gwt-pushstate
https://gist.github.com/tbroyer/1883821
On the google website there an example of a simple GWT appliatoin, following is a link:
http://code.google.com/webtoolkit/doc/1.6/tutorial/create.html
The above application has a host page:StockWatcher.html
and StockWatcher.java is the entry point.
If I wanted to add more html pages to this application, we keep one single host page and the entry point will add different panels depending on which link the user clicked on? In this case, how to know which link the user clicked on? If I create a navigation panel and each link has a request parameter, then after the user clicks on the link, How to get the request parameter?
Are there any tutorials available online on how to create a fully functional application? The one example google provides is too simple.
Thanks so much in advance
You have two options to have multiple page web application using gwt.
1) Use gwt history feature and listen for the history change. In this approach at the initial page load itself browser downloads all the javascripts(Including the widgets which are not useful in current link). Still this can be avoided by using gwt code splitting.
2) Create multiple modules. In this case you have to create multiple html pages and GWT entry points. For each major functionality create a gwt module and link that with [modulename].html file. In this approach browser downloads only particular feature's javascript. Not all the javascripts.
Based on your application requirement you can pick one of the option. IMHO I would suggesst second option.