That would not be ideal :-) but it would let you know if I am correct or if the
problem is elsewhere. The proper fix would be to get the JSONRpcClient to send
this header.
Chuck
On 2012-08-02, at 5:32 PM, Pascal Robert wrote:
> How do I add it, by forcing it in Apache?
>
>> If that header
How do I add it, by forcing it in Apache?
> If that header is NOT there, the request will get processed like a normal
> /wo/ request. That is probably why the entire page is getting processed
> again for the proxy request to /ajax.
>
>
> Chuck
>
>
> On 2012-08-02, at 1:04 PM, Pascal Robert
Try
PropertyKey.usuario
and
Usuario.usuario
D2W uses one, the validation system uses the other. Yes, that's confusing :-)
Ramsey
On Aug 2, 2012, at 4:53 PM, WebObjects TORAcom wrote:
> Thanks for your help.
>
> Now I am testing the localization of Validations
>
> In my ValidationTemplate
Hi,
I'm trying different methods to get a Frameset/Portal layout in my application
and I stumbled upon this excellent component.
So here is what I'm trying to do:
I have a side navigation that has a bunch of navigation trees and when an
object is selected in one of the trees the main pane load
Thanks for your help.
Now I am testing the localization of Validations
In my ValidationTemplate.string I have this for Spanish_MX:
{
"NullPropertyException" = "Favor de proporcionar
@@displayNameForProperty@@.";
}
and for English_US:
{
"NullPropertyException" = "Please provid
Ok, Thanks for the advise.
On 02/08/2012, at 17:27, Ramsey Gurley wrote:
> As a general rule, I only call static methods in a constructor and do
> assignments to ivars directly.
>
> http://www.javapractices.com/topic/TopicAction.do?Id=215
>
> Ramsey
>
> On Aug 2, 2012, at 3:20 PM, WebObject
Hi,
This is my first attempt at using ERAttachment. I followed the screencast
tutorial available in the Wiki and setup my application's properties according
to the recommendations I found in the Wiki, but I ended up with an application
that doesn't start anymore. The error is reported as a SQL
I thought that might have something to do with it, but the MySQL plugin is in
the classpath.
I removed and rebuilt it from Wonder source and the behavior is still the same.
Is there a material difference in the NSPrincipleClass for the framework
between
NSPrincipalClass
er.mys
You could put all languages you want in the array the "key" is the order
Sent from my iPhone
On 03/ago/2012, at 00:20, WebObjects TORAcom wrote:
> Thanks
>
> This did the trick
>
> public Session() {
> NSArray langs = new NSArray("Spanish_MX");
> setLanguages(langs
As a general rule, I only call static methods in a constructor and do
assignments to ivars directly.
http://www.javapractices.com/topic/TopicAction.do?Id=215
Ramsey
On Aug 2, 2012, at 3:20 PM, WebObjects TORAcom wrote:
> Thanks
>
> This did the trick
>
> public Session() {
> NS
Thanks
This did the trick
public Session() {
NSArray langs = new NSArray("Spanish_MX");
setLanguages(langs);
}
On 02/08/2012, at 17:07, Ramsey Gurley wrote:
> If you want to default your localizer to spanish in all your sessions instead
> of using the
If you want to default your localizer to spanish in all your sessions instead
of using the value set by the browser, then in your ERXSession subclass
constructor try adding:
_localizer = ERXLocalizer.localizerForLanguage("Spanish")
That should probably work.
Ramsey
On Aug 2, 2012, at 1:55 PM,
Oh, Thanks.
That makes sense, I have configured my browsers to use English as main language.
¿Is there a way to change this behavior? Just to know.
Miguel Torres.
On 02/08/2012, at 14:00, Ramsey Gurley wrote:
> I may be mistaken, but I believe it respects whatever default is set on the
>
If that header is NOT there, the request will get processed like a normal /wo/
request. That is probably why the entire page is getting processed again for
the proxy request to /ajax.
Chuck
On 2012-08-02, at 1:04 PM, Pascal Robert wrote:
> Yes, it's in the request (for the /wo request hand
Yes, it's in the request (for the /wo request handler, the proxy request to
/ajax is not sending it).
Request
URL:http://localhost/cgi-bin/WebObjects/.woa/-52307/wo/azn4r2avrFesehL6Fre27g/0.0.11.1.0.9.0.1.1
X-Requested-With:XMLHttpRequest
> Is the client sending this header?
>
> publ
Is the client sending this header?
public static boolean isAjaxRequest(WORequest request) {
String requestedWith = request.headerForKey("x-requested-with");
return "XMLHttpRequest".equals(requestedWith);
}
On 2012-08-02, at 11:41 AM, Pascal Robert
Hi Hafid,
Try adding -DNSProjectBundleEnabled=true to the VM Arguments in the launcher
for you tests.
Chuck
On 2012-08-02, at 6:31 AM, hafid ouazib wrote:
> Hi Henrique,
>
> I have the same error message if I run test in my application or in my
> framework,
> but, when I close all my frame
Hi Ramsey,
I managed to create a three-level menu using specific actions in the navigation
controller and appropriate rules. The beauty of the solution is that I have to
perform the queries with an additional qualifier based on at least one session
global and this method allowed me to do this w
Le 2012-08-02 à 14:53, Maik Musall a écrit :
> Hi,
>
> Am 02.08.2012 um 20:27 schrieb Gino Pacitti:
>> Could anyone help me plan the best set up for deployment of apps to deal
>> with IP Failover and redundancy?
>>
>> Any one with some good experience to share as to server deployment
>> scena
I may be mistaken, but I believe it respects whatever default is set on the
browser for each session.
Ramsey
On Aug 2, 2012, at 11:56 AM, WebObjects TORAcom wrote:
> Hi list,
>
> I am testing ERXLocalizer, it seems very good.
>
> I want Spanish as the default language for my app, so I set the
Hi list,
I am testing ERXLocalizer, it seems very good.
I want Spanish as the default language for my app, so I set the Properties file
like this:
er.extensions.ERXLocalizer.defaultLanguage=Spanish
er.extensions.ERXLocalizer.fileNamesToWatch=("Localizable.strings","ValidationTemplate.strings")
Hi,
Am 02.08.2012 um 20:27 schrieb Gino Pacitti:
> Could anyone help me plan the best set up for deployment of apps to deal with
> IP Failover and redundancy?
>
> Any one with some good experience to share as to server deployment
> scenario... Such as two servers mirrored or using XSan configur
Well, it's quite rare that I ask question instead of answering questions, but
anyway I have one. I just started using AjaxProxy because I need to take data
coming from JavaScript and send that data to a NSDictionary.
Problem is: when I call a method on the proxy, the whole page is reloaded, so
Create a rule model group file for all the rule files in your project and find
your rules in that. Double clicking a rule will open the correct rule model and
take you to the rule. And yeah, you still want to use localized string keys for
the interface strings, but you would make your rule based
Hi Gino,
Am 02.08.2012 um 17:24 schrieb Gino Pacitti:
> I am just going to upgrade my dedicated servers for my clients apps and
> resources and just need some help to deal with IP failover and Redundancy.
>
> I am looking at using Xsan on a Fibre Channel Switch with a External Raid.
>
> My idea
Hi...
Could anyone help me plan the best set up for deployment of apps to
deal with IP Failover and redundancy?
Any one with some good experience to share as to server deployment
scenario... Such as two servers mirrored or using XSan configuration
to share drive..
Any help appreciated.
yea i understood that. I was thinking in the Localizable.strings file!!
either way. I was also looking at the docs to included a separate d2wmodel file
for these name mappings.
I noticed in every d2w video that I have watched (you included) a lot of time
went into finding rules to edit them. I
Just a WAG: Using MySQL? Don't have the Wonder MySQL plugin in the classpath?
D
--
David LeBer
Codeferous Software
On 2012-08-02, at 1:04 PM, Larry Mills-Gahl wrote:
> I have a pretty basic D2W app running that is able to create objects, but
> editing the object appears to clear the entity be
you mean to say there _is_ a missing NEXT_ROOT?
ah, I had thought I always got that warning at startup, but I see that indeed,
I do NOT get that report from my own desktop when the app launches. I don't
have any environment variable in my shell for NEXT_ROOT either that I can see...
IIRC, this
I have a pretty basic D2W app running that is able to create objects, but
editing the object appears to clear the entity before attempting to save, so
all of the previously stored values are gone and validation complains that
required attributes are not present. The old values for the required f
On Thu, Aug 2, 2012 at 10:42 AM, Jesse Tayler wrote:
>
> I may have two troubles at once here.
>
> I removed the refs to the ERSync and I'm able to build and run the app
> from the command line as I'd expect.
>
> When I move to the server, I run the app and again, I get zero output
> after the fi
Of course you can :-) Just create your own rule. RHS is displayNameForProperty.
On Aug 2, 2012, at 8:45 AM, Theodore Petrosky wrote:
> But can I target PropertyKey.textArea5 differently if the page is different,
> i.e..
>
> "EditListUser.PropertyKey.textArea5" = "string 1";
> "CreateListUser.Pr
Hi
I have created a simple desktop swing application that uses WO+Wonder for the
backend with EOF and other Wonder goodies. My Application.java extends
ERXApplication and all runs beautifully in Eclipse/WOLips.
I would like to create a Mac OS x application bundle (normally created with
Eclips
But can I target PropertyKey.textArea5 differently if the page is different,
i.e..
"EditListUser.PropertyKey.textArea5" = "string 1";
"CreateListUser.PropertyKey.textArea5" = "string 2";
Can this be done? or am I barking up the wrong tree.
Ted
--- On Thu, 8/2/12, Ramsey Gurley wrote:
> From
I may have two troubles at once here.
I removed the refs to the ERSync and I'm able to build and run the app from the
command line as I'd expect.
When I move to the server, I run the app and again, I get zero output after the
first warning.
WOMan.woa/WOMan
WOMan: NEXT_ROOT environment variab
Oh, and BTW
"PropertyKey.myBigAttribute" = "My Big Attribute";
There's actually another one Q added to the validation system
"MyEntity.myBigAttribute" which makes more sense, but no one, as yet, has gone
through and updated the erd2w assignment to use that key instead.
Ramsey
On Aug 2, 2012,
Dump your created keys. Just go to the ListUser page, then click the "Created
Keys" link in your page. That will dump all the created localizable strings
into your eclipse console.
Ramsey
On Aug 2, 2012, at 8:22 AM, Theodore Petrosky wrote:
> I am looking over Ramey's HelloD2W and Localizable.
Hi All
I am just going to upgrade my dedicated servers for my clients apps
and resources and just need some help to deal with IP failover and
Redundancy.
I am looking at using Xsan on a Fibre Channel Switch with a External
Raid.
My idea is to have two servers that are linked for IP Failo
I am looking over Ramey's HelloD2W and Localizable.strings.
I understand targeting the Navigation area with nav.something. I don't
understand how to target the different areas. For instance, if I wanted to
target the attribute myBigAttribute on the "List User" page.
Or am I not understanding w
Hi Henrique,
I have the same error message if I run test in my application or in my
framework,
but, when I close all my frameworks in Eclipse, the test is working fine,
it is not a good solution because, it will be dificult to run tests if I
need to close all my framworks every time:(
Thanks,
2
40 matches
Mail list logo