<?xml version="1.0" encoding="UTF-8" standalone="yes"?><rss version="2.0"><channel><title>Java, PHP, MySQL, Ruby, and more at Sagewire.org</title><link>http://www.sagewire.org/</link><description>Blogs and forums for Java, PHP, MySQL, and more.</description><language>en</language><item><title>Dojo and div</title><link>http://www.sagewire.org/webwork-open-symphony-java/Dojo-and-div-446960.aspx</link><description>Hi,

I've a problem... the function bind of dojo invoke the action but not 
refresh the div.

[code]&amp;lt;script type=&amp;quot;text/JAVAscript&amp;quot;&amp;gt;[/code]
function loadTabColaboradores(id) {
    var viewDiv = window['tabColaborador'];
    var urlAction = '[code]&amp;lt;@xxxxxxxxxxx includeParams=&amp;quot;none&amp;quot; 
value=&amp;quot;/pesquisa/colaboradorPesquisa/populaColaboradores.action&amp;quot;/&amp;gt;[/code]';
    viewDiv.href = urlAction + '?filtraPor=' + id + 
'&amp;amp;pesquisa.id=${pesquisa.id}';
    viewDiv.bind();
}
[code]&amp;lt;/script&amp;gt;[/code]...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Dojo-and-div-446960.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 04 Jan 2007 12:25:01 GMT</pubDate></item><item><title>Ajax encoding problem Linux</title><link>http://www.sagewire.org/webwork-open-symphony-java/Ajax-encoding-problem-Linux-446904.aspx</link><description>SGksCgpJIGFtIGhhdmluZyBzb21lIHRyb3VibGUgKGFnYWluKSB3aXRoIGNoYXJhY3RlciBlbmNv
ZGluZy4gTXkgcGFnZXMKKEpTUHMpIGFyZSByZW5kZXJpbmcgT0ssIGJ1dCBpZiBJIGNhbGwgYSBy
ZW1vdGUgYWN0aW9uIHRoYXQgcmV0dXJucyBhCkpQUyAoc28gSSBjYW4gdXNlIGlubmVySFRNTCkg
d2l0aCBBamF4LCBhbGwgbXkgc3BlY2lhbCBjaGFyYWN0ZXJzCmFwcGVhcnMgYXMgc3RyYW5nZSBz
aWduczogIj8iIGluIElFIGFuZCAi77+9IiBpbiBGaXJlZm94LgoKTXkgY29uZmlndXJhdGlvbiBp
cyBhcyBmb2xsb3c6CgotIGluIG15IExpbnV4IGJveDoKCmV4cG9ydCBMQU5HPXB0X0JSLklTTy04
ODU5LTEKZXhwb3J0IExDX0FMTD1wdF9C...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Ajax-encoding-problem-Linux-446904.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 28 Dec 2006 16:19:48 GMT</pubDate></item><item><title>Avoiding ui tags attribute overload</title><link>http://www.sagewire.org/webwork-open-symphony-java/Avoiding-ui-tags-attribute-overload-444686.aspx</link><description>I'm a little concerned about how the new tooltip functionality adds no 
less than 27 attributes to the form tags. This seems like an awful lot 
of attributes for such a small addition.

I think that a better approach to this kind of extra functionality is to 
use the power of ognl, and define the attribute as a map. The tooltip 
could be something like:

[code]&amp;lt;ww:textfield ... tooltip=&amp;quot;#{
            'text':'Hummel mummel',
            'fontSize':'14px',
            'opacity':'23'}&amp;quot;/...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Avoiding-ui-tags-attribute-overload-444686.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 21 Feb 2006 13:11:18 GMT</pubDate></item><item><title>css based form templates - no tables required</title><link>http://www.sagewire.org/webwork-open-symphony-java/css-based-form-templates-no-tables-required-443252.aspx</link><description>Hi all,
I recall seeing on the mailing list some time ago some talk about a 
theme that uses just css and no tables for forms.  I went ahead and 
built a theme that does just that. 
I called my theme css_xhtml. These themes are really cool, it really 
speaks well for WW that you can swap them in and out soooo easy.

So, I guess my question is does the community want a css based theme. If 
so, should this be the default theme? And if not do we want the bagage 
of supporting X themes in t...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/css-based-form-templates-no-tables-required-443252.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 29 Sep 2005 18:16:29 GMT</pubDate></item><item><title>Ajax Dojo Issues</title><link>http://www.sagewire.org/webwork-open-symphony-java/Ajax-Dojo-Issues-443263.aspx</link><description>Does anybody want to get into a chat w/ me about the dojo remote form theme?

I am trying to get the ShoppingCart example working and have made some 
good progress, but I need some help connecting the dots.  BTW... I am 
assuming that everbody knows the shopping cart example is sick. I pulled 
from CVS this morning and found lots of issues. For example: incorrect 
use of webwork.dtd, bad use of ww:tags.. several uses were broke.  I 
have fixed these all but just can not get the updateCart...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Ajax-Dojo-Issues-443263.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 27 Sep 2005 14:14:38 GMT</pubDate></item><item><title>WW2.2 Beta2 Problem with Dispatcher Result to .action(s)</title><link>http://www.sagewire.org/webwork-open-symphony-java/WW22-Beta2-Problem-with-Dispatcher-Result-to-actio-443177.aspx</link><description>I am really starting to feel like an idiot for having soooooo much 
trouble w/ upgrading to WW2.2 from WW2.1.X...
But here is another.

