Hi! There's a site on WebObjects with a registration and authorization.
I write a code that will register automatically on that site(a code on
another server, on my site). I want to realize this with a HTTP POST
request (PHP).
On that WO-site everything is simple:
- Main page with an authorizat
thanks,
i test your answer but i already have the same problem, if i extends
ERXGenericRecord, i have " java.lang.ClassCastException:
com.webobjects.eocontrol.EOGenericRecord cannot be cast to
er.extensions.eof.ERXEnterpriseObject " and when i extends EOGenericRecords he
say my fields is null a
that was so intuitive that I can not believe I didn't just stumble across it.
It creates a little weird syntax. I was expecting:
creativeBriefTable.newFlagBooleanColumn("isfiled", false, false);
what i got was:
creativeBriefTable.newFlagBooleanColumn("isfiled", false,
er.extensions.foundation.
EOCustomObject is EOGenericRecord's parent class. If your Personne extends
EOCustomObject, then it's a sibling of EOGenericRecord, not a subclass.
On Apr 18, 2012, at 7:24 AM, g.alexandre wrote:
> hi,
> When i execute my test methods with java, i have :
> java.lang.ClassCastException: co
Hi,
you should put the whole stacktrace in there.
A note, your eos should inherits from EOGenericRecord (or better,
ERXGenericRecord, use the templates from Wonder :
http://wiki.wocommunity.org/display/WOL/EOGenerator+Templates+and+Additions)
Alex
2012/4/19 g.alexandre
> hi,
> When i execute m
Hand edit? Eeew! :-P
Select the property and then the User Info tab in the Properties inspector.
Click where it says (0 items) and hit Enter. Edit the name and value.
Chuck
On 2012-04-18, at 1:07 PM, John Huss wrote:
> You have to add it manually into the userInfo dictionary by editing
It is indeed not possible to use cookies because we are in a request/response
scheme where every cycle is independent. wosid is the only link just use for
authentication.
Jérémy
Le 18 avr. 2012 à 15:03, Ruenagel, Frank a écrit :
> That's interesting.
> Normally the JSESSIONID is stored in a
Thanks John!
Learn something every day :-)
David
On 2012-04-18, at 1:42 PM, John Huss wrote:
> I was hoping there was a box in Entity Modeler that said, "Default Value".
>
> There is no box, but if you hand-edit the file like I said it will do what
> you want.
> _
>
> I was hoping there was a box in Entity Modeler that said, "Default Value".
>
There is no box, but if you hand-edit the file like I said it will do what
you want.
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailin
No not really,
I create a model that has an attribute (an intBoolean) called isFiled. I ask
Entity Modeler to create the migrations for me and it gives me:
@Override
public void upgrade(EOEditingContext editingContext, ERXMigrationDatabase
database) throws Throwable {
ERXMigra
Hi Ted,
You can use EOF to set your values in migrations, so I guess you could set your
default values in your entity?
See Mike's example app SecretPal and the SecretPal0 migration postUpgrade
method. That might give you what you are looking for.
Also just recently someone (Ramsey?) posted th
You have to add it manually into the userInfo dictionary by editing by
model with a text editor. For example, for the ATTRIBUTE called "deleted":
...
{
columnName = "scp_deleted";
name = deleted;
prototypeName = intBoolean;
*userInfo = {defa
When I create an attribute in Entity Modeler, and create the migrations, it
does a beautiful job.
creativeBriefTable.newFlagBooleanColumn("isfiled", false);
and I know I can add a default value here
creativeBriefTable.newFlagBooleanColumn("isfiled", false, false);
problem is that if I go back
Hi Ron,
On 18/04/2012, at 13:06, Henrique Prange wrote:
> Hi Ron,
>
> On 18/04/2012, at 08:06, Ron X wrote:
>
>> What is the meaning of using @UnderTest?
>
>
> The @UnderTest annotation can be used to create real enterprise objects and
> insert them into the editing context rule. It is a sho
Hi Ron,
On 18/04/2012, at 08:06, Ron X wrote:
> What is the meaning of using @UnderTest?
The @UnderTest annotation can be used to create real enterprise objects and
insert them into the editing context rule. It is a shorthand for:
public class SongTest {
...
private Song song;
@
Hi Ron,
@Spy is a Mockito annotation. The Mockito dependency is optional. You have to
add the dependency manually into your project's pom.xml.
org.mockito
mockito-core
1.9.0
Additionally, I recommend to use the release version of WOUnit.
com.wounit
wounit
1.2
Cheer
Bonjour G. Alexandre,
I guess that you are getting the exception in the rechercherParNip method? And
are you using Project Wonder? If yes, you can reduce the amount of code by
using the Wonder methods and make your code more solid. If you are not using
Wonder, you should.
> hi,
> When i exec
Repeat:
Is there a 'propertyNameComponentName' equivalent in EXCEL look ?
Thanks
James
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your S
hi,
When i execute my test methods with java, i have :
java.lang.ClassCastException: com.webobjects.eocontrol.EOGenericRecord
cannot be cast to com.cariatides.noyau.modele.noyauppersonne.Personne
But my class personne extends EOCustomObject so i don't know why i have this
error. When i i
That's interesting.
Normally the JSESSIONID is stored in a cookie.
I guess in your special scenario cookies are disabled and so the tomcat always
opens a new session in subsequent requests?
Regards
Frank
-Ursprüngliche Nachricht-
Von: webobjects-dev-bounces+webobjects=symposion...@li
For those who could have the same issue, here comes one answer :
1) get the jsessionid from the HttpSession used for authentication
2) send both wosid and jsessionid to the direct actions
3) restore HttpSession using an HttpSessionListener
4) restore WOSession using WOServletSessionStore.woSession
What is the meaning of using @UnderTest?
it can be omitted and using mock().
when i do confirm(song, canBeSaved()); - it falls with exception
but when i do:
mock(Song.class);
and than do confirm(song, canBeSaved());
everything works fine
18 апреля 2012 г. 11:53 пользователь Ron X написал:
> hi e
Hello,
We have APIs that use HTTP/GET or POST direct actions according to this scheme :
- authenticate direct action -> returning a sessionID
- asking for a direct action with a sessionID -> if authenticated, returning
the response
Problem is that it doesn't work with servlet deployment except i
hi everybody
@Spy - not find in classpath
com.wounit
wounit
1.3-SNAPSHOT
why?
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@list
24 matches
Mail list logo