Can the property webwork.custom.properties=ApplicationResources
be set to load language strings.
Is there any such property for loading an external file?
i.e. can whats the simplest way to use an existing struts resource file?
(without making a file for each action)
Thanks,
Matthew Payne
WW2 beta2 (November release)
Matt
On Tue, 2004-01-13 at 13:49, Jason Carreira wrote:
Which version of WebWork are you using?
-Original Message-
From: Matthew Payne [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 1:37 PM
To: [EMAIL PROTECTED]
Subject: [OS-webwork
, then webwork will look up the object heirarchy until it finds a
resource.
Matthew Payne wrote:
Can the property webwork.custom.properties=ApplicationResources
be set to load language strings.
Is there any such property for loading an external file?
i.e. can whats
, webwork.custom.properties is NOT intented to be
used like?
--
message-resources parameter=ApplicationResources
key=org.apache.struts.action.MESSAGE /
as in a struts-config
Matt Payne
On Tue, 2004-01-13 at 14:24, Matthew Payne wrote:
I did that. It works, in that it will produce the strings from
just define resource bundles to use which
have different language / locale versions based on the property file
name? That's pretty standard PropertyResourceBundle stuff...
-Original Message-
From: Matthew Payne [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 2:55 PM
://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
--
Matthew Payne [EMAIL PROTECTED]
and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
--
Matthew Payne
done, so maybe that has some parsing ability.
Drew, have you been succesful in passing multiple parameters in this manner?
Thanks,
-Mark
--
Matthew Payne [EMAIL PROTECTED]
Has anyone else encountered this?
Is it a known velocity issue or issue that can be easily fixed with webwork's implementation?
Matthew Payne
500 Invalid arg #0 in directive #tag at line 87, column 1 in template /WEB-INF/vm/editDefinition.vm
Line 87 is: #tag( Label label='label test' name='label name' value=scalar )
Same thing works fine if 1.3.1 is used.
Matthew Payne
On Sat, 2004-01-17 at 17:02, Patrick Lightbody wrote
ist sort=list export=true )
#tag( Column property=key sortable=true headerClass=sortable)
#tag( Column property=value sortable=true )
#bodytag( Column title=testlink_col) a href="" #end
#tag( Column title=static value value=static )
#end
I can't get the hyperlink http://www.amazon.co
Is there an interceptor to put object into page/request context?
or are the only options to use the taglib
i.e. ww:set name=jobz value=jobs scope=request /
or the filter provided on the wiki.
Any thoughts about adding an optional interceptor to do this?
--
Matthew Payne [EMAIL
The displaytag works fine with webwork if, grab it off the value stack like ---
ww:set name=jobz value=jobs scope=request /
However, I have no idea how to do something like below with webwork's velocity #tag implementation.
Here is a full example below ---
%@ taglib
:[EMAIL PROTECTED]On Behalf Of Matthew Payne
Sent: Wednesday, January 28, 2004 9:08 PM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] Display Tag WebWork
The displaytag works fine with webwork if, grab it off the value stack like ---
ww:set name=jobz value
Done.
http://wiki.opensymphony.com/space/Example%2C+exposing+webwork+objects+to+JSTL%2C+with+a+JSTL+and+DisplayTag+Example
On Sun, 2004-02-01 at 10:26, Rene Gielen wrote:
Matthew,
How about adding this example to wiki?
On Thursday 29 January 2004 03:08, Matthew Payne wrote
['candidateId1'] value=4 size=3/
Where 'candidateId1' is the key.
How would this be expressed if the user was supposed to supply the keys?
?
input type=text name=marks[].key value=4 size=3/
input type=text name=marks[].value value=4 size=3/
Thanks
--
Matthew Payne [EMAIL PROTECTED]
=xmlrpcStack/
action name=manyParams class=org.pubbitch.actions.ManyParamsAction
param name=XmlRpcPathsusername password/param
result name=success
param name=locationresult/param
/result
/action
/package
/xwork
--
Matthew Payne [EMAIL PROTECTED]
Its not jobs or jobz every time.
This example assumes you have a getter named jobs in your action
In this example jobs is your foo in you action i.e. you have a
method getFoo().
jobz is what you want to refer to it by in the request.
ww:set name=jobz value=jobs scope=request /
Matt
Would this be of interest of someone wanted populate their actions from
the database instead of the xwork.xml ? We have toying around with the
idea of user customized actions, but weren't sure if xwork would be a
candidate for this.
thanks,
Matt
On Sat, 2004-02-28 at 02:40, Jason Carreira
type=chain
param name=actionNameviewJob/param
param name=namespace/jobs/param
/result
...
Is this mentioned anywhere on the wiki?
Matthew Payne wrote:
What is the syntax for chaining to an action in a different package?
I know what I have below
20 matches
Mail list logo