Author Login
Post Reply
user Digest 3 Jul 2008 18:55:33 -0000 Issue 8123
Topics (messages 188440 through 188469):
Re: Problem from defining JavaBean as an attribute inside ActionForm
188440 by: Lukasz Lenart
188443 by: Chandramouli P
188468 by: Laurie Harper
188469 by: Laurie Harper
Re: [struts] Slow performance with Struts2
188441 by: yorlick kilroy
188455 by: Dale Newfield
Re: [S2] Issues with extending themes
188442 by: Jeromy Evans
188447 by: Nick Scavelli
Struts2 iterator tag
188444 by: BGE Ger
188445 by: Jim Kiley
188446 by: BGE Ger
Re: [s] Validity of user session
188448 by: Milan Milanovic
Firefox 3 and <s:head theme=ajax/> render issues
188449 by: georz1
188450 by: Ian Roughley
188454 by: georz1
Anyone want to show me up...
188451 by: Al Sutton
188453 by: Musachy Barroso
188456 by: Al Sutton
188460 by: Musachy Barroso
Re: [struts] Anyone want to show me up...
188452 by: Dale Newfield
188461 by: Dale Newfield
188464 by: Musachy Barroso
188465 by: Musachy Barroso
Struts 2 in action
188457 by: bhaarat Sharma
188458 by: Jim Kiley
188459 by: Eric Hamacher
188462 by: Greg Lindholm
188463 by: bhaarat Sharma
Character Encoding and s:textarea
188466 by: Richard Sayre
Upgrading to struts 2.0.11.2 breaks all xml validators
188467 by: Struts Two
Administrivia:
---------------------------------------------------------------------
To post to the list, e-mail: user@(protected)
To unsubscribe, e-mail: user-digest-unsubscribe@(protected)
For additional commands, e-mail: user-digest-help@(protected)
----------------------------------------------------------------------

Attachment:
user_188440.ezm (zipped)Hi
> We are using Struts 1.2.9 and writing the JSP page as below:
>
> <html:form action="/sampleAction.do">
> <html:text property="name"/>
> <html:text property="empID"/>
> <html:text property="empAddress.city"/>
> <html:text property="empAddress.state"/>
> </html:form>
As I remember, Struts 1 don't support such evaluation, you can use
Nested Tags [1] , example are here [2]
[1] http://struts.apache.org/1.2.9/userGuide/struts-nested.html
[2] http://www.mail-archive.com/struts-user@(protected)
Regards
--
Lukasz
http://www.lenart.org.pl/

Attachment:
user_188443.ezm (zipped)Hi,
Thanks for getting back to me.
All I was trying to do is getting the inside bean's values along with the ActionForm, so that I can handle those in my Action class.
Please suggest a best way to achieve that.
Thanks & Regards,
Chandra.
> Date: Thu, 3 Jul 2008 08:05:08 +0200> From: lukasz.lenart@(protected)>
_________________________________________________________________
Post free property ads on Yello Classifieds now! www.yello.in
http://ss1.richmedia.in/recurl.asp?pid=219

Attachment:
user_188468.ezm (zipped)What you have below all looks fine; it should work as you expected. What
does your form bean definition look like? Is the form bean correctly
referenced by the action mapping the form is submitted to? Post the
relevant bits of configuration and the full stack trace; maybe that will
allow someone to see the problem.
L.
Chandramouli P wrote:
> Hi,
>
> I have the below scenario:
>
> I have a java bean as below:
>
> public class Address
> {
> private String city;
> private String state;
>
> and public getters/setters for the above attributes;
> }
>
> and I have the ActionForm as below:
>
> import Address;
> public class EmpForm extends ActionForm
> {
> private String name;
> private String empID;
> private Address empAddress;
>
> and public getters/setters for the aboev attribute;
> }
>
> We are using Struts 1.2.9 and writing the JSP page as below:
>
> <html:form action="/sampleAction.do">
> <html:text property="name"/>
> <html:text property="empID"/>
> <html:text property="empAddress.city"/>
> <html:text property="empAddress.state"/>
> </html:form>
>
> I am getting the below error while submitting the form:
>
> E SRVE0026E: [Servlet Error]-[BeanUtils.populate]: java.lang.IllegalArgumentException: No bean specified at org.apache.commons.beanutils.PropertyUtils..getPropertyDescriptor(PropertyUtils.java(Compiled Code))
> I have read somewhere that Struts version I am using does support the nested attributes for the <html:text> and other tags. Are there any errors in the above code? Please help.
>
> Thanks & Regards,
> Chandra.
> _________________________________________________________________
> Post free property ads on Yello Classifieds now! www.yello.in
> http://ss1.richmedia.in/recurl.asp?pid=221

