Flex Lazy Loading Tree example posted
Hi, all;
I've posted a new example to my blog:
http://flexdiary.blogspot.com/2009/01/lazy-loading-tree-example-file-posted.html
This example demonstrates
- Using lazy loading with a Tree component.
- Using an interface rather than a concrete type to allow the
LazyDataDescriptor to work with any class that implements
LazyLoading.
- An all-actionscript remoting connection
It also has the PHP files and instructions for creating the
mySQL database
that provide the service data.
"danger42" <[email protected]> wrote in
message
news:gkig47$hqu$[email protected]..
> Very cool!
Thanks :-)
Similar Messages
-
Loading tree data lazily?
I have a tree to display some ejb3 entities; the entities are
related to each other in a tree hierarchy. I implement
ITreeDataDescriptor to load the entities into the tree, which works
fine. However, when I try to expand a branch node, I got an error
"PersistenceCollection initializing", because the collections are
marked to load lazily. So I need to do the following in sequence:
1. Intercept the branch opening event; (I can do this by
listening for itemOpening)
2. Find out which item is being opened;
3. Load the collection for that item;
4. Wait till the collection finishes loading, then continue
with the branch open;
I can figure out how to do steps 1 and 3, but have no idea
how 2 and 4 could be done. I appreciate if someone could shed a
light on this."wt.ustc" <[email protected]> wrote in
message
news:gmva76$2mq$[email protected]..
>I have a tree to display some ejb3 entities; the entities
are related to
>each
> other in a tree hierarchy. I implement
ITreeDataDescriptor to load the
> entities
> into the tree, which works fine. However, when I try to
expand a branch
> node, I
> got an error "PersistenceCollection initializing",
because the collections
> are
> marked to load lazily. So I need to do the following in
sequence:
>
> 1. Intercept the branch opening event; (I can do this by
listening for
> itemOpening)
> 2. Find out which item is being opened;
> 3. Load the collection for that item;
> 4. Wait till the collection finishes loading, then
continue with the
> branch
> open;
>
> I can figure out how to do steps 1 and 3, but have no
idea how 2 and 4
> could
> be done. I appreciate if someone could shed a light on
this.
This might help:
http://flexdiary.blogspot.com/2009/01/lazy-loading-tree-example-file-posted.html -
Problem with module lazy loading in flex 3
Hi every body!
I have some problems with Module lazy loading. I am using flex 3.5, Module-flex3-0.14, parsley 3.2.
I can't get the LazyModuleLoadPolicy working correctly.
In my main application (the one that loads the modules), my parsley context is the following:
<cairngorm:LazyModuleLoadPolicy objectId="lazyLoadPolicy" type="{ OpenViewMessage }" />
<cairngorm:ModuleMessageInterceptor type="{ OpenViewMessage }"/>
<cairngorm:ParsleyModuleDescriptor objectId="test"
url="TestModule.swf"
applicationDomain="{ClassInfo.currentDomain}"
/>
And to load my module:
[Inject(id="test")]
[Bindable] public var test:IModuleManager;
<core:LazyModulePod
id="moduleLoader"
moduleManager="{test}"
moduleId="testModule"
/>
with LazyModulePod.mxml:
<mx:Canvas
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:module="com.adobe.cairngorm.module.*"
xmlns:parsley="http://www.spicefactory.org/parsley">
<mx:Script>
<![CDATA[
import com.adobe.cairngorm.module.ILoadPolicy;
import com.adobe.cairngorm.module.IModuleManager;
[Bindable]
public var moduleId:String;
[Bindable]
public var moduleManager:IModuleManager;
[Bindable]
[Inject(id="lazyLoadPolicy")]
public var lazyLoadPolicy:ILoadPolicy;
]]>
</mx:Script>
<parsley:Configure/>
<module:ViewLoader id="moduleLoader"
moduleId="{ moduleId }"
moduleManager="{ moduleManager }"
loadPolicy="{lazyLoadPolicy}">
<!--<module:loadPolicy>
<module:BasicLoadPolicy/>
</module:loadPolicy>-->
</module:ViewLoader>
</mx:Canvas>
OpenViewMessage.as in a swc:
public class OpenViewMessage
private var _moduleId:String;
private var _viewId:String;
public function OpenViewMessage(moduleId:String, viewId:String)
this._moduleId = moduleId;
this._viewId = viewId;
public function get viewId():String{
return _viewId;
[ModuleId]
public function get moduleId():String
return _moduleId;
In another flex project, my module context is:
<mx:Object
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:controler="com.cegedim.myit.controler.*">
<controler:WindowControler/>
</mx:Object>
The module implements IParsleyModule
<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
implements="com.adobe.cairngorm.module.IParsleyModule"
xmlns:spicefactory="http://www.spicefactory.org/parsley">
<mx:Script>
<![CDATA[
import org.spicefactory.parsley.flex.FlexContextBuilder;
import com.adobe.cairngorm.module.IParsleyModule;
public function get contextBuilder():ContextBuilderTag
return contextBuilderTag;
]]>
</mx:Script>
<spicefactory:ContextBuilder id="contextBuilderTag" config="{ MyITTestModuleContext }"/>
<spicefactory:Configure/>
</mx:Module>
and the WindowControler:
public class WindowControler
public function WindowControler(){}
[Init]
public function initialize():void
Alert.show("Module Initialized");
[MessageHandler(scope="local")]
public function openViewMessageHandler(message:OpenViewMessage):void
Alert.show("Opening view " + message.viewId + " in the module " + message.moduleId);
If i uncomment the basicLoadPolicy in LazyModulePod.mxml and remove the lazyModuleLoadPolicy, everything works fine. The module is loaded when it's added to stage and it receives correctly messages dispatched to it. But with the lazy policy the module never loads.
I may have missed something or there is somthing i don't understand because i tried the ModuleTest provided in example in cairngorm sources. It works fine (i mean loading the moduleA2 when receiving a message), but if i replace the change the lazyModulePolicy to listen to broadcasted messages instead of a pingMessage, the module never loads too.
<cairngorm:LazyModuleLoadPolicy objectId="lazyLoadPolicy" type="{ BroadcastMessage }" />
<cairngorm:ModuleMessageInterceptor
type="{ BroadcastMessage }" moduleRef="moduleA" />
public class BroadcastMessage
public function BroadcastMessage()
If someone has any clue, i'll be happy to test it =)
Thanks.Hello, back on my issue, i tested a little bit more the message dispaching.
I read the lazyLoadPolicy class and noticed that it always has to have a ModuleId property in the message to work, that's why the broadcast message didn't work to awake the module with the lazy loading policy.
So i added copy of my module:
<cairngorm:ParsleyModuleDescriptor objectId="test"
url="TestModule.swf"
applicationDomain="{ClassInfo.currentDomain}"
/>
<cairngorm:ParsleyModuleDescriptor objectId="testbis"
url="TestModuleBis.swf"
applicationDomain="{ClassInfo.currentDomain}"
/>
Set them both with a basicLoadPolicy, and tries to dispatch a message to only one of them using the ModuleId metatag. I then noticed that both modules received the message and not only the one i expected.
I then changed the ModuleMessageInterceptor configuration to dispatch to only one kind of module:
<cairngorm:ModuleMessageInterceptor type="{ OpenViewMessage }" moduleRef="test"/>
and this worked as expected. Only the first module catched the message. I am obiously messing with the ModuleId metatag but i cannot see what's wrong...
I compiled with
-keep-as3-metadata+=ModuleId
but this hasn't changed anything... -
I need a way to make a Tree load data using lazy-loading
method.
I have found on the internet that Tree control has a bug, and
doesn't support lazy loading.
Does anyone have a solutions to this? Workaround? Or, how can
be implemented a lazy-loading mechanism?
ThanksFound the answer:
Using TreeEvent.ITEM_OPENING to handle when user click on a
branch.
Prevent opening... e.preventDefault()
Check then is selectedItem has children, if has then
selectedItem.children=new Array();
selectedItem.children = myFunctionToGetChildren(parentId);
In the end, expandItem(e.item)) -
Hi all,
We have an application in which we use lazy loading on our client, so we can't be sure that both objects have the same objects reference loaded already. While implementing the equals method I came to the problem if it makes sense to compare the lazy loaded objects as well, because this might lead to a very deep object comparison through the whole object tree which might be very unperformant if I load this references on demand. Otherwise not comparing the references might be an incomplete comparision of these objects and makes the usage of the equals method very difficult.
Has anyone experience using the equals method with lazy loading?
Thanks in advance
MarcoOkay - here comes a little more detail about our architecture to give you a deeper understanding. Currently we are working with EJB3 / JBoss environment but our intention is to encapsulate this through a DAO-layer. Anyways we have special object-dependencies as per example a customer has it�s orders. So in my understanding a customer with the an address, a name etc. with NO orders is not the same as a customer with the same address and the same name and let�s say 2 orders. So I can stick with comparing simply the name and the address, but this wouldn�t give you an exact comparison.
The other way would be to compare the orders as well, but what if the orders have a number of invoices behind them. The conclusion would be, that I�d have to compare them as well. Additionally I have the problem, that I have totally equal customers with the same number of orders and invoices, but the first one has a null-value in its orders, because they have not been loaded from database yet and the other one has. So my technique with comparing the lazy-loaded references would not work here. A complete loading of all references for a comparison cannot be the solution here either.
So it is hard to say if they are I/O intensive. Worst case would be, that we have to load the complete object-tree for comparison from database and send them between client and server (jboss). This is part of our question? Should this be the consequence of lazy loading or is it best pratice to stick with the local attributes and let the client do the work, so that he has to work through the whole object-tree if he wants to know the exact equality.
Does this give you a more detailled view of our question? I guess I am not the first to deal with this problem, so I�d like to share your experiences with you about what is "wise" to do.
Thanks for your help
Marco -
Bugs in lazy loading of result sets in 2.4.0 RC3
I have a simple query that goes like that
Extent rules = pm.getExtent (RefundRule.class, false);
Query qryRefundRules = pm.newQuery (rules);
qryRefundRules.setFilter("ruleNr >= 0");
Collection refundRules = (Collection) qryRefundRules.execute ();
"ruleNr" is the primary key of the table and is an int.
The generated SQL as something like "select ... from refrule where t0 >= ?"
(perfect)
BUG 1:
The Collection "refundRules" is always empty, even though there are records
with ruleNr >= 0.
After some experimenting I found that the program works as expected if I
disable lazy loading by setting "com.solarmetric.kodo.DefaultFetchThreshold"
to "-1".
BUG2:
The same query without the filter produces another problem
Extent rules = pm.getExtent (RefundRule.class, false);
Query qryRefundRules = pm.newQuery (rules);
Collection refundRules = (Collection) qryRefundRules.execute ();
Now refundRules.size() gets me the correct number of records (35). But
walking through the collection is is very slow and throws this exception
after 10 records are retrieved from the Collection:
javax.jdo.JDODataStoreException: java.sql.SQLException: java.io.IOException:
LNA session closed [code=0;state=null]
NestedThrowables:
java.sql.SQLException: java.io.IOException: LNA session closed
at
com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwDataStore(SQLExcep
tions.java:23)
at
com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyRes
ultList.java:201)
at
com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.jav
a:123)
at java.util.AbstractList$Itr.next(AbstractList.java:416)
at
com.solarmetric.kodo.runtime.objectprovider.ResultListIterator.next(ResultLi
stIterator.java:49)
at com.globalrefund.refundmanual.Writer.write(Writer.java:92)
at com.globalrefund.refundmanual.Export.main(Export.java:17)
NestedThrowablesStackTrace:
java.sql.SQLException: java.io.IOException: LNA session closed
at
com.pervasive.jdbc.lna.LNAStatement.extendedFetch(LNAStatement.java:559)
at
com.pervasive.jdbc.lna.InsensitiveResultCache.fetchNext(J:/comp/sdk/jdbc/pvj
dbc2/src/com/pervasive/jdbc/lna/InsensitiveResultCache.java:450)
at
com.pervasive.jdbc.lna.InsensitiveResultCache.relative(J:/comp/sdk/jdbc/pvjd
bc2/src/com/pervasive/jdbc/lna/InsensitiveResultCache.java:277)
at com.pervasive.jdbc.v2.ResultSet.next(ResultSet.java:758)
at com.p6spy.engine.spy.P6ResultSet.next(P6ResultSet.java:123)
at
com.solarmetric.datasource.ResultSetWrapper.next(ResultSetWrapper.java:71)
at
com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyRes
ultList.java:165)
at
com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.jav
a:123)
at java.util.AbstractList$Itr.next(AbstractList.java:416)
at
com.solarmetric.kodo.runtime.objectprovider.ResultListIterator.next(ResultLi
stIterator.java:49)
at com.globalrefund.refundmanual.Writer.write(Writer.java:92)
at com.globalrefund.refundmanual.Export.main(Export.java:17)
Again setting "com.solarmetric.kodo.DefaultFetchThreshold" to "-1" cures the
problem
I use "com.solarmetric.kodo.impl.jdbc.DictionaryClass" =
"com.solarmetric.kodo.impl.jdbc.schema.dict.GenericDictionary" (because I am
testing against Pervasive.SQL)
No other parameter set (everthing default)
Regards,
BernhardThanks! Let me know if you need further information.
Regards,
Bernhard
"Patrick Linskey" <[email protected]> schrieb im Newsbeitrag
news:atioc1$3s0$[email protected]..
Bernhard,
Sorry about the delay getting back to you. We've been busy getting 2.4.0
released. We'll look into the issue further later this week.
-Patrick
Bernhard Mandl wrote:
Does "no response" mean you did not read my post or that you are not
willing
to look into it?
Thanks,
Bernhard
"Bernhard Mandl" schrieb im Newsbeitrag
news:asam6g$1rl$[email protected]..
Abe,
the same program worked perfectly with 2.3.x, so you must have changed
something. I could try to send you a reproducable example, but it will
probably take me a few hours to reduce it to something that I can send.Will
you look into it if I send you instructions how to reproduce? You can
download an evaluation version of Pervasive.SQL from the Pervasive
site.
>>>
Regards,
Bernhard
"Abe White" schrieb im Newsbeitrag
news:as92h5$ban$[email protected]..
Lazy loading works great with other databases (try it out with
Hypersonic
or any other databases you have). Apparently Pervasive.SQL's JDBCdriver
is
giving back invalid information. Since we obviously can't fix that,
you
should just stick with the -1 setting for DefaultFetchThreshold.--
Patrick Linskey [email protected]
SolarMetric Inc. http://www.solarmetric.com -
Disable Lazy Loading for Navigation Properties on Entities in EF 5
Hello all,
Can we disable Lazy Loading for Navigation properties on any entity?
If yes, how we can achieve the same.
Thanks,
NareshHi Naresh;
If you are using code first you can do the following to turn off Lazy loading for a given navigation property. For example
lets say we have a Customers table and a Orders table and a Customer can have 1 to many Orders the following POCO class has a ICollection that is mark as virtual, This causes Lazy loading to happen when a property of order is accessed.
// Lazy Loading Enabled
public class Customers
public int Id { get; set; }
public string Name { get; set; }
public virtual ICollection<Order> Orders { get; set; }
To turn off Lazy loading remove the virtual key word as follows:
// Lazy Loading Is Disabled
public class Customers
public int Id { get; set; }
public string Name { get; set; }
public ICollection<Order> Orders { get; set; }
To turn of Lazy Loading for all entities using Code First you can do the following in the constructor of the DbContext.
public class MyContext : DbContext
public MyContext()
this.Configuration.LazyLoadingEnabled = false;
If the above does not meet your needs please tell us what version of the Entity Framework, which context type you are using, for example ObjectContext or DbContext, and which modeling you are using such as Code First, Model First or Database First.
Fernando (MCSD)
If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful". -
Hibernate lazy loading with spring
Has anyone been able to successfully implement the org.springframework.orm.hibernate3.support.PortletOpenSessionInViewInterceptor to enable hibernate lazy loading with page flows? Any examples would be helpful.
ThanksDon't double post. I've removed the thread you started 3 hrs 16 minutes after this one with the identically same question.
db -
Shared Services 9.3.1 error - "...error loading tree data"
We have recently upgraded to version 9.3.1 and have been using it for several months now.
This past week, when logging in to Shared Services, we are suddenly experiencing a pop up with an error that says "There was a communication error while loading tree data".
Has anyone seen this error, and why would it suddenly start appearing when everything has worked for months and no changes have been applied?
Thanks for any advice, I will post screens and some sections from log files soon...We are also facing the issue while accessing the Hyperion Planning 9.3.1 application from Workspace. But it allows us to access it through planning URL. The workspace classic administration for planning works perfectly fine. Let me know in case you get any solution.
-
Hi,<br>
Been looking at the latest production release of oc4j and have been playing with the demo cmp ejb program provided by the download (dir : \j2ee\homedemo\ejb\cmp). I've also installed p6Spy to see the SQL commands sent to the database by the container. Even though i've set the lazy-loading="false" on the orion-ejb.xml file I still seem to be getting multiple select statements one to retrieve the primary key's and then multiple to retrieve each of the records, which I thought lazy loading set to false should fix, anyway changed the lazy-loading="true" and got the same results. So does the lazy-loading attrib on <finder-method> actually do anything??
<br>
cheers
<br>
<br>
<font size=1>
1129312695737|731|0|statement|SELECT e.empNo FROM EmployeeBean_cmpexample_aqm15f e |SELECT e.empNo FROM EmployeeBean_cmpexample_aqm15f e
<br><br>1129312695807|-1||resultset|SELECT e.empNo FROM EmployeeBean_cmpexample_aqm15f e |EMPNO = 73305<br>
<br><br>1129312695807|-1||resultset|SELECT e.empNo FROM EmployeeBean_cmpexample_aqm15f e |EMPNO = 71
<br><br>1129312696458|641|0|statement|select EmployeeBean_cmpexample_aqm15f.empName, EmployeeBean_cmpexample_aqm15f.salary from EmployeeBean_cmpexample_aqm15f where (EmployeeBean_cmpexample_aqm15f.empNo = ?)|select EmployeeBean_cmpexample_aqm15f.empName, EmployeeBean_cmpexample_aqm15f.salary from EmployeeBean_cmpexample_aqm15f where (EmployeeBean_cmpexample_aqm15f.empNo = 73305)
<br><br>1129312697099|631|0|statement|select EmployeeBean_cmpexample_aqm15f.empName, EmployeeBean_cmpexample_aqm15f.salary from EmployeeBean_cmpexample_aqm15f where (EmployeeBean_cmpexample_aqm15f.empNo = ?)|select EmployeeBean_cmpexample_aqm15f.empName, EmployeeBean_cmpexample_aqm15f.salary from EmployeeBean_cmpexample_aqm15f where (EmployeeBean_cmpexample_aqm15f.empNo = 73305)
<br><br>1129312697760|661|0|statement|select EmployeeBean_cmpexample_aqm15f.empName, EmployeeBean_cmpexample_aqm15f.salary from EmployeeBean_cmpexample_aqm15f where (EmployeeBean_cmpexample_aqm15f.empNo = ?)|select EmployeeBean_cmpexample_aqm15f.empName, EmployeeBean_cmpexample_aqm15f.salary from EmployeeBean_cmpexample_aqm15f where (EmployeeBean_cmpexample_aqm15f.empNo = 73305)
<br><br>1129312699413|1643|0|statement|select EmployeeBean_cmpexample_aqm15f.empName, EmployeeBean_cmpexample_aqm15f.salary from EmployeeBean_cmpexample_aqm15f where (EmployeeBean_cmpexample_aqm15f.empNo = ?)|select EmployeeBean_cmpexample_aqm15f.empName, EmployeeBean_cmpexample_aqm15f.salary from EmployeeBean_cmpexample_aqm15f where (EmployeeBean_cmpexample_aqm15f.empNo = 71)
<br><br>1129312700074|651|0|statement|select EmployeeBean_cmpexample_aqm15f.empName, EmployeeBean_cmpexample_aqm15f.salary from EmployeeBean_cmpexample_aqm15f where (EmployeeBean_cmpexample_aqm15f.empNo = ?)|select EmployeeBean_cmpexample_aqm15f.empName, EmployeeBean_cmpexample_aqm15f.salary from EmployeeBean_cmpexample_aqm15f where (EmployeeBean_cmpexample_aqm15f.empNo = 71)
<br><br>1129312700745|671|0|statement|select EmployeeBean_cmpexample_aqm15f.empName, EmployeeBean_cmpexample_aqm15f.salary from EmployeeBean_cmpexample_aqm15f where (EmployeeBean_cmpexample_aqm15f.empNo = ?)|select EmployeeBean_cmpexample_aqm15f.empName, EmployeeBean_cmpexample_aqm15f.salary from EmployeeBean_cmpexample_aqm15f where (EmployeeBean_cmpexample_aqm15f.empNo = 71)
</font>Figured it out... Changed the CMT setting for the beans from Supports to Required seemed to resolve the problem.... <br>
The ejb documentation for oc4j does say that CMR beans must be in a transaction (Supports,Never, NOT_REQUIRED) so maybe oracle should make sure the examples that ship with oc4j follow their own rules... -
Dynamic loading tree and data grid
Hi All,
I new to java as well as JSF. I am very impressed with the jsf and Sun Java Creator IDE. I made a sample project.
Now I want to load tree and data grid with dynamic values how can I achieve this.
Please help to find out some examples.
Also I need to know who I can use SOAP call using JSF.
Thanks
CSCSTo dynamically load a Basic Table (ui:table) from a database, see http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/databoundcomponents.html
To dynamically load a Basic Table from other sources of data that are loaded into an array or such, see http://blogs.sun.com/roller/page/divas?entry=table_component_sample_project
To dynamically CREATE a Basic Table, see http://developers.sun.com/prodtech/javatools/jscreator/reference/tips/2/createTableDynamically.html and http://developers.sun.com/prodtech/javatools/jscreator/reference/tips/2/add_component_to_table.html
To dynamically create an HTML table on the fly, see section 7.5 in Chapter 7 of the Field Guide at http://developers.sun.com/prodtech/javatools/jscreator/learning/bookshelf/index.html
To dynamically create a tree, see Dynamic Tree example at http://developers.sun.com/prodtech/javatools/jscreator/reference/index.jsp.
A tutorial for dynamically creating a tree from a database is work in progress.
Hope this helps,
Chris -
All,
I recentely completed initial development for a fairly complex, custom reporting component. As one might expect, it heavily uses SQL queries and a graph of objects in memory to render the various reports and search functionality available. The graph of objects can contain parent-child relationships up to five nesting levels deep. Not all reports and screens use all five nesting levels. In order to increase efficiency and lower the memory footprint, I implemented Lazy Load on these parent-child relationships.
My issue might just be a philosophical one. However, what I have ended up with is that a given JSP will initiate a Lazy Load as needed. For most model calculations and API usage, the Lazy Load simply is not required. So, the JSP ends up making these calls.
It seems a bit strange to have a JSP invoking operations that require database calls after the model has been returned to a view for dispatch.
Am I worrying overmuch about something not all that important? Or would you recommend moving this type of Lazy Load logic into the controller (we are using Struts) before dispatching the model to a given JSP?
- SaishNot sure I completely understand what your solution was but I once designed a model that would do incremental 'lazy' loads.
The basic idea was to resolve an issue with downloading large amounts of data from before displaying anything. The model Objects were heirarchical (think tree) so we made it so that a the data was retrieved in parts and reassembled on the client. The top level items were retrieved first. So we would go ahead a display the top level Object while we were retrieving it's substructure in a background thread. As the user started digging down, a parent would block if it's child was not yet available.
The desired effect was that the users would not be aware of any delays. the server would tend to fill in the heirarchy faster than the user could expand it. Really fast users might catch up with it but would still benefit from at some level.
I left the company before I saw it go implemented but a competent developer did work on it (I don't know how much was revised) and my old boss told me that he asked that the design not be changed much and that the final result flew.
However this was for a 'fat' client. I'm not sure if this applies to your JSP situation. The basic point is that you can lazy load in the model and the gui doesn't have to know anything about it. -
Hi everybody!
i've searched a way to disable the lazy loading, in order to retrieve all
my datas tree when I need and to test performance.
The problem is that I've found nothing about it and till now I don't know
how to perform it with the version 3.3.2 ...
Can someone help me please?
Best regards,
RudyThere is no global option to enable or disable whether a field should be
fetched: this is controlled in the metadata.
However, you could always configure all your fields to be in a single
named fetch group, and then control whether they will be fetched by
using the "kodo.FetchGroups" property. See:
http://docs.solarmetric.com/manual.html#kodo.FetchGroups
In article <dajfsf$jq2$[email protected]>, rentsch wrote:
Abe White wrote:
See the "default-fetch-group" field metadata attribute, and Kodo'sdocumentation
on custom fetch groups for additional flexibility:
http://www.solarmetric.com/Software/Documentation/latest/docs/jdo_overview_meta.html
>
http://www.solarmetric.com/Software/Documentation/latest/docs/ref_guide_fetch.html
Hi ,
I tought about a global option to setup into the .properties file... like
in a previous version of Kodo, if the option
'com.solarmetric.kodo.DefaultFetchThreshold' had the value '-1' then no
lazy loading was performed...
Does exist another option of this type to disable the lazy loading in the
new version?
Marc Prud'hommeaux
SolarMetric Inc. -
Hi,
I have a Flex swf loaded into a Flash swf.
I have made the Flex swf transparent, so that the buttons in the Flash swf are visible.
But im unable to interact with the Flash swf buttons.
My Flex swf is working happyily
The Flex swf overlays the Flash swf.
If i change the scrollRect of the Flex swf so the Flex swf is not overlaying the Flash swf i can successfully interact with the Flash swf buttons.
Any ideas?
Regards,
KyleThanks Alex,
I actually found an old post on a forum where you recommended a similar solution (mousesheld.visible = false).
This seems to work although it messes with dragging (my Popups at least).
But i can work with that for now, thanks for your help.
Regards,
Kyle -
PerfCounters mbean lazy loading ?
Hello,
I am using Weblogic 11g, running on Jrockit 1.6_20 on Windows 2008.
I have defined the flag -Djavax.management.builder.initial=weblogic.management.jmx.mbeanserver.WLSMBeanServerBuildr.
Now I am trying to monitor the value of jrockit.gc.mgr.oc.invocations of the oracle.jrockit.management.PerfCounters mbean, with CA Wily, and notice a strange behavour : the value of the mbean is not available until I open Mission control console to the server JVM!
I can wait for half an hour, but the moment I open JRMC, only then there's a value to this mbean attribute.
It's as if there are no instance of the mbean until it's queried by mission control, sort of lazy loading behaviour.
Has anyone seen this before? is this "branch" of the mbean tree indeed lazy loading ?
Thanks, EliI need your help here!
Maybe you are looking for
-
hey, for some reason i turned on my macbook pro 2012 and it says i have no internet access. I then found out that it also says that my self assigned ip address will not connect to the internet. How is this and how can i fix it?
-
IC WebClient is not opening through URL
Hi Friends, I am trying to access ICWC using URL: http://Host:8030/sap/bc/bsp/sap/ic_base/default.htm When I call the URL I am getting the Logon Pad. But when I enter my user ID and PW it doen not Logon. But when I am calling ICWC from CRM_IC t Code
-
Ix4-300d firmware update canceling
Hi, im trying to update my ix4-300d from version 4.0.4.14600 to version 4.1.104.31360. I downloaded the h4c-4.1.104.31360.tgz and checked its md5: 54b576b17f4628ee5465880418a37e0b to be sure it was not corrupted during download. Then I upload the tgz
-
Update on Nokia Belle Refresh (111.040.1511).
Hello my mobile these days has been replaced. On it still is the version 111.030.0609. I want to update on Nokia Belle Refresh (111.040.1511). But there is no link to do that. Can anyone help me? Thanks in advance. Nobby
-
License to use artwork that comes in the Common Library?
Anyone know what the license is to use artwork that comes with Fireworks in the Common Library? What restrictions are there for its use? Thanks.