Search Type: Posts; User: steffenk
Search: Search took 0.07 seconds.
-
25 Feb 2012 3:43 AM
- Replies
- 3
- Views
- 646
Hey,
this looks nice. I only would use expressions in strings like
$filter->value = "'{$filter->value}'";
With date filter you rely on Y-m-d - doesn't look generic :) -
24 Nov 2011 11:06 AM
- Replies
- 5
- Views
- 1,814
dirty flag wasn't handled correct in Ext3 with all field types.
Therefore i extended the basic form having a clearDirty function, which enumerates all fields and
clears the dirty, it's like this:... -
24 Nov 2011 10:53 AM
Jump to post Thread: Any update chart print/export by steffenk
- Replies
- 21
- Views
- 6,518
There would be a way to print charts, just as highcharts does. Using batik (batik-rasterizer.jar) it is possible to get the rendered chart into any kind of export:
... -
5 Nov 2011 5:44 PM
- Replies
- 8
- Views
- 5,164
use an iframe like this:
Ext.Ajax.request ({
url : 'askfordownload',
timeout : 30 * 60 * 1000, // 30 Minutes should be OK.
scope : this,
params : Ext.applyIf(params,... -
3 Nov 2011 4:04 PM
- Replies
- 74
- Views
- 10,589
I'm with you ;) And if 20 people copy it and use it, it doesn't make the wording better :D
I like toString, it's used in many dialects and is clear and selfdescribing.
a = mystify(b); :D -
3 Nov 2011 3:52 PM
- Replies
- 8
- Views
- 5,164
the legal way is to post the request to a script (eg php) and this script sends filecontent with file header.
-
3 Nov 2011 3:30 PM
Jump to post Thread: how to hide a tab in TabPanel by steffenk
- Replies
- 12
- Views
- 2,782
it's in the docs
var tabs = Ext.create('Ext.tab.Panel', {
width: 400,
height: 400,
renderTo: document.body,
items: [{
title: 'Home', -
21 Aug 2011 6:42 AM
Jump to post Thread: Is this forum valid any more? by steffenk
- Replies
- 43
- Views
- 5,084
i absolutely second this. Why not using one tracker, public? I highly recommend YouTrack as it's so fast, best filtering ever.
reporting bugs here in forum doesn't make sense in the meantime, it was... -
6 Aug 2011 5:09 PM
- Replies
- 10
- Views
- 2,717
Mitchell, surely i try to adapt the Ext way of MVC. But from concept it's all the same.
I see some limitations in Ext way which are mainly
* delegating events in controller refs prevent multiple... -
6 Aug 2011 10:07 AM
- Replies
- 10
- Views
- 2,717
maybe a tasty decision ;)
In php eg the controllers do nothing more than dispatch or delegate, mostly very small ones.
Most of the actions do any calculation of data, and they are in stores. So... -
6 Aug 2011 9:53 AM
- Replies
- 10
- Views
- 2,717
there are several ways. I prefer to have each control in a single view, and then one view which adds the controls to it's items. This way you can reuse each of the controls.
Other way would be to... -
5 Aug 2011 4:24 PM
- Replies
- 4
- Views
- 756
you make a simple mistake, and if you would inspect "this" when firebug breaks you would see that "this" is your button, which indeed has no method "setInRange"
This male it work:
... -
5 Aug 2011 4:09 PM
Jump to post Thread: How to clear a chart? by steffenk
- Replies
- 14
- Views
- 4,254
but there is anoher way:
chart.series.clear();
important to know that chart.series is a MixedCollection. -
5 Aug 2011 3:54 PM
Jump to post Thread: How to clear a chart? by steffenk
- Replies
- 14
- Views
- 4,254
it's a bit tricky, and i'm not sure if this is a bug.
chart.series.removeAll(chart.series.items);
I do not understand why removeAll needs an argument.
Or naming is wrong, should read... -
5 Aug 2011 3:08 PM
Jump to post Thread: Debugging ExtJS4 Applications by steffenk
- Replies
- 9
- Views
- 3,089
i always puzzle it - sure you "enable" cache by setting disableCache to false (brrr).
So you don't see any more the ?_dc=... with the files to load. Otherwise firebug thinks it's a different file... -
5 Aug 2011 10:30 AM
Jump to post Thread: Debugging ExtJS4 Applications by steffenk
- Replies
- 9
- Views
- 3,089
you have to disable the cache in Ext.loader otherwise BPs are lost.
-
2 Aug 2011 2:55 PM
- Replies
- 1
- Views
- 415
there is no better way. If you have static items you may create them in initComponent. You might code them direct or use a factory method.
For dynamic creations you sometimes need informations you... -
2 Aug 2011 2:49 PM
- Replies
- 5
- Views
- 912
you should get it with el.dom.value, just browse the element in firebug or other consoles
-
2 Aug 2011 2:46 PM
- Replies
- 8
- Views
- 797
Sure you can use one store several time.
Don't expect duplicate events, but you can listen everywhere to the store's load event so it can trigger many things.
Component1
this.store.on('load',... -
2 Aug 2011 2:43 PM
Jump to post Thread: Setting cache-buster value by steffenk
- Replies
- 5
- Views
- 1,439
exactly. I sent this link as everything is described there. Change all AJAX request globally, add your own params etc. This is exactly what OP asked for.
-
1 Aug 2011 2:38 PM
Jump to post Thread: Setting cache-buster value by steffenk
- Replies
- 5
- Views
- 1,439
http://docs.sencha.com/ext-js/4-0/#/api/Ext.Ajax
-
31 Jul 2011 11:52 PM
Jump to post Thread: Adding Sprites to a Surface by steffenk
- Replies
- 5
- Views
- 1,195
why do you use renderTo? Did you tried to use the draw component direct as item?
this.items = [{
xtype: 'draw',
itemId: 'map',
border: 0,
listeners: {
afterrender: this.fillMap
... -
25 Jul 2011 2:56 PM
Jump to post Thread: strange scroll effect by steffenk
- Replies
- 1
- Views
- 523
Hi,
i have a panel with 2 items in vbox, a carousel and a list.
To have it completely scrollable, i disabled scrolling in list and have set the panel to scroll: 'vertical'
Now the effect: in... -
27 Jun 2011 2:06 PM
- Replies
- 9
- Views
- 3,361
You should do this with a simple Ajaxrequest. Just ask for a timestamp and compare it with the saved one in a special settings store. If timestamp is higher, load your store with data.
To have it... -
25 Jun 2011 5:48 AM
Jump to post Thread: Audio on Android by steffenk
- Replies
- 7
- Views
- 2,493
it's nothing special, just
this.mediaPlayer = new Ext.Audio({
url : src,
renderTo : document.body,
enableControls : false
});
Results 1 to 25 of 119
