hi
i have validate fileds password and re-password must same as expression
using
passwd eq repasswd
Password and Re-password must be same
when i put this in my *-validator.xml and try to check givin difference
fiield value
gives error like
---
javax.servlet.ServletEx
Thanks for your reply Jeromy.
I've read Mark's Struts 2 Cookbook and it gave me good ideas.
What I just did was the following:
- Create an action in the struts.xml
- Used that particular action in the tag
- In the struts.xml, I've set some dynamic parameters along with the
action de
Hi, all.
I have a config with
/pages/register.jsp
/pages/result.jsp
/pages/register.jsp
action with
public String execute() {
userM
Hi,
i installed Tomcat 6.0.16, and move existing application directory from
tomcat 5.5 to tomcat 6.6.
after doing so, then i make the change to server.xml(global) only, add the
block of to reflect the existing/transfered application
but when i do test, give the error message
I am trying to perform client side validation on a struts checkboxlist tag
but nothing I try seems to work. ANy ideas? I do not want to submit the
form and do a validation method in the action bean because obviously it
would be ridiculous to post back to the server just to check that there is
at
> I see now. categoryChildren returns a collection so I need
> categoryChildren.*\.createdTs. However this only works if I do not
> specify root. If I specify root then it does not appear to work.
>
Could you send me (or create a ticket with it) an small testcase? I
will look into it
> I notic
I see now. categoryChildren returns a collection so I need
categoryChildren.*\.createdTs. However this only works if I do not
specify root. If I specify root then it does not appear to work.
I noticed that there was mention on the Wiki of an enhancement with an
includeProperties param. Is ther
I thought that might be the case and tried to reference them that way
(i.e. categoryChildren.createdTs). However, that did not seem to work
either.
-Original Message-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 08, 2008 4:06 PM
To: Struts Users Mailing List
Subjec
The exclude properties are relative to the action, not the root.
musachy
On Thu, May 8, 2008 at 4:01 PM, Hoying, Ken <[EMAIL PROTECTED]> wrote:
> I am trying to specify properties for the JSON plugin to ignore.
> However, this does not seem to be working. Am I specfiying something
> incorrectly?
I am trying to specify properties for the JSON plugin to ignore.
However, this does not seem to be working. Am I specfiying something
incorrectly? Does it not work in conjunction with specifying the root?
categoryChildren
Hi Laurie,
thanks for your attempts.. I give up.. I cannot find in the help how to
submit via email... I have tried.. and this is another attempt with no
openning tag mark "<"
--- in JSP: (1) -
table>
logic:iterate id="funPro" name="funProForm" property="functio
I have been trying to implement an UnknownHandler, and I can not seem to
find any documentation on how to integrate it into the framework.
I am using spring for DependencyInjection, so I thought that I could just
add a bean named unknownHandler, but that did not work.
I could not find an example
hi,
Thanks for he help. i am using as follows:
< s:checkboxlist name="mapOfList['key']" />
I see that this is not working and the mapOfList is not getting populated at
all. I tried out StrutsTypeConverter... then only convertToString() method
is being called. Any ideas as how to go with this is
Is this a Spring 2.5 thing? I'm not using 2.5 yet and haven't had to do
anything to get my actions to be injected with Spring beans (at least I
don't think so; I remember having to set the object factory to "spring"
in earlier days?)
Dave
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
> Asleson, R
Hi,
I have struts 2.0.11. I am getting following exception when I use
s:doubleselect tag. I referred to struts2-showcase example to use this tag
in my application.
Any ideas on what can be wrong ?
Leena
Exception is --
==> ${parameters.formName} [on line 98, column 41 in
template/si
umainb wrote:
Hello,
I have a link in my jsp
which deletes a record from the list of numbers.
When the user clicks on the link above, we need a javascript popup "Are you
sure you want to delete the number?" with "OK" and "Cancel"
How I can achieve that?
Use html:link's onclick attribu
Asleson, Ryan wrote:
Hello,
I found this guide to injecting Spring beans into Struts 2 Actions:
http://cwiki.apache.org/WW/spring.html
According to the red box at the bottom of the document, the Struts 2
Action does not need to be registered with Spring. So far so good.
Er, that's not
I did one more test to verify the problem [I also changed the context root -
just to get crazy] and the problem is there [you will find the server partial
dump beflow]:
I first typed:
https://localhost:9445/ccol/index.html
The url got redirected to the following url [after I was prompted to bas
I initially shied away from doing that because I figured that later on in the
show we might want to use Collection sub-class x, y or z.
However the alternatives were too time-consuming, so I have done just what you
said.
I am now the proud owner of BidirectionalChildList() which takes the par
Hi,
You should be able to use servlet filters to block the request from
going to the actions: http://java.sun.com/products/servlet/Filters.html
I would do it your way and check for timeout by checking for the
presence of session objects. There may be better ways, but I can't
think of any o
John,
Install Live HTTP Headers / Header Monitor plugin into Firefox and then
watch the HTTP traffic between your browser and the server. Your answer
will most likely be there. My assumption is that the MIME Type .swf is not
enabled in your Tomcat but that is just a wild guess.
regards,
Doug
Hello
I am using struts 1
I am working on some legacy code. Have a requirement where the user should
be fwded to the login page after session times out. Currently there are
100's of action classes and it wont be feasible to touch each one and check
if the session exists.
Can we do something in
[EMAIL PROTECTED]; [EMAIL PROTECTED] would be the customer support channel
for the Nabble list browser/forum system.
L.
houser wrote:
By the way.. to which email address should I post my message using the email
program?
is it: [EMAIL PROTECTED] or [EMAIL PROTECTED]
thanks
Laurie Harper wrot
Sorry, I don't see a repost with the JSP readable so there's still
nothing to take another look at :-/
L.
houser wrote:
Thanks for your reply..
I have already changed it by using tag and the JSP pieces of code are
displayed.. can give it another look please?
houser
Laurie Harper wrote:
None
That doesn't answer most of my questions. You need to determine what is
being sent to the browser (if anything) when it requests the .swf file
from your web application, then post details of what you find out along
with the relevant configuration details (including web.xml and
struts.xml excerp
Arpan Debroy wrote:
I have a JPA query like that
Query query = em.createQuery("*SELECT c.name, c.id FROM Group c ORDER BY
c.name*");
List resultList = query.getResultList();
Have you verified that the query is returning a non-empty list -- i.e.
resultList really contains data to displ
How about adding a specific list implementation rather than using a
generic list. Then your list implementation can maintain the
relationships instead of the action.
(*Chris*)
On Thu, May 8, 2008 at 7:04 AM, Adam Hardy
<[EMAIL PROTECTED]> wrote:
> Adam Hardy on 08/05/08 12:21, wrote:
>>
>>>
Hello,
I have a link in my jsp
which deletes a record from the list of numbers.
When the user clicks on the link above, we need a javascript popup "Are you
sure you want to delete the number?" with "OK" and "Cancel"
How I can achieve that?
Thanks.
--
View this message in context:
http:/
Related to this question, I'm leveraging Spring's use of the @Resource
annotation to the private member variable (no setter needed), thus fully
relying on Spring's injection mechanism. I supposed it all depends on
tight coupling to Spring you want to add.
Relph,Brian wrote:
The actions are au
Laurie,
tks for your advise.
hang forever, > browser lockup if use IE
but, if use firefox, just nothing happen(return blank screen), but browser
not freeze.
above test under regular Tomcat, which is http://localhost:8080/sample.html (
it contains sample.swf inside)
The actions are auto-wired by name by default - so if any of its properties
match bean-ids in your spring config, and they have setters, then those
properties will get set.
The part about declaring the dependencies means you disable the auto-wiring,
and declare your actions as spring beans. So
Adam Hardy on 08/05/08 12:21, wrote:
when the Params interceptor populates my entity beans, it must be
setting the member variables directly without using the setters.
Is there a way to tell it to use the setters? There is some logic
in the setters which it would be good if it executed.
It g
Hello,
I found this guide to injecting Spring beans into Struts 2 Actions:
http://cwiki.apache.org/WW/spring.html
According to the red box at the bottom of the document, the Struts 2
Action does not need to be registered with Spring. So far so good.
However, I'm a little unclear as to ho
Hi,
> I'm unsatisfied that not all tests are ok but I'll look for that
> separately.
>
Probably you have problem with DataTimePickerTagTest, if yes, don't borrow,
there is some problem with Locale settings to parse data. I've tried to
figure what it is, but till now I don't know how to solve the
Yes if the file size is OK everything is fine. At first we used the default
stack. Then we took the default and modified it by moving the
fileUploadInterceptor below the params interceptor so it would look
something like this:
interceptor-stack name="ourUploadStack"
interceptor-ref name="ex
Jeromy Evans wrote:
No, that's not supported. It would have to append the parameters to
the query string or create post parameters after the specific submit
button is pressed. That would need to be implemented using a
javascript listener attached to the click or submit event. It's a
nice i
Could you use s:hidden on the form to store your params?
On Wed, May 7, 2008 at 10:47 PM, Eduardo Dela Rosa
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was trying to use the and invoke it with *some *parameters
> using .
>
> i.e.,
>
> *
>
>
>
> *
>
> However, the parameters don't seem t
Are these parameters static? If they are you could set them up in
struts config and get the submit button to direct to a specific action
mapping with these parameters defined.
Cheers,
Steve
On Thu, May 8, 2008 at 9:24 PM, Jeromy Evans
<[EMAIL PROTECTED]> wrote:
> Eduardo Dela Rosa wrote:
> > Hi
Eduardo Dela Rosa wrote:
Hi,
I was trying to use the and invoke it with *some *parameters
using .
i.e.,
*
*
However, the parameters don't seem to be getting through to the
HttpServletRequest object
when interrogated inside the Action.
I know I can use the instead, but I preferred
Jeromy Evans on 08/05/08 11:41, wrote:
Adam Hardy wrote:
Jeromy Evans on 08/05/08 09:26, wrote:
Adam Hardy wrote:
Hi,
when the Params interceptor populates my entity beans, it must be
setting the member variables directly without using the setters.
Is there a way to tell it to use the sett
Thanks for the help!
The hint with the property -Dmaven.test.skip=true was sufficient for me to
come forward
I'm unsatisfied that not all tests are ok but I'll look for that separately.
Hans-Georg
--
View this message in context:
http://www.nabble.com/How-to-build-Struts-2.0.11.1--tp17100141p1
Without listKey and listValue, it just display the whole list.
But while displaying doesn't get selected according to the "value"
attribute.
My result list directly comes from the JPA query list(please refer the first
mail).
On Wed, May 7, 2008 at 9:51 PM, Rushikesh Thakkar <
[EMAIL PROTECTED]> w
Adam Hardy wrote:
Jeromy Evans on 08/05/08 09:26, wrote:
Adam Hardy wrote:
Hi,
when the Params interceptor populates my entity beans, it must be
setting the member variables directly without using the setters.
Is there a way to tell it to use the setters? There is some logic in
the setters
Jeromy Evans on 08/05/08 09:26, wrote:
Adam Hardy wrote:
Hi,
when the Params interceptor populates my entity beans, it must be
setting the member variables directly without using the setters.
Is there a way to tell it to use the setters? There is some logic in
the setters which it would be
Adam Hardy wrote:
Hi,
when the Params interceptor populates my entity beans, it must be
setting the member variables directly without using the setters.
Is there a way to tell it to use the setters? There is some logic in
the setters which it would be good if it executed.
Hi Adam,
It giv
Hi,
when the Params interceptor populates my entity beans, it must be setting the
member variables directly without using the setters.
Is there a way to tell it to use the setters? There is some logic in the setters
which it would be good if it executed.
Thanks
Adam
--
tom tom wrote:
dojo 1.1 Grid looks very good,
but it is still under dojox project, because of that
we are thinking twice
How flexible the YUI datagrid and how about the
integration with Struts 2,
Is that grid in beta like dojo grid or ready for
production support
Thanks,
The YUI datagrid
We're using Struts 2.1.1 and i18n interceptor. Resource files are named
ApplicationResources_??.properties . The following values are set for i18n
constants:
It seems like using getText in jsp universally fails the way I described in
my original post. However, when getText is used in action clas
dojo 1.1 Grid looks very good,
but it is still under dojox project, because of that
we are thinking twice
How flexible the YUI datagrid and how about the
integration with Struts 2,
Is that grid in beta like dojo grid or ready for
production support
Thanks,
--- Jeromy Evans <[EMAIL PROTECTED]>
By the way.. to which email address should I post my message using the email
program?
is it: [EMAIL PROTECTED] or [EMAIL PROTECTED]
thanks
Laurie Harper wrote:
>
> None of the JSP code made it out of your mail client into the message
> I'm afraid. Try re-posting with your mail program set for
Thanks for your reply..
I have already changed it by using tag and the JSP pieces of code are
displayed.. can give it another look please?
houser
Laurie Harper wrote:
>
> None of the JSP code made it out of your mail client into the message
> I'm afraid. Try re-posting with your mail program
51 matches
Mail list logo