That worked like a charm. Thank you Antonio!
Rick
-Original Message-
From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 31, 2006 6:43 AM
To: Struts Users Mailing List
Subject: Re: Tiles putList question
Rick Mangi ha scritto:
> Hello list,
>
> I am trying to use a
Hi Celio
"preInvokeJS" will only work while using the ajax theme, if you are not
using it, then the regular "onclick" attribute will do.
regards
musachy
The
Célio Cidral Junior wrote:
Hi Musachy,
2007/1/2, Musachy Barroso <[EMAIL PROTECTED]>:
What version are you using? using head svn , I
Hi,
I have downloaded the struts2-portlet sample application, both
versions 2.0.1 and a nightly build of 2.0.2 but it fails to start.
It does not even have the struts.xml file /WEB-INF/classes, but the
file xwork.xml instead.
if I rename this file to struts.xml then it complaints:
14:26:46,844
why do I get this error ?
java.lang.ClassCastException: org.apache.struts.validator.BeanValidatorForm
at com.traveldesk.actions.MyRequestAction.AddRequest(
MyRequestAction.java:49)
public ActionForward AddRequest(...)
{
SubmitRequestForm submitRequestForm = (SubmitRequestForm)form;
}
pu
why do I get this error ?
java.lang.ClassCastException: org.apache.struts.validator.BeanValidatorForm
at com.traveldesk.actions.MyRequestAction.AddRequest(
MyRequestAction.java:49)
public ActionForward AddRequest(...)
{
SubmitRequestForm submitRequestForm = (SubmitRequestForm)form;
}
pu
I wanted to access some complex object from the action inside the JSP page.
My idea was to get access to the action, then to the object instance.
Possibly this can be fixed by exposing the property as a ascriptlet
variable and then casting it, ut I just wanted to know if this is
allowed directly.
> From: Rick Schumeyer [mailto:[EMAIL PROTECTED]
> I'm really tempted to give S2 a serious try.
FWIW I've had *very* few problems getting things to work with S2; I am
using both Tiles and Hibernate with almost no problems. I have been
quite happy with almost everything so far.
Dave
From: Dariusz Wojtas [mailto:[EMAIL PROTECTED]
> I know how to access it using tags, but what I want is to access it
> with plain Java inside a scriptle area.
> Something similar to this:
>
> <%
> MyTestAction act = ... ?
> %>
Why?
Dave
-
Hello,
We are just considering libraries to be used in a new project that is
supposed to be a portlet application and work in Websphere 6.x Portal
version.
I have heard some comments about issues with Struts 1.x in this environment.
What does it look like in Struts 2?
Are there any issues with u
Hi, Nuwan,
Thanks for quick reply.
Yes, I know this tech for validator. I saw this in 'WebWork in Action" before.
However, it seems the 'fieldName' property cannot observable for
conversion error. If you make the message something like this:
xwork.default.invalid.fieldvalue = Invalid field value
Hi,
Yes it is possible . take a look at this tutorial
http://struts.apache.org/2.x/docs/localizing-output.html
Thansks,
Nuwan.
- Original Message -
From: "Ruimo Uno" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, January 03, 2007 11:57 AM
Subject: Struts2 conversion error message.
Hi
Hi Musachy,
2007/1/2, Musachy Barroso <[EMAIL PROTECTED]>:
What version are you using? using head svn , I modified showcase's
remote link first example to this:
Update 'Div 1' and 'Div 2', publish topic
'/after', use indicator
and it shows "test". "preInvokeJS" is deprecated. If you are using
Hi,
I'm evaluating Struts-2.0.1.
The default error message for conversion error is
'xwork.default.invalid.fieldvalue' and it shows something like the
following message:
Invalid field value for field "user.age".
But the 'user.age' is confusing for end users. Moreover, it is
difficult to undest
Hi,
> There are lots of ways :-) You didn't list what technologies you're
> using, but here are some possibilities:
>
> - if you're using JSP 2.0, you could create a tag file to represent each
> type of form field and encapsulate the common markup there
>
> - you could write a JSP Custom Tag to em
Hi again.
I'm using Resin.
I made a jsp located at a path where no decorator for Sitemesh is defined.
Il this jsp doesn't return any accent, it works correctly.
But If the jsp returns an accent, I got :
[10:27:50.032] java.lang.IllegalStateException:
http://localhost/accent/accent.do: tried to
I was just going to recommend the same app.
Works for me with 3.2
But there is also a standalone JNLP app.
Works perfectly.
Dariusz Wojtas
On 1/3/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
Mike Baroukh ha scritto:
> Do you know if there is a way to tell him to do it automatically ?
> It's
Mike Baroukh ha scritto:
Do you know if there is a way to tell him to do it automatically ?
It's strange that Eclipse default properties editor doesnt handle this
automatically, isn't it ?
Try this: http://propedit.sourceforge.jp/index_en.html
I used it a while ago with Eclipse 3.1. It seems n
>UTF-8 encoding isn't legal for resource properties files; they have to
be ASCII-encoded with Unicode escapes for non-ASCII characters.
>Use the JDK utility 'native2ascii' to convert them from UTF-8 to the
correct encoding and syntax and see if that helps.
Yes, it works.
I wasn't aware of it.
I
On 1/2/07, Laurie Harper <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:
- if you're using Struts 2, you could create a Struts 2 component / tag
to handle this
Not using S2 yet, but, WW 2.2 that S2 is based on has tag themes for
the form tags. You can write your own theme extensions of bas
19 matches
Mail list logo