Are the webobjects examples that are installed by the Apple webobjects543.dmg
any good? That is, are they broken, or overly dependent on deprecated code
etc.?
What might be a better way to explore working code from projects of limited
complexity?
Thanks,
Kevin
__
Hi,
John is right, if you have A ->> B, this should work :
EOQualifier qual = new ERXExistsQualifier( ERXQ.isNotNull(B.A_FK_KEY) ,
A.TO_BS_KEY);
ERXFetchSpecification spec = new ERXFetchSpecification(A.ENTITY_NAME,
qual, null);
(not tested though)
hope it helps
Alex
Le 12 mai 2011 à 00:00,
I think you can do this with ERXExistsQualifier and a Not qualifier.
John
On Wed, May 11, 2011 at 4:29 PM, Fred Wells wrote:
> Hey all,
> Maybe I missed something but is there a way to construct a qualifier that
> check that a toMany relationship is empty? Simply putting in "toMany =%@,
> new NS
Hey all,
Maybe I missed something but is there a way to construct a qualifier that
check that a toMany relationship is empty? Simply putting in "toMany =%@,
new NSArray(new Object[] {NSKeyValueCoding.NullValue}doesn't do it because
it tries to check across the join table which results in no obje
Similarly, could your templates be modeled using one table, with a one-to-many
to itself? This might be more flexible in general, but of course I don't know
your specifics.
Either way (either using a single class or a superclass of your three classes),
perhaps you could teach the template to cr
Can you re-imagine your problem as objects instead of thinking of the
database or do you have other code accessing SQL directly?
Mark
On 11 May 2011 20:14, Michael Gargano wrote:
> I was just talking to David Holt about this and he suggested I tap the brain
> trust. :)
>
> I was wondering if t
yes, but who is updating that list? I would suggest putting an implicit update
in the action binding of the AOF that updates the list.
when the popup is observed to change, fire the action with the new selection of
the popup.
Do you have accessors for all the bindings? You could put NSLogs in t
Thanks Kieran,
Maybe something I wasn't clear about either is that the local user copy
can change attributes all the way across the structure. So, tB and tC will
have additional attributes as well and local values for attributes there too.
So, I understand doing that for tA, I guess I
And to add to that, if it's not clear ..
- Use the same table (as you said "near identical")
- If you like prefix the non-common attributes with underscore or sth, and
write behavior interface cover methods that throw when the attribute is being
set on the wrong type.
- Use type attribute f
If I understood you correctly:
- Make option relationship from tUser <-->> tA for "user-owned templates"
- Add extra fields to tA
- Add a type field to tA - Integer - each int denotes a behavior
- Use Strategy Design pattern and create 2 behavior classes that correspond to
two templates types
Hi Ted,
Without the action to the AOF I am also able to update the list of Browser2,
but the update is happening only for the first time.
Regards,
Raghu.
On 12-May-2011, at 12:56 AM, Theodore Petrosky wrote:
> My guess is that when you fire the AOF, it should have an action to update
> the li
My guess is that when you fire the AOF, it should have an action to update the
list of Browser2
currently when you fire the AUC, the list is null.
Just a guess.
> Date: Wed, 11 May 2011 23:37:37 +0530
> From: Raghavender Bokka
> Subject: AjaxObserveField Update Error
> To: Development WebObj
Hi Ted,
I forgot to put the Browser2 WOD binding, and it also works without quotes.
Browser2: WOBrowser {
displayString = availableTeacher;
item = availableTeacher;
list = availableTeachers;
selections = selectedAvailableTeachers;
size = 15;
multipl
I was just talking to David Holt about this and he suggested I tap the brain
trust. :)
I was wondering if there is a database design pattern for a situation where I
have some template structure
let's say
tA <->> tB <->> tC (records across these tables are the template, the
template
Hi Amedeo,
When I put the ajaxupdatecontainer surrounding the entire form, then it worked.
But only for the first time I am able to see the update, and when I tried
second or third time then the update is not happening. Another drawback is if
I put the ajaxupdatecontainer for the entire form
What is this:
What is Browser2? It has no quotes and there is no WOD binding.
Ted
> Message: 1
> Date: Wed, 11 May 2011 23:37:37 +0530
> From: Raghavender Bokka
> Subject: AjaxObserveField Update Error
> To: Development WebObjects
>
>
> Hi,
>
> I am trying to update a selecti
Check your app, 500 is a server error.
Chuck
On May 11, 2011, at 11:07 AM, Raghavender Bokka wrote:
> Hi,
>
> I am trying to update a selection list when a value in the drop down list is
> changed. I am using "AjaxObserveField" and "AjaxUpdateContainer" components
> to achieve this functiona
Hi Raymond,
On May 11, 2011, at 5:29 AM, naneon.raym...@neuf.fr wrote:
> Hi,
> Thanks for your reply but I use ERXBatchingDisplayGroup (see attached) and in
> my search class :
>
> individuList = EOUvOuvertes.fetchStudentViaUVz(ed, anUniv, prdUniv, diplome,
> niveau, uv, nom, prenom, nombre);
Hello,
Try to put the ajaxupdatecontainer surrounding the entire form
Regards
Amedeo
On 11/mag/2011, at 20.07, Raghavender Bokka wrote:
> Hi,
>
> I am trying to update a selection list when a value in the drop down list is
> changed. I am using "AjaxObserveField" and "AjaxUpdateContainer" co
Hi,
I am trying to update a selection list when a value in the drop down list is
changed. I am using "AjaxObserveField" and "AjaxUpdateContainer" components to
achieve this functionality. But when I change the value in the drop down list
then the entire components or elements existing in the
Le 2011-05-11 à 07:58, naneon.raym...@neuf.fr a écrit :
> Hi,
>
> I follwed all your instructions and corrected my eomodel and my fetch spec.
> give this request.
>
> 33963 [WorkerThread0] DEBUG NSLog - evaluateExpression:
> "SELECT DISTINCT t0.ANC_UV_OUVERTE_ID, t0.CATEG_ID, t0.CRE_DATE,
HI All,
I chosed storedProcedure which is execute database side (to get speed) but I
have big problem when I execute it.
in my seach Class :
private static final String PROCEDURE_NAME = "searchEtudiants";
public static NSMutableDictionary parameters(String pperiode,
String pdiplome
Hi,
I follwed all your instructions and corrected my eomodel and my fetch spec.
give this request.
33963 [WorkerThread0] DEBUG NSLog - evaluateExpression:
The problem is the time(very very very slow) it takes to return data and get
outOfMemory exception. (see below)
2520004 [WorkerTh
--- On Wed, 5/11/11, Chuck Hill wrote:
> From: Chuck Hill
> Subject: Re: Clarification on AjaxObserveField and AjaxUpdateContainer
> To: "Roger Perryman"
> Cc: "Theodore Petrosky" , webobjects-dev@lists.apple.com
> Date: Wednesday, May 11, 2011, 12:58 AM
> One thing that looks suspicious to m
Hi,
at least in Oracle it should be possible if you
1) qualify the table name with the schema name, e.g. "b.individu"
2) allow the user of the separate schemes to select the tables from the
other schemes.
If you have static (not changing) models, you can achieve the first by
adding the schem
Hi,
in your eomodel, you should prefix your tables names by the schema they belong
to.
You should also use a single user to connect to your db, this user must have
access to all the schemas used by your eomodels.
This can be done in Properties of your app :
dbConnectURLGLOBAL = jdbc:oracle:thin
26 matches
Mail list logo