hai
On Tue, Nov 25, 2008 at 2:51 PM, ManiKanta G <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Can I implement my tag logic in the UIBean or AbstractUITag sub classes?
>
> And as UIBean subclass will be provided with request and response
> references, I think I can implement my logic here.
>
> I mean is
Hi,
Can I implement my tag logic in the UIBean or AbstractUITag sub classes?
And as UIBean subclass will be provided with request and response
references, I think I can implement my logic here.
I mean is this a best practice to use these classes like this?
ManiKanta
Hi,
For example: I am having, String str="I like struts; I like webworks";
> I want that string to be displayed as two lines in textarea.
>
try using HTML special char:
, like String str="I like struts;
I
like webworks";
I found this some where.
ManiKanta
Hi,
I am using Struts for an application.
I am using a two html select in one html:form.
I want to populate the value (from DB) of one html:form select on the basis
of other.
Right now, first one is fixed, so I filled it in jsp file with the values.
2nd select is filled onSessionStart() (
gt;>
>> Regards,
>>
>>
>>
>> Nikunj Mulani
>>
>> Applied Software Pvt. Ltd.
>>
>> Ahmedabad
>>
>> 91-98249 88262
>>
>>
>
> -
> To unsubscribe, e-mail:
Hi All,
I am getting string from database. I want to display the string line
by line in my s:textarea.
I am tried with \n between each statement in my string. But, still,
it is getting displayed as
continuous text.
For example: I am having, String str="I like stru
ani
Applied Software Pvt. Ltd.
Ahmedabad
91-98249 88262
__ NOD32 3637 (20081124) Information __
This message was checked by NOD32 antivirus system.
http://www.eset.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Hi nikunj,
I think you can use HttpServletRequest (request scope) object in your
utitlity class. HttpServletRequest object is threadlocal object.When
executeAndWait
Interceptor is in progress you can not use session or application context
object but request scope will be always available to you
p me?
>
>
>
>
>
> Regards,
>
>
>
> Nikunj Mulani
>
> Applied Software Pvt. Ltd.
>
> Ahmedabad
>
> 91-98249 88262
>
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
It's hard to give advice without knowing what your utility class do...
As you point out yourself, you can't really pass the request around
outside the thread of the request, so you probably have to change your
utility class.
Nils-H
On Tue, Nov 25, 2008 at 6:08 AM, nikunj <[EMAIL PROTECTED]> wrote
Dear All,
I am migrating my existing application, I have used HttpServletRequest
object in my Utility class.
We can not use any threadlocal object, where we have used executeAndWait
interceptor. HttpServletRequest is threadlocal soo, I can not able to use
any of methods, and those are having H
U Kan use like following way,
Regards,
Nikunj
-Original Message-
From: EoneZhang [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 7:44 AM
To: user@struts.apache.org
Subject: [HELP]: struts tag and OGNL
Hi, everyone.
I have
That plugin is for migration struts1.2 or struts1.3 application into
struts2. not for struts1.0
-Original Message-
From: Lukasz Lenart [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 1:36 PM
To: Struts Users Mailing List
Subject: Re: Problem with Select tag during migration
200
Ok!
Thanks lukasz,
Regards
Nikunj
-Original Message-
From: Lukasz Lenart [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 1:12 PM
To: Struts Users Mailing List
Subject: Re: Problem with Select tag during migration
2008/11/24 Rajil <[EMAIL PROTECTED]>:
> I wanted to know any av
Thanks lukasz,
But, I am going to migrate my existing application in struts2.
In existing, I have two vectors for each. I have lots of place where I have
taken twos.
That is why I am finding ways that reduce migration time.
Regards,
Nikunj Mulani
-Original Message-
From: Lukasz Lenart [m
But that's no related items validation, I think what should to be done in
validation method should be related items check.
anyway, it's also a good idea in my current solution. thank you
Burton:handshake:
Burton Rhodes wrote:
>
> I'm my experience it is much easier to implement Validateable i
I'm my experience it is much easier to implement Validateable in your
action object. That way you can have very complex validation rules.
Also allows you not keep track of another 'validation' file!
On 11/24/08, EoneZhang <[EMAIL PROTECTED]> wrote:
>
> Now I suffer a problem with s2' validation.
>
So my theory is that in StrutsPrepareFilter, the interceptor stack is not run
because the action has not run yet.
I am not sure how to fix it. MessageStoreInterceptor is my guy I need for a
nice call, but I suppose I can just go back to handling
it manually like in Appfuse or using a ftl
Houston we have a problem ;)
musachy
On Mon, Nov 24, 2008 at 5:04 PM, dusty <[EMAIL PROTECTED]> wrote:
>
> No it is the same as the showcase and it behaves this way as well. The
> only
> struts tags in the decorator in showcase are s:url with a hard value
> attribute, so they are not accessing
No it is the same as the showcase and it behaves this way as well. The only
struts tags in the decorator in showcase are s:url with a hard value
attribute, so they are not accessing the session or stack (I think).
I added an addActionMessage() to AbstractCRUDAction and a
to the decorator, ma
Hello :)
I am trying to use the struts autocompleter tag:
The default style of the autocompleter is quite rudimentary. The dropdown
arrow is smaller than the textbox, and the suggestions are floating without
any margin. Can you suggest any css style that I could add to make it look
more like a
2008/11/24 Alex Milanovic <[EMAIL PROTECTED]>:
> When I specify a resource ID that has Spanish characters such as ñ my
> REST Controller receives the character "mangled", i.e. probably
> erroneously decoded. How can I enable the app to use characters
> specific to Spanish? Which interceptor is resp
That worked! Thanks Musachy! For reference, since my variable name is a
concatenation of a variable and a string I had to do this:
for the initial s:set.
Musachy Barroso wrote:
You cannot nest %{}, this could be a way of doing it:
musachy
On Mon, Nov 24, 2008 at 1:28 PM, Frank Maritat
Is that any different form the configuration in showcase?
musachy
On Mon, Nov 24, 2008 at 1:38 PM, dusty <[EMAIL PROTECTED]> wrote:
>
> I am using the 2.1.3-SNAPSHOT of Struts2 with the SiteMesh JSP PageFilter.
> I
> have found that the struts tags do not error out in the JSP decorator but
> th
You cannot nest %{}, this could be a way of doing it:
musachy
On Mon, Nov 24, 2008 at 1:28 PM, Frank Maritato <[EMAIL PROTECTED]>wrote:
> ok, so I'm able to verify that:
>
>
>
> sets the variable name as I want it. I can verify by printing it out with
> property with a hardcoded value like
I am using the 2.1.3-SNAPSHOT of Struts2 with the SiteMesh JSP PageFilter. I
have found that the struts tags do not error out in the JSP decorator but
they also cannot find any values (stack, session, etc). They just return
blank.
I would use the struts2-sitemesh-plugin, but I would like to u
ok, so I'm able to verify that:
sets the variable name as I want it. I can verify by printing it out
with property with a hardcoded value like this:
but I cannot figure out how to do it without using the hardcoded id.
I've tried the following:
but nothing works. Can anyone help he
use "@Inject".
@Inject("custom.myConstant")
public void setSomeString(String mystring) {...}
Things to note about that:
1. Struts needs to be the one creating your actions (no object factory from
an IoC, like Spring, Guice, etc)
2. This is not guaranteed to work in the future, but it is unlikely
Hi All,
When I specify a resource ID that has Spanish characters such as ñ my
REST Controller receives the character "mangled", i.e. probably
erroneously decoded. How can I enable the app to use characters
specific to Spanish? Which interceptor is responsible for this?
Thanks,
Alex
-
--- On Mon, 11/24/08, scho <[EMAIL PROTECTED]> wrote:
> Normally, accessing my database isn't a problem. Hibernate saves my
> objects and executes my queries against the database as well. But
> here's my problem: I have to import a huge amount of data into my
> database via a CSV-File. There are
--- On Mon, 11/24/08, EoneZhang <[EMAIL PROTECTED]> wrote:
> in my validation config file I write like this:
>
>
>type="requiredstring">
>/>
> [...]
> It seems doesn't work.
Correct, it doesn't. At this point there's no support for collection-based
validation (that I'm aware of). Thi
The Apache Struts group is pleased to announce that Struts 2.0.14 is
available as a "General Availability" release. The GA designation is our
highest quality grade.
Apache Struts 2 is an elegant, extensible framework for creating
enterprise-ready Java web applications. The framework is designed t
Hi All,
Is there a away to get the value of a constant, declared in the struts.xml
file, in my action class?
Thanks,
Manish
-
DISCLAIMER
This email and any files transmitted with it ar
. But it is not compiling
> reports having reference to compiled class as shown in above error as
above
> JapserChartFactory class.
>
> Can anybody say what would be the issue? how can i compile these reports
to
> run under jdk1.5 and tomcat5.5??
>
> regards,
>
> Rajil D
You might have better luck asking on a JasperReport mailing list.
Nils-H
On Mon, Nov 24, 2008 at 10:26 AM, Rajil <[EMAIL PROTECTED]> wrote:
> Hi All;
>
> I am facing problem while compiling JasperReport.
>
> I have project running under jdk1.4 and jasper-0.5 and tomcat4.1. I am able
> to compile
Hi All;
I am facing problem while compiling JasperReport.
I have project running under jdk1.4 and jasper-0.5 and tomcat4.1. I am able
to compile all report under this environment and running well.
I want to migrate this project to jdk1.5. Now the problem is i am not able
to compile my reports
Take a look to this article:
http://www.javaworld.com/javaworld/jw-08-2007/jw-08-ajaxtables.html?page=4
Sergio
2008/11/21 Nils-Helge Garli Hegvik <[EMAIL PROTECTED]>:
> There are several tag libraries and components that can handle this.
> Personally, I have used displaytag [1] earlier for this r
Hey guys,
I'm using Struts2 with a little Spring and Hibernate to persist my object in
my oracle database. (I've followed the explanation in the book "Struts 2 in
action" by Donald Brown)
Normally, accessing my database isn't a problem. Hibernate saves my objects
and executes my queries against
2008/11/24 Rajil <[EMAIL PROTECTED]>:
> But for that I should have my action and jsp coded using struts1 tags, isn't
> it?
Yes, but then you can start adding a new stuff in Struts2 way ;-)
Regards
--
Lukasz
http://www.lenart.org.pl/
-
tp://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__ NOD32 3633 (20081124) Information __
This message was checked by NOD32 antivirus syste
Now I suffer a problem with s2' validation.
Here is my problem:
In my action,there is a property
List persons;
now in jsp, I use iterator like below:
I want to validation user input while submit the form, “name" should not
empty, and "age" must be number.
in my validation confi
2008/11/24 Rajil <[EMAIL PROTECTED]>:
> That means struts2 doesn't provide facility or say backward compatibility
> available in struts1??
Provide, you can use struts1-plugin to have backward compatibility.
Regards
--
Lukasz
http://www.lenart.org.pl/
---
42 matches
Mail list logo