In Console we get this result only once the i will get param next time it
goes to null.i am using doubleselect for this
getServiceOwnerId-->7099107119529255786
query
select SUBSCRIPTION_ID, SUBSCRIPTION_NAME from SUBSCRIPTION where
CONTENT_
Hi Friends,
http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html#TroubleshootingguidemigratingfromStruts2.0.xto2.1.x-ExplicitlysettheincludeParamsattributeonallurltagsto%2522get%2522ifitisnotspecified.
web.xml suggest to change it and
ActionMappingParams
P
Hi Friends,
I am not able to understand why my parameters are not being accepted by my
action class.please help to resolve this.i included defaultStack after i
dint able to make it by .please find action class,jsp,stryts.xml
ServiceOwnerAndSuscriptionDetails.java
package com.teleparadigm.mms.app
i resolved this senario by replacing JSP as
>
--
View this message in context:
http://www.nabble.com/s%3Acheckboxlist-is-there-a-way-to-do-checked-unchecked-tp22633750p22635748.html
Sent from the Struts - User mailing list archive at Nabble.com.
--
i resolved this senario by replacing JSP as
>
--
View this message in context:
http://www.nabble.com/s%3Acheckboxlist-is-there-a-way-to-do-checked-unchecked-tp22633750p22635745.html
Sent from the Struts - User mailing list archive at Nabble.com.
--
i resolved this senario by replacing JSP as
>
--
View this message in context:
http://www.nabble.com/s%3Acheckboxlist-is-there-a-way-to-do-checked-unchecked-tp22633750p22635741.html
Sent from the Struts - User mailing list archive at Nabble.com.
--
Hey i think its fix and its working fine... :)
--
View this message in context:
http://www.nabble.com/doubleselect-doubleonchange-and-other-doubleon-methods-not-implemented-tp22618980p22621090.html
Sent from the Struts - User mailing list archive at Nabble.com.
i am sucessfully able modify doubleselect.ftl file as in attachment and make
a jar.i got proper response for onBlur but other wont work..i.e
doubleOnchange,...etc
Please Help! http://www.nabble.com/file/p22620259/doubleselect.ftl
doubleselect.ftl
--
View this message in context:
http://www.nab
Hi Friends,
Please help me to set fixed doubleselect.ftl in my application.i have
replace this file from struts2-core-2.1.6\template\simple and used cmd to
make jar again...
jar -cvf struts2-core-2.1.6.jar .
but above dint resolve my problem. :(
http://translate.google.co.in/translate?hl=en&sl
why forum skips
files \MMSApplication\WebRoot\WEB-INF\lib in bracket and param
name="allowedTypes" in struts.xml while i post it ? :(
application/vnd.ms-excel
--
View this message in context:
http://www.nabble.com/Fileupload-%3A-Restricted-contentType-is-working-fine-but-no-proper-error-messag
I think if jars are not included properly it would not even allow me to
submit correct files() but i can do every thing and more over its telling
the file is not a correct contentType but no message is shown to user in
browser :(
i even kept
struts.properties
struts.custom.i18n.resources=MMSApp
Error on Console
Mar 16, 2009 4:50:49 PM
com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
SEVERE: Content-Type not allowed: upload "simplifiedapi.pdf"
"upload__1ed47216_1200f02e810__8000_0001.tmp" application/pdf
Error on Browser
HTTP Status 500 -
type Exception report
mes
I have included this but still errors wont be send to end user and more over
surprizingly why the forum trims these lines when i copy/paste from my
struts.xml :(
image/png,image/gif,image/jpeg
--
View this message in context:
http://www.nabble.com/Fileupload-%3A-Restricted-contentType-is-workin
Hi Ravindra,
I have done it but really dont no why it dint got pasted properly on forum
image/png,image/gif,image/jpeg
Hi,
Please help me to show error messages.when we restrict the contentTypes as
shown in the link
http://struts.apache.org/2.0.11.1/docs/file-upload-interceptor.html
The contents are restricted but the error wont be shown to end user how to
make it work please help me!
struts.xml
Hi please see Answers in bold
Greg:
Sorry, I can't understand what you are talking about in scenario 1, on a
redirect result there is no output response except the http redirect
command.
Sajid:Its normal Ajax call no redirect.
signup.jsp
Service Owner
function avalibility(username) {
Hi Greg,
its like there are two scenarios
1.When i do Ajax call if there is no user available i will allow him to
register if not i will need to show an error.i in action add action errors
which wont me shown to user instead they will be as part of output response
to Ajax call
2.Here we are no
Hi Friends,
How can we show ActionErrors,ActionMessages,FieldErrors in Ajax call using
struts2.1.6.i tried to do the following
http://glindholm.wordpress.com/2008/07/02/preserving-messages-across-a-redirect-in-struts-2/
you can see my comments on this too
tried
Unable to preserve erroe messa
Hi
I am using other fileds with Tree when we do submit i am checking whether
the field is empty or not if empty i add action error and redirect it to
same jsp.in this case tree vanish.
so i tried to declare a variable (Category treeRootNode) in action
class(where i evaluate the field) with
Hi Kavita,
If you use http://www.nabble.com/Please-help-to-get-Arabic-i18n%28internationalization%29-using-struts2.1.6-tp2312p22437387.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e
Hi Friends,
Please help me to understand why validation framework is not working
http://www.nabble.com/file/p22431543/CompleteFiles.rar CompleteFiles.rar
--
View this message in context:
http://www.nabble.com/What%27s-wrong-with-my-Validation-framework-it-was-working-fine-b4-but-now-its-
UserAvailabilityAction .java
package com.teleparadigm.mms.application.useravailability;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.struts2.interceptor.ServletRequestAware;
import com.opensy
can go with static initialization as shown in dynamic tree
example.composeMMS.jsp is where i am rendering the tree.other files are
propitiatory and cant share
--
View this message in context:
http://www.nabble.com/Cross-Browser-issues%21-tp22414428p22427511.html
Sent from the Struts - User maili
dynamicTreeSelect.jsp
<%...@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<%
System.out.println("in jsp nodeId-->"+
request.getParameter("nodeId"));
System.out.println("in jsp nodeName-->"+
request.getPa
Hi friends,
is
How to resolve cross browser issues.i was doing dynamic tree in firefox it
works fine but in IE the div wont be updated .later i come to conclusion its
bcoz if innerHTML or table,tr,td tags.in the showcase example we don't use
any tables so it works fine onc u wanna use table it sc
Can you send sample application to sajidbig...@gmail.com.
how ajax call and how get respose using yahooUI
Thanks
--
View this message in context:
http://www.nabble.com/username-availability-check-tp22372427p22378670.html
Sent from the Struts - User mailing list archive at Nabble.com.
hi friends,
can some one help me to do username availability check using struts2.1.6
and ajax.where user enter user name ajax call will check availability from
database and if user aleady in database throws error otherwise allow user
to enter other details.i tried to accomplish it by using bind
Hi Friends,
I tried to check whether the user is available or not by using ajax
funtionality as shown below
In action i get parameter "id" but not "username" and i want a event to be
fired onblur to a testfield and using the textfield data i want to check
availability if the user does't exists
As said below is that a only solution or can we set theme=xhtml for
fielderror tag with in the form which uses theme= simple.
but we will be rendering error after the filed not the above as xhtml
does.how can we make it to render it above the field instead below the
field?
clientn
how can we retrive key in valication file the key here is arabic which is
not being retrieved in proper i18n
is there any other alternate to make sure we get right field error with i18n
password eq password2
--
View this
Do you have an example of ajax as taking textfield like username and
invoking action to check whether the username is available or not and if
available ask user to enter another username or make the same filed empty
i tried to accomplish this by folowing
dojo.event.topic.subscribe("/after",
How can i render this text filed to have color for (*) with space as its
required field how can i make this field to show * in some color with space
and then label for example
* space or tab User name
how i need to modify below field to get as above
--
View this message in context:
http://
Hi List,
I think we need to fix this issue by adding one more tag as for example
http://www.nabble.com/when-we-add-any-UI-Tag-how-can-we-eliminate-next-line-tp22284662p22303099.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
I want to add three button as shown below in a same row but i am not able
to make it.i tried using table ,tr,td but still when ever i place
--
View this message in context:
http://www.nabble.com/when-we-add-any-UI-Tag-how-can-we-eliminate-next-line-tp22284662p22284662.html
Hi List,
I was trying to apply style to my label as shown below.i want it to be in
center of my form and bold how can i do it?
--
View this message in context:
http://www.nabble.com/how-can-we-apply-style-to-label---tp22284249p22284249.html
Sent from the Struts - User mailing list archive a
Hi Dave,
Its like when i tried struts2-blank-2.1.6.war example and its working
fine.here the logic is not much more complicated.here returns proper i18n even Arabic.
this tag wont return proper Arabic i18n
.unless we do . i really dint
understand how come spanish ,german work but not Arabic.
we can make it in Spanish,German and few but few we cant.which we cant is
Arabic. is this a bug can i report to devlopment list?can any one help me
out? :(
--
View this message in context:
http://www.nabble.com/Please-help-to-get-Arabic-i18n%28internationalization%29-using-struts2.1.6-tp2312
i have changed
to
Still problem din't resolved.
How about these too are not i18n only
works fine
More over i am able to see following warnings in console
Feb 28, 2009 12:56:15 PM
com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
WARNING: Could not find property [theme]
Feb
Hi,
have you tried this.
Thanks,
Nuwan
Hi Nuwan,
I tried and i got it as you said to
Can you please elaborate what exactly it conveys to browser and what was
going wrong ?
But still that doest
Hi Nuwan,
Thanks a lot for your quick response.
I am doing that by using following site
http://www.utf.ru/tables/arabic.html
i am using sample example struts2-blank-2.1.6.war
HelloWorld.jsp
ar
Arabic
package_ar.properties
HelloWorld.message=
Hi Numan,
I am doing that by using following site http://www.utf.ru/tables/arabic.html
i am using sample example struts2-blank-2.1.6.war
HelloWorld.jsp
ar
Arabic
package_ar.properties
HelloWorld.message= ت
requiredstring = ${getText(fieldName)}
Hi Friends,
I tried struts2-blank-2.1.6.war example and its working fine.but when i
tried to make it arabic locale i am not able to make it :(
with reference to below link i am also facing same problem for Arabic.plz
help!
http://mail-archives.apache.org/mod_mbox/struts-issues/200902.mbox/%3c40
42 matches
Mail list logo