I used to have action results of type &amp;quot;dispatcher&amp;quot;(the default defined 
in webwork-default file) that dispatched to an Action. 

This no longer works for me anymore.  I use this type of thing lots and 
lots and it used to work great, so I can not be too crazy.

I'm using Resin 3.0.14.

Here is a mapping that used to work... but no longer works:
    ...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/WW22-Beta2-Problem-with-Dispatcher-Result-to-actio-443177.aspx</guid><author>rss@sagewire.org</author><pubDate>Sun, 25 Sep 2005 03:16:03 GMT</pubDate></item><item><title>Tomcat 5.x and WebWork 2.1.7</title><link>http://www.sagewire.org/webwork-open-symphony-java/Tomcat-5x-and-WebWork-217-442962.aspx</link><description>--=_alternative 0075830CC1257081_=
Content-Type: text/plain; charset=&amp;quot;US-ASCII&amp;quot;

Hello all,

I've a vague recollection of reading somewhere that WebWork 2.1.x did 
not play well with Tomcat 5.x (something in the Servlet or JSP spec). In 
addition we were seeing very strange behaviour with one of our 
applications on Tomcat 5.x. When we switched back to Tomcat 4.1 (without 
making any other changes), the application worked correctly.

So, does WebWork 2.1.x work on Tomcat 5.x?

If no...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Tomcat-5x-and-WebWork-217-442962.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 19 Sep 2005 21:34:29 GMT</pubDate></item><item><title>Book: WebWork in Action</title><link>http://www.sagewire.org/webwork-open-symphony-java/Book-WebWork-in-Action-442863.aspx</link><description>Jason,

When is it likely to be available? And, upon which WebWork version will 
it be based? 2.2 I hope, there isn'thing more frustrating than a _new_ 
technical guide book which is not current.

PJ

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Book-WebWork-in-Action-442863.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 16 Sep 2005 14:12:31 GMT</pubDate></item><item><title>security + actions w/ methods approach</title><link>http://www.sagewire.org/webwork-open-symphony-java/security-actions-methods-approach-442895.aspx</link><description>Hi All,

How does one implement security when using the actions with methods 
approach as opposed to class per action approach. With the later I can 
see a clear way of implementing a security interceptor which acts on the 
class name of the action being called but when many actions are handled 
by different methods within the class I am not sure how I can check 
that. Is there a way of getting the name of the target method?

PJ

-------------------------------------------------------...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/security-actions-methods-approach-442895.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 16 Sep 2005 01:54:37 GMT</pubDate></item><item><title>Bug in Xwork (OGNL)</title><link>http://www.sagewire.org/webwork-open-symphony-java/Bug-in-Xwork-OGNL-442809.aspx</link><description>Hi,

Just found a bug in Xwork. Xwork will throw a NumberFormatException if
one tries to insert a Long-value in a Collection.

The stack-trace is as following:

JAVA.lang.NumberFormatException: For input string: &amp;quot;2160883132&amp;quot;
        at
JAVA.lang.NumberFormatException.forInputString(NumberFormatException.jav
a:48)
        at JAVA.lang.Integer.parseInt(Integer.JAVA:480)
        at JAVA.lang.Integer.valueOf(Integer.JAVA:547)
        at
