I
couldn't agree more. I've always found the triple-quoting ugly... makes my brain
go all scrambled eggs.
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of
Drew McAuliffeSent: Friday, November 21, 2003 8:05
PMTo: [EMAIL PROTECTED]Subject:
Hi all,
Just plugged in the newest WW/XW from the CVS... and I'm getting hit on the
nose with the following error. The first 5 minutes of debugging told me I
need some help. Anybody know what might be happening?
-Robert
javax.servlet.ServletException: Servlet execution threw an exception
] java.lang.IllegalAccessError
Do you have a different Ognl jar than the one which ships with XW/WW2?
That's a method Pat made accessible in our version of the library that
hasn't been changed in the released library yet...
-Original Message-
From: Robert Douglass [mailto:[EMAIL PROTECTED]
Sent: Thursday
Hi all. I've been having a problem with resource bundles. My action extends
ActionSupport, and in my velocity templates I've been making calls to
$action.getText(), which is my first question: is that the best way to call
getText()? I read something in the archives about using
PS. does anybody know why it takes 6 hours for mail to be delivered?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Robert Douglass
Sent: Thursday, October 23, 2003 3:43 PM
To: WebWork list
Subject: [OS-webwork] i18n Velocity
Hi all. I've been having
Hi all,
as an exercise for myself, I've implemented the i18n example app using WW2
and Velocity. I've posted a Jira issue stating as much.
http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-355
(I don't know how the debate finally resolved... if you just got three
messages from jira for
PROTECTED]
Subject: Re: [OS-webwork] i18n Velocity
I have a MyAction.properties (for the MyAction class, needs to be in the
same package) file that i put all my messages in and just put the
messages in there, for example resource.name=This is a message from the
MyAction.properties file
Robert Douglass
Still having a hard time with Velocity tags. It's kind of cool, in a way,
because every time I check out the HEAD, I get slightly different results.
Here's my problem. From the WW1 tag attribute docs that got posted here
yesterday, I constructed my radio tag like this (it is the i18n example from
Hi all. I'm using Velocity with WW2 for the first time, and it's not going
groovy for me. With the following radio tag, I am getting an OGNL exception
because getLanguage gets called, and it throws and error because getLanguage
is dependent on setLanguage being called first.
It isn't possible, is it?
-Robert
Hi all.
After calling an action from a velocity template, #tag( Action
name=com.Foobar), how does one reference the action object?
---
This SF.net email sponsored by: Enterprise Linux Forum Conference Expo
Hi all. If anyone can explain to me how to use the #tag(Select ...) without
having to make my own inner-class Node implementations, I will update the
Wiki with clear examples and a thorough and clear text. Don't do it for me.
Do it for the next guy who downloads WW2 and asks what all these
I also promise to take care of Wiki documentation if anybody would like to
explain, or show examples of theme and template attributes.
-RD
---
This SF.net email sponsored by: Enterprise Linux Forum Conference Expo
The Event For Linux
soapboxWhile Pat and the rest of the other core developers are busy
getting a release out, it would be nice if the rest of us would do a little
more to fill in the Wiki documentation. The fact that there is zero
documentation for the common ui tags is rather sad. It would be vast
improvement if
Hi all.
After calling an action from a velocity template, #tag( Action
name=com.Foobar), how does one reference the action object?
---
This SF.net email sponsored by: Enterprise Linux Forum Conference Expo
The Event For Linux Datacenter
4) I make sure that this gets called somewhere on the request object:
req.setCharacterEncoding(UTF-8);// or UTF8, can't remember
This would be the same as
%@ page contentType=text/html; charset=UTF-8%, no?
no, I don't think so. req.setCharacterEncoding(UTF-8); tells the servlet
that the
=velocity-utf8.properties to
webwork.properties and include the attached file on the classpath to enable
UTF-8 support in your WW2 templates.
Cheers,
Mathias
-Original Message-
From: Robert Douglass [mailto:[EMAIL PROTECTED]
Sent: donderdag 16 oktober 2003 10:37
To: [EMAIL PROTECTED]
Subject: RE
PS. James, you used %@ page contentType=text/html; charset=ISO-8859-1%
this, but you do know that there is no Euro sign included in that?
---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open
My head just fell off and rolled away in a swarm of ampersands and
semi-colons.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Grzegorz Mucha
Sent: Thursday, October 16, 2003 10:55 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: [OS-webwork] Newbie:
... even when I spell 'scope' correctly :-)
---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here:
Trying to wrap my brain around interators, value stack, etc. The code listed
below outputs the following:
my.class.Name
true
---
hi
bye
[my.class.Name, my.action.class.Name]
when I expected something like:
my.class.Name
word in Ognl).
And, just to be super duper tricky, let's play some trivia:
Q. What does [1].that return?
A. It returns the item that is second from the top of the stack
-Pat
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Robert Douglass
Sent: Thursday
was writing all this. There was plenty of literature talking about
encodings, but I had to come to the solution described above with, like you
said, many days of head banging.
-Robert Douglass
function mangle(text){ // text is user input
var mangleArray = {
'%C0':'%26Agrave%3B
When I do the following test:
ww:set name=message1 value='hello world 1' scope=page/
ww:property value=#message1/
ww:set name=message2 value='hello world 2' scope=stack/
ww:property value=#message2/
ww:set name=message3 value='hello world 3'
Hi all. Having a hard time with some weird behavior in a set tag. Here's the
code:
ww:set name=site value=@[EMAIL PROTECTED](model)
scope=webwork/
ww:property value=#site/
The set tag alone works fine. I know that because on its own, it throws no
errors, I've set breakpoints in the getSiteFromNav
Not to mention xpetstore.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Hani Suleiman
Sent: Thursday, October 09, 2003 5:18 PM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] Call for help
We all do!
Having said that, I think before testing our large
: [EMAIL PROTECTED]Subject:
RES: [OS-webwork] _javascript_ actions on form components?
That
would change the behaviour I want - because you can submit a form without a
click in the submit button, but, anyways, it doesn't work,
either...
-Mensagem original-De: Robert Douglass
Title: Message
It's
an optional parameter, right? I think it's a great idea. In particular, I need
to rewrite a proprietary widget toolkit in WW and now I can just provide custom
header and footer templates instead of limiting myself to a single view
technology by writing a taglib or macro
I make sure to write tests that break the code too. So the first test I run
is said action without any input parameters, for example. Then with bad
parameters. The bad tests have to all fail before I test the correct case.
And, by the way, make sure you have worked out whether you're going change
conditions and then also
failure conditions, I was planning on having the tests all
work against
a test database so i dont touch my live data.
Robert Douglass wrote:
I make sure to write tests that break the code too. So the
first test
I run is said action without any input parameters
Is there a way to have this type of notification collected in a digest, and
sent to this list once a day|week?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Patrick Lightbody
Sent: Monday, October 06, 2003 6:58 PM
To: [EMAIL PROTECTED]
Subject: RE:
some pages?
Jason
-Original Message-
From: Robert Douglass [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 04, 2003 2:47 PM
To: WebWork list
Subject: [OS-webwork] Wiki question
What does it mean when the wiki page that I created is no
longer there? Does it mean that I did
Hi all,
I'm really sailing against the wind today. Can't get the simple things to
work. I thought that calling this line in my action
ServletActionContext.getContext().getSession().put(newPage_pageToClone,
pageToClone);
and this in my template
ww:property
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Robert Douglass
Sent: Sunday, October 05, 2003 7:48 AM
To: WebWork list
Subject: [OS-webwork] accessing session objects in tag
Hi all,
I'm really sailing against the wind today. Can't get the simple things to
work. I thought that calling
Ahhh. I didn't do that. Thank you!
Did you activate it specifically for that action ? Just adding the below
to
xwork.xml only defined the interceptors. You have to create the
relationships between which actions and which interceptors as well.
action name=newPage class=com.webs4.NewPage
result
only) and also for parameters
Robert Douglass wrote:
Typical. I fiddled around with this problem for 20 minutes, wrote y'all a
mail, and came upon an answer within 15 seconds of pressing Send.
ww:property value=#session.get('newPage_pageToClone').toString()/
Is this the only | best
..
-Original Message-
From: Robert Douglass [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 05, 2003 4:44 AM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] accessing session objects in tag
Thanks, that's perfect.
Just goes to show the limitations of searching the
MailArchive. Now
computer to find that for you.
Robert Douglass wrote:
Thanks, that's perfect.
Just goes to show the limitations of searching the MailArchive. Now that
you
mention it, I remember scanning that entire thread as it unfolded, but
didn't really digest it at the time, as I was focused on other things
What does it mean when the wiki page that I created is no longer there? Does
it mean that I did it wrong and it never existed? Or that it exists
somewhere and someone has to approve it before it is visible? Or that
someone thought it was useless/wrong/out of place/..n and deleted it?
-Robert
the
value didn't work. The values that were set from the URL parameters get
passed on, though, I noticed.
-Robert Douglass
xwork.xml:
action name=newPage class=com.webs4.NewPage
result name=success type=chain
param name=actionNamebrowse/param
/result
NewPage.java
this
parameter
from within the newPage action, but I was surprised that simply setting
the
value didn't work. The values that were set from the URL parameters get
passed on, though, I noticed.
-Robert Douglass
xwork.xml:
action name=newPage class=com.webs4.NewPage
result name
Bernard,
Sorry, I haven't been following this thread, and couldn't find it at
MailArchive. What problem are you solving, and where does this permission
get written?
-Robert
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Bernard Choi
Sent: Thursday, October
resolves -- if I moved the
remaining 25 to beta3 that'd be 42 open issues to resolve in beta3. I think
we're at a good point to release beta2 tonight. So i'll try to resolve
anything I can in the next few minutes and then cut a build.
-Pat
- Original Message -
From: Robert Douglass [EMAIL
Suppose you are
iterating over a List and you want to pass the _whole_ top stack object
to an action (maybe inside an URL), how do you do that?
a href=ww:url value=editoption.actionww:param name=entry
value=(EntryClass) that //ww:urledit3/a
I may be completely wrong, but I think you have to
+1 for another beta. That guarantees that people can grab a .jar of the
latest changes, instead of having to build it.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Francisco Hernandez
Sent: Wednesday, October 01, 2003 11:04 PM
To: [EMAIL PROTECTED]
with the latest from cvs.
/Jonas
Robert Douglass wrote:
Works:
result name=success type=dispatcher
param name=locationtest.html/param
/result
Fails:
result name=success type=dispatcher
param name=location${'test.html
Dick,
I'm not quite sure how to do this. templatePath is visible as a property
from the browse.action, but jsp is still new to me, so I'm having trouble
getting ww:property value=templatePath/ into jsp:forward
page=*here*/. For that matter, I'm not at all sure how I would access any
value stack or
I think this is the relevant code, from
org.apache.turbine.util.parser.DefaultParameterParser. As I understand it,
Turbine folks avoid URLs like foo/bar?id=1812 in favor of foo/bar/id/1812.
I've never used this, and I can't remember right off exactly how the servlet
container knows which part is
for not having
everything ready for you yet.
my 2 cents
Robert Douglass
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
boxed
Sent: Sunday, September 28, 2003 10:48 PM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] Migrating to WW2
Jason Carreira wrote:
I'm not sure
- Original Message -
From: Robert Douglass [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 28, 2003 10:39 AM
Subject: RE: [OS-webwork] Hyperlink best practices - use of actions
Thanks Scott,
I hadn't noticed the difference between Jason's and Pat's posts on the
matter. However
on the idea. Now I'm convinced it is what I want. Any advice?
-Robert Douglass
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Robert Douglass
Sent: Tuesday, September 23, 2003 9:07 AM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] Hyperlink best
+1 for Turbine style urls
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Jerome BERNARD
Sent: Sunday, September 28, 2003 6:09 PM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] Advanced URL mapping?
I just looked at the code and can't find anything really
Thanks Scott,
I hadn't noticed the difference between Jason's and Pat's posts on the
matter. However, contrary to my earlier assertion, I'm now convinced that
this syntax isn't resolving to an OGNL expression like it should. In my
browse.action, I explicitely set a private field 'templatePath'. It
Does anyone know of open source collections of html forms for international
addresses/telephone numbers etc.? I was sure that there must be collections
of regexps and premade forms that cover all the major international
standards, but my first look at the open source community and 20 minutes on
');
param.setAttribute('name', paramArray[i].name);
param.setAttribute('value', paramArray[i].value);
a_form.appendChild(param);
}
a_form.submit();
callingDocument.body.removeChild(a_form);
}
-Robert Douglass
-Original
:[EMAIL PROTECTED] Behalf Of
Robert Douglass
Sent: Friday, September 26, 2003 7:13 PM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] Managing URLs from view
I use this code for a different reason than what you are looking for, but it
is an interesting way to call actions from any html page
Would this work as well?
result name=success
type=redirect${myTemplate}.vm?param=${myValue}/result
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Jason Carreira
Sent: Friday, September 26, 2003 8:02 PM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] Just
expression product.id to be evaluated and placed
in the URL. Is that what you want?
-Pat
- Original Message -
From: Robert Douglass [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 7:53 AM
Subject: RE: [OS-webwork] Hyperlink best practices - use of actions
from my email sprint :)
- Original Message -
From: Robert Douglass [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 11:36 PM
Subject: RE: [OS-webwork] Hyperlink best practices - use of actions
This is an excerpt from my xwork.xml file? That's incredible. That's
Perhaps he means ww:action ?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Jason Carreira
Sent: Thursday, September 25, 2003 7:48 PM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] Managing URLs from view
I don't think I understand... What are you trying
the even tighter integration between WW and Velocity. If it works well, and
is configurable, I'm also sure that it would find its way into the WW2
distribution, from what I know of the project leaders. The post from
velocity-users:
Robert Douglass said:
It is not initially clear whether it is easy
Is this how most people do it?
a href=/jsp/inbox.jsp?id=ww:property value=id/
ww:property value=name/
/a
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Robert Douglass
Sent: Tuesday, September 23, 2003 7:58 AM
To: [EMAIL PROTECTED]
Subject: [OS-webwork
which it
would build a URL and redirect or forward the request to it.
I haven't implemented this yet, as I'm still discovering the ins and outs of
basic WW2 usage. The question is, though, does anybody else do business this
way? If so, how did you implement it?
-Robert Douglass
-Original
/a
And if so, why is the tag necessary? I thought the servlet API would do this
automatically if the client didn't have cookies activated?
Just trying to understand :-)
-Robert Douglass
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Francisco Hernandez
Sent
Ahhh. I see. How is the id attribute intended to be used?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Michal Mosiewicz
Sent: Tuesday, September 23, 2003 9:04 AM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] Hyperlink best practices
[...]
And if
of actions
I do it. I have a url attribute in a base action, and my browse.action
uses it from the valuestack, as it's set by non-terminals that *act* like
terminals.
On Tue, 23 Sep 2003, Robert Douglass wrote:
I have another question on how people organize the navigation within their
apps. First
for the same action). My attempts to write my own forward.action
have led to some interesting recursive messes, which is why I initially gave
up on the idea. Now I'm convinced it is what I want. Any advice?
-Robert Douglass
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf
OK, I got it online. Found a cached version.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Robert Douglass
Sent: Monday, September 22, 2003 5:41 PM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] ognl site down?
It appears that the http://www.ognl.org
I don't know how to ask this, but I'm too curious not to: what reasons might
Hibernate have had to not join JBoss?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Matthew E. Porter
Sent: Wednesday, September 17, 2003 7:20 PM
To: [EMAIL PROTECTED]
Subject:
and
Hibernate
*donning flameproof suit*
Because Jboss sucks?
-Original Message-
From: Robert Douglass [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 2:41 PM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] Fwd: [Hibernate] JBoss welcomes
Gavin and Hibernate
I don't
credentials in addition to know-how.
-Robert Douglass
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Jason Carreira
Sent: Thursday, August 28, 2003 1:21 AM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] Offtopic: need advice
I got a job doing web site
as well:
ui:textarea label='an editor' name='editor' value=html rows=20
cols=80/
thanks,
Robert Douglass
---
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread
/ tag
from the jsp below.
-Robert Douglass
### ui tag
form method=POST action=com.webs4.WWEditor.action
ui:textarea label='Hi!' name='html' value=html rows=20
cols=80/
input type=submit name=Submit value=Submit/
/form
## processes to
form method=POST action=com.webs4.WWEditor.action
right in all of these assumptions?
Thanks for any help or suggestions,
Robert Douglass
---
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've
:/template/xhtml/textarea.jsp unless it had already found this
file?
-Robert Douglass
---
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never
Hi,
could someone
explain to me how WW locates its jsp tag library? Or, alternatively, what do I
check when WW doesn't find the taglib. thanks,
Robert
Douglass
PS I've done Cocoon
and Turbine before this, and I REALLY like WW so far. Great
work.
Is it possible to do
keyword searches on the mail list archives? Out of the 101 questions that I'm
likely to have in the following days, I'm sure 99 of them have already been
answered!
-Robert
Douglass
] searching archivess
sf.net archives the mailing list, but it works just about as well as
everything else sf.net does. mail-archive's version would probably be
better.
--Erik
On Fri, 6 Jun 2003, Robert Douglass wrote:
Is it possible to do keyword searches on the mail list archives? Out of
the
101
77 matches
Mail list logo