Attachment:
user_188469.ezm (zipped)Lukasz Lenart wrote:
>> We are using Struts 1.2.9 and writing the JSP page as below:
>>
>> <html:form action="/sampleAction.do">
>> <html:text property="name"/>
>> <html:text property="empID"/>
>> <html:text property="empAddress.city"/>
>> <html:text property="empAddress.state"/>
>> </html:form>
>
> As I remember, Struts 1 don't support such evaluation, you can use
For the record, Struts 1 definitely supports dot-notation access to
sub-fields. That's not the problem here.
L.

Attachment:
user_188441.ezm (zipped)Ok, I started a new test with ognl 2.6.11 vs ognl 2.7.2 vs ognl 2.7.2 +
javassist
Request-response time was stopped with Yslow firefox plugin for firefox 3
firstly ognl 2.6.11 was faster than 2.7.2 with or without javassist
everytime, no matter how often I executed the test.
I couldn't notice any difference in performance between 2.7.2 and 2.7.2 +
javassist.
Anyway, I reverted back to 2.6.11. (Still disappointed with how slow struts2
is compared to struts1 despite haven taken all the performance tuning
measures listed on the apache site)
On Thu, Jul 3, 2008 at 2:34 AM, Dale Newfield <Dale@(protected):
> yorlick kilroy wrote:
>
>> I'm sorry but I only just read about javassist now, as I had no idea what
>> it
>> is nor does. How do I include it? do I just drop it in my lib folder like
>> I
>> do with other Struts plugins? How do I use it? and what exactly does it
>> do?
>>
>
> Yes, just drop the .jar into your WEB-INF/lib directory.
> http://www.csg.is.titech.ac.jp/~chiba/javassist/<http://www.csg.is.titech.ac.jp/%7Echiba/javassist/>
>
> I believe it's used by ognl, if present. "Javassist is a Java library
> providing means to manipulate the Java bytecode of an application. In this
> sense Javassist provides the support for structural reflection, i.e. the
> ability to change the implementation of a class at runtime." Basically if I
> understand it correctly, ognl2.7 can do some amount of "expression
> compilation" in such a way that less work is needed when those same (sub?)
> expressions are next evaluated.
>
> I believe most of the benefits won't be realized until we jump through a
> number of hoops in our use of ognl that we've yet to implement in
> xwork2/struts2, but if this (possibly premature) "upgrade" actively slows
> down ognl evaluation, I'd like to know. (Since I swapped in these more
> recent ognl version in the project I'm currently developing, I'd really like
> to know if that was a step backwards.)
>
> -Dale
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment:
user_188455.ezm (zipped)yorlick kilroy wrote:
> firstly ognl 2.6.11 was faster than 2.7.2 with or without javassist
> everytime, no matter how often I executed the test.
Thank you for doing this test!
I guess I'll be following your lead reverting back to 2.6.11 myself.
-Dale

Attachment:
user_188442.ezm (zipped)Nick Scavelli wrote:
> Here's what I've done:
> /WEB-INF/classes/struts.properties:
> struts.ui.theme=ccast2_0
> struts.ui.templateDir=templates
>
> /templates/ccast2_0/theme.properties
> parent=css_xhtml
>
> Please advise because this is so annoying.
>
>
I can't see anything wrong with that. I do the same thing in 2.1.2 so
I'm confident it still works as per 2.0.x.
A common problem problem occurs when you implement a template that
includes a sub-template with ${parameters.theme} in its path.
The issue is that ${parameters.theme} equals your theme "ccast2_0" but
your theme doesn't include the referenced template.
That is, the S2 template system knows about template hierarchy to find
the parent template, but freemarker's include tag does not.
This will cause the exception you're seeing but I can't say exactly
where without see what you've included in your theme.
The only solution is to bring more templates into your theme from the
parent and/or remove the ${parameters.theme} references (which may be in
the parent).
This issue shouldn't normally apply to form-close.ftl, unless (perhaps?)
you included form.ftl in your theme but not form-close.ftl.
Note: you'll notice many of the parent templates include hardcoded theme
names in their include statements precisely for this reason. There is
no fix without an overhaul of the S2 template system.
Hope that helps,
Jeromy Evans