ognl.OgnlParserTokenManager.makeInt(OgnlParserTok...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Bug-in-Xwork-OGNL-442809.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 13 Sep 2005 17:54:02 GMT</pubDate></item><item><title>interceptors and model-driven approach</title><link>http://www.sagewire.org/webwork-open-symphony-java/interceptors-and-modeldriven-approach-442694.aspx</link><description>Hi,

I'm new to webwork and have been scraping the mail
archives and docs and I *think* what I want to do is
find out about the sort of strategy alluded to here in
this quote from jason.carreira@xxxxxxxxxxx using
interceptors to stage processing of an object editor:

-------------------------------------------------------
The difference is that you can make calling the
prepare() method part of your stack of interceptors to
control when it happens and what happens before /
after it. O...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/interceptors-and-modeldriven-approach-442694.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 07 Sep 2005 23:02:16 GMT</pubDate></item><item><title>Ignoring the template attribute in [code]&lt;ww:textfield&gt;[/code]</title><link>http://www.sagewire.org/webwork-open-symphony-java/Ignoring-the-template-attribute-in-codewwtextfield-442676.aspx</link><description>If I use the [code]&amp;lt;ww:textfield&amp;gt;[/code], it keeps putting a set of [code]&amp;lt;td&amp;gt;[/code]'s around the =
element and the label.  I know this is due to the default template being =
used.  However, I do not want to use the defalt template and simly want =
it to output the element?

Is there any way of NOT using a template?  Specifying  &amp;lt;ww:textfield =
template=3D&amp;quot;&amp;quot; did not do the job.  Any ideas?

Thanks.</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Ignoring-the-template-attribute-in-codewwtextfield-442676.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 06 Sep 2005 21:29:10 GMT</pubDate></item><item><title>ww and wwportlet integration</title><link>http://www.sagewire.org/webwork-open-symphony-java/ww-and-wwportlet-integration-442027.aspx</link><description>Hi!

I was pointed to wwportlet project as the existing effort for supporting portlet development with WW.

As far as I noticed wwportlet is providing more than just portlet support in ww and also includes 
changes done to some of the supporting libs.

I was wondering if we can schedule a common effort to integrate it in the main ww trunk (leveling 
the things out and have a common implementation and support from ww core). Definitely the specifics 
of wwporlet may be kept as a separate ...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/ww-and-wwportlet-integration-442027.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 29 Jul 2005 07:12:43 GMT</pubDate></item><item><title>WW + spring, what's it *do*?</title><link>http://www.sagewire.org/webwork-open-symphony-java/WW-spring-whats-it-do-433036.aspx</link><description>I have taken an interest in Swing lately and am poring through the &amp;quot;Pro
Spring&amp;quot; book (which I like, should anyone care...)

I have seen some threads here about WW+Spring, and was wondering, ...
what's the combination DO for you?  What are you WW users hoping to
gain from Spring?  I do not mean this to sound adversarial, I'm
wondering what I'm missing that I can fold into my OWN projects...
what pieces of Spring are you using with WW?

Thanks!

-----------------------------------------...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/WW-spring-whats-it-do-433036.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 11 Jul 2005 13:41:49 GMT</pubDate></item><item><title>dispatching to another action and passing params</title><link>http://www.sagewire.org/webwork-open-symphony-java/dispatching-to-another-action-and-passing-params-432707.aspx</link><description>Sorry I had to ask this again on the ML, but I have not figured out the location of this piece of
info (yet).

Is it possible to dispatch from an action to another action and pass some parameters?

[1] ActionOne
 - eventId
 - segmentId

[2] DispatchedToAction
 - eventId
 - segmentId[code]&amp;lt;action name=&amp;quot;main&amp;quot; class=&amp;quot;ActionOne&amp;quot;
	&amp;lt;result name=&amp;quot;success&amp;quot; type=&amp;quot;dispatcher&amp;quot;&amp;gt;[/code]anotherAction.action?eventId=[code]&amp;lt;&amp;lt;what
here&amp;amp;segmentId=&amp;lt;&amp;lt;same_question&amp;lt;/result&amp;gt;[/code]
[code]&amp;lt;/action&amp;gt;[/code...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/dispatching-to-another-action-and-passing-params-432707.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 27 Jun 2005 07:49:54 GMT</pubDate></item><item><title>Stack List</title><link>http://www.sagewire.org/webwork-open-symphony-java/Stack-List-432270.aspx</link><description>Hi,

Is there a way (in Velocity) to list the contents of the stack out to 
the page?

Thanks,
Peter Johnson

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxx</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Stack-List-432270.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 01 Jun 2005 11:12:35 GMT</pubDate></item><item><title>getter and setter return/parameter for multiselect listboxes</title><link>http://www.sagewire.org/webwork-open-symphony-java/getter-and-setter-returnparameter-for-multiselect-431992.aspx</link><description>--=_alternative 004B46E380256FF9_=
Content-Type: text/plain; charset=&amp;quot;US-ASCII&amp;quot;

Dear WebWorkers,
Can someone tell me how you handle [code]&amp;lt;ww:select multi=&amp;quot;true&amp;quot;&amp;gt;[/code] tags in the 
Action class? I mean, if I've 

[code]&amp;lt;ww:select name=&amp;quot;'fooBarBaz'&amp;quot; multiple=&amp;quot;true&amp;quot; ... /&amp;gt;[/code]

What should my getFooBarBaz() and setFooBarBaz() look like? Are the 
selected values passed as an array, or a collection or  a map or what?

Thanks in advance,

Misha Gale
--=_alternative 004B46E380256F...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/getter-and-setter-returnparameter-for-multiselect-431992.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 06 May 2005 14:10:47 GMT</pubDate></item><item><title>Getting the HttpServletRequest from an Action</title><link>http://www.sagewire.org/webwork-open-symphony-java/Getting-the-HttpServletRequest-from-an-Action-431829.aspx</link><description>--=_alternative 00460F2C80256FF2_=
Content-Type: text/plain; charset=&amp;quot;US-ASCII&amp;quot;

Can anyone tell me a way to get the ServletRequest or HttpServletRequest 
from within an Action class? I know that it is on the value stack, and you 
can thus access it from within your JSP (or whatever your view is), but I 
need to get hold of it from inside my action class. To be precise, I need 
the getRemoteUser() and isUserInRole() methods, so if someone knows an 
alternative way to get this information...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Getting-the-HttpServletRequest-from-an-Action-431829.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 29 Apr 2005 13:40:11 GMT</pubDate></item><item><title>Creating Custom UI components</title><link>http://www.sagewire.org/webwork-open-symphony-java/Creating-Custom-UI-components-431825.aspx</link><description>--=_alternative 0036BC4380256FF2_=
Content-Type: text/plain; charset=&amp;quot;US-ASCII&amp;quot;

Can anyone point me to some good information about how to create custom UI 
widgets with [code]&amp;lt;ww:component&amp;gt;[/code]? The documentation is a little sparse, and I 
do not know how to write Velocity, so a tutorial that explained how to use 
Velocity to create templates for ww:components'd be really handy.

Failing that, I will just go study velocity.

Thanks,
Misha Gale
--=_alternative 0036BC4380256FF2_=
...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Creating-Custom-UI-components-431825.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 29 Apr 2005 12:53:04 GMT</pubDate></item><item><title>WebWork + Freemarker Welcome File</title><link>http://www.sagewire.org/webwork-open-symphony-java/WebWork-Freemarker-Welcome-File-431810.aspx</link><description>Hi All,

Question for those of you who are or have used Freemarker as the 
decorator and located the templates in /WEB-INF/, How have you handled 
the welcome file? i.e. the landing file for directory requests 
particularly the homepage.

Welcome Files tried and results:
index.action -&amp;gt; directory listing
/index.action -&amp;gt; directory listing
/WEB-INF/index.ftl -&amp;gt; Expression JspTaglibs is undefined
non ww Taglibbed /WEB-INF/index.ftl -&amp;gt; works except that no stack is 
available so if home...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/WebWork-Freemarker-Welcome-File-431810.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 29 Apr 2005 05:26:34 GMT</pubDate></item><item><title>[code]&lt;ww:select&gt;[/code] and JAVA.util.Map</title><link>http://www.sagewire.org/webwork-open-symphony-java/codewwselectcode-and-JAVAutilMap-431782.aspx</link><description>--=_alternative 003B010880256FF0_=
Content-Type: text/plain; charset=&amp;quot;US-ASCII&amp;quot;

Hi,
I have recently started using Opensymphony WebWork, and I'm having some 
trouble getting it to do what I want.
I've an action, with a getCountries() method, which returns a Map, whose 
keys are strings and whose values are &amp;quot;NamedItem&amp;quot;s. NamedItem is a class 
which (suprise) has a getName() method.
I want WebWork to create me a select box with the Hash's keys as the 
[code]&amp;lt;option value=&amp;quot;...&amp;quot;&amp;gt;[/code] an...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/codewwselectcode-and-JAVAutilMap-431782.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 27 Apr 2005 14:25:09 GMT</pubDate></item><item><title>StackOverFlow loading components</title><link>http://www.sagewire.org/webwork-open-symphony-java/StackOverFlow-loading-components-431619.aspx</link><description>Hello--

I've a series of components some of which reference other components. All
of them are REQUEST scoped and there are situations where circular
references occur. I had assumed that Xwork'd detect and prevent circular
references from running out of control, but I get the below error.

Do I need to design my components to avoid this or am I missing something,
perhaps in the order my components are listed in the components.xml file?Thank YouThe error:

JAVA.lang.StackOverflowError
...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/StackOverFlow-loading-components-431619.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 18 Apr 2005 16:04:39 GMT</pubDate></item><item><title>Advice on Utility Classes in (Velocity) Views</title><link>http://www.sagewire.org/webwork-open-symphony-java/Advice-on-Utility-Classes-in-Velocity-Views-431582.aspx</link><description>We share our domain objects with our view and we try to keep web specific
stuff like monetary formatting, date formatting, and collection sorting code
out of the model.

So that begs the question: where do we put it?  We've a service layer that
does some of this stuff, but it's a big pain to have to inject a service for
an object that's 3 or 4 down in the object graph from the object you share.
For example, our action might share with the view an:

 $account

But what we end up needin...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Advice-on-Utility-Classes-in-Velocity-Views-431582.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 18 Apr 2005 06:37:07 GMT</pubDate></item><item><title>PDF Generation?</title><link>http://www.sagewire.org/webwork-open-symphony-java/PDF-Generation-431508.aspx</link><description>I'm looking at dynamically generating some PDFs.  We're using HTML for our
forms and the positional control just aint cutting it.

There are several JAVA PDF generator libraries (almost too many) and I have
got lots of experience with Postscript so I think that side of things is
covered.

My question is: what's the best way to wire up WebWork to return a
dynamically generated PDF?

Will I've to create a new response subclass?  Or maybe I can just use the
&amp;quot;stream&amp;quot; response type?

If ...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/PDF-Generation-431508.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 15 Apr 2005 07:04:02 GMT</pubDate></item><item><title>XDoclet2 Tags</title><link>http://www.sagewire.org/webwork-open-symphony-java/XDoclet2-Tags-431445.aspx</link><description>Sorry, hit send prematurely. Wanted to change threads.

It is a difficult paradigm to convert the richness of WebWork DTD into a =
set
of reasonable tags. I had recently tried to incorporate WebWork into a =
list
of tags for our internal version of vDoclet (QDox + Velocity) code
generator.

I ended up with a set of tags like the following. Even with this set in
place, it does not represent the fact that you can have multiple URL =
patterns
tied to a single method of a single action, ...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/XDoclet2-Tags-431445.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 14 Apr 2005 16:16:35 GMT</pubDate></item><item><title>Session mixup</title><link>http://www.sagewire.org/webwork-open-symphony-java/Session-mixup-431400.aspx</link><description>We're having a deeply troubling problem with our new WebWork app (running on
Tomcat).

We have had a user get another users session.  He logged in as himself but was
given the session for another user and thus was able to see the private
profile information for that user.

I read somewhere that this was a problem with a previous version of WebWork
combined with Tomcat and I just wondered where I might start in tracking
this down.

Down anybody have any info on this problem?  What caus...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Session-mixup-431400.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 14 Apr 2005 14:10:04 GMT</pubDate></item><item><title>For Michael Greer: Webwork (Non UI tags-sort and iteration)</title><link>http://www.sagewire.org/webwork-open-symphony-java/For-Michael-Greer-Webwork-Non-UI-tagssort-and-iter-431429.aspx</link><description>------_=_NextPart_001_01C540F4.161A6325


Please about counsel, we use webwork version 2.1.7. It is impossible =
start sorting in iteration in JSP file.   I send JSP file (users.jsp), =
his translation JAVA file (users.JAVA) and result translated below =
Tomcat (version 5.5), JAVA (version jdk1.5.0_02). Thank you much

=20

=20------_=_NextPart_002_01C540F4.161A6325


[code]&amp;lt;html xmlns:o=3D&amp;quot;urn:schemas-microsoft-com:office:office&amp;quot; =
xmlns:w=3D&amp;quot;urn:schemas-microsoft-com:office:word&amp;quot; =...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/For-Michael-Greer-Webwork-Non-UI-tagssort-and-iter-431429.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 14 Apr 2005 13:31:26 GMT</pubDate></item><item><title>Why the design isn't singleton ?</title><link>http://www.sagewire.org/webwork-open-symphony-java/Why-the-design-isnt-singleton-431218.aspx</link><description>Hi ,
  l read the WebWork2 documentation , and found that

pg 185 for the docs.pdf said that ,
 
Each action should be configured within a Spring
application context as a PROTOTYPE (BECAUSE WebWork
ASSUMES A NEW INSTANCE OF A CLASS FOR EVERY ACTION
INVOCATION). Specify something like this in
applicationContext.xml:

[code]&amp;lt;bean name=&amp;quot;some-action&amp;quot;
class=&amp;quot;fully.qualified.class.name&amp;quot;
singleton=&amp;quot;false&amp;quot;&amp;gt;[/code][code]&amp;lt;property name=&amp;quot;someProperty&amp;quot;&amp;gt;[/code][code]&amp;lt;ref
bean=&amp;quot;someOtherBean&amp;quot;/&amp;gt;[...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Why-the-design-isnt-singleton-431218.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 04 Apr 2005 03:05:41 GMT</pubDate></item><item><title>How do I prep variables before an action is called?</title><link>http://www.sagewire.org/webwork-open-symphony-java/How-do-prep-variables-before-an-action-is-called-431102.aspx</link><description>I'm injecting the values from a set of checkboxes into my action.  As
suggested by the cookbook page (thanks Jason) I'm creating my storage object
(in my case an ArrayList) and then having my setters add data to that.

This is working splendidly.

But I now have a situation where the ArrayList I want to store my checkbox
values in needs to be one of two things:

1) grabbed out of the session
2) if not already in the session, created

