Hi All,
I got the issue resolved using the
Model
partialEvent
true
It told me it wasn't sent to the mailing list, I wasn't aware. My apologies.
On Fri, Dec 4, 2009 at 3:30 PM, Brian Thompson wrote:
> Why the triple-post?
>
> On Fri, Dec 4, 2009 at 2:07 PM, davargas123 wrote:
>
> >
> > When I change the standard HTML tags of my .jsp page into the Struts
> tags,
Why the triple-post?
On Fri, Dec 4, 2009 at 2:07 PM, davargas123 wrote:
>
> When I change the standard HTML tags of my .jsp page into the Struts tags,
> the page loads up completely blank, aside from what is loaded by the
> tiles-def. What could be causing this? I'm thinking that's why my page
>
When I change the standard HTML tags of my .jsp page into the Struts tags,
the page loads up completely blank, aside from what is loaded by the
tiles-def. What could be causing this? I'm thinking that's why my page
doesn't submit data to the actionform, but I don't see why it wouldn't be
rendering
When I change the standard HTML tags of my .jsp page into the Struts tags,
the page loads up completely blank, aside from what is loaded by the
tiles-def. What could be causing this? I'm thinking that's why my page
doesn't submit data to the actionform, but I don't see why it wouldn't be
rendering
the below code works to make the select option required. If nothing is selected
displays the provided message.
In validation.xml
!(user.department).equals("1")
Please select a department.
--
This message was sent on behalf of aruna
The use "accounts" in s:iterator is wrong. It probably works if you can create
something like "new int [7]".
> Date: Fri, 4 Dec 2009 12:50:36 -0600
> Subject: Re: checkbox : unchecked elements not in list
> From: elephant...@gmail.com
> To: user@struts.apache.org
>
> Unchecked checkboxes in ht
> Ideally I would want the accountStatus list to contains a
> list of "true" or
> "false" strings, however accountStatus list only seems to
> contains only the
> checked
> elements...
It looks like you are processing the submitted params
yourself. If that is the case, the browser only gives
yo
Unchecked checkboxes in html forms don't submit a value. If you want true
vs. false submitted back to the Java action, you'll need to use radio
buttons.
-Brian
On Fri, Dec 4, 2009 at 12:31 PM, akoo wrote:
>
> I have following form
>
>
>
>
>
>
> .
>
>
>
>
>
>
> In my action class I ha
I have following form
.
In my action class I have following
public UpdateAccount account
{
List accountStatus;//list to hold all the checkbox values
List accounts; //list to hold all the accounts values
// getter setters
public String execute()
i am succesfully also using DOJO, but never succes using JavaME and Swing
may be u can share with us
we use swing with http client instead JSONRPC
On Sat, Dec 5, 2009 at 1:02 AM, Prasenjit Bhadra wrote:
> Hi guys,
>
> Thanks.This works fine now. I passed the single object instead of an
> el
Hi guys,
Thanks.This works fine now. I passed the single object instead of an element
of the list.
Have to Wrap the params as a List (i.e; "Params": ["obj1","obj2" ,.])
This would help us to extend JSON framework with almost any platform as long
as we have a serializing - de-serializing comp
forceAddSchemeHostAndPort="true"
(*Chris*)
On Fri, Dec 4, 2009 at 9:54 AM, wkbutler wrote:
>
> I know this is kind of a silly question. Does anyone know if there is a way
> to get the Struts2 'a' tag to emit an absolute URL? Silly or not, I can't
> think of any reason for it not to support th
I know this is kind of a silly question. Does anyone know if there is a way
to get the Struts2 'a' tag to emit an absolute URL? Silly or not, I can't
think of any reason for it not to support that, and maybe it's there
already.
Thanks -
--
View this message in context:
http://old.nabble.com/
When I change the standard HTML tags of my .jsp page into the Struts tags,
the page loads up completely blank, aside from what is loaded by the
tiles-def. What could be causing this? I'm thinking that's why my page
doesn't submit data to the actionform, but I don't see why it wouldn't be
rendering
i am glad if we can have a .war with JSON, like show case
make it independent example, we can extend with another tech, such as swing,
jquery, or may be php
F
see my previous reply.
On Thu, Dec 3, 2009 at 4:10 PM, Prasenjit Bhadra wrote:
> I have developed a native client interface which calls struts2 JSON RPC
> using post method. I have set content type, content length as suggested in
> the spec. The request body looks like as follows : {"method":
> "
Come on, at least tell us the strut version.
I happen to be using struts 1.3.10 and if you look in
/META-INF/tld/struts-html.tld of the struts-taglib-1.3.10 jar you will find
http://struts.apache.org/tags-html
so i use
<%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html"%>
mas
dav
Wes Wannemacher wrote:
>
>
> I would start here -
>
> http://struts.apache.org/2.x/docs/type-conversion.html#TypeConversion-TypeConversionErrorHandling
>
>
Thn*ks for this link. But I've read it before and I'm not should
understanding clearly how to proceed:
"...To keep conversion errors f
When I change the standard HTML tags of my .jsp page into the Struts tags,
the page loads up completely blank, aside from what is loaded by the
tiles-def. What could be causing this? I'm thinking that's why my page
doesn't submit data to the actionform, but I don't see why it wouldn't be
rendering
> I have developed a native client interface which calls struts2 JSON RPC
> using post method. I have set content type, content length as suggested in
> the spec. The request body looks like as follows : {"method":
> "uploadTxpAssignment","id": "txpUploadRequest",
> "params":{"addressByDestAddrId":
You may have a different problem then you think;
The @RequiredFieldValidator does not make any sense on a int
(primitive) field as an int cannot be null. The validation interceptor
checks the values on the fields after params interceptor sets the
fields. The RequiredFieldValidator checks if the fi
:)
On Friday, December 4, 2009, Brian Thompson wrote:
> Well, sure you could -- you just said you have $500!
>
> Buying food? Paying rent? Nah, these trivialities are much less important
> than sending money to strangers on the Internet :P
>
> -Brian
>
>
>
> On Fri, Dec 4, 2009 at 6:39 AM, Saee
Well, sure you could -- you just said you have $500!
Buying food? Paying rent? Nah, these trivialities are much less important
than sending money to strangers on the Internet :P
-Brian
On Fri, Dec 4, 2009 at 6:39 AM, Saeed Iqbal wrote:
> I did this work and my fellow mates to contribute to
I have developed a native client interface which calls struts2 JSON RPC
using post method. I have set content type, content length as suggested in
the spec. The request body looks like as follows : {"method":
"uploadTxpAssignment","id": "txpUploadRequest",
"params":{"addressByDestAddrId":{"addrLine
On Today at 11:58am, JC=>James Cook wrote:
JC> EJB's can only be injected into other EJB's or Servlets, a struts 2
JC> action is essentially a pojo not a servlet. So you would either have to
JC> do a lookup in the context, or if you are using Spring look at using a
JC> jndi lookup and inject that
I did this work and my fellow mates to contribute to Open Source world. I am
poor less than $500 in bank. I cannot offer you any money :(
On Fri, Dec 4, 2009 at 5:27 PM, Martin Gainty wrote:
>
> how much money will you provide for this enormous task?
>
> Martin Gainty
> _
how much money will you provide for this enormous task?
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoef
Wes Wannemacher wrote:
>
>
> I would start here -
>
> http://struts.apache.org/2.x/docs/type-conversion.html#TypeConversion-TypeConversionErrorHandling
>
>
Thanks for this link. But I've read it before and I'm not should
understanding clearly how to proceed:
"...To keep conversion errors f
EJB's can only be injected into other EJB's or Servlets, a struts 2
action is essentially a pojo not a servlet. So you would either have to
do a lookup in the context, or if you are using Spring look at using a
jndi lookup and inject that reference into your class.
Cookie
-Original Message---
Hi,
I know that it is not possible to inject EJB in Struts 2 actions.
The following annotation would not work :
@EJB
MyBeanLocal mybean;
But how come ? Since a Struts action is a servlet and injection works in
a servlet, injection should work.
Thanks for enlightening me.
Hi folks
are anyone using Struts2 + Rest plugin in a EAR environment?
We are confused, It works in a independent project but after you put it in a
EAR project, the packagelocator doesnt find any Controller action.
any idea?
thank u
Struts 2.1.8.1
Glassfish 2.1
--
David Canós
www.david-canos.n
Hi, I have the very same problem. But I don't want to exclude these params
from the request. I fetch them "manually" in my action class, not using
OGNL, and this works perfectly. But I don't want my log cluttered with OGNL
warning. Is there a way of supressing only the OGNL warnings and not all
wa
Hi,
I'm trying to get error messages from a resource bundle.
This is the code for my action class:
@RequiredFieldValidator(type=ValidatorType.FIELD,
key="myFieldErrorMsg", message="Error")
public void setMyField(int myField) {
this.myField = myField;
}
@Override
public void validate() {
http://code.google.com/p/ic-cms/
It has i8nl built in so you can easily convert to Japanese.
On Fri, Dec 4, 2009 at 1:53 PM, Nguyen Xuan Son wrote:
> couldnt find your project
> im in japan now, using both of japanese google code and us google code
>
> 2009/12/4 Frans Thamura
>
> > cool
> >
>
couldnt find your project
im in japan now, using both of japanese google code and us google code
2009/12/4 Frans Thamura
> cool
>
> will work on it :0
>
> F
>
>
> On Fri, Dec 4, 2009 at 3:07 PM, Saeed Iqbal wrote:
>
> > Hi Folks,
> >
> > Would it be OK if I ask you guys to kindly test the Conte
cool
will work on it :0
F
On Fri, Dec 4, 2009 at 3:07 PM, Saeed Iqbal wrote:
> Hi Folks,
>
> Would it be OK if I ask you guys to kindly test the Content Management
> System
>
> that I and my fellow mates have written in Struts-Spring-Hibernate please.
> It
>
> is an Open Source Software. Just
Hi Folks,
Would it be OK if I ask you guys to kindly test the Content Management
System
that I and my fellow mates have written in Struts-Spring-Hibernate please.
It
is an Open Source Software. Just search for ic-cms on Google Code.
Thanks,
-saeed
38 matches
Mail list logo