Hi,
I am using struts 2 jquery charts plugin. I need to change the href
(request url for json data) of the chartdata tag and update the chart. So
that I can change the chart dynamically.
Any thoughts on the same?
--
-Bhushan
Wes Wannemacher wrote:
What about -
#exampleheader
Seems like the logical way to do it...
Or the "anchor" attribute maybe.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail:
What about -
#exampleheader
Seems like the logical way to do it...
-Wes
2009/8/11 Halil Ağın :
> Hello List;
>
> I want to generate below link by using s:url. but i dont know how to do it
>
> www.sample.com.fake/AppCon/package1/abc.action#exampleheader
>
> for part "/package1/abc" i use var="x
Hello List;
I want to generate below link by using s:url. but i dont know how to do it
www.sample.com.fake/AppCon/package1/abc.action#exampleheader
for part "/package1/abc" i use
but for the "#exampleheader" part i could see any solution. how can i do
this?
regards,
-Halil AĞIN
struts el tags would do this to you.
http://struts.apache.org/1.3.8/struts-el/index.html
http://struts.apache.org/1.3.8/struts-el/tagreference.html#html:link
Thanks,
Nuwan C.
Cappelletti Marc wrote:
Hi,
Maybe an old problem, sorry for the redundance but:
I'd like to define that:
Hi,
Maybe an old problem, sorry for the redundance but:
I'd like to define that:
How can we do that without using <% %> or any java handling..?
Thank you
Marc
Just what I needed - thanks!
--john
- Original Message -
From: Dave Newton <[EMAIL PROTECTED]>
Date: Thursday, July 24, 2008 5:31 pm
Subject: Re: [S2] url tag to construct href in different namespace
> Namespaces typically begin with a "/"; try that.
>
> Dave
Namespaces typically begin with a "/"; try that.
Dave
--- On Thu, 7/24/08, John Cartwright <[EMAIL PROTECTED]> wrote:
> From: John Cartwright <[EMAIL PROTECTED]>
> Subject: [S2] url tag to construct href in different namespace
> To: "Struts Users Mailing Li
Hello All,
I'm trying to use the url tag to construct a href which goes to a
different namespace. It seems that all of the constructed URLs have the
same base as the original page.
For example, given a page reached at:
http://lynx.ngdc.noaa.gov:8080/tideloader/message/View.action
est is made. Check showcase for examples.
>
> musachy
>
> On Thu, Jul 17, 2008 at 11:38 AM, cree <[EMAIL PROTECTED]> wrote:
>>
>> Hello All,
>>
>> I am trying to use an s:div tag but need to update the href dynamically.
>>
>> To give an idea I
ll,
>
> I am trying to use an s:div tag but need to update the href dynamically.
>
> To give an idea I have a href="testAction.action?" theme="ajax"/>. I would like to on some user
> event to either in javascript or any other way allow the href to append
>
So I was able to achieve what I wanted to by setting separateScripts="false"
, I did read that somewhere but I was setting the separateScripts="false" in
the wrong div (using a div to load another div). Now even after changing
the href to something completely different th
Hello All,
I am trying to use an s:div tag but need to update the href dynamically.
To give an idea I have a . I would like to on some user
event to either in javascript or any other way allow the href to append
specific variables. I have tried to href="testAction?someVar=%{someVar}&q
Hi,
I am having problems using a custom tag class derived from LinkTag and
using a runtime expression as the 'href' attribute value. It seems like
expressions in attributes that are inherited from LinkTag are not parsed
by my JSP engine (Jetty server). In my TLD file, is set to
you probably have to include the whole expression within your
expression element,
for instance:
'>value
should work, but a bit ugly ;-)
maybe it looks nicer using jstl !
var
Hope it helps
Yannick
On 9/10/07, Anna Simbirtsev <[EMAIL PROTECTED]> wrote:
> Hello
>
> I am trying to pass the val
Hello
I am trying to pass the value of i to a javascript but I can't seem to get
it to pass the value.
<% for (int i = 0;i < 5; i++) { %>
value
<%}%>
What am I doing wrong?
Thank you
When I put that, the application freeze and do anything
Manuel Correa.
-Original Message-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 07, 2007 1:18 PM
To: Struts Users Mailing List
Subject: Re: div href dojo scripts
set executeScripts = "true" on t
set executeScripts = "true" on the div tag.
musachy
On 8/7/07, Manuel Correa <[EMAIL PROTECTED]> wrote:
> Some knows why I cant write methods javascript using tabbedpanel, when I
> write some div with references another page, for example:
>
>
>
>
>
>label="Home" />
>
>
Some knows why I cant write methods javascript using tabbedpanel, when I
write some div with references another page, for example:
The Javascript that are in the index.jsp and page1.jsp don't work, if I
put the javascript outside, where is the t
action and href together, is it giving that prob?
Thanks,
Regards
MAthu M.
It has now.
Don
On 1/10/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
We moved from xdoclet to annotation-based tld generation. In that
process a bug was introduced on the autocompleter, here is a ticket with
the patch
https://issues.apache.org/struts/browse/WW-1611
It hasn't been applied ye
We moved from xdoclet to annotation-based tld generation. In that
process a bug was introduced on the autocompleter, here is a ticket with
the patch
https://issues.apache.org/struts/browse/WW-1611
It hasn't been applied yet.
musachy
Dariusz Wojtas wrote:
Hi,
This is something recent as abo
Hi,
This is something recent as about a week ago therew as no such problem.
Now autocompleter complains if there is no 'list' param set for it.
If I set it to some dummy value than it seems to work.
I remember there was some issue about that a few days ago in JIRA but
can't find it.
I am running
Works perfectly now.
Most likely maven had issues with the compiling struts2 code into the
same directories as eclipse. After I pointed eclipse to compile into
separate directories - maven started to work as expected.
Thanks for help
Darek
On 12/15/06, Musachy Barroso <[EMAIL PROTECTED]> wrote
I have the latest sources.
And I am sure I placed the JAR file build an hour ago in my app.
But it is possible that something is wrong with the way it produces
the JAR file for me.
I have sources of struts2 and xwork in one parent dir, I execute ant
as described by the struts2 maven build page, b
context in front
for autocompletes.
samples b) and c) show this.
Dariusz Wojtas
On 12/14/06, Musachy Barroso <[EMAIL PROTECTED]> wrote:
You need to use the "url" tag to construct the "href" for all the
ajaxtags.
musachy
Dariusz Wojtas wrote:
> I have found possible oth
;url' way first, but it did not work for me.
'url' but it creates links with double application context in front
for autocompletes.
samples b) and c) show this.
Dariusz Wojtas
On 12/14/06, Musachy Barroso <[EMAIL PROTECTED]> wrote:
> You need to use the "url&qu
"url" tag to construct the "href" for all the ajaxtags.
musachy
Dariusz Wojtas wrote:
> I have found possible other problem:
> To show it I have created 3 similar autocompletes, differing only in
> href.
> They all should load data from action '/listy/kontrahenci.
You need to use the "url" tag to construct the "href" for all the ajaxtags.
musachy
Dariusz Wojtas wrote:
I have found possible other problem:
To show it I have created 3 similar autocompletes, differing only in
href.
They all should load data from action '/listy/ko
I have found possible other problem:
To show it I have created 3 similar autocompletes, differing only in href.
They all should load data from action '/listy/kontrahenci.action'
and the '/esu' application prefix. That should result in link to:
'/esu/listy/kontrahenci
My c:set is as below:
and it works fine.
Thanks,
On 4/5/06, Adam Hardy <[EMAIL PROTECTED]> wrote:
>
> What does your c:set look like?
>
>
> Vinit Sharma on 04/04/06 08:58, wrote:
> > But I faced a problem with the fmt tag, the variable link contains
> > the key instead of the tex
What does your c:set look like?
Vinit Sharma on 04/04/06 08:58, wrote:
But I faced a problem with the fmt tag, the variable link contains
the key instead of the text value.
Any clue??
On 4/4/06, Vinit Sharma <[EMAIL PROTECTED]> wrote:
Thanks,
I used a in combination with . But fmt tag
loo
, Nicolas De Loof < [EMAIL PROTECTED]> wrote:
> >
> >
> > Perhaps somethig like this may work :
> >
> >
> >
> > Some text
> >
> >
> > Nico.
> >
> > Vinit Sharma a écrit :
> > > Hi,
> > >
> > > M
gt; > My requirement is to use a message resource key for html:link href
> attribute
> > instead of passing a hardcoded value.
> >
> > Below:
> >
> > Some text
> >
> > I want to replace, ${item.link} with a key from resource file, btw my ${
> > item.
Perhaps somethig like this may work :
Some text
Nico.
Vinit Sharma a écrit :
Hi,
My requirement is to use a message resource key for html:link href attribute
instead of passing a hardcoded value.
Below:
Some text
I want to replace, ${item.link} with a key from resource file, btw my
Hi,
My requirement is to use a message resource key for html:link href attribute
instead of passing a hardcoded value.
Below:
Some text
I want to replace, ${item.link} with a key from resource file, btw my ${
item.link} returns a key only.
Can some one give an insight.
Thanks,
--
Vinit
can anyone suggest if this is the right way to do? thanks.
From: "fea jabi" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: user@struts.apache.org
Subject: href in a table column
Date: Wed, 29 Mar 2006 15:08:02 -0500
This is struts related question it
This is struts related question itself. using displaytag too.
I created an obj whose attributes represent the row obj of a display table.
RowObj
type
navigate
total
${rows.Type}
clicking on each element in first column should navigate to differe
;Struts Users Mailing List"
To: user@struts.apache.org
Subject: Re: href
Date: Fri, 03 Feb 2006 14:07:24 -0500
thanks for responding
now gave
My lookupaction does have the mapkey
protected Map getKeyMethodMap() {
Map map = new HashMap();
map.put("btn
can anyone helpme with this please?
Thanks.
From: "fea jabi" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: user@struts.apache.org
Subject: Re: href
Date: Fri, 03 Feb 2006 14:07:24 -0500
thanks for responding
now gave
My lookupa
uot;delete", "deleteCust");
return map;
}
but Now getting the below error.
missing resource 'delete' in key method map
What else is missing?
Thanks.
From: Michael Jouravlev <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: Struts User
On 2/3/06, fea jabi <[EMAIL PROTECTED]> wrote:
> Have an a link in my JSP. When user presses the link I would like to delete
> that row in the LookupDispatchAction.
>
> I tried to do this using the below code.
>
> But getting error
> javax.servlet.ServletException: Request[/DispatchCust] does not c
Have an a link in my JSP. When user presses the link I would like to delete
that row in the LookupDispatchAction.
I tried to do this using the below code.
But getting error
javax.servlet.ServletException: Request[/DispatchCust] does not contain
handler parameter named 'method'. This may be ca
Hi,
I recently move my web application from Struts 1.2.4 to 1.2.7.
Since this, the tag doesn't behave as before because it doesn't
encode sessionid in url specified as href property when session cookies are
disable.
I compare TagUtils class source code between Struts 1.2.4 and 1.2.7
vijay
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beal
Sent: Thursday, February 17, 2005 8:04 PM
To: user@struts.apache.org
Subject: Re: You must specify exactly one of "forward", "href", or
"page"
Don't use to execute a JavaScript.
Hai
Thx for ur answer can u tell me why we have to use old plain html
Bye
vijay
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beal
Sent: Thursday, February 17, 2005 8:04 PM
To: user@struts.apache.org
Subject: Re: You must specify exactly one of "forward&qu
ption: Cannot create
rewrite URL: java.net.MalformedURL
Exception: You must specify exactly one of "forward", "href", or "page"
Can any one have the solution for this
Bye
vijay
-
To unsubscribe, e-mai
ption: You must specify exactly one of "forward", "href", or "page"
Can any one have the solution for this
Bye
vijay
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hai
I am new to struts I am using to call a java script and
for displaying the images
But it's giving an error javax.servlet.jsp.JspException: Cannot create
rewrite URL: java.net.MalformedURL
Exception: You must specify exactly one of "forward", "href", or "page&q
Hi Priya,
I dont think that the action (not being actually a struts action)
should have a corresponding mapping in struts-config.xml in your case. Use
html:link tag instead of tag. I think this will solve your problem.
Jitender Kumar C.V.
in
Struts-config.xml
Kindly elaborate.
TIA,
Priya
-Original Message-
From: Sachin Bhutada [mailto:[EMAIL PROTECTED]
Sent: Friday, September 17, 2004 10:11 AM
To: 'Struts Users Mailing List'
Subject: RE: Problem going to my Next JSP by Href tag
hi Priya,
Seems you hav
that href in config file or use struts forward action . Use of either of
them would solve your problem.
sachin
xoriant, mumbai
-Original Message-
From: Priya Jotwani [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 16, 2004 8:39 PM
To: Struts Users Mailing List
Subject: RE: Problem going
the
path is ok, the href should work.
Bj
Priya Jotwani a écrit :
Thanks for the reply. But I have actually included my application path. I think there
is no problem in the path.
All I am worried about is will this calling of MyJSPPage would follow the Struts
framework process i.e going to ActionS
NORMAL html href tag. Because I am following the normal Html approach and
I have not written anything in my ActionForm or ActionClass for the same.
What could be wrong ???
Thanks Again,
Priya
-Original Message-
From: Bj [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 16, 2004 8:35 PM
PPage) But this
doesn't works. Since I am not doing any processing, I don't think I
should be making an entry in my Struts-Config(for the time being..just
to see if my page loads when I click on the link on the main page). I
have only made the changes in my Main JSP to include a href
x27;t works. Since I am not doing any processing, I don't think I
should be making an entry in my Struts-Config(for the time being..just
to see if my page loads when I click on the link on the main page). I
have only made the changes in my Main JSP to include a href tag .
I have in
Hi All,
When using struts rewrite tag
when we use href the session id is not generated in
the link (we have disabled cookies to check this)
Link
But When we use this the Session ID is generated
Link
Isnt it supposed to generate the session ID even when
we use href ??
Thanks,
Kiran
57 matches
Mail list logo