Hi,
I realise this is probably not a struts problem and I feel a bit silly posting
this question but here goes:
I'm using html:button with EventDispatchAction but my button properties do not
appear in the request - the html source fragment goes something like:
function doEdit(id) {
docu
If Tiles is problematical - try Sitemesh.
It will take few hours to learn it and configure (when you do it for
the 2nd time - it takes 30 minutes).
I use it without problems with S2.
I used Tiles in the past, after finding Sitemesh about a year ago I
would never switch back to Tiles. Maybe if prod
You can also have a look at easy wizard
http://superinterface.com/easywizard.htm
~madhav
On 2/26/07, Tom Schneider <[EMAIL PROTECTED]> wrote:
Mark Menard has done some work in this area for struts2:
http://www.vitarara.org/cms/node/84
For webwork I implemented something similar called a model
for sure, i already put struts2-core-2.0.6.jar in my lib folder
and inside that, there is struts-default.xml in the root folder
if i remove my struts-pensiun.xml and put into just struts.xml
everything work fine.
is there any bug in this release.
thx
Adam Ruggles <[EMAIL PROTECTED]> wrote: Can yo
Can you confirm that you have struts2-core-2.0.6.jar in you lib folder
and it contains the struts-default.xml file in the root folder in the
jar file.
alex xander wrote:
hi, im using struts 2.x
and i have some problem here.
i break up my struts.xml into smaller piece
when i used struts 2.0.1
hi, im using struts 2.x
and i have some problem here.
i break up my struts.xml into smaller piece
when i used struts 2.0.1 it works fine,
but when i change into struts 2.0.6 there is some problem
and here is the problem
my struts.xml
...
struts-pensiun.xml
Dear All,
I am using struts 2.0.6, but honestly the performance is very bad (not need
to think about scalability), to speed to load a simple page is much slower
than pure JSP (I haven't compared with struts 1). To refresh one page it is
3-5 seconds with only one user. The profiler tells me the OG
I have been unable to get Tiles to load successfully at all, following
the simple instructions on the web site:
http://struts.apache.org/2.x/docs/tiles-plugin.html. Are those
instructions correct/complete? They are incorrect on at least one
point. The first point mentioned specifies to decl
Hello:
In Struts 2, I am trying to figure out how to redirect a user to
https when they make a request using http.
When I try to do the redirect, I get this error:
Not Found
The requested URL /https://tweb.retcgroup.com/thymeleweb/login.action was
not found on this server.
Here is my struts.xml
Creating a service object seems to have worked. Now I'm going to have
to re-think using action support. This project is not complicated
enough to warrant another layer.
Thanks for your help.
Paul Benedict wrote:
Adam,
I have never seen anyone attach Spring transactional logic to an
action
--- Paul Benedict <[EMAIL PROTECTED]> wrote:
> I have never seen anyone attach Spring transactional
> logic to an action, and called DAOs straight from
the
> action. That's not good practice, because it mashes
> web, business, and data layers all in one place.
Here's my question/comment: to me it
I'll give that a try, thanks.
Paul Benedict wrote:
Adam,
I have never seen anyone attach Spring transactional logic to an
action, and called DAOs straight from the action. That's not good
practice, because it mashes web, business, and data layers all in one
place.
I wouldn't blame struts h
Adam,
I have never seen anyone attach Spring transactional logic to an action,
and called DAOs straight from the action. That's not good practice,
because it mashes web, business, and data layers all in one place.
I wouldn't blame struts here (yet). I'd first move your code into a
service ob
Yes, I tried both methods. For whatever reason when I extend
ActionSupport it no longer works.
Dave Newton wrote:
Does it do the same thing if you don't explicitly
declare the bean (put the classname directly in the
struts.xml file)?
Just curious... I don't have direct experience with
what yo
Laurie,
You're technically right. However, I've seen more and more people
(including myself) make their property files straight UTF-8, and specify
the encoding type when the stream is created. So if you're willing to do
a few more hoops, you can have it in any other encoding you desire:
http
--- Neil Aggarwal <[EMAIL PROTECTED]> wrote:
> Is there another way of doing similar functionality
> on struts2?
A lot can be done with the tag.
That said, I have had essentially zero problems with
the Tiles plugin and have been using it successfully
for some months now.
d.
___
Hello:
The tiles plugin for struts2 is labeled experimental.
Is there another way of doing similar functionality on
struts2?
Thanks,
Neil
--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for deta
Mark Menard has done some work in this area for struts2:
http://www.vitarara.org/cms/node/84
For webwork I implemented something similar called a model repository.
The problem that's being solved is that when the domain model reaches a
certain complexity, using the null instantiation feature a
The most obvious problem is this:
> 1. Storing the Japanese text as Unicode in property
> files
Property files must be encoded as ASCII with Unicode escapes for
non-ASCII characters. Storing them as UTF-8 is not supported and will
not work.
Use the 'native2ascii' tool that comes with the JKD
How often do people develop wizards with Struts? I have a custom
form/action which allows me to do that. Perhaps I should think about
putting it into Struts 1.4?
Strachan, Paul wrote:
Hi,
I'm looking at implementing a struts wizard flow (of about 12 pages) into my
struts-1.2.9 application.
Assuming Struts 1.x, Action Forms are null when the "name" attribute,
which specifies the form, is omitted. Forms are optional for actions.
Paul
Dave Newton wrote:
I'm glad you fixed your problem.
--- Monkeyden <[EMAIL PROTECTED]> wrote:
If I knew exactly what to tell you, I would likely
kno
Hi,
I'm looking at implementing a struts wizard flow (of about 12 pages) into my
struts-1.2.9 application. The struts dialogue project seems to be along the
lines of what I need (pattern-wise). I have some extra quirements such as:
1. A progress menu (synch with the wizard)
2. Some pages hav
Does it do the same thing if you don't explicitly
declare the bean (put the classname directly in the
struts.xml file)?
Just curious... I don't have direct experience with
what you're doing.
--- Adam Ruggles <[EMAIL PROTECTED]> wrote:
> Ok I think I found the problem. If I remove the
> "extends
Ok I think I found the problem. If I remove the "extends ActionSupport"
it works without any problems. I know "extends ActionSupport" works
with Webwork 2, is this a bug or a change in implementation?
Adam Ruggles wrote:
I am following the guide here
http://cwiki.apache.org/S2WIKI/struts-2-s
I am following the guide here
http://cwiki.apache.org/S2WIKI/struts-2-spring-2-jpa-ajax.html
For some reason when trying to map a method other than execute I recieve
the following error:
- Servlet.service() for servlet default threw exception
java.lang.NoSuchMethodException: $Proxy18.find()
B
I'm glad you fixed your problem.
--- Monkeyden <[EMAIL PROTECTED]> wrote:
> If I knew exactly what to tell you, I would likely
> know enough to fix it.
Most people seem to find that posting relevent
portions of the config file(s) in question and
isolated code chunks to be a reasonable place to
st
If I knew exactly what to tell you, I would likely know enough to fix it.
Turns out I did. The root cause of the problem, and the solution, had
nothing todo with Struts.
On 2/25/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Monkeyden <[EMAIL PROTECTED]> wrote:
> Im using Struts 1.2.9 on Tomca
The website link skipped over the 2.0.6 notes. It's fixed now.
http://struts.apache.org/2.0.6/docs/release-notes-206.html
* The experimental "new API" has been removed, in favor of continued
research in the 2.1.x series.
-T.
On 2/25/07, Dariusz Wojtas <[EMAIL PROTECTED]> wrote:
Hi,
I've been
Hello,
I am using the following in a jsp view:
And the source renders:
Which works, but the source no longer gives me a like the 1.2.4 that I was used to using.
If there anyway I can get that to work?
Thanks,
--- Monkeyden <[EMAIL PROTECTED]> wrote:
> Im using Struts 1.2.9 on Tomcat 4.1.31. Somehow, my
> form is null within my Action.
That's not much to go on.
d.
Need Mail bonding?
Go to the Yahoo! Mail Q&A f
Hi,
Let's consider we have a S2 select box that is not required (s:select
required="false" ).
The property to which it is bound can be null. However, by default,
Struts2 complains using the invalid field error message.
One way to circumvent this would be, I guess, to use some
NullSafeTypeConvert
Im using Struts 1.2.9 on Tomcat 4.1.31. Somehow, my form is null within my
Action. It's even null at the level FormBeanConfig.formBeanClass() is
called. The type, returned by FormBeanConfig.getType(), returns the correct
String, but the call to classLoader.loadClass(getType()) fails to load the
Hi,
I've been hapily using Struts for some time, most recently the 2.0.5 snapshot.
Today I downloaded 2.0.6GA, and that raises a question:
* where did the struts2-api.jar go?
Are it's interfaces/classes still in use?
What interfaces to use now if 'Validatable' and others are not present?
Al
Most often, the Actions work as an adapter between a view layer and a
general-purpose business facade. Because the Actions select a token
indicating a result, the Actions tend to be bound to some type of
navigational system. A classic Action passes input values to the
business facade, and the busi
O/T query
Which version of netbeans allows one to add a new tomcat server ?
Apologies for the O/T post!
M--
---
This e-mail message (including attachments, if any) is intended for the use of
the individual or entity to which
cilquirm wrote:
>
> I believe you can use validation annotation to specify validation routines
> at the method level.
>
>
>
>
> ros wrote:
>>
>> Hi!
>>
>> How to configure struts2 validation for only one method in action?
>>
>> Thanks.
>>
>
>
You can disable one action with the annot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ros,
ros wrote:
> I have to read form post in windows-1257 encoding.
> The request field AAA should be PAĻIV but it is PA?V
>
> How I can read special characters like Ļ Ā Ī and others?
Where are you seeing the string "PA?V" If you are seeing it in a
hi,
i think the error is in your javascript, is there a form field called
actionName in your form?, try altering your javasript like this and see
function doSubmit(actionString){
alert(actionString);
currentForm = document.forms[0];
alert(currentForm);
alert(currentForm.actionName);
currentFor
hi,
i have a drop down list which contains services available.
when you select any option from it calls the doSubmit method in javascript
<% String submitString = "doSubmit('" + SELECT_SERVICE + "');"; %>
The doSubmit is as below
function doSubmit(actionString){
alert(actionString);
currentFor
39 matches
Mail list logo