Re: WOOGNL Inline Bindings Help!

2007-11-02 Thread Mike Schrag

2007/11/1, Mike Schrag [EMAIL PROTECTED]:
The WOOGNL framework is included in the project and my main  
application constructor looks like this:
I think all of the shortcuts you listed are registered by default in  
Wonder, btw ...


Where can I find the complete list of all the shortcuts?

Only in source:
		WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOString,  
string);
		WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOString,  
str);
		WOHelperFunctionHTMLTemplateParser.registerTagShortcut(ERXElse,  
else);
		 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOConditional, if);
		 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOConditional, condition);
		 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOConditional, conditional);
		 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOHyperlink,  
link);
		 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WORepetition,  
loop);
		 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOTextField,  
textfield);
		WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOCheckBox,  
checkbox);
		 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOHiddenField, hidden);
		 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOPopUpButton, select);
		 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WORadioButton, radio);
		 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOPasswordField, password);
		 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOFileUpload,  
upload);
		WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOText,  
text);
		WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOForm,  
form);
		 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOSubmitButton, submit);
		 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(ERXLocalizedString, localized);



ms ___
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 Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: WOOGNL Inline Bindings Help!

2007-11-02 Thread Daniele Corti
2007/11/1, Mike Schrag [EMAIL PROTECTED]:

 The WOOGNL framework is included in the project and my main application
 constructor looks like this:

 I think all of the shortcuts you listed are registered by default in
 Wonder, btw ...


Where can I find the complete list of all the shortcuts?

ms

  ___
 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 Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com

 This email sent to [EMAIL PROTECTED]




-- 
Daniele Corti
AIM: S0CR4TE5
Messenger: [EMAIL PROTECTED]

--
Computers are like air conditioners -- they stop working properly if you
open
WINDOWS

-- 
What about the four lusers of the apocalypse? I nominate:
advertising, can't log in, power switch and what backup?
--Alistair Young
 ___
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 Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: WOOGNL Inline Bindings Help!

2007-11-01 Thread Mike Schrag
The WOOGNL framework is included in the project and my main  
application constructor looks like this:
I think all of the shortcuts you listed are registered by default in  
Wonder, btw ...


ms ___
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 Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

WOOGNL Inline Bindings Help!

2007-10-31 Thread Jonathan Miller

Hi,

Trying to use WOOGNL for the first time and I'm not sure where I've  
gone wrong.  As a first attempt I added the following line of code to  
my sample project


wo:string value = Hello /, how are you?

The page renders but it only displays

, how are you?

I have the following in my properties file:

ognl.active = true
ognl.helperFunctions=true
ognl.inlineBindings=true

The WOOGNL framework is included in the project and my main  
application constructor looks like this:


public Application() {
NSLog.out.appendln(Welcome to  + this.name() +  !);
/* ** put your initialization code in here ** */
 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOString,  
string);
 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOString,  
str);
 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(ERXElse,  
else);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOConditional, if);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOConditional, condition);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOConditional, conditional);
 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOHyperlink,  
link);
 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WORepetition,  
loop);
 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOTextField,  
textfield);
 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOCheckBox,  
checkbox);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOHiddenField, hidden);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOPopUpButton, select);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WORadioButton, radio);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOPasswordField, password);
 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOFileUpload,  
upload);
 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOText,  
text);
 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOForm,  
form);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOSubmitButton, submit);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(ERXLocalizedString, localized);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagProcessorForElementType(new NotTagProcessor(), not);

}

Is there a step I'm missing?

Best,

Jon ___
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 Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: WOOGNL Inline Bindings Help!

2007-10-31 Thread Andrew Sardone

I believe it should be:

wo:WOString value = Hello /, how are you?

-Andrew

On Oct 31, 2007, at 10:14 PM, Jonathan Miller wrote:


Hi,

Trying to use WOOGNL for the first time and I'm not sure where I've  
gone wrong.  As a first attempt I added the following line of code  
to my sample project


wo:string value = Hello /, how are you?

The page renders but it only displays

, how are you?

I have the following in my properties file:

ognl.active = true
ognl.helperFunctions=true
ognl.inlineBindings=true

The WOOGNL framework is included in the project and my main  
application constructor looks like this:


public Application() {
NSLog.out.appendln(Welcome to  + this.name() +  !);
/* ** put your initialization code in here ** */
 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOString,  
string);
 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOString,  
str);
 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(ERXElse,  
else);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOConditional, if);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOConditional, condition);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOConditional, conditional);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOHyperlink, link);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WORepetition, loop);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOTextField, textfield);
 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOCheckBox,  
checkbox);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOHiddenField, hidden);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOPopUpButton, select);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WORadioButton, radio);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOPasswordField, password);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOFileUpload, upload);
 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOText,  
text);
 
WOHelperFunctionHTMLTemplateParser.registerTagShortcut(WOForm,  
form);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(WOSubmitButton, submit);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagShortcut(ERXLocalizedString, localized);
 
WOHelperFunctionHTMLTemplateParser 
.registerTagProcessorForElementType(new NotTagProcessor(), not);

}

Is there a step I'm missing?

Best,

Jon
___
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 Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/andrew.sardone%40gmail.com

This email sent to [EMAIL PROTECTED]


 ___
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 Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: WOOGNL Inline Bindings Help!

2007-10-31 Thread Jonathan Miller

Nailed it, thanks Guido!

Jon

On Oct 31, 2007, at 5:14 PM, Guido Neitzer wrote:


On 31.10.2007, at 20:14, Jonathan Miller wrote:

Trying to use WOOGNL for the first time and I'm not sure where I've  
gone wrong.  As a first attempt I added the following line of code  
to my sample project


wo:string value = Hello /, how are you?

The page renders but it only displays

, how are you?

I have the following in my properties file:

ognl.active = true
ognl.helperFunctions=true
ognl.inlineBindings=true


Try moving the WOFrameworks in Order  Export inside Build Path  
settings on the project properties below all the other frameworks.  
Assuming you included WOOgnl as an Eclipse project. Does that help?


cug


___
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 Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]