Thank you Koen,
Option 2 work pretty well.
I hope if developement goes well to license Wt in next few month.
It turn out witty is very good framework to build a native application
regardless it main purpose is web.
I have one offtopic question. Do you know someone successfully published a
Wt based app in the Apple app store ?
Regards,
Zhivko
On Tue, Jan 24, 2012 at 11:20 PM, Koen Deforche <k...@emweb.be> wrote:
> Hey zhivko,
>
> 2012/1/24 zhivko vasilev <e.zhi...@gmail.com>:
> > Hello All,
> >
> > I need a suggestion about how to use WTableView in a mobile web view.
> >
> > In the app a WTableView is using ajax mode to reload items and it
> > working excellent on the desktop.
> > When recompile the app for iOS or Android it turn out to be shown as a
> web
> > app instead as webpage (zoomed out) I need to add meta tags in the html
> > source.
> >
> > In the Wt examples I found that this could be achieved with this code.
> > addMetaHeader(Wt::MetaName,"viewport","initial-scale=1, maximum-scale=1,
> > user-scalable=no");
> >
> > It turn out i need to enable <progressive-bootstrap> settings to be
> rendered
> > with those meta tags. After doing that WTableView generate page
> navigation
> > bar.
> >
> > Does anyone can help me how to use this widget without
> > enabling progressive-bootstrap ?
>
> That is indeed a limitation currently. There are a number of
> workarounds, though:
>
> 1) do not show the WTableView in the first page -- progressive
> bootstrap only affects the "first" page (which can be many if you have
> internal paths)
>
> 2) reimplement enableAjax() in a parent of WTableView to create (or
> recreate) the tableview only then.
>
> 3) submit this as feature request (or bug) for WTableView. It
> shouldn't be too hard to implement this properly.
>
> Regards,
> koen
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest