The HTML Form control only returns selected option from a List control. So
if the user didn't select anything, nothing will be returned.
(*Chris*)
On 3/26/07, temp temp <[EMAIL PROTECTED]> wrote:
I am facing a problem using JS control taglib
I have two perpopulated lists when the page is
Just double checked your fix, still doesn't work for me.
I will let you know how it goes after I finish installing the fix packs.
Antony Stubbs wrote:
>
> Yes I have tried your solution, and I still get those messages, along with
> the lines appended to my js files.
>
> I'm trying to patch We
Yes I have tried your solution, and I still get those messages, along with
the lines appended to my js files.
I'm trying to patch WebSphere now, but am not sure if the fix described here
is available.
You see I think it may be caused by
http://www-1.ibm.com/support/docview.wss?uid=swg24014758 th
If you define WebsphereFilterDispatcher in your web.xml, do you still get
those 'response already committed' -messages?
I'm using 2.0.6 release and managed to get rid of those messages by
defining the filterdispatcher.
But the AJAX problem is still not solved. I'm hoping that someone in
S
I'm talking about struts2. My post was a reaction to that config file. I was
just pointing out what my thoughts were on the best practices. I'm not a
developer on the struts team :)
- Jae
On 4/2/07, joey <[EMAIL PROTECTED]> wrote:
Which version of struts2 are you talking about?
I just found i
Hi All,
What is the life cyle of S2 with regard to
ActionForms,Actions etc
Because S1 got the life cycle where it executes
ActionForm validate method and if success only it goes
to the Action Class.
How this life cycle is addressed in S2, Won't there
any Action form and also validate method's in
Which version of struts2 are you talking about?
I just found in configuration files.
You just confused me.
On 4/3/07, Jae K <[EMAIL PROTECTED]> wrote:
I have a comment about the MailReader tutorial.
This is the action declaration for the Login action:
...
...
To invoke this action, the user
FYI - the same thing is occuring the the struts-blank.war application. (i.e.
the Cannot set status / header. Response already committed messages.)
I have even downloaded the 2.0.7 release and tried using that - no
difference.
Antony Stubbs wrote:
>
> Looks like I've hit the same
> http://www.
I had a few issues while working with tiles 2 / struts 2. Mainly the
problem I found was that the documentation I was reading(
http://struts.apache.org/2.x/docs/tiles-plugin.html ) has incorrect
information.
Correction #1: the taglib uri is NOT <%@ taglib uri="http://struts
.apache.org/tags-til
Hi,
S1 in strusts-config.xml we used to have the following
global exception directive
The errors.general is the key from the resource
bundle.
How can we do the same in S2 with the following in the
struts.xml
Can't we pass a key value from the
--- tom tom <[EMAIL PROTECTED]> wrote:
>of the S1.
>
> I used plain but the image is not
> appearing in my portlet as it ignores the
> application context.
".../>
d.
No need to miss a message. Get ema
Sorry,
Try the following, this is what am using.
try and let me know.
Thanks
--- Harring Figueiredo <[EMAIL PROTECTED]> wrote:
> Tom,
>
> Thanks for the reply. I got it working. But in your
> example, I think you
> have a typo (unbalanced } )
>
>
>
Hi,
What is the S2 equivalent for the following
of the S1.
I used plain but the image is not
appearing in my portlet as it ignores the application
context.
I tried both the following doesnt work
looked after everything.
How to proceed on this with s2 equivalent.
Thanks,
___
Tom,
Thanks for the reply. I got it working. But in your example, I think you
have a typo (unbalanced } )
^
I bet you meant
Thank you again.
Harring
Both way works.
On 4/2/07, tom tom <[EMAIL PROTECTED]> wrote:
I nor
I normally use this,
no complications, did you try above
Thanks
--- Harring Figueiredo <[EMAIL PROTECTED]> wrote:
> Mark,
>
> Thank you very much for the reply.
>
> I did slightly different and it works.
>
>
>
> Thanks again. I think it would be helpful to place
> something like this on
There is no reason why I cannot, I just wanted to attempt a struts-only
approach because then the security realm/namespace is declared along with
the rest of my actions. With container managed security I may easily forget
to synchronize the web.xml and struts files. Not a big problem though.
- Ja
I have a comment about the MailReader tutorial.
This is the action declaration for the Login action:
...
...
To invoke this action, the user agent would first GET request Login_input,
and then POST to Login to submit the form or Login_cancel to cancel, etc.
IMHO this is a *bad* way to declare
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jae,
Jae K wrote:
> Chris,
>
> Thanks for your input. SecurityFilter was on my list as well, and I think
> it's what I will go for. I'm surprised that noone else is familiar with
> this particular problem though.
Note that securityfilter and the AAA
Harring Figueiredo wrote:
Hi Folks,
What is the proper syntax for the tag(the example on
http://struts.apache.org/2.0.6/docs/if.html does not really tell how to get
a object from the session map and test for values.
I have an object on the session map, and I can acess with
However, when I
Chris,
Thanks for your input. SecurityFilter was on my list as well, and I think
it's what I will go for. I'm surprised that noone else is familiar with this
particular problem though.
- Jae
On 4/2/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jae,
Jae K wrote:
> Please let me know the path to take, or whether there is a better way to do
> this. Thanks in advance.
If you want a lot of control over authentication and authorization,
consider looking at securityfilter
(http://securityfilter.s
Mark,
Thank you very much for the reply.
I did slightly different and it works.
Thanks again. I think it would be helpful to place something like this on
the doc pages. I will see if I can get the right to edit the wiki pages.
Harring.
On 4/2/07, Mark Menard <[EMAIL PROTECTED]> wrote:
On
On 4/1/07, davout <[EMAIL PROTECTED]> wrote:
I downloaded the r1.2.7 release and used this as my comparison basis. My IDE
is 'MyEclipse' which uses a Struts 1.2 release.
The xml files are exactly the same. I used the 'beyond compare' file
comparison utility to view this, and there are no differ
On 4/2/07 4:48 PM, "Harring Figueiredo" <[EMAIL PROTECTED]> wrote:
>
Try
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Are you sure it's not shown in the mailing list?
Most likely it's gmail that filters out your own messages sent to mailing lists.
Check this URL:
http://news.gmane.org/gmane.comp.jakarta.struts.user
to see the original list state.
Regards
Dariusz Wojtas
On 4/2/07, Jae K <[EMAIL PROTECTED]> w
This is unrelated to this thread, i'm sorry but I have no choice.
I asked a question on this thread this morning (5 hours ago) but the post
still hasn't shown up on [EMAIL PROTECTED] Does it usually take so
long for a new thread to show up?
- Jae
On 4/2/07, Harring Figueiredo <[EMAIL PROTECTED]>
Hi Folks,
What is the proper syntax for the tag(the example on
http://struts.apache.org/2.0.6/docs/if.html does not really tell how to get
a object from the session map and test for values.
I have an object on the session map, and I can acess with
However, when I test with
The test pa
When using sitemesh a session seems to be always created even when my
application does not need it. Does anyone know how to get rid of the
jsessionid that is generated, it is always picked up by the search engine
robots.
thanks
--
View this message in context:
http://www.nabble.com/-s2--sitem
Ted Husted wrote:
On 4/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
The first thing I would do is fixing the broken links. For example if
you go to the page:
http://struts.apache.org/2.0.6/docs/basic-validation.html
The problem with links like these is that the path is pointing to the
"j
Dave Newton-4 wrote:
>
>
> Spend the $50; good grief.
>
>
Having been down this road, I would venture with the "Don't bother." side
of the argument
In my opinion, while the price is fantastic, you're generally stuck with
versions that lag behind their completely free implementations ( i.e
Hello all, this is a struts2 question. I send this email this morning but I
don't see it on the mailing list, so forgive me if you already saw this.
I'm trying to implement a feature where a custom AuthenticationInterceptor
would redirect the useragent to a login page, and then after the user log
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ashish,
Ashish Kulkarni wrote:
> 3 If the task is ok then this action class should forward the request to
> another action class and also open a new browser window
>
> How can i do step 3,
The only (semi) reliable way to do this is with javascript.
I'm seeing the same issue folks have described below. BTW, the validation
testing described in:
http://struts.apache.org/2.x/docs/how-do-i-unit-test-my-actions-validation-logic.html
did work, at least in Struts 2.0.1. I've entered the following jira issue
on the matter:
https://issues.apache.
Any plans for an Struts 2 port?
regards
musachy
On 4/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi all,
HDIV project is an Apache-licensed Struts' Security extension that adds
security
functionalities to Struts 1.x, maintaining the API and Struts
specification.
This implies that we ca
Hi all,
HDIV project is an Apache-licensed Struts' Security extension that adds security
functionalities to Struts 1.x, maintaining the API and Struts specification.
This implies that we can use HDIV in applications developed in Struts in a
transparent way to the programmer and without adding any
--- [EMAIL PROTECTED] wrote:
> But in Struts 2.0.6, I don't see these files in the
> install directory. They are available only in the
> "src" folder of the installation.
>
> So we should manually copy those files in "src"
> folder to the "WEB-INF" folder?
No.
If your IDE works it should be pu
Hi
I have to handle the following situation.
1. When user click submit on the webpage, the request goes to the action
class.
2 This action class performs some task,
3 If the task is ok then this action class should forward the request to
another action class and also open a new browser window
4 i
Am Montag, 2. April 2007 schrieb [EMAIL PROTECTED]:
> Please suggest me how I go about this. As I am new to struts, I don't mind
> going with struts 1 or struts 2. I also thought it is always good to go
> with the latest version, so that there won't be a question of migrating to
> struts 2 later. W
Am Montag, 2. April 2007 schrieb [EMAIL PROTECTED]:
> Thanks for your response.
>
> I am not migrating from Struts 1 to struts 2. Infact I am new to struts. I
> am just stumbling in configuring my IDE. I am using Eclipse WTP and was
> configuring based on a tutorial http://java.sys-con.com/read/216
--- [EMAIL PROTECTED] wrote:
> I also thought it is always good to go with the
> latest version, so that there won't be a question of
> migrating to struts 2 later. What would you suggest?
> struts 1 or struts 2?
Struts 2, without question.
d.
_
Thanks for your response.
I am not migrating from Struts 1 to struts 2. Infact I am new to struts. I
am just stumbling in configuring my IDE. I am using Eclipse WTP and was
configuring based on a tutorial http://java.sys-con.com/read/216320.htm
But now realized that article used struts 1.1 and
I think that even in the late versions of Struts 1.x the TLD files were
no longer needed in WEB-INF, and were accesible directly from the Struts
JARs. And as another poster said, the thought continued in 2.0 so that
you need even less.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[E
because the datetimepicker is a dojo component, you need to treat it a
little differently.
I use the following:
dojo.event.connect(dojo.widget.byId("myPickerId"), "onValueChanged" ,
"myFunction");
On 4/1/07, VictorD <[EMAIL PROTECTED]> wrote:
Hi,
I am trying to use onchange event with date
I think now I need to reconsider whether to go for Struts 2. The reason
why I went for Struts 2 is that, both Struts 2 and my servlet engine
ServletExec 5.0 supports servlet api 2.4 and JSP 2.0.
Now I think it doesn't matter if I use struts 1.1 are whatsoever.
Please suggest me how I go about
I too like Netbeans, although I now use Eclipse because my company
focuses on using Eclipse and RAD.
I am not sure if I'd recommend MyEclipse for Struts. I heard wonderful
things about it, but when I checked their website I only saw support for
Struts 1.0 and 1.1... not good enough. I'd want at
good catch!
On 4/2/07, C. Adams <[EMAIL PROTECTED]> wrote:
because the datetimepicker is a dojo component, you need to treat it a
little differently.
I use the following:
dojo.event.connect(dojo.widget.byId("myPickerId"), "onValueChanged" ,
"myFunction");
On 4/1/07, VictorD <[EMAIL PROTECTE
2007/4/2, [EMAIL PROTECTED]
<[EMAIL PROTECTED]>:
I am sorry. In struts 2.0.6, those files (struts-config.xml,
struts-bean.tld, struts-html.tld, struts-logic.tld, struts-nested.tld,
struts-template.tld, struts-tiles.tld ) are not available. So where do we
get them?
From your words it seems that
--- [EMAIL PROTECTED] wrote:
> I am sorry. In struts 2.0.6, those files
> (struts-config.xml, struts-bean.tld,
struts-html.tld,
> struts-logic.tld, struts-nested.tld,
> struts-template.tld, struts-tiles.tld ) are not
> available. So where do we get them?
Why would you want them?
d.
___
I am sorry. In struts 2.0.6, those files (struts-config.xml,
struts-bean.tld, struts-html.tld, struts-logic.tld, struts-nested.tld,
struts-template.tld, struts-tiles.tld ) are not available. So where do we
get them?
Vignesh Manickam Periaswamy
Web Application Developer Intern, Information Mana
Hello all, this is a struts2 question.
I'm trying to implement a feature where a custom AuthenticationInterceptor
would redirect the useragent to a login page, and then after the user logs
in, he is redirected to the original request page.
First, I have to send the original request path has a pa
Looks like I've hit the same
http://www.nabble.com/Config-Browser-half-works---java.io.FileNotFoundException-tf3503552.html#a9785373
problem .
Any news? The fix you posted to doesn't work, however it does make the
errors show faster.
It breaks my dojo js, because WebSphere appends the error messa
Hi all
For any IDE, it requires to place struts-config.xml, struts-bean.tld,
struts-html.tld, struts-logic.tld, struts-nested.tld, struts-template.tld,
struts-tiles.tld in the "WEB-INF" folder. But in Struts 2.0.6, I don't see
these files in the install directory. They are available only in the
I have a book coming out (hopefully) in the next month or so via the
infoq.com website. Because of the compressed nature (less than 100
pages) of the format there are less examples than I wanted, but I
believe it will provide useful information to those learning struts2.
/Ian
Dave Newton wro
Yes, I've tried with those options. I'm not getting any debug output in
this case.
Can anyone verify if the struts showcase app examples work. Because to
me it seems that they don't either. Here's code from the sample app.
function treeNodeSelected(nodeId) {
alert(nodeId)//added by
--- Manu Mahajan <[EMAIL PROTECTED]> wrote:
> function treeNodeSelected(){
> alert('Temporary like Achilles')
> }
> dojo.event.topic.subscribe("/treeSelected",
> this, "treeNodeSelected");
>
> theme = "ajax"
> rootNode="%{category}"
> childCollectionProp
Thanks Mike!
Indeed, I'm using document.forms[0].submit() ...
I have replaced by a submit button and it seems to work (I say it seems because
I have another error but my file is on my server)
So thank you very much, I would never think to that without you!
Thank you also to Dave that spent time
Here's my code.
function treeNodeSelected(){
alert('Temporary like Achilles')
}
dojo.event.topic.subscribe("/treeSelected", this, "treeNodeSelected");
I have a feeling that I'm missing some dependancy. Do i need anything
apart from the jars in the blank app?
Dave N
2007/4/2, Edisandro <[EMAIL PROTECTED]>:
Hi guys,
My application uses JSF 1.1 and I would like to use Tiles without having to
use struts.
Many tutorials on the web tell that I can use Tiles without struts by using
the org.apache.struts.tiles.TilesServlet class.
Short answer:
http://tiles.apa
On 4/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
The first thing I would do is fixing the broken links. For example if
you go to the page:
http://struts.apache.org/2.0.6/docs/basic-validation.html
The problem with links like these is that the path is pointing to the
"java" folder rather
--- Gaet <[EMAIL PROTECTED]> wrote:
> It's really nice to have replyiedbut I'm using
> struts 1.3.x...
Oh, well, if you start throwing in all those
requirements...
> I could not use struts 2.x has my web container
> doesn't support JDK 1.5 and cannot be upgraded!
The J4 jars work well; I had
I logged a jira ticket for it, and it will be fixed for 2.0.8:
https://issues.apache.org/struts/browse/WW-1867
as a workaround, instead of using the struts tag, use the html that the tag
generates, and set the onValueChanged attribute, something like:
regards
musachy
On 4/1/07, VictorD <[EM
Just in case : there may be problems when submit is done via javascript.
example :
The input doesn't return "false", the submit is done twice and the first
one is interrupted.
Are you using apache infront of your container ?
Can you look at you access logs ?
Mike
Gaet a écrit :
Hi,
It
Hi,
It's really nice to have replyiedbut I'm using struts 1.3.x...
I could not use struts 2.x has my web container doesn't support JDK 1.5 and
cannot be upgraded!
Do you think it's the same think on struts 1.3.x?
I was wondering if it's not a timeout problem
Thanks anyway
--- Manu Mahajan <[EMAIL PROTECTED]> wrote:
> I'm using Tomcat 5.5
The code I posted is working for me; can you post your
current code? (Personally I won't have access to my
code until this evening, but maybe somebody else can
help.)
d.
___
--- Gaet <[EMAIL PROTECTED]> wrote:
> I use the "upload facility" of struts. Everything is
> well configured as it works for small files but when
> I try to upload a 2Mo file for instance, it fails
>
> Maybe I have a parameter to set but which one (I
> heard that struts accept 250M files by defaul
Hello all,
I'm having problems extending a default theme with Struts 2.0.6. I
am in the process of creating my own theme and have added templates
for various tree-*.ftl files.
I've tried adding a theme.properties file with:
parent = ajax
However on ever page that I try and use any of the
For your information. The tree examples in the struts2 showcase app are
also not working. I have tried on a fresh install of Tomcat. The trees
render properly but nothing happens on clicking the nodes. As of now I
don't have access to any other container so can only test on Tomcat.
Manu Mahaja
I'm using Tomcat 5.5
Tapio Holopainen wrote:
Hi,
Which web container you are using? I have found problems when using
dojo with Websphere.
Regards,
- Tapio
On Mon, 02 Apr 2007 13:34:25 +0300, Manu Mahajan
<[EMAIL PROTECTED]> wrote:
Thanks for the reply Dave, but this is not working for
Ted Husted wrote:
I'd say that someone who is learning the framework is in the best
position to know what other newbies need to know.
What specific changes could we (meaning you) make to the documentation
so that someone else wouldn't have the same problem.
On 4/1/07, [EMAIL PROTECTED] <[EMAIL
Hi,
Which web container you are using? I have found problems when using dojo
with Websphere.
Regards,
- Tapio
On Mon, 02 Apr 2007 13:34:25 +0300, Manu Mahajan
<[EMAIL PROTECTED]> wrote:
Thanks for the reply Dave, but this is not working for me. I have tried
enabling debugging in dojo.
Thanks for the reply Dave, but this is not working for me. I have tried
enabling debugging in dojo. Also tried the following method that I found
in the dojo documentation, apart from trying to assign event handlers to
individual tree nodes.
var handlerNode = dojo.widget.byId("contentTree")
Hi,
I am running into a problem since 1 week and I request your help before to fall
completely CRAZY...
I use the "upload facility" of struts. Everything is well configured as it
works for small files but when I try to upload a 2Mo file for instance, it
fails with the following exception :
--- Manu Mahajan <[EMAIL PROTECTED]> wrote:
> Do I have to use some dojo specific code here?
I've been using the Dojo binding stuff; my sample is
from a pretty long time ago now but here it is in case
it helps. It might just make things worse ;)
The Javascript:
function treeNodeSelected(nodeId)
I am unable to capture any events with a dynamically created tree.
My jsp code is pasted below. The tree renders correctly. I have tried
using tags like onclick, onchange etc but it doesnt seem to be working.
Do I have to use some dojo specific code here?
<%@ taglib prefix="s" uri="/struts-t
Hi ,
I want to desubscribe from the mail list. Please dont send me the mails any
more.
regards,
pavan.
--
Pavan
Hi ,
I'm getting error in the select tag of Struts2, while running application in
jetty server... At first time its giving the error and if I restart the
server then at time its working fine(Its work fine in Tomcat at first
instance itself)
Error Stack trace for your reference:
list size f
76 matches
Mail list logo