I have tried
function goURL(tmp){
var url = "<%=response.encodeURL("/Log/log.do")%>";
document.forms[0].action=url + "?action=" + tmp;
alert(url + "?action=" + tmp);
document.forms[0].submit();
}
Javascript can alert the right information,such as "/Log/log.do?action=3"
But the page still can't re
try this
function goURL(tmp){
var url = "<%=response.encodeURL("/Log/log.do")%>";
document.forms[0].action=url + "?action=" + tmp;
document.forms[0].submit();
}
On 2/20/06, red phoenix <[EMAIL PROTECTED]> wrote:
>
> when I Javascript execute
> var url = <%=response.encodeURL("/Log/log.do")%>;
Is it possaible to use Validator framework for Struts Action Errors.
My requirement is to validate my JSP page with Action Errors .
I have 10 fields in my JSP page.
Once the user enters some fields and submit the page , My ActionForm need to
validate the fields and if any errors in JSP,i need to s
when I Javascript execute
var url = <%=response.encodeURL("/Log/log.do")%>;
IE raise script error:
Raise error during running period,debug or not
Line:81
Error:missing ';'
On 2/20/06, raja sekar <[EMAIL PROTECTED]> wrote:
>
> modify your javascript like this
>
> function goURL(tmp){
> var url =
modify your javascript like this
function goURL(tmp){
var url = <%=response.encodeURL("/Log/log.do")%>;
document.forms[0].action=url + "?action=" + tmp;
document.forms[0].submit();
}
and try...
On 2/20/06, red phoenix <[EMAIL PROTECTED]> wrote:
>
> I modify my Javascript like follows:
> funct
I modify my Javascript like follows:
function goURL(tmp){
document.forms[0].action=eval("/Log/log.do?action=First");
document.forms[0].submit();
}
But when I change the value of ,it still can't redirect. I am
mad with it!
On 2/20/06, Swapnil Patil <[EMAIL PROTECTED]> wrote:
>
> Hi red,
>
> Fir
On 2/19/06, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>
> From: "Leila Carvalho" <[EMAIL PROTECTED]>
>
> > Can I apply Value-change Event in my jsp pages under Struts-Faces
> > Integration ???
> > How??
> > Thanks in advance.
> > Leila.
>
> You can add a value change listener as an action binding me
On 2/19/06, Steve Vanspall <[EMAIL PROTECTED]> wrote:
>
> I know this isn't specifically struts realted, but am having trouble
> finding a jasper mailing list.
>
> Basically was wondering if I can have a custom tagsupport tag's
> doStartTag() method acess the taghandlerpool.
There is no API for t
Hi red,
First Page
this works with action parameter containing value= "First" NOT "0".
Your 'tmp' variable in script function contains value 0,1 or 2. Your
log.do action might be checking content of action parameter with values
"First", "Second" or "Third"
Try it again with following manner.
I have try follows two method:
function goURL(tmp){
document.forms[0].action=eval("/Log/log.do?action="+tmp);
alert(eval("/Log/log.do?action="+tmp));
document.forms[0].submit();
}
and
function goURL(tmp){
var newAct = "/Log/log.do?action="+tmp;
document.forms[0].action = newAct;
alert(new
Hi all,
I got a problem, so I need all your help :(
i18n,
I want my Struts app to have default language is Vietnamese, but I couldn't :(
I have 3 files below:
+ mylanguage.properties <--- Vietnamese file
+ mylanguage_ja.properties <--- Japanese file
+ mylanguage_en.properties <--- English file
Hi,
My project is using javascript validations generated through struts
validator. I want to do some currency validations based on the
language/country. Is it possible?
__
Regards
Ashwani Kalra
This message contains information that may be privileged or confidential and is
A few things here,
1) I think you need build the action like the following;
document.forms[0].action=eval("/Log/log.do?action="+tmp);
or do it in two steps:
var newAct = "/Log/log.do?action="+tmp;
document.forms[0].action = newAct;
2) how are you checking the action parameter in your Action c
From: "Leila Carvalho" <[EMAIL PROTECTED]>
> Can I apply Value-change Event in my jsp pages under Struts-Faces
> Integration ???
> How??
> Thanks in advance.
> Leila.
You can add a value change listener as an action binding method on a backing
bean,
public void cityChanged(ValueChangeE
My web context is Log,so I add prefix before,like follows:
document.forms[0].action="/Log/log.do?action="+eval(tmp);
but when I change the value of ,it still can't redirect,I am
puzzled it for several days.I don't know why it don't redirect!!!
I want to use above code to make a pagination progr
Can I apply Value-change Event in my jsp pages under Struts-Faces
Integration ???
How??
Thanks in advance.
Leila.
I know this isn't specifically struts realted, but am having trouble
finding a jasper mailing list.
Basically was wondering if I can have a custom tagsupport tag's
doStartTag() method acess the taghandlerpool.
Basically i want ot be able to create a form, where neccesary, with a
start tag.
For the following:
document.forms[0].action="/log.do?action="+eval(tmp);
You'll need to prefix "/log.do" with your web context. Or you can use:
in place of /log.do above.
hope it helps.
Saul
- Original Message -
From: "red phoenix" <[EMAIL PROTECTED]>
To:
Sent: Sunday, February
I use Javascript in Struts,like follows:
function goURL(tmp){
alert(tmp);
document.forms[0].action="/log.do?action="+eval(tmp);
document.forms[0].submit();
}
First Page
First
Second
Third
when click "First Page",I can redirect my page to log.do page,but when I
change the value of select,an
I'm new to struts and am setting up some form beans. I'm using
hibernate, and one of my tables has a lot of foreign keys. The target
tables are pretty much just lookup tables, which I use to populate a
good number of drop-downs on my web page. Most of the foreign keys are
optional, and I'm s
Hi,
I have a web application based on Struts 1.3.
I have a problem, I need change resources (internationalition) without stop
the server. It's possible?
Thanks
>From: lisaan markuen <[EMAIL PROTECTED]>
>
> Hi.,
> I'm trying CLAY and fed up with displaying dynamic
> datatable (list) coming from my managed bean (already
> went through the examples but no success yet).
> Could anyone please give me an example snippet of how
> to insert jsfid into the m
Hi
You need to get clay-tomahawk.xml. Search the list for it
Hermod
-Opprinnelig melding-
Fra: lisaan markuen [mailto:[EMAIL PROTECTED]
Sendt: 19. februar 2006 18:24
Til: user@struts.apache.org
Emne: Help:Clay+dataTable
Hi.,
I'm trying CLAY and fed up with displaying dyna
Hi.,
I'm trying CLAY and fed up with displaying dynamic
datatable (list) coming from my managed bean (already
went through the examples but no success yet).
Could anyone please give me an example snippet of how
to insert jsfid into the mock html code so that I
could achieve same like:
JSF code
I wonder, did Apache make any conference on the Middle East?
On 2/17/06, Martin Cooper <[EMAIL PROTECTED]> wrote:
>
>
> -- Forwarded message --
> Date: Fri, 17 Feb 2006 15:29:56 -0500
> From: Rich Bowen <[EMAIL PROTECTED]>
> Subject: ApacheCon EU 2006
>
> The ApacheCon Planners ar
25 matches
Mail list logo