So before the &amp;quot;setters&amp;quot; run, I need to do somethin...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/How-do-prep-variables-before-an-action-is-called-431102.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 29 Mar 2005 04:42:33 GMT</pubDate></item><item><title>Form field injection into a collection?</title><link>http://www.sagewire.org/webwork-open-symphony-java/Form-field-injection-into-collection-430881.aspx</link><description>One VERY nifty thing about WebWork is that it will inject submitted form data
into the properties of an object.

In other words, if you've an property in your action like this:

 private Address address;
 public Address getAddress() { return address; }
 public void setAddress(Address address) { this.address = address; }

In your form, you can name your form fields like this:

  [code]&amp;lt;input type='text&amp;quot; name='address.name'&amp;gt;[/code]

When WebWork processes the form it'll automatically ...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Form-field-injection-into-collection-430881.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 15 Mar 2005 08:09:32 GMT</pubDate></item><item><title>WW Taglib Not Working</title><link>http://www.sagewire.org/webwork-open-symphony-java/WW-Taglib-Not-Working-429317.aspx</link><description>------_=_NextPart_001_01C4076D.E96D0C63


I dl'd WW 2.0 and have it up and running using Resin EE 3.0.6.  The
problem I am having is with the WW taglib.  None of the [code]&amp;lt;ww:&amp;gt;[/code] tags are
generating.

