|Re: Qooxdoo DateFormat [message #47195 is a reply to message #47116]
||Mon, 17 September 2007 07:29
Originally posted by: rherrmann.innoopract.com|
without knowing your actual use-case, a typical RAP application would
not need to format dates on the client-side. Preferably this should be
done server-side and only the properly formatted string is sent to the
If you would like to share your use-case we can maybe find a solution
that works without a client-side DateFormat.
Benjamin Muskalla wrote:
> we waited for that moment that someone discovered that :p
> Unfortunately in our qooxdoo build process (org.eclipse.rap.tools) we
> exclude everything from the qooxdoo runtime not needed by RAP to
> minimize the size of the qx.js. We think that this is in the interest of
> most RAP developers and users as the rap startup process is much faster.
> But we were aware of the fact that the community wants to use functions,
> widgets, etc of qooxdoo excluded by us. There are now two ways:
> a) Copy everything you need from the org.eclipse.rap.tools project (eg
> DateFormat and Format) to your own plugin and register them as resources.
> b) Get the org.eclipse.rap.tools project, get a copy of qooxdoo (you'll
> need the generator.py scripts), remove the according lines from the
> build-custom.sh and build your own qooxdoo library (you'll need python
> and some other stuff). After that you need to replace the two js files
> of RWT by the newly generated files.
> We know that both ways are not that cool but there are no other options
> at the moment to get the functionality back.
> Maybe you have some ideas how to get the most out of qooxdoo without
> having unneeded stuff in the qx build. I think generating qx at runtime
> is just impossible as we would need to get the build to run on-the-fly
> which requires lot of cpu usage and several tools installed on the
> server - so no real option for us.
> I think Rüdiger can also comment on this with his thoughts as he is
> doing the build most of the time :)
> Tiago wrote:
>> I'm trying to build a widget and in it I would like to use the Qooxdoo
>> function qx.util.format.DateFormat. I'm unable to as I discovered that
>> this is not present in the RAP "qx.js". Why is this missing?
Powered by FUDForum
. Page generated in 0.01954 seconds