Attachment:
user_188447.ezm (zipped)Thanks for your reply, you were right. Once freemarker has control
it's unaware of the parent theme. Pretty much all controls have
<#include "/${parameters.templateDir}/${parameters.theme}/controlheader.ftl"
/> in their template. Once I added my own controlheader.ftl it
worked. My other problem was that I had templates in my application
root instead of /WEB-INF/classes/. Once I added it there I saw
freemarker errors, telling me it was the theme variable issue.
Thanks,
Nick
On Thu, Jul 3, 2008 at 3:14 AM, Jeromy Evans
<jeromy.evans@(protected):
> Nick Scavelli wrote:
>>
>> Here's what I've done:
>> /WEB-INF/classes/struts.properties:
>> struts.ui.theme=ccast2_0
>> struts.ui.templateDir=templates
>>
>> /templates/ccast2_0/theme.properties
>> parent=css_xhtml
>>
>> Please advise because this is so annoying.
>>
>>
>
> I can't see anything wrong with that. I do the same thing in 2.1.2 so I'm
> confident it still works as per 2.0.x.
>
> A common problem problem occurs when you implement a template that includes
> a sub-template with ${parameters.theme} in its path. The issue is that
> ${parameters.theme} equals your theme "ccast2_0" but your theme doesn't
> include the referenced template.
> That is, the S2 template system knows about template hierarchy to find the
> parent template, but freemarker's include tag does not.
>
> This will cause the exception you're seeing but I can't say exactly where
> without see what you've included in your theme.
> The only solution is to bring more templates into your theme from the parent
> and/or remove the ${parameters.theme} references (which may be in the
> parent).
>
> This issue shouldn't normally apply to form-close.ftl, unless (perhaps?) you
> included form.ftl in your theme but not form-close.ftl.
>
> Note: you'll notice many of the parent templates include hardcoded theme
> names in their include statements precisely for this reason. There is no
> fix without an overhaul of the S2 template system.
>
> Hope that helps,
> Jeromy Evans
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment:
user_188444.ezm (zipped)
Hello,
I'm struts(2) newbie and I need some help for the iterator tag.
How can I access to an updated list in the action class?
My JSP looks like:
<s:form theme="simple">
<s:iterator value="descList" status="stat">
<tr>
<td ><s:textarea name="descList[%{stat.index}].destination"
value="%{destination}" /></td>
<td ><s:textarea name="descList[%{stat.index}].category"
value="%{category}" /></td>
<td ><s:textarea name="descrList[%{stat.index}].source"
value="%{source}" /></td>
<td><s:textarea name="descList[%{stat.index}].text"
value="%{text}"/></td>
</tr>
</s:iterator>
<s:submit action="updateDescriptions" />
</s:form>
---------------------------------------------------------------------
Action class:
public class DescriptionTestAction extends ActionSupport {
private List<Text> descList;
public DescriptionTestAction () {
}
public void setDescList(List descList) {
this.descList = descList;
}
public List getDescList () {
return this.descList;
}
--------------------------------------------------
The descList is a spring Bean and everything works well except the update
process.
If I make an update for the destination field e.g. and then submit this form
the descList contains the old values! I've tried everything and spend lot
of time for searching for a solution, please help!
Thank you in advance!
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_188445.ezm (zipped)For starters, you can simplify things a lot by changing your syntax from:
name="descList[%{stat.index}].destination"
to just:
name="destination"
The iterator tag pushes descList[index] onto the OGNL stack in every
iteration, so you can refer to its attributes directly.
jk
On Thu, Jul 3, 2008 at 8:55 AM, BGE Ger <bg@(protected):
>
> Hello,
> I'm struts(2) newbie and I need some help for the iterator tag.
> How can I access to an updated list in the action class?
> My JSP looks like:
>
> <s:form theme="simple">
> <s:iterator value="descList" status="stat">
> <tr>
> <td ><s:textarea name="descList[%{stat.index}].destination"
> value="%{destination}" /></td>
> <td ><s:textarea name="descList[%{stat.index}].category"
> value="%{category}" /></td>
> <td ><s:textarea name="descrList[%{stat.index}].source"
> value="%{source}" /></td>
> <td><s:textarea name="descList[%{stat.index}].text"
> value="%{text}"/></td>
> </tr>
> </s:iterator>
> <s:submit action="updateDescriptions" />
> </s:form>
>
> ---------------------------------------------------------------------
> Action class:
>
>
> public class DescriptionTestAction extends ActionSupport {
>
> private List<Text> descList;
>
> public DescriptionTestAction () {
> }
>
>
> public void setDescList(List descList) {
> this.descList = descList;
> }
>
> public List getDescList () {
> return this.descList;
> }
>
> --------------------------------------------------
> The descList is a spring Bean and everything works well except the update
> process.
> If I make an update for the destination field e.g. and then submit this
> form
> the descList contains the old values! I've tried everything and spend lot
> of time for searching for a solution, please help!
> Thank you in advance!
>
> --
> View this message in context:
> http://www.nabble.com/Struts2-iterator-tag-tp18258667p18258667.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
--
Jim Kiley
Technical Consultant | Summa
[p] 412.258.3346 [m] 412.445.1729
http://www.summa-tech.com

Attachment:
user_188446.ezm (zipped)
...thank you for the answer!
But I've read, if I want to change the complete list with the submit
action. I must use the list index.
If I make a submit in each row I can use "destination" syntax.
Isn't it right?
Jim Kiley wrote:
>
> For starters, you can simplify things a lot by changing your syntax from:
>
> name="descList[%{stat.index}].destination"
>
> to just:
>
> name="destination"
>
> The iterator tag pushes descList[index] onto the OGNL stack in every
> iteration, so you can refer to its attributes directly.
>
> jk
>
> On Thu, Jul 3, 2008 at 8:55 AM, BGE Ger <bg@(protected):
>
>>
>> Hello,
>> I'm struts(2) newbie and I need some help for the iterator tag.
>> How can I access to an updated list in the action class?
>> My JSP looks like:
>>
>> <s:form theme="simple">
>> <s:iterator value="descList" status="stat">
>> <tr>
>> <td ><s:textarea name="descList[%{stat.index}].destination"
>> value="%{destination}" /></td>
>> <td ><s:textarea name="descList[%{stat.index}].category"
>> value="%{category}" /></td>
>> <td ><s:textarea name="descrList[%{stat.index}].source"
>> value="%{source}" /></td>
>> <td><s:textarea name="descList[%{stat.index}].text"
>> value="%{text}"/></td>
>> </tr>
>> </s:iterator>
>> <s:submit action="updateDescriptions" />
>> </s:form>
>>
>> ---------------------------------------------------------------------
>> Action class:
>>
>>
>> public class DescriptionTestAction extends ActionSupport {
>>
>> private List<Text> descList;
>>
>> public DescriptionTestAction () {
>> }
>>
>>
>> public void setDescList(List descList) {
>> this.descList = descList;
>> }
>>
>> public List getDescList () {
>> return this.descList;
>> }
>>
>> --------------------------------------------------
>> The descList is a spring Bean and everything works well except the update
>> process.
>> If I make an update for the destination field e.g. and then submit this
>> form
>> the descList contains the old values! I've tried everything and spend
>> lot
>> of time for searching for a solution, please help!
>> Thank you in advance!
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Struts2-iterator-tag-tp18258667p18258667.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>
>
> --
> Jim Kiley
> Technical Consultant | Summa
> [p] 412.258.3346 [m] 412.445.1729
> http://www.summa-tech.com
>
>
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_188448.ezm (zipped)
O.K. Could you tell me very session data is stored ? I need to know this
because when user came to one page I fill session object with some values
(collections), and when he click "exit" link then I clear session contents,
but he may click to some other link (to "exit") and then all objects in
session will stay there until he came again to that page and when I resend
data in his session.
But, there is another problem which I've been talked about (but nobody
anwsered :-(, is that when he cam again to my page, action class method is
not fired at all, but whole page is called from some IE cache.
--
Thx, Milan
Laurie Harper wrote:
>
> Milan Milanovic wrote:
>> I have an SessionAware-based action class, where I put some variables
>> into
>> session when user came to the page which is backed up with that action
>> class. I'm wondering what is validity of that session object, because I'm
>> not sure if I have possibility to clear user session ? So I need to know
>> when session will be deleted with all its objects inside ? When user go
>> to
>> some other page which is not backed-up with this class or some other
>> action
>> class ?
>
> I'm not sure I understand your question. The session you access through
> SessionAware is the standard Servlet API session, which lasts for as
> long as the user remains active in the application. If you want to store
> data only until the next request, use request scope instead of session
> scope.
>
> L.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_188449.ezm (zipped)
I'm using Struts 2.0.11 and it seem with Firefox 3 only there are rendering
issues on pages where I have <s:head theme="ajax">. I can see the page load
fully and there is a quick flash of the browser and then a blank page with
FF3 stuck in a loading state.
On certain pages I have made it theme=xhtml which solves the problem but
some pages in my application have a <s:tabbedpanel> which requires the ajax
theme
Has anyone else seen this type of behavior or know of a work around?
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_188450.ezm (zipped)This might be a dojo issue, as I think nearly all the JS code being
loaded is dojo now. Have you tried their mailing lists?
/Ian
georz1 wrote:
> I'm using Struts 2.0.11 and it seem with Firefox 3 only there are rendering
> issues on pages where I have <s:head theme="ajax">. I can see the page load
> fully and there is a quick flash of the browser and then a blank page with
> FF3 stuck in a loading state.
>
> On certain pages I have made it theme=xhtml which solves the problem but
> some pages in my application have a <s:tabbedpanel> which requires the ajax
> theme
>
> Has anyone else seen this type of behavior or know of a work around?
>

Attachment:
user_188454.ezm (zipped)
I have not but I'll continue to look. This behavior happens about 20% of the
time and when it does I get
document.write("<script type='text/java...l_omit_module_check =
false;</script>");
dojo is not defined
Ian Roughley wrote:
>
> This might be a dojo issue, as I think nearly all the JS code being
> loaded is dojo now. Have you tried their mailing lists?
>
> /Ian
>
> georz1 wrote:
>> I'm using Struts 2.0.11 and it seem with Firefox 3 only there are
>> rendering
>> issues on pages where I have <s:head theme="ajax">. I can see the page
>> load
>> fully and there is a quick flash of the browser and then a blank page
>> with
>> FF3 stuck in a loading state.
>>
>> On certain pages I have made it theme=xhtml which solves the problem but
>> some pages in my application have a <s:tabbedpanel> which requires the
>> ajax
>> theme
>>
>> Has anyone else seen this type of behavior or know of a work around?
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_188451.ezm (zipped)I can't for the life of me get the value for getRequestURI from the
HTTPServletRequest object into a hidden field.
<s:hidden name="uri" value="#request.requestURI"/> doesn't seem to work,
anyone want to point out where I've dumbed out?
Al.

Attachment:
user_188453.ezm (zipped)#request is just a map with the request attributes. If you want the
real request object:
#context['com.opensymphony.xwork2.dispatcher.HttpServletRequest']
there are probably other 300 ways of getting the same thing.
musachy
On Thu, Jul 3, 2008 at 11:47 AM, Al Sutton <al.sutton@(protected):
> I can't for the life of me get the value for getRequestURI from the
> HTTPServletRequest object into a hidden field.
>
> <s:hidden name="uri" value="#request.requestURI"/> doesn't seem to work,
> anyone want to point out where I've dumbed out?
>
> Al.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Attachment:
user_188456.ezm (zipped)Thanks Musachy, one day I will get to grips with OGNL :).
Al.
Musachy Barroso wrote:
> #request is just a map with the request attributes. If you want the
> real request object:
>
> #context['com.opensymphony.xwork2.dispatcher.HttpServletRequest']
>
> there are probably other 300 ways of getting the same thing.
>
> musachy
>
> On Thu, Jul 3, 2008 at 11:47 AM, Al Sutton <al.sutton@(protected):
>
>> I can't for the life of me get the value for getRequestURI from the
>> HTTPServletRequest object into a hidden field.
>>
>> <s:hidden name="uri" value="#request.requestURI"/> doesn't seem to work,
>> anyone want to point out where I've dumbed out?
>>
>> Al.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>>
>
>
>
>

Attachment:
user_188460.ezm (zipped)add debug=browser to your urls and explore the context ;)
m
On Thu, Jul 3, 2008 at 12:45 PM, Al Sutton <al.sutton@(protected):
> Thanks Musachy, one day I will get to grips with OGNL :).
>
> Al.
>
> Musachy Barroso wrote:
>>
>> #request is just a map with the request attributes. If you want the
>> real request object:
>>
>> #context['com.opensymphony.xwork2.dispatcher.HttpServletRequest']
>>
>> there are probably other 300 ways of getting the same thing.
>>
>> musachy
>>
>> On Thu, Jul 3, 2008 at 11:47 AM, Al Sutton <al.sutton@(protected):
>>
>>>
>>> I can't for the life of me get the value for getRequestURI from the
>>> HTTPServletRequest object into a hidden field.
>>>
>>> <s:hidden name="uri" value="#request.requestURI"/> doesn't seem to work,
>>> anyone want to point out where I've dumbed out?
>>>
>>> Al.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>>> For additional commands, e-mail: user-help@(protected)
>>>
>>>
>>>
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Attachment:
user_188452.ezm (zipped)Al Sutton wrote:
> <s:hidden name="uri" value="#request.requestURI"/> doesn't seem to work,
> anyone want to point out where I've dumbed out?
#request is not the Request object, but rather the request attributes.
You can always add an action property that either returns the request
object or the requestURI directly...
-Dale

Attachment:
user_188461.ezm (zipped)Musachy Barroso wrote:
> add debug=browser to your urls and explore the context ;)
I'm confused about #context. I can't find documentation about it -- can
you suggest where I should look?
-Dale

Attachment:
user_188464.ezm (zipped)think of #context like that maps that holds the values in the value
stack, and no, I don't think it is documented (I haven't seen it at
least).
musachy
On Thu, Jul 3, 2008 at 1:34 PM, Dale Newfield <Dale@(protected):
> Musachy Barroso wrote:
>>
>> add debug=browser to your urls and explore the context ;)
>
> I'm confused about #context. I can't find documentation about it -- can you
> suggest where I should look?
>
> -Dale
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Attachment:
user_188465.ezm (zipped)"the map"
On Thu, Jul 3, 2008 at 2:10 PM, Musachy Barroso <musachy@(protected):
> think of #context like that maps that holds the values in the value
> stack, and no, I don't think it is documented (I haven't seen it at
> least).
>
> musachy
>
> On Thu, Jul 3, 2008 at 1:34 PM, Dale Newfield <Dale@(protected):
>> Musachy Barroso wrote:
>>>
>>> add debug=browser to your urls and explore the context ;)
>>
>> I'm confused about #context. I can't find documentation about it -- can you
>> suggest where I should look?
>>
>> -Dale
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Attachment:
user_188457.ezm (zipped)Hi guys,
Has anyone taken a look at 'Struts 2 in action' from manning publications?
I am thinking about buything this book and wanted someone's suggestion.
If you've browsed through the book, can you please provide some feedback.
Thanks

