Opps How can I make struts to ignore this and read them as html? Or do I
have to change the extention to get it work.
Thanks for the answer.
Ian Roughley wrote:
>
> This line:
>
> There is no Action mapped for namespace /struts/dojo/src/widget/templates
> and action name TabContainer.
>
The file is there(inside the Struts jar file). You don't need to
extract the file, S2 will serve it from inside the jar. If you put the
url by hand on the browser, does it return the js file?
musachy
On 8/14/07, Joel Patton <[EMAIL PROTECTED]> wrote:
> I am trying to get the client side validatio
Hi guys,
I'm pretty sure this will have been asked before, but a bit of Googling
hasn't produced a satisfactory answer.
I'm using Struts 1.2.8 with tiles on Tomcat 5.5
Whenever I re-deploy my site some code goes off to look for the tiles
DTD file (as specified at the top of tiles-definitions
Typo; the keys are like totally right next to each
other.
--- Ted Husted wrote:
> Patches are the answer.
> On 8/14/07, Dave Newton wrote:
>> Sounds like a great opportunity to get on the S2
>> team and pull things that don't work or make them
>> work!
_
Patches are the answer.
On 8/14/07, Dave Newton <[EMAIL PROTECTED]> wrote:
> Sounds like a great opportunity to get on the S2 team
> and pull things that don't work or make them work!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Yes, we do mark Showcase examples to be non-functional when we realize
they are not working properly. Unfortunately, it's not always obvious
how some of these example are suppose to work. In the past, when I've
found an example is not working, we've tagged it as such ("broken"),
and most of these w
The Spring integration isn't something I'd looked into deeply. I just assumed
I'd be repeating my list of actions, knowing only what I have read about so far.
This isn't the first time struts2 has proved my assumptions wrong - and always
in a good way I'm glad to report.
Laurie Harper on 14/08
--- [EMAIL PROTECTED] wrote:
> I think it should not be "ShowCase'd" if it is known
> not to work.
Sounds like a great opportunity to get on the S2 team
and pull things that don't work or make them work!
d.
I am trying to get the client side validation working in my Struts 2
app using the xhtml theme, but my web page isn't loading
validation.js. I see the outputted HTML as:
Do I need to copy the template directories out of the struts2-core
jar file into my web content path or should this be
You can browse it online here :
http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/plugins/jasperreports/
or check it out using svn
musachy
On 8/14/07, Lally Singh <[EMAIL PROTECTED]> wrote:
> Hey all, where do I get the source for the JasperReports plugin? It
> looks like I've g
I think it should not be "ShowCase'd" if it is known not to work.
Developers like me, are pouring over this code trying to glean insight into
how to wire up these bits and parts. After many hours of exploration and
finally going to a several other semi-related web sites, I began to realize
there w
I want to be able to send this URL:
www.mysite.com/list/3
Which calls the list action, and can use 3 as a parameter
Also, how do I make this URL:
www.mysite.com/name/
goto the name.jsp
Thanks I'm using struts 2.0.9 and jBoss 4.2.0
--
View this message in context:
http://www.nabble.com/Ex
I´m using displaytag to paging and I need to put a default value in
autocompleter tag when page is changed,
How I can do this ?
Herrera
--
View this message in context:
http://www.nabble.com/dafault-value-in-autocompleter-tag-tf4269804.html#a12152528
Sent from the Struts - User mailing list ar
i TRIED SETTING THE REDIRECT=TRUE ALSO, but still it doesnt display the values
when coming back to the original window.
Can this be an issue ?
From inputform, I have a submit button which opens another window and calls
submitaction. In the new window I am displaying the 3rd parameter
I am working with Struts2 within a tabbed panel in an ajax theme. In one
of the divs, I am using the in a form that uses the ajax
theme. The problem is that the content of the textarea does not submit
the new content if I have the notifyTopics attribute set in the submit
tag.
This problem only oc
Chris,
Thanks for the reply, I dont have redirect=true
Here is the action:
Thanks again,
Christopher Schultz <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Maya,
Maya menon wrote:
> In submitAction, I call setter method of formbean and s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Maya,
Maya menon wrote:
> In submitAction, I call setter method of formbean and sets the 3rd
> parameter and do mapping.findforward
Does the forward you are using have redirect="true"? If so, the form
bean might be lost of the form bean is not in ses
${} is for writing JSP EL, while %{} is for writing OGNL. Both serve
similar purposes, and if you have a servlet container that supports
JSP EL and are running Struts 2, they can be used almost
interchangeably. For more details you can read up on the JSP EL:
http://java.sun.com/j2ee/1.4/docs/tuto
Hi all,
I need some help here.
I am using Struts 1.2
1. I have inputForm1.jsp where I input 2 values and then fetch the 3rd value
using a Submit action. This has been mapped to Submit.do and inputFormBean is
referrenced in the struts-config file.
Inside action class Submit.do, th
Is there a way to make the textbox on the DateTimePicker able to be
modified by the calendar only? (i.e. the user can't type in their own
value).
I've looked through the documentation and haven't been able to find any
property to set this.
---
That worked for me:
<% String str="form.action='action.do?command=notify&rowId="; %>
onclick="<%= str%>'" />
And in Action:
String rowId = request.getParameter("rowId");
Thank you all,
Oleg.
On 8/13/07, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>
> Oleg Konovalov wrote:
> >> make each butto
I am migrating an existing system(runs on Struts 1.1) to Struts 1.3.8
basically because I want to take advantage of EventActionDispatcher.
I also use tiles, however I keep getting the following error msg:
WARNING: Unhandled exception
java.lang.IllegalArgumentException: path must begin with a "/"
Ok, thanks. I'll look into creating custom templates and see how far I get.
Thanks,
Session
> Session A Mwamufiya wrote:
>> Hi,
>>
>> Is there a way, with the current version of struts 2, to use a
>> conditional statement to color code elements that are displayed in a
>> tag. By this, I mean
NOTE: This email assumes Struts 2. I'm not sure how Struts 1 works; it
may or may not be the same
On 8/14/07, Pedro Herrera <[EMAIL PROTECTED]> wrote:
>
> I´m very confused , when I must use ${ , # and %
> What are the situations to use each one ?
>
> Thanks
>
> Herrera
I had the same probl
I had actually modified the name of the checkbox and its property name in the
action (for conformity reasons), but I had forgotten to change the names of the
get/set methods; silly me.
Now it works. Sorry for the confusion, and thanks for the eager assistance.
Best,
Session
> Session A Mwamu
I´m very confused , when I must use ${ , # and %
What are the situations to use each one ?
Thanks
Herrera
--
View this message in context:
http://www.nabble.com/using-%24%7B-%2C---and--%7B-tf4268310.html#a12147735
Sent from the Struts - User mailing list archive at Nabble.com.
-
Session A Mwamufiya wrote:
Hi,
Is there a way, with the current version of struts 2, to use a conditional statement to
color code elements that are displayed in a tag. By this, I mean that if
I have items in my list that are >4, then they're red, and if they are <= 4, then
they are blue. O
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Eugen,
Eugen Stoianovici wrote:
> Since I can't intercept the login form (which goes to j_security_check)
> where should i put the code for setting those session values?
Ah, but you can intercept it!
You just need to think outside the container. Or,
Adam Hardy wrote:
Um? It's not obvious what the rationale is, I assure you. Of course the
Spring object factory is feature rich, but which particular features was
it? Or perhaps the lack of obviousness is just an artifact of the way I
have learnt the ropes of Struts2.
I don't think it's a cas
Session A Mwamufiya wrote:
Hi,
I started a thread on this topic a while back, but the example I was guided to
was hard to understand and implement.
The question is straight forward: How do you get the value of a checkbox from
within an action?
- I have named my in the jsp, and have a privat
I have now posted this as a bug on JIRA.
https://issues.apache.org/struts/browse/WW-2112
Kind regards,
Martin
-Original Message-
From: Petzsch, Martin [mailto:[EMAIL PROTECTED]
Sent: 09 August 2007 15:40
To: Struts Users Mailing List
Subject: [s2] @ConversionErrorFieldValidator and Co
I don't know if you can capture the checkbox value to String, boolean should
work though (it works for me at least). Try changing the String element to
boolean.
On 8/14/07, Session A Mwamufiya <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I started a thread on this topic a while back, but the example I w
Hi,
I started a thread on this topic a while back, but the example I was guided to
was hard to understand and implement.
The question is straight forward: How do you get the value of a checkbox from
within an action?
- I have named my in the jsp, and have a private String element
with the sa
hi,
I am a newbie in Struts 2.
Here is what i want to achieve:
I want to secure my web application using Container Managed Security. I
secure all the URLs by placing a security constraint and map the relevant
users/groups in my web.xml. Our security requirements are straight forward
and we don'
Hey all, where do I get the source for the JasperReports plugin? It
looks like I've gotta make my own variant of it, and would like to see
the original for a basis.
I didn't find it (JasperReportsResult.java) in struts-2.0.8-all.zip.
Thanks in advance,
-ls
--
H. Lally Singh
Ph.D. Candidate, Co
Any if these:
http://www.docjar.com/s.jsp?q=org%2Fjboss%2Futil%2Ffile%2FArchiveBrowser
&t=q
-Mensaje original-
De: Musachy Barroso [mailto:[EMAIL PROTECTED]
Enviado el: martes, 14 de agosto de 2007 16:34
Para: Struts Users Mailing List
Asunto: Re: struts with spring
missing dependency?
missing dependency?
java.lang.NoClassDefFoundError:
org/jboss/util/file/ArchiveBrowser
musachy
On 8/14/07, sandyg <[EMAIL PROTECTED]> wrote:
>
> am getting the error when am running the demo prog of struts 2 person inf.
>
> org.springframework.beans.factory.BeanCreationException: Error creating
I am new to regular expressions and I am trying to have my XSLT result
only show certain elements that are in the XML.
here is some if the XML:
...
...
...
I only want the result/questionTree node to be return to my page.
I tried doing this:
/result/questionTree
But all the XML
I think NetBeans eats a lot of RAM, so if you don't have much you may
want to avoid it.
Better yet, try both out for a week or so, and see which suits *you* the best!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
This line:
There is no Action mapped for namespace /struts/dojo/src/widget/templates
and action name TabContainer.
Seems to suggest that you may have changed the extension from ".action"
to ".html", so s2 is looking for an action called TabContainer.
/Ian
Struts2 Fan wrote:
I met the same e
In response to your second question:
Sebastian Kolbe wrote:
Another question:
Is there an easy way to catch the event (something like 'onclick') when
a different tab is selected?
Yes :
a. at page init time, lookup the id of each tab widget
b. connect a handler "before" the "show" event gene
On 8/13/07, Prashant Baviskar <[EMAIL PROTECTED]> wrote:
> >How validator plug-in is read from deployment descriptor.
>
> >How validation is performed
>
> Question indicated with arrow are more important.
>
> As I want to explicitly call validator framework of struts (Without using
> struts
Hi,
I want to have in the same jsp three mutually exclusive conditions, one
of those conditions is the errors generated with a DynaForm
verification, like this:
I'm very new to struts (and java for that matter) so my question might
be stupid but here goes:
I have an application that is based on companies and employees. Each
employee may have a single company. Also each employee has a user (which
is used by tomcat for authentication/authorization) and
Thanks Manu. I'm new with the tree, and am attempting to implement one for a
project I'm working on.
I'm having a number of difficulties:
- I can't manage to reload at the node level I want, it always reloads with
root showing
- it takes a long time to load
and I have a couple of feature quest
am getting the error when am running the demo prog of struts 2 person inf.
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name
'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor':
Cannot create inner bean '(inner bean)' of type
[org.
Ah, thanks. Solved my problems :)
/Jimi
Quoting Dave Newton <[EMAIL PROTECTED]>:
http://struts.apache.org/1.2.9/userGuide/struts-logic.html#messagesPresent
--- [EMAIL PROTECTED] wrote:
Hi,
I have searched but found nothing about this. How
can I fetch an specific error
using without
printi
Hi!
I've been following this tutorial too, and think it serves as a great
starting point.
However, like some other users, I have encountered the problem with
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name
'org.springframework.transaction.interceptor.Tran
No worries: the full commit history of the codebase is browseable.
* http://svn.apache.org/viewvc/struts/
Just drill down to see if there were any changes to the 2.0.x branch
or the trunk.
Note that for the trunk (which will be 2.1.x), the code for the "ajax
theme" was moved to a plugin.
-Ted.
Hi Mike,
Thanks for letting me know about this. I will take care to test it on
slow machines.
Vijay
Mike Baroukh wrote:
I had problems on IE where compression of gzip didn't works.
On the first page load, we had javascript error.
On the second page load, it works because the ungzipped file wa
Sebastin,
Thanks for all the information and pointers. Hmm i didn't realize that
i meddled with another thread. Group i am very sorry for the mistake. I
just accomplished what i wanted, it was more of a bug that is why i
didn't get it to work.
I do understand that i can get it done this done
I had problems on IE where compression of gzip didn't works.
On the first page load, we had javascript error.
On the second page load, it works because the ungzipped file was in cache.
If we clear browser cache, we have the error again ...
It seems to happened It happend on slow machines.
so, be
Hello,
First of all: You should open a new thread for new questions. Answering to
existing threads might conceal your message for most people.
Anyway:
Compressing javascript, css and other files is possible if the browser
supports this.
The simplest solution for this is to install a webserver (i.
[EMAIL PROTECTED] wrote:
Which IDE would be best suited for development with struts2.
thanks!
gaetan
That's really a matter of personal choice. There are plenty of options
besides Netbeans and Eclipse, and all have their strengths and
weaknesses. I suggest searching the mailing list archives.
Hi,
I have javascript/css files and looking at GZipping them and sending it
to the browser. I am aware that i can do a GZip compression during
runtime using a filters, by writing the content to GZipOutputStream. I
am just wondering if it is possible to GZip these files during build
time and th
Which IDE would be best suited for development with struts2.
thanks!
gaetan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I've reduced my real problem to a simple somepackage.CustomException example.
In my real application, there are actions, such:
where the action class is:
public final class SpikeAction_3rdLayerEx extends Action {
private static Logger logger =
Logger.getLogger(SpikeAction_3rdLayerEx.c
57 matches
Mail list logo