Hello,
I Have a little problem.
i am using an
s:div theme=ajax id=myDiv notifyTopics=myTopic href=someUrl
/s:div
and I have some JavaScript Code that alters the links in the div.
but when I get notified by the div tag through , the new content of the div
has not yet
been set, so I can't do
ptriller wrote:
i am using an
s:div theme=ajax id=myDiv notifyTopics=myTopic href=someUrl
/s:div
and I have some JavaScript Code that alters the links in the div.
but when I get notified by the div tag through , the new content of the div
has not yet
been set, so I can't do that.
Hi
Alvaro Sanchez-Mariscal wrote:
Hi,
I've done the same using topics:
1) Publish on a topic after the request is executed (eg,
notifyTopics=/submit in the s:submit).
2) Register to the same topic in the s:div corresponding to the tab
(eg, listenTopics=/submit in the s:div).
Alvaro.
Can
Try prepending an slash, ie, /addProduct. Without it, it also didn't
worked to me.
Also, what happens exactly? Javascript errors? Have you tried
inspecting it with firebug?
Alvaro.
On 8/19/07, Eugen Stoianovici [EMAIL PROTECTED] wrote:
Alvaro Sanchez-Mariscal wrote:
Hi,
I've done the
Can you paste the entry from validator xml -- and the line which is
flagged with the error?
From the error message, it just looks like an ordering problem -- ie
we must have param tag before the message tag ; but i may be
oversimplifying things..
On 8/18/07, stanlick [EMAIL PROTECTED] wrote:
Are u using Struts 1.x or 2 ? -- please paste the code from struts xml
and how you are doing the redirect? ; will attempt to answer after
that.
-Joseph
On 8/17/07, Paul Benedict [EMAIL PROTECTED] wrote:
If you switch domains or ports, you will lose your session. Sessions are
usually tied to
Thanks Laurie for your observations..I'm having the key attribute in
struts xml and also setting start to true for the first Action ;
doing this puts the object in session, but updates to it made on the
subsequent pages are not being reflected ; ie when we print it out -
the value from session is
hi i have a little problem..
i am using struts 1.2. when i refresh the target page of a particular Action,
the Action is being re-executed..
for instance.. i hav a jsp called AddAddress.jsp(which is a form for entering a
new address), a form bean called AddressBookForm and an action called
Hi,
use the struts token to avoid multiple form submits or else do something
like submit and re-direct, that will change the URL in the browser and
will not all the same action mapping again.
Thanks,
Nuwan
abhiram wrote:
hi i have a little problem..
i am using struts 1.2. when i
Hi,
I have the following tabbed panel:
s:tabbedPanel id=panel
c:choose
c:when test=${sessionScope.user.departmentMember}
s:div id=myTab label=Mis acogidas autoStart=false
theme=ajax href=%{my} cssStyle=margin: 10px 10px 10px 10px;
listenTopics=/refresh executeScripts=true
Here is a screenshot of firebug:
http://www.upload-images.net/imagen/7915ac25eb.gif
On 8/19/07, Alvaro Sanchez-Mariscal [EMAIL PROTECTED] wrote:
Hi,
I have the following tabbed panel:
s:tabbedPanel id=panel
c:choose
c:when test=${sessionScope.user.departmentMember}
Hi,
I hooked it directly to the onLoad event, and everything works just
fine.
Thanks for the answer.
Greets
Peter
Jeromy Evans - Blue Sky Minds wrote:
ptriller wrote:
i am using an
s:div theme=ajax id=myDiv notifyTopics=myTopic href=someUrl
/s:div
and I have some JavaScript
! thanks for the response.. as i am new to struts, i did not understand the
meaning of submit and redirect that will change the URL in the browser and --
could you xplain a bit more clearly ?
Nuwan Chandrasoma [EMAIL PROTECTED] wrote: Hi,
use the struts token to avoid multiple form submits or
Alvaro Sanchez-Mariscal wrote:
Try prepending an slash, ie, /addProduct. Without it, it also didn't
worked to me.
Also, what happens exactly? Javascript errors? Have you tried
inspecting it with firebug?
Alvaro.
On 8/19/07, Eugen Stoianovici [EMAIL PROTECTED] wrote:
I've tried it with
If the URL changes, then a normal http post is being fired, instead of
an ajax request.
What's your struts.ui.theme in struts.properties? If it is not ajax,
try using theme=ajax in the s:form and in the s:submit tags.
Did you included the s:head tag (http://struts.apache.org/2.x/docs/head.html)?
I know I've used both a OGNL JSTL expression and it's worked fine. For
example both the follwing worked for me:
s:include value=%{filename} /
s:include value=${filename} /
Hi all,
How to use s:include to include a dynamic jsp file?
For instance:
s:include value=%=filename % / does
when I use s:datetimepicker/, it works well except that the icons of that
component cannot be displyed.eg. select a date, Up ,Down
these icons do exist in the struts-core.jar. Why they cannot be displayed?
Anyone knows? Thanks.
when I use s:datetimepicker/, it works well except that the icons cannot
be displayed. These incos do exist in the struts-core.jar,why
thay cannot be displayed?
Many thanks for your replay.
I want to know how to get directory information in struts2 action,when I run
following action:
http://localhost:8080/struts2-blank-2.0.9/example/HelloWorld.action
I want to get the path value http://localhost:8080/struts2-blank-2.0.9 in
HelloWorld.action,such as:
public String execute() throws
Good Day,
I am please to announce that version 0.4 of Connext Graphs includes support
for Bar and
Filled Bar charts.
Have a look at:-
http://cwiki.apache.org/confluence/display/S2PLUGINS/Connext+Graph+Plugin
Get the source at:-
https://connext-graphs.dev.java.net/
If you have any questions
Pic or it didn't happen :)
Don
On 8/20/07, Mark P Ashworth [EMAIL PROTECTED] wrote:
Good Day,
I am please to announce that version 0.4 of Connext Graphs includes support
for Bar and
Filled Bar charts.
Have a look at:-
The project is accessible at https://connext-graphs.dev.java.net/
No it's not.
You have the permissions all outta whack:
Your account does not have the Project Page - View permission needed
for you to access the page you requested in the connext-graphs project
(view your permissions).
Just a suggestion, but you could simplify the action side of things by
moving some of the graph configuration detail (ie controller.getTitle etc)
into the tag itself.
Let us know when the source is available as I'd like to have a look and if
you're interested I'd be happy to help.
Z.
Good
Good Day,
Thank you for your suggestions, I will improve the library with suggestions
from the community.
The project is pending approval on java.net and as soon as it is approved I
will let those that are interested know.
Thank you for your comments.
Regards,
Mark P Ashworth
Don Brown
24 matches
Mail list logo