RE: Outputting raw HTML with s:property tag

2007-12-31 Thread Al Sutton
Have a look at; http://struts.apache.org/2.x/docs/property.html And read the parameters section, the answer starts with an e. -Original Message- From: shai200 [mailto:[EMAIL PROTECTED] Sent: 31 December 2007 06:35 To: user@struts.apache.org Subject: Outputting raw HTML with s:property

RE: Submit buttons

2007-12-31 Thread Al Sutton
Bingo! I've changed the name to be btn_%{id} and check for a parameter starting btn_ using the ParameterNameAware interface. Thanks Paul. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Benedict Sent: 28 December 2007 20:56 To: Struts Users Mailing

Requested resource not found

2007-12-31 Thread AbelMacAdam
Hi, At the moment I'm bootstrapping my Struts knowledge. I use code from a book to see what happens (Struts Design and Programming, a Tutorial). To develop I use Eclipse Europa, the JEE version. I also have WTP installed, so I should be able to run the application in Tomcat from Eclipse. But

Re: Requested resource not found

2007-12-31 Thread Dave Newton
--- AbelMacAdam [EMAIL PROTECTED] wrote: That means (IMHO) that my app could be accessed using the following URL: http://localhost:8080/app15a/createCustomer.do. But looking at the error I can only conclude it could not. So what I'm now wondering is whether my configuration is as it should be.

dojo in struts

2007-12-31 Thread harpreet1433
I am very new to struts2 and dojo I want to know how to call action with the help of ajax/dojo from jsp page I have 2 html option lists I have to retrieve data for second list from action based on select option of first. Bassicaaly I want to know how to implement dojo on jsp page in struts 2

RE: Outputting raw HTML with s:property tag

2007-12-31 Thread shai200
Yuhooo!!! Trivial, thanks (I couldn't find the answer). Second question - how can I use struts tags as output (i.e. s:textarea ) ? Can Struts in turn convert them into HTML code by outputting Struts HTML tag using s:property ? Al Sutton-4 wrote: Have a look at;

global exception handling

2007-12-31 Thread Srinivas Surapaneni
Is there a way to go the current page when an exception occurs? I don' tknow the page name. I want to get the current page dynamically. I want to define a globally which appplied to all actions Thanks srinivas

viewing field errors at custom location

2007-12-31 Thread ravi_eze
hi, I need the field errors to be displayed at a custom location instead of to the right (as we see in default case). any ideas/ links as how to get this done? regards, -- View this message in context: http://www.nabble.com/viewing-field-errors-at-custom-location-tp14557126p14557126.html

Re: dojo in struts

2007-12-31 Thread Dave Newton
--- harpreet1433 [EMAIL PROTECTED] wrote: Bassicaaly I want to know how to implement dojo on jsp page in struts 2 Have you read either the Dojo or S2 Ajax tag lib documentation? d. - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Outputting raw HTML with s:property tag

2007-12-31 Thread Dave Newton
--- shai200 [EMAIL PROTECTED] wrote: Second question - how can I use struts tags as output (i.e. s:textarea)? Can Struts in turn convert them into HTML code by outputting Struts HTML tag using s:property ? You mean you want to display the (escaped) HTML created by a tag? d.

Re: TabbedPanel question

2007-12-31 Thread Raghuveer Rawat
You need to customize CSS for tabbbed panel... Have a look on below link.. http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/org/apache/struts2/static/dojo/src/widget/templates/TabContainer.css?view=markup There is tabbed panel attribute for loading this

Re: viewing field errors at custom location

2007-12-31 Thread Dave Newton
--- ravi_eze [EMAIL PROTECTED] wrote: I need the field errors to be displayed at a custom location instead of to the right (as we see in default case). any ideas/ links as how to get this done? Start here: http://struts.apache.org/2.x/docs/themes-and-templates.html d.

RE: Outputting raw HTML with s:property tag

2007-12-31 Thread Al Sutton
I think he's after letting users enter HTML into an input field and allowing them to edit it later maintaining BLAH rather than getting lt;BLAHgt; Something tells me he's not tried it yet :). Al. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 31 December 2007

Re: Display tag and target div

2007-12-31 Thread Raghuveer Rawat
Hi, Wish everyone a very happy and prosperous New Year 2008. I am struggling with this problem from last 3-4 days...displaytag output is opening in new windowdon't know if anyone tried loading jsp containing displaytag through s:div Even if you have some thoughts, I can try implementing

problem in tab layout

2007-12-31 Thread Vidhyakar Kadarkarai
hi, i have a problem while using tabs. There two tabs in my application. when i submit the form in the first tab, will get the result page in the second tab. In the second tab, there is a link which will open another page in the same tab. After that, when i go to the first tab, i can see the

Re: problem in tab layout

2007-12-31 Thread Raghuveer Rawat
Probably a bug in tabbed panel... you can go though previous messages on tabbed panel... Some replied that this bug will be fixed in struts 2.1 What version are you using? On Dec 31, 2007 8:56 AM, Vidhyakar Kadarkarai [EMAIL PROTECTED] wrote: hi, i have a problem while using tabs. There two

Re: problem in tab layout

2007-12-31 Thread Raghuveer Rawat
I was talking about below issue...do you have this same issue? http://www.nabble.com/-S2.0.11--TabbedPanel-remote-div-loads-twice-on-notifyTopic-td13733215.html#a13733215 There was one more issue which seems to be resolved in 2.0.9