Attachment:
user_188458.ezm (zipped)I bought it not long after it came out and it's excellent. I hit it at
least once a week, even now. The night I bought it, when I had good fiction
to read, and good nerdy nonfiction to read, I chose to read *Struts 2 In
Action* for fun instead. And I got something good out of doing so. I
highly recommend it to anyone who's going to be doing Struts 2.
jk
On Thu, Jul 3, 2008 at 12:50 PM, bhaarat Sharma <bhaarat.s@(protected):
> Hi guys,
>
> Has anyone taken a look at 'Struts 2 in action' from manning publications?
>
> I am thinking about buything this book and wanted someone's suggestion.
>
> If you've browsed through the book, can you please provide some feedback.
>
> Thanks
>
--
Jim Kiley
Technical Consultant | Summa
[p] 412.258.3346 [m] 412.445.1729
http://www.summa-tech.com

Attachment:
user_188459.ezm (zipped)I really love this book. It's a good mix of hand-holding and advanced
techniques. It taught me what I needed to know and then some. And I'm
not all that bright. The book has a permanent position near my left
elbow for reference.
-----Original Message-----
From: bhaarat Sharma [mailto:bhaarat.s@(protected)]
Sent: Thursday, July 03, 2008 11:50 AM
To: Struts Users Mailing List
Subject: Struts 2 in action
Hi guys,
Has anyone taken a look at 'Struts 2 in action' from manning
publications?
I am thinking about buything this book and wanted someone's suggestion.
If you've browsed through the book, can you please provide some
feedback.
Thanks

