Hello,
I tried to use that tag also but i had no success... so i just used the
syntax in dojo... as I was using ajax it may differ but the code that i've
done is:
<%
session=request.getSession();
String selectedTab=(String)session.getAttribute("selectedTab");
if (
Hi,
I just upgraded Struts from 2.0.8 to 2.0.11. Now I receive warnings in
the log, such as this:
11:21:46,977 WARN [org.apache.struts2.components.Form] No configuration
found for the specified action:
'https://emtdibs.arc/metaadmin/payreturn.pml' in namespace: '/'. Form
action defaulting to 'ac
--- Erik Marcor Thaysen <[EMAIL PROTECTED]> wrote:
> 11:21:46,977 WARN
[org.apache.struts2.components.Form]
> No configuration found for the specified action:
> 'https://emtdibs.arc/metaadmin/payreturn.pml' in
> namespace: '/'. Form action defaulting to 'action'
attribute's literal
> value.
>
> Q:
Thanks for the feedback, Dave!
Dave Newton wrote:
>> Q: What must I do to take care of the warnings?
>>
>
> Set the debug level of
> org.apache.struts2.components.Form to ERROR or just
> ignore them, at least for now :)
>
>> It all works fine, but then why the warnings?
>>
>
> To warn
When I submit a form, in a div using theme="ajax", the value of property
of submit button not goes to Action.
E.g.
name="valueButton"
theme="ajax"
targets="%{target}"
value="other"/>
If I click in "some" or "other", I want to get the value by
getValue
I've read somewhere, but can't find the reference, that you're correct
that dojo doesn't post the value of the submit button with XHR.
Instead, I always post to different methods in the action - one for each
submit button.
eg.
action="SomeActionMethodA" value="some"/>
action="SomeActionMethod
Hello,
i want to call an action by javascript, when a value in a
field changes. I want to fill my with the data provided by
the action. Any ideas? I don't know a lot of javascript :-(
thanks & greetings from Berlin
-
To unsubs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anyone?
Christopher Schultz wrote:
> All,
>
> I've been a struts 1 user for years, but I've never used the "token"
> capability to avoid double-submissions, etc. I have a question about
> their use and efficacy. The best example I can find is very
>
try this
function submitForm(){
//do the verification you want to...
form.submit();
}
On 10/31/07, Ingo Villnow <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> i want to call an action by javascript, when a value in a
> field changes. I want to fill my with the data provided by
> the actio
On Wed, October 31, 2007 10:19 am, Ingo Villnow wrote:
> i want to call an action by javascript, when a value in a
> field changes. I want to fill my with the data provided by
> the action. Any ideas? I don't know a lot of javascript :-(
There's a couple if ways you could do that... one would be
On Wed, October 31, 2007 10:19 am, Ingo Villnow wrote:
> i want to call an action by javascript, when a value in a
> field changes. I want to fill my with the data provided by
> the action. Any ideas? I don't know a lot of javascript :-(
There's a couple if ways you could do that... one would be
I should also point out the presentation Ted Husted did at The Ajax
Experience last week which dealt largely with APT. The slides for that
presentation are here:
http://ajaxexperience.techtarget.com/images/Presentations/Husted_Ted_RetrofittingStruts.pdf
I'm not quite sure how long they will stay
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
Dave Newton wrote:
> I always put my reset before any long-running work, although I tend
> to disable the submit button via JavaScript anyway.
Thanks, Dave. Is there an elegant solution for this at all? Since
javascriptcannot be relied upon, I
I always put my reset before any long-running work,
although I tend to disable the submit button via
JavaScript anyway.
--- Christopher Schultz <[EMAIL PROTECTED]>
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Anyone?
>
> Christopher Schultz wrote:
> > All,
> >
> > I've been a s
I know there are several threads about this topic, but I found no solution
for my case:
I have model-driven action:
model
... getModel() ...
return model;
and some actions, lets say:
actionA() ...
actionB() ...
Now the following facts:
I have to use visitor field validator for the Mod
Hi all, this is my first post to struts2 mailing list :)
I'm using Struts2 and the gwt plugin by Musachy Barroso, in a portlet
project, and for the front end I'm using Google Web Toolkit (gwt). So I'm
using struts only for the actions, except for the 'default' action, which is
a jsp with struts ta
Thank you, I am going to use the javawebparts.ajaxparts taglib in any
way, now i try to find the cook book :-) thanks
Frank W. Zammetti schrieb:
> On Wed, October 31, 2007 10:19 am, Ingo Villnow wrote:
>
>> i want to call an action by javascript, when a value in a
>> field changes. I want to f
GREAT Thank you very much!!
Frank W. Zammetti schrieb:
> I should also point out the presentation Ted Husted did at The Ajax
> Experience last week which dealt largely with APT. The slides for that
> presentation are here:
>
> http://ajaxexperience.techtarget.com/images/Presentations/Husted_Ted_R
Hi!
The Jsr168Dispatcher only handles requests created as Portlet URLs.
I'm not familiar with GWT so apoligies if my assumptions are
incorrect, but I assume that you're referring to some sort of "partial
request" that updates a section of the page? In that case, it's
correct that it should be invo
Hi, I was hoping to get some help with the date time picker in struts 2.1.
I have added the dojo plugin to my project:
org.apache.struts
struts2-dojo-plugin
2.1.0-SNAPSHOT
My struts.properties declares the 'simple' theme:
struts.ui.theme=simple
I added the
Hi,
Need some urgent help i am deploying a project with struts 2 and spring and
on startup i get this error startup failed because of previous errors. Any
help would be of great help
Have configured in the web.xml
org.springframework.web.context.ContextLoaderListener
contextCo
you need to add to your page.
musachy
On 10/31/07, Brian Relph <[EMAIL PROTECTED]> wrote:
> Hi, I was hoping to get some help with the date time picker in struts 2.1.
>
> I have added the dojo plugin to my project:
>
>
> org.apache.struts
> struts2-dojo-plugin
>
On 10/30/07, Ted Husted <[EMAIL PROTECTED]> wrote:
> A better long-term solution might be to create a standard JSP 2.0
> taglib for Struts 2 that follows the same external API as the Struts 1
> EL tags, and didn't use OGNL at all.
>
> * http://struts.apache.org/1.3.8/struts-el/index.html
>
> This
Hi, thanks for the answer. Yes you are correct, GWT makes special requests
that update a part of a page. I am reading the Portlet spec and I didn't
knew that portlets had custom urls, thanks for the pointer :)
So I guess in order to have access to portlet preferences / principal info /
etc, the be
not sure if you can use it for this, but there is a GWT plugin for struts:
http://cwiki.apache.org/S2PLUGINS/gwt-plugin.html
musachy
On 10/31/07, Miguel Ping <[EMAIL PROTECTED]> wrote:
> Hi, thanks for the answer. Yes you are correct, GWT makes special requests
> that update a part of a page. I
thank you
i have requirements to have the date-picker split up into separate input
boxes instead of a single one ...
i do have an existing split-date date-picker, but i did not write a template
for it, and it also does not have a validator
what would be easier? writing a validator and maybe a t
I recently started using struts 2 by experimenting with webwork and then
moving to struts 2. I want to produce some charts using jfreechart. After
getting the example
(http://wiki.opensymphony.com/display/WW/JFreeChartResult) to work using the
webwork framework I tried it with struts
2(http://str
modifying the current datetimepicker would be near impossible (as you
would en up with a completely different widget :) ), I'd advice to
just use a template with a few fields for the different parts and add
validation.
musachy
On 10/31/07, Brian Relph <[EMAIL PROTECTED]> wrote:
> thank you
>
> i
I am already using the plugin :) Nice work, by the way ;)
I'm having some issue sharing data between portlet sessions and servlet
sessions... The portlet api says that the data in servlet session must be
acessible from the portlet session. But if i put something in the session
map by means of the
What does the config browser think your configuration
is?
I don't know if having two packages with the same
namespace would work or not; I've never tried it.
Doesn't strike me as a good idea even if it did work,
though.
--- swaddee <[EMAIL PROTECTED]> wrote:
>
> I recently started using struts
You have 2 packages with the same namespace, and 2 actions inside with
the same name. So given:
/ccbill/viewModerationChart
there are more than one entry, which is illegal.
Make sure that namespaces are different.
Alvaro.
On Oct 31, 2007 5:51 PM, swaddee <[EMAIL PROTECTED]> wrote:
>
> I recent
If you need to share data between the servlet and the portlet, you
have to put it in the application scope, using the
PortletSession.APPLICATION_SCOPE constant in the setAttribute
operation.
Nils-H
On 10/31/07, Miguel Ping <[EMAIL PROTECTED]> wrote:
> I am already using the plugin :) Nice work, b
I have a variable amount of check boxes with the same name. I want to
submit all of the check boxes weather they are checked or not. Right
now I only get an of array for the ones that are checked.
My form has x number of 'Name' text fields x number of 'Activate'
check boxes for another.
The use
Which version of Struts?
S2 has this capability built-in.
S1 can use the same technique by including a hidden
form field.
d.
--- Richard Sayre <[EMAIL PROTECTED]> wrote:
> I have a variable amount of check boxes with the
> same name. I want to
> submit all of the check boxes weather they are
>
It seems more times than not the war does not load if the viewModerationChart
action is in struts.xml. It doesn't matter what the namespace is. This is
the catalina.out log with namespace="mychart".
Oct 31, 2007 11:27:10 AM org.apache.catalina.startup.HostConfig deployWAR
I am using struts 2. Right now when I submit I only get the values of
the checked boxes by default.
On 10/31/07, Dave Newton <[EMAIL PROTECTED]> wrote:
> Which version of Struts?
>
> S2 has this capability built-in.
> S1 can use the same technique by including a hidden
> form field.
>
> d.
>
> --
Did you fix the package declarations?
Turn up the log level, too.
--- swaddee <[EMAIL PROTECTED]> wrote:
> It seems more times than not
More times than not? Does it work sometimes?
d.
the war does not load
> if the viewModerationChart
> action is in struts.xml. It doesn't matter what the
> n
Default stack?
--- Richard Sayre <[EMAIL PROTECTED]> wrote:
> I am using struts 2. Right now when I submit I only
> get the values of
> the checked boxes by default.
>
> On 10/31/07, Dave Newton <[EMAIL PROTECTED]>
> wrote:
> > Which version of Struts?
> >
> > S2 has this capability built-in.
>
Using the application scope, it shares the attributes with all
servlets and portlets in the same application (the same .war unit),
but it's still only visible to the user session. To get access to the
PortletSession, just use
PortletActionContext.getRequest().getPortletSession().
On 10/31/07, Migu
By the way, if anyone ever want to know how to use GWT and struts2 for
portlet development, I'll be glad to write something up.
On 10/31/07, Miguel Ping <[EMAIL PROTECTED]> wrote:
>
> - But doesn't that share the object in ALL sessions? I want to share a
> specific object per user session. Besides
I´, using the follow div tag :
sx:div href="%{#url_dominio}"
firefox works fine but when I use IE(6 and 7) the error message appers :
Couldn't load content ...
what´s the problem? Is an dojo error ?
Herrera
--
View this message in context:
http://www.nabble.com/-2.1-sx%3Adiv-error-in-
- But doesn't that share the object in ALL sessions? I want to share a
specific object per user session. Besides, I don't know how to acess the
PortletSession. By using SessionAware I can only get a Map, the
PortletSessionMap. The Portlet specs show an example with 3 arguments:
session.setAttribut
Hello,
now i am using the javawebparts.ajaxparts and when i put all the things
in a whole jsp-site, than the ajax is working:
<%@ taglib prefix="ajax" uri="javawebparts/ajaxparts/taglib" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
http:
> I have a variable amount of check boxes with the same name.
> I want to submit all of the check boxes weather they are
> checked or not. Right now I only get an of array for the
> ones that are checked.
Sorry, that's the way HTML works. Checkboxes values are sent only when
the box is checke
I have discovered the problem. I had not put jcommon.jar in lib directory.
It was there for me when using webwork quickstart and I had not realized its
necessity. Thanks for all your help - I don't know if and when I would have
discovered the problem without it.
swaddee wrote:
>
> It seems
If you're using S2's default stack and the S2 checkbox
tags the hidden fields are created for you.
d.
--- "Slattery, Tim - BLS" <[EMAIL PROTECTED]>
wrote:
> > I have a variable amount of check boxes with the
> same name.
> > I want to submit all of the check boxes weather
> they are
> > check
ok, the Text in the index-result is working now, but i want to use the
actions and when i use parameters like
"/employee.do?task=update&ajax=getEmployee" then there comes an error
message "The reference to entity "ajax" must end with the ';' delimiter."
Ingo Villnow schrieb:
> Hello,
>
> now i am
it would be great if you write something up :), you can do it on the
GWT plugin page, or setup a new page on the wiki. You would need to
file a CLA (http://www.apache.org/licenses/index.html#clas) if you
haven't.
regards
musachy
On 10/31/07, Miguel Ping <[EMAIL PROTECTED]> wrote:
> By the way, i
Can you tell where that error is coming from? I don't recognize it as
an APT error, so I'm guessing Struts, but I don't recall ever seeing
that before.
You know what... what happens if you remove the and
tags? Does it work then?
Frank
Ingo Villnow wrote:
ok, the Text in the index-resul
What´s the meaning of attribute tooltip, javascriptTooltip ? Where I find
examples ?...
Herrera
--
View this message in context:
http://www.nabble.com/-s2--meaning-of-javascriptTooltip---tf4728077.html#a13519102
Sent from the Struts - User mailing list archive at Nabble.com.
I referred to the manual and there it suggested to use "parameter"
instead, like this:
value=name
then you can use: String value = (String) request.getParameter("value");
Now i have another problem :-)) I want to use the "std:FormManipulator"
als ResponseHandler, but I have problems with the c
Hi, I have form which allows user to invite other users. A user can invite a
max of 10 users at a time. A row contain First Name, Last Name, and Email
Address.
How should I name these textfields (OGNL expression) and how should I
retrieve these values in Action Class?
First Name
Last Name
E
Hello,
I want to show in my textfield control a formated value.
In my globalMessages.properties I've this
format.number={0,number,###,##0.00}
This code works fine
/>
But can't use it with a id="myFieldValue" label="myFieldValue:"/> and apply the format to it.
?? help!!!
It's a little icon (i) that can be included next to the input's label.
When the user hovers over the icon it pops up a panel with your help
text in it.
I can't find it in use anywhere and I don't ever use it myself. The
best thing to do is create your own form to try it out.
The s:head tag is
in 2.1 the tooltips do not depend on dojo.
musachy
On 10/31/07, Jeromy Evans <[EMAIL PROTECTED]> wrote:
> It's a little icon (i) that can be included next to the input's label.
> When the user hovers over the icon it pops up a panel with your help
> text in it.
> I can't find it in use anywhere a
I would suggest joining the JWP mailing list and re-posting this
question there... the form manipulator handler was written by a member
of the JWP team named Herman, and I know he'd be able to help you out
quickly. I think though that there is an example of that handler in the
JWP sample appli
56 matches
Mail list logo