Re: wrong request parameters sent

2007-12-31 Thread ravi_eze
hi, when i replace the provided code with: for (var i = 0; i form.elements.length; i++) { var e = form.elements[i]; if (e.name != null e.name != '') { if(e.type =='checkbox'){ if(e.checked==true)

Re: wrong request parameters sent

2007-12-31 Thread ravi_eze
i somehow feel checkboxes are not properly handled in struts 2.x any controversies??? ravi_eze wrote: hi, i have 3 checkboxes(c1,c2,c3) enclosed in a form (theme: ajax; validate=true). I am trying to get the validation done by ajax and when i un-check all boxes or check some of the

Re: problem in tab layout

2007-12-31 Thread Vidhyakar Kadarkarai
the normal loading of two of the tabs are working fine. The problem that i face is only when a link is clicked on the second tab and after that if i click first tab, i can see the other page content in the first tab. Thanks and Regards, Vidhyakar K, Extn:- 7191 Off:- 91-44-22537191 Mob: -

Re: problem in tab layout

2007-12-31 Thread Raghuveer Rawat
Can you copy your sample code here? That will make things more clear... On Dec 31, 2007 9:36 AM, Vidhyakar Kadarkarai [EMAIL PROTECTED] wrote: the normal loading of two of the tabs are working fine. The problem that i face is only when a link is clicked on the second tab and after that if i

Re: problem in tab layout

2007-12-31 Thread Dave Newton
--- Vidhyakar Kadarkarai [EMAIL PROTECTED] wrote: This document is classified as : ( ) LT Infotech Proprietary Confidential ( ) LT Infotech Confidential (x) LT Infotech Internal Use only ( ) LT Infotech General Business Information Hrm. d.

RE: problem in tab layout

2007-12-31 Thread Al Sutton
That reply is calssified as () In-line with general opinion ( ) Unreasonable ( ) Unacceptable -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 31 December 2007 15:12 To: Struts Users Mailing List Subject: Re: problem in tab layout --- Vidhyakar Kadarkarai [EMAIL

Re: form submission doesn't work with ajax theme

2007-12-31 Thread Jeancarlo
Hi, I'm using maven, the version of maven is 2.0.8. The jvm version is 1.6.0_03. The struts version is 2.0.11 and the dwr version I changed to 1.1.3. The jetty version is 6.1H.5-beta. I don't have the autocompleter in that page, although I'm going to use it and I'll change the class to

HNY

2007-12-31 Thread Li
Hi guys, Happy New Year to you and happy new year to Struts too. Regards Li -- Small win by playing smart Big win by playing honest

RE: Outputting raw HTML with s:property tag

2007-12-31 Thread shai200
No, I want the output of my action to be yet another Struts tag (with an s: suffix) which is translated into its HTML equivalent - so for example: If my JSP file includes: s:property value=property1 then the output of myAction.getProperty1 will be the following code: s:property

Re: HNY

2007-12-31 Thread Roberto Nunnari
Yes. Happy new Year to all the smart and nice struts people! Best regards. -- Robi Li wrote: Hi guys, Happy New Year to you and happy new year to Struts too. Regards Li - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: HNY

2007-12-31 Thread Dave Newton
--- Roberto Nunnari [EMAIL PROTECTED] wrote: Happy new Year to all the smart and nice struts people! Now I feel left out. d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: HNY

2007-12-31 Thread Martin Gainty
smart means you're included..Martin __Disclaimer and confidentiality noteEverything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution

RE: HNY

2007-12-31 Thread Al Sutton
No, it's the nice part he fails on :). Only kidding (love ya really dave). Happy new early Friday... I mean new years to everyone (dumb and nasty people included). Al. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 31 December 2007 18:05 To: Struts Users

RE: TabbedPanel question

2007-12-31 Thread Martin Gainty
Pablo you can set highlightColor attribute which will set colour for any ids specified via targets=http://struts.apache.org/2.x/docs/tabbedpanel.html Saludos CordialesMartin__Disclaimer and confidentiality noteEverything in this e-mail and any

Re: HNY

2007-12-31 Thread Roberto Nunnari
hehehe.. yes.. Happy new Year to the dump and nasty, too! :D -- Robi Al Sutton wrote: No, it's the nice part he fails on :). Only kidding (love ya really dave). Happy new early Friday... I mean new years to everyone (dumb and nasty people included). Al. -Original Message- From:

regex validation problem

2007-12-31 Thread supa charoenchit
Hello, I am having a problem validating a password field. My requirement on my password is that it must be: 8 characters minimum length and contain at least one from each of the following groups: [a-z], [A-Z], and [0-9]. Here is what I have so far (which is not working): field

Re: HNY

2007-12-31 Thread Nuwan Chandrasoma
Happy new year everyone.. , Thanks Al, for including ppl like me ;) Regards, Nuwan Al Sutton wrote: No, it's the nice part he fails on :). Only kidding (love ya really dave). Happy new early Friday... I mean new years to everyone (dumb and nasty people included). Al. -Original

Re: wrong request parameters sent

2007-12-31 Thread ravi_eze
hi any help? ravi_eze wrote: hi, i have 3 checkboxes(c1,c2,c3) enclosed in a form (theme: ajax; validate=true). I am trying to get the validation done by ajax and when i un-check all boxes or check some of the boxes i see that always c3 is being set in request parameter. when i