> From day one, as far as I know.
What? 4 years of blindness? What a mess, I have to go back to basis,
bheee. :P
Kind regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
The problem with straight is that you don't get the theme
based formatting :(
Gabriel Belingueres wrote:
simple ways like:
though I sometimes feel guilty for not using the equivalent S2 tag :P
2008/7/3 Musachy Barroso <[EMAIL PROTECTED]>:
#request is just a map with the request attrib
Hi,
I am using struts 2.0.11. I want to call a javascript method from the
doubleselect tag's doubleOnchange attribute but its not working. The html
code generated does not show any code against the second select onchang
attribute. Can anyone help ???. Or provide me an example where
doubleOnchang
Hi Bharat,
Its a Gud deal go ahead.
i almost went through all the books in the market with title Struts2
but it is best
go for it boss..
--aum
On Thu, Jul 3, 2008 at 11:34 PM, bhaarat Sharma <[EMAIL PROTECTED]> wrote:
> buy it, i shall then.
>
> Thanks guys!
>
> I've also scammed over Ian
Timothy Wonil Lee wrote:
I believe the default value is WEB-INF/template, but I may be wrong.
Almost, the default is in the *classpath* at /template
So that should read WEB-INF/classes/template
Also, don't forget the theme.properties file.
--
simple ways like:
though I sometimes feel guilty for not using the equivalent S2 tag :P
2008/7/3 Musachy Barroso <[EMAIL PROTECTED]>:
> #request is just a map with the request attributes. If you want the
> real request object:
>
> #context['com.opensymphony.xwork2.dispatcher.HttpServletRequest
I believe the default value is WEB-INF/template, but I may be wrong.
The good news is that you can specify it to fit your need.
http://struts.apache.org/2.0.11.2/docs/selecting-template-directory.html
Timothy Wonil Lee
Java Developer
http://timundergod.blogspot.com/
-Original Message-
F
Hi all,
I modified fielderror.ftl and want to apply it to my app. Could anyone tell
me where I should put it in my app? In WEB-INF/classes/folder or somewhere
else?
Thanks.
Lukasz Lenart wrote:
For the record, Struts 1 definitely supports dot-notation access to
sub-fields. That's not the problem here.
Upsss... ;-)
Could you clarify my doubts, from which version?
From day one, as far as I know.
L.
---
It looks like it. I opened sometime ago JIRA WW-2382 with similar classloader
issues but that was for struts 2.1.2 and the fix is going to be included in
2.1.3.
- Original Message
From: Musachy Barroso <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Thursday, July 3, 2008 3:52:3
> For the record, Struts 1 definitely supports dot-notation access to
> sub-fields. That's not the problem here.
Upsss... ;-)
Could you clarify my doubts, from which version?
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To un
It looks a lot like: https://issues.apache.org/struts/browse/WW-2633
musachy
On Thu, Jul 3, 2008 at 3:52 PM, Musachy Barroso <[EMAIL PROTECTED]> wrote:
> Looks like another case of the classloader returning weird URIs:
>
> "Caused by: java.lang.IllegalArgumentException: URI scheme is not "file"
>
Looks like another case of the classloader returning weird URIs:
"Caused by: java.lang.IllegalArgumentException: URI scheme is not "file"
at java.io.File.(File.java:364)"
musachy
On Thu, Jul 3, 2008 at 3:44 PM, Struts Two <[EMAIL PROTECTED]> wrote:
> I have opened a JIRA ticket for this i
I have opened a JIRA ticket for this issue.
- Original Message
From: Musachy Barroso <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Thursday, July 3, 2008 3:23:25 PM
Subject: Re: Upgrading to struts 2.0.11.2 breaks all xml validators
Can you post the full stacktrace, or attach
Hi Laurie, thank you for help!
you are right that's what I want: to push back the updated fields into the
list.
And then I want access the updated fields in the update action class .
I think maybe there is somesthing wrong in my tag syntax? I found out that I
must use "{}" instead of "[]" which i
Richard Sayre wrote:
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,
Can you post the full stacktrace, or attach it to a Jira ticket?
musachy
On Thu, Jul 3, 2008 at 2:50 PM, Struts Two <[EMAIL PROTECTED]> wrote:
> 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 a
BGE Ger wrote:
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:
value="%{category}" />
value="%{source}" />
value="%{text}"/>
I'm not sure what you mean by a 'submit in each row' but if you want to
push data back into the list then yes, you need the index in the input's
name as you have.
L.
BGE Ger wrote:
thank you for the answer!
But I've read, if I want to change the complete list with the submit
action. I
Oh, and another thought: are you initializing ActionForm's empAddress
field somewhere? It may cause problems if it is null when Struts tries
to set its properties. Struts 2 can automatically create instances of
beans in that situation, but Struts 1 doesn't.
L.
Laurie Harper wrote:
What you ha
Lukasz Lenart wrote:
We are using Struts 1.2.9 and writing the JSP page as below:
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.
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 someon
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.J9VMInterna
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 t
"the map"
On Thu, Jul 3, 2008 at 2:10 PM, Musachy Barroso <[EMAIL PROTECTED]> wrote:
> 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 <
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 <[EMAIL PROTECTED]> wrote:
> Musachy Barroso wrote:
>>
>> add debug=browser to your urls and explor
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 <[EMAIL PROTECTED]> wrote:
>
> Yes, I highly recommend it, it's the top book on my desk right now.
> I've referenced it almost everyday since I
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 someon
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: [EMA
add debug=browser to your urls and explore the context ;)
m
On Thu, Jul 3, 2008 at 12:45 PM, Al Sutton <[EMAIL PROTECTED]> wrote:
> 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 t
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:[EMAIL PR
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
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
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 sam
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
-
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("
#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 <[EMAIL PROTECTED]> wrote:
>
Al Sutton wrote:
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
--
I can't for the life of me get the value for getRequestURI from the
HTTPServletRequest object into a hidden field.
doesn't seem to work,
anyone want to point out where I've dumbed out?
Al.
-
To unsubscribe, e-mail: [EMAIL P
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 . I can see the page load
fully and there is
I'm using Struts 2.0.11 and it seem with Firefox 3 only there are rendering
issues on pages where I have . 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
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
ses
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
...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 y
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
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:
-
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: [EMAI
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 th
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
49 matches
Mail list logo