=20

The [code]&amp;lt;taglib&amp;gt;[/code] in the JSP file is correct.

=20

I've it in WEB-INF/lib,=20

=20

It's referenced correctly in the web.xml file.

=20

The Resin log shows that it was found and the JSP compiled with out
error.

=20

Here's the JSP code:

=20

[code...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/WW-Taglib-Not-Working-429317.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 11 Mar 2004 15:11:02 GMT</pubDate></item><item><title>Hibernate and Webwork2 example</title><link>http://www.sagewire.org/webwork-open-symphony-java/Hibernate-and-Webwork2-example-429314.aspx</link><description>Hi,

is there somewhere an example on how to best use hibernate and webwork 
together?

kind regards,

Wim

------------------
Wim Deblauwe
http://www.jroller.com/page/Fester/Weblog

_________________________________________________________________
Online gamen ? http://www.msn.be/games/online/
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenTo...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Hibernate-and-Webwork2-example-429314.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 11 Mar 2004 15:04:04 GMT</pubDate></item><item><title>Spring integration using ObjectFactory</title><link>http://www.sagewire.org/webwork-open-symphony-java/Spring-integration-using-ObjectFactory-429211.aspx</link><description>I have just uploaded a simple implementation of the ObjectFactory to JIRA 
that offers support for using Spring to create (and therefore wire) 
Actions in XWork. In order to make this approach work, it was necessary 
to change the ActionConfig class so that a reference to the Action's 
class name was stored rather than the class itself.

The patch includes a couple of unit tests that show the thing in action. 
All the other tests also run, at least on my machine, so I'm reasonably 
confi...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Spring-integration-using-ObjectFactory-429211.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 11 Mar 2004 11:57:12 GMT</pubDate></item><item><title>ADISA</title><link>http://www.sagewire.org/webwork-open-symphony-java/ADISA-429290.aspx</link><description>--85e40d84-6eea-4c5d-8abe-8d09f5cc06c6


DEAR SIR.
 I AM LOOKING FOR INVESTMENT OPPORTUNITY.
I INTENDED TO INVEST THE SUM OF TWENTY MILLION UNITED STATES DOLLARS  =
INHERITED BY MY LATE FATHER.I AM FROM ZIMBABWE.BUT I AM LIVING IN THE =
NETHERLANDS (EUROPE) AT THE MOMENT FOR MORE INFORMATION REACH ME ON THIS MAIL =
adisasala1@xxxxxxxxxxx 
BEST REGARDS
 
Adisa Sala  
--85e40d84-6eea-4c5d-8abe-8d09f5cc06c6--
-------------------------------------------------------
This SF.Net email is ...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/ADISA-429290.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 10 Mar 2004 23:32:44 GMT</pubDate></item><item><title>Strange behaviours</title><link>http://www.sagewire.org/webwork-open-symphony-java/Strange-behaviours-429261.aspx</link><description>Hi,

    Every once in a while WebWork just starts to behave strangely and I've
no clue of what's going on.

    First it was the UI tags in Velocity that did not work. I decided to
start another webapp from scratch, using the same tags, and it worked! There
were very few differences between the two examples, things I'd consider
to be small details.

    Now I'm running into another problem:

JAVA.lang.RuntimeException: Fallback must be an instance of
DefaultConfigurationManager
  ...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Strange-behaviours-429261.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 09 Mar 2004 18:32:24 GMT</pubDate></item><item><title>Setting List Values in model object from form values</title><link>http://www.sagewire.org/webwork-open-symphony-java/Setting-List-Values-in-model-object-from-form-valu-429251.aspx</link><description>Hi,

I am trying to do the following for form submission, but I am having trouble
thinking up of how to get the form values into a list object in the model.

Say for instance, I've three text fields, which contains 3 optional
descriptions of a product item.  When I press submit, I'd like these 3
descriptions to be put into one List object.  At first, my impression is
that this is similar to setting checkboxes:

[code]&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;descriptions[0]&amp;quot; value=&amp;quot;&amp;quot;/&amp;gt;[/code]
[code]&amp;lt;i...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Setting-List-Values-in-model-object-from-form-valu-429251.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 09 Mar 2004 05:40:07 GMT</pubDate></item><item><title>WW2 Tutorial - Call for Volunteers</title><link>http://www.sagewire.org/webwork-open-symphony-java/WW2-Tutorial-Call-for-Volunteers-429216.aspx</link><description>Hi all,

    As I mentioned in a previous message, I'm working on a WW2 Tutorial. The
goal of this is to present a example-oriented documentation for those who
are just getting to know WebWork. I laid out the structure of the tutorial
and now I need volunteers to write text and examples.

    The tutorial is divided in four sections. Sections 1 (introduction), 3
(intermediate concepts) and 4 (advanced concepts) are still empty and
volunteers are needed to write them. Section 2 (basic co...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/WW2-Tutorial-Call-for-Volunteers-429216.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 08 Mar 2004 12:26:08 GMT</pubDate></item><item><title>i18n tag (newbie)</title><link>http://www.sagewire.org/webwork-open-symphony-java/i18n-tag-newbie-429194.aspx</link><description>Sorry for this stupid question. But I could not figure out how to do it. I have
read the FAQ note about using a listener, but that isn't what I'm up to. 

My properties files are located in package com.test.i18n and are named
i18n_testapp.properties and i18n_testapp_de.properties. According to the
documentation i18n tag may be used to load an additional resource bundle.

[code]&amp;lt;ww:i18n name=&amp;quot;com.eds.asset.i18n.i18n_adminapp&amp;quot; /&amp;gt;[/code]
[code]&amp;lt;@xxxxxxxxxxx name=&amp;quot;header.menu.home.tooltip&amp;quot; /...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/i18n-tag-newbie-429194.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 08 Mar 2004 10:20:02 GMT</pubDate></item><item><title>Open Source JAVA Programming errata</title><link>http://www.sagewire.org/webwork-open-symphony-java/Open-Source-JAVA-Programming-errata-429206.aspx</link><description>Is there an errata page for the book JAVA Open Source Programming??

Spent some time trying to get this to work:
 [code]&amp;lt;ww:select label=&amp;quot;'Referred By'&amp;quot; name=&amp;quot;'refBy'&amp;quot;
            list=&amp;quot;#{ 'Please Select One' : '' ,
                    'online ad' : 'online ad',
                    'online news' : 'online news',
                    'promotional email' : 'promotional email',
                    'friend' : 'friend',
                    'FilePlanet Beta' : 'FilePlanet Beta',
             ...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Open-Source-JAVA-Programming-errata-429206.aspx</guid><author>rss@sagewire.org</author><pubDate>Sun, 07 Mar 2004 21:02:50 GMT</pubDate></item><item><title>org.xml.sax.SAXParseException</title><link>http://www.sagewire.org/webwork-open-symphony-java/orgxmlsaxSAXParseException-429108.aspx</link><description>Environment Resin 3.0.6
I am trying some Webwork2 sample applications. I get this error:=20
=20
/showstories.jsp:1: org.xml.sax.SAXParseException: The prefix &amp;quot;ww
&amp;quot; for element &amp;quot;ww:if&amp;quot; isn't bound.
=20
I=92m thinking this might be either the tag library incompatibility or a
parser error.
=20
Any Clues???
=20
=20
Tom K
=20

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.520 / Virus Database: 318 - Release Date: 9...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/orgxmlsaxSAXParseException-429108.aspx</guid><author>rss@sagewire.org</author><pubDate>Fri, 05 Mar 2004 00:25:32 GMT</pubDate></item><item><title>ObjectFactory</title><link>http://www.sagewire.org/webwork-open-symphony-java/ObjectFactory-429071.aspx</link><description>------_=_NextPart_001_01C3FDCE.198C793C


I have implemented an ObjectFactory in CVS head in XWork and WebWork...
The method signatures may still evolve a bit, especially the errors
thrown, but it should be a good place to start... People looking to
integrate IoC containers, this should make things easier. Looking for
feedback...
=20
Jason

------_=_NextPart_001_01C3FDCE.198C793C



=00
------_=_NextPart_001_01C3FDCE.198C793C---------------------------------------------------------...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/ObjectFactory-429071.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 03 Mar 2004 07:08:03 GMT</pubDate></item><item><title>WebWork2 Tutorial</title><link>http://www.sagewire.org/webwork-open-symphony-java/WebWork2-Tutorial-429136.aspx</link><description>Hi,

    I'm working on a WebWork2 tutorial and I'm trying to explain a WebWork
concept at a time, with examples, so it can be as easy as possible for a
newbie to understand. Right now I'm trying to write an example to explain
what an action is.

    Therefore, I've the following action:

  [code]&amp;lt;action name=&amp;quot;helloWebWorld&amp;quot;
class=&amp;quot;section01.lesson03.HelloWebWorldAction&amp;quot;&amp;gt;[/code]
   [code]&amp;lt;result name=&amp;quot;success&amp;quot; type=&amp;quot;dispatcher&amp;quot;&amp;gt;[/code][code]&amp;lt;param
name=&amp;quot;location&amp;quot;&amp;gt;[/code]ex01-success....</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/WebWork2-Tutorial-429136.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 02 Mar 2004 22:11:08 GMT</pubDate></item><item><title>Setters aren't called</title><link>http://www.sagewire.org/webwork-open-symphony-java/Setters-arent-called-429096.aspx</link><description>Hi,

I just tried to build a simple WW2 application using the quickstart guide
from the wiki. I've a simple action like this:

public class FormAction extends ActionSupport {

 private String test;

 public String execute() throws Exception {
  System.out.println(&amp;quot;asdf&amp;quot;);
  return SUCCESS;
 }

 public String getTest() {
  return test;
 }

 public void setTest(String test) {
  this.test = test;
  System.out.println(&amp;quot;test set to &amp;quot; + this.test);
 }
}

Now I've the problem th...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Setters-arent-called-429096.aspx</guid><author>rss@sagewire.org</author><pubDate>Mon, 01 Mar 2004 11:32:40 GMT</pubDate></item><item><title>ForwardAction</title><link>http://www.sagewire.org/webwork-open-symphony-java/ForwardAction-429078.aspx</link><description>I need a Struts-like ForwardAction so that all forwards to JSP-pages 
executes a set of interceptors. Therefore I was thinking of an action 
that takes an url as a parameter and forwards to it. My question is: can 
I configure the result in xwork.xml so that it reads the url-parameter? 
I was thinking of something like this:
       [code]&amp;lt;action name=&amp;quot;forward&amp;quot; class=&amp;quot;ForwardAction&amp;quot;&amp;gt;[/code]
            [code]&amp;lt;result name=&amp;quot;success&amp;quot; type=&amp;quot;dispatcher&amp;quot;&amp;gt;[/code]
                [code]&amp;lt;param name...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/ForwardAction-429078.aspx</guid><author>rss@sagewire.org</author><pubDate>Sat, 28 Feb 2004 14:44:24 GMT</pubDate></item><item><title>Jasperreports, WW2, PDF and IE6</title><link>http://www.sagewire.org/webwork-open-symphony-java/Jasperreports-WW2-PDF-and-IE6-429047.aspx</link><description>Afternoon=20all.

I'm=20having=20difficulties=20getting=20a=20report=20out=20of=20the=20Jasp=
erreports=20view
when=20the=20view=20type=20is=20PDF=20and=20the=20client=20is=20IE6=20(or=20=
5=20for=20that=20matter!).

I have=20read=20the=20message=20about=20using=20GET=20not=20POST=20to=20make=
=20the=20request=20but
in=20this=20case,=20I'm=20not=20actually=20sending=20any=20form=20paramete=
rs=20at=20all,=20I
simply=20want=20to=20print=20a=20fixed=20report.

All=20that=20happens=20i...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Jasperreports-WW2-PDF-and-IE6-429047.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 26 Feb 2004 17:31:24 GMT</pubDate></item><item><title>velocity how to change character encoding</title><link>http://www.sagewire.org/webwork-open-symphony-java/velocity-how-to-change-character-encoding-428981.aspx</link><description>Just started to use velocity instead of JSP and got first questions.
1. How to set caharacter encoding=20
2. How can I get array size from the velocity template.

As I see it looks that freemarker doesn't have such problems.

Regards Remis


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps &amp;amp; Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&amp;amp;allo...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/velocity-how-to-change-character-encoding-428981.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 26 Feb 2004 08:03:48 GMT</pubDate></item><item><title>jsp and webwork variable interaction</title><link>http://www.sagewire.org/webwork-open-symphony-java/jsp-and-webwork-variable-interaction-429033.aspx</link><description>I want to manipulate a WW property in a standard JSP page.  I know this
is going to be simple, but I just can not work it out - I have googled,
wikied and mailist searched and now I'm pooped :)

This is on of my many attempts:

[code]&amp;lt;%@xxxxxxxxxxx taglib uri=&amp;quot;webwork&amp;quot; prefix=&amp;quot;ww&amp;quot; %&amp;gt;[/code]

    [code]&amp;lt;ww:set name=&amp;quot;jobz&amp;quot; value=&amp;quot;jobs&amp;quot; scope=&amp;quot;request&amp;quot; /&amp;gt;[/code]

    [code]&amp;lt;%= request.getAttribute(&amp;quot;jobz&amp;quot;) %&amp;gt;[/code]During my hunt I became very desperate generally screwing around with
the ...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/jsp-and-webwork-variable-interaction-429033.aspx</guid><author>rss@sagewire.org</author><pubDate>Thu, 26 Feb 2004 06:22:40 GMT</pubDate></item><item><title>Webwork2 tags not working on velocity</title><link>http://www.sagewire.org/webwork-open-symphony-java/Webwork2-tags-not-working-on-velocity-428877.aspx</link><description>Hi,

    I'm getting an error from Velocity when I try to use Webwork UI tags in
a VM template. If I write this (which was taken from
Using+WebWork+2+Tags+from+Velocity in the wiki) in the script:

    #tag( TextField &amp;quot;label=Username&amp;quot; &amp;quot;name=username&amp;quot; )    I get this error:

    Invalid arg #0 in directive #tag at line 28, column 1 in template    I saw a message about this error in the list archives, referring to
WebWork 1.4RC1, but there wasn'thing about a solution to the problem.

  ...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Webwork2-tags-not-working-on-velocity-428877.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 25 Feb 2004 17:35:30 GMT</pubDate></item><item><title>WW2 in Orion, JspFactory...</title><link>http://www.sagewire.org/webwork-open-symphony-java/WW2-in-Orion-JspFactory-429013.aspx</link><description>When trying to run xwork/ww2 app with Orion Server 2.0.1, I'm getting the
following Exception:

14:15:53,300 ERROR ServletDispatcher:187 - Couldn't execute action
JAVA.lang.NullPointerException
        at
 com.opensymphony.webwork.dispatcher.VelocityResult.doExecute(VelocityResult.
JAVA:65) at
 com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResu
ltSupport.JAVA:53) at
 com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionIn
vocation.JAVA:27...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/WW2-in-Orion-JspFactory-429013.aspx</guid><author>rss@sagewire.org</author><pubDate>Wed, 25 Feb 2004 02:20:06 GMT</pubDate></item><item><title>Security again</title><link>http://www.sagewire.org/webwork-open-symphony-java/Security-again-428942.aspx</link><description>I must admit that I haven't been focused too much on this list recently, so
I might've missed this topic, but I was thinking on the solution to
prevent security attacks on ww code that is potentially vulnerable for many
things. I remember Pat described those problems as &amp;quot;ease of access&amp;quot;. In
fact - due to ease of access it's relatively easy to ommit serious security
problems. In many cases it's tempting just to add more beans to your
acctions that are exposed to ParameterInterceptor sometim...</description><guid isPermaLink="true">http://www.sagewire.org/webwork-open-symphony-java/Security-again-428942.aspx</guid><author>rss@sagewire.org</author><pubDate>Tue, 24 Feb 2004 23:34:02 GMT</pubDate></item></channel></rss>