Attachment:
user_188462.ezm (zipped)
Yes, I highly recommend it, it's the top book on my desk right now.
I've referenced it almost everyday since I read it.
omnipresent wrote:
>
> Hi guys,
>
> Has anyone taken a look at 'Struts 2 in action' from manning publications?
>
> I am thinking about buything this book and wanted someone's suggestion.
>
> If you've browsed through the book, can you please provide some feedback.
>
> Thanks
>
>
--
Sent from the Struts - User mailing list archive at Nabble.com.

Attachment:
user_188463.ezm (zipped)buy it, i shall then.
Thanks guys!
I've also scammed over Ian Roughly's book which was also a good read.
On Thu, Jul 3, 2008 at 1:51 PM, Greg Lindholm <glindholm@(protected):
>
> Yes, I highly recommend it, it's the top book on my desk right now.
> I've referenced it almost everyday since I read it.
>
>
> omnipresent wrote:
> >
> > Hi guys,
> >
> > Has anyone taken a look at 'Struts 2 in action' from manning
> publications?
> >
> > I am thinking about buything this book and wanted someone's suggestion.
> >
> > If you've browsed through the book, can you please provide some feedback.
> >
> > Thanks
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Struts-2-in-action-tp18263762p18264964.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment:
user_188466.ezm (zipped)I have a form containing text areas. When I copy a bunch of character
data such as: 2öÂnJ1ÈÏúÄp8éÎdìåmðh4uæEÍÉieÔWán2ÅìbØÉÅÀ1JÎZÏôsC5LòÚAPúÜaÃÙPC5üÆCJWCOzùÙtÒQqùét
into the text are, it displays normally. When I save the data, the
database stores the characters properly, when the data returns to the
s:textarea I displays with ?? replacing some characters.
I can't figure out where this is happening. When I write the data out
to the page as text it all displays properly. When I initially paste
it into the textarea it displays correctly, so my browser supports the
character set (ISO-8859-1 or Latin-1). It's only when it comes from
the database to the textarea that the characters do not display. And
I verified that the database can handle the characters and that they
are stored correctly.
This causes a problem when the user saves the second time, the ? get
saved in the db as ?.
Any ideas as to what is happening or how to fix it?
Thank you,
Rich

Attachment:
user_188467.ezm (zipped)Hello All:
I have upgraded my struts 2.0.11.1 to struts 2.0.11.2. None of my xml validators run and they all break. I have downgraded to 2.0.11.1 and they all work again. I think there must be a bug with xwork-2.0.5.jar. The first few lines of stack trace are as follows:
at java.lang.J9VMInternals.initialize(J9VMInternals.java:216)
at com.opensymphony.xwork2.validator.ValidatorFileParser.addValidatorConfigs(ValidatorFileParser.java:192)
at com.opensymphony.xwork2.validator.ValidatorFileParser.parseActionValidatorConfigs(ValidatorFileParser.java:72)
at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.loadFile(AnnotationActionValidatorManager.java:361)
at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildAliasValidatorConfigs(AnnotationActionValidatorManager.java:244)
at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildValidatorConfigs(AnnotationActionValidatorManager.java:343)
at com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.getValidators(AnnotationActionValidatorManager.java:69)
I have repeated the upgrade several times to make sure, it is indeed the upgrade that causes the issue.
__________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at
http://ca.toolbar.yahoo.com.