hardik_982 wrote:
--PS. The styles may be documented somewhere at www.dojotoolkit.org for
0.4.0 but I don't recall ever seeing it.
i think you tell about
http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/themes-and-design/overriding-and-combining-themes
Yes, but that's for Dojo 0.9
Yuval Rotem wrote:
Hi,
Does the sx:submit tag (in Struts 2.1) supports non-Ajax submit? In
other words, can it provide the functionality of the non-Ajax s:submit
tag?
(If I understand correctly it doesn't, just wanted to verify - maybe I'm
missing something here).
If the browser has
--- sagarlotiya [EMAIL PROTECTED] wrote:
When i will try to change locale without login it don't work.
But once i will login in to the application i can change the locale.
I am using Interceptor for login validation , does it creates any
problems.?
Hard to say.
You haven't really provided
I USE STRUTS 2.0.11
I want to say
i am completely zero in dojo
i could not understand docs of it can nt achieve to change tab style
hey i find that there is complete source available of struts 2.0.11 in
directory
basically tabs.css contain in xwork.jar
and it is built from
hi,
I use displaytag (http://displaytag.sourceforge.net). If you can live
without a natively AJAX-enabled pagination library, displaytag is
excellent. I like very much the concept of display Decorators, produces
a very clean design and perfect separation of concerns.
Workarounds exist to
hi
you are right?
Let me describe the problem in detail.
i have one application in struts2.
I have made one interceptor that is called Login Interceptor in that i am
checking for whether user is valid or not If valid then i will allow them to
login otherwise redirect back that user to login
Just override the css by creating your own CSS file and including it in
your page.
Take a look at the showcase:
http://www.planetstruts.org/struts2-showcase/ajax/tabbedpanel/example2.jsp
If you view the generated source using the Firefox plugin I mentioned
before you'll see this html:
div
haii friends...
am using Struts framework
i have two forms..form1 and form2...both in jsp
the form2 has to be included in form1...
the problem is:
with corresponding to values from pop up box in form1, i want to populate
pop-ups in form2that means values in form2 is based on values from
2008/2/22, shreya_2008 [EMAIL PROTECTED]:
Below is what i wrote in action.
Statement stmt=con.createStatement();
Err... a statement creation in an action? You'd better read some theory
before :-)
But the problem is I am not getting how to deal with multiple records.
Of course we store them
Hii,
I am a beginner in struts..I want to retrieve few records from database
and display in jsp page.First i tried assuming only one record is returned
by the query..
Below is what i wrote in action.
Statement stmt=con.createStatement();
ResultSet rs=stmt.executeQuery(query);
if(rs.next())
{
Yeah i know i am somewhere in the mid of chaos.Let me try..Thanks...
--
View this message in context:
http://www.nabble.com/Struts-basic-display-search-results-in-jsp-tp15631512p15632075.html
Sent from the Struts - User mailing list archive at Nabble.com.
great dude
i have installed firebug, its amazing!
thanks
--
View this message in context:
http://www.nabble.com/change-in-struts-tabbedpanel-style-tp15628786p15632074.html
Sent from the Struts - User mailing list archive at Nabble.com.
HI ,
I think it do not remove the data in the session after we invalidate it.
So do you have any idea of removing the data in the session.
Thank you
sanjeewa
-Original Message-
From: hardik_982 [mailto:[EMAIL PROTECTED]
Sent: Friday, February 22, 2008 12:28 PM
To:
I have use your logic like this
%@ page contentType=text/html;charset=UTF-8 language=java %
%@ taglib prefix=s uri=/struts-tags %
html
head
s:head theme=ajax/
style type=text/CSS
.dojoTab {
position : relative;
The specific problem is that your inline CSS occurs before your link to
tabs.css, so tabs.css overrides yours. Switch the order!
I don't think you should be importing tabs.css yourself - dojo will
import it for you (check in Firebug, it'll be listed twice if it's not
needed). I've never
--- Sanjeewa Saman [EMAIL PROTECTED] wrote:
I think it do not remove the data in the session after we invalidate it.
So do you have any idea of removing the data in the session.
((org.apache.struts2.dispatcher.SessionMap)
ActionContext.getContext().getSession()).clear();
It might have been
Am Donnerstag, 21. Februar 2008 20:21:33 schrieb Maria Lujan Salvadori:
Hello, is it available the new version 2.1? Where can I download it? We
want to migrate our project from 2.0.11 to 2.1 but we cannot find it
Be aware that there are a lot of incompatible changes between 2.0 and 2.1, so
hi,
There was also started a troubleshooting/migration guide from 2.0.x to 2.1.x
http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html
regards,
Giovanni
Piero Sartini wrote:
Am Donnerstag, 21. Februar 2008 20:21:33 schrieb Maria Lujan Salvadori:
Hello,
Why break up the value? plus, I think name is deprecated... Does this work -
s:set var=imgShowExpand scope=page value=%{#attr.imgExpandId} /
-Wes
On 2/22/08, Hoying, Ken [EMAIL PROTECTED] wrote:
I was using the following statement under Weblogic which worked
perfectly:
s:set
--- Hoying, Ken [EMAIL PROTECTED] wrote:
I was using the following statement under Weblogic which worked
perfectly:
s:set name=imgShowExpand scope=page value=%{'\'' +
#attr.imgExpandId + '\''}/
However, we have recenly changed out our appication server to Jboss
Is it JSP 2.1? It may be
I was using the following statement under Weblogic which worked
perfectly:
s:set name=imgShowExpand scope=page value=%{'\'' +
#attr.imgExpandId + '\''}/
However, we have recenly changed out our appication server to Jboss and
now this statement appears to be evaluating to null. I do not appear
--- M.Liang Liu [EMAIL PROTECTED] wrote:
I would like to know how long it will last?
Do you mean you want to know when it will be released? That I don't know.
Dave
newton.dave wrote:
--- Maria Lujan Salvadori [EMAIL PROTECTED] wrote:
Hello, is it available the new version 2.1? Where can I
Just thought it's worth pointing out that displaytag does tables, whereas google
search results are actually table-less.
I'd be very interested if anyone knows whether displaytag or any other project
is or will offer a table-less solution.
There are so many extras that would be nice to have
Hi,
I need to perform database access for validation. Is the best place to do
this in my ActionSupport-derived class? If so, how can I mark which fields
have validation errors?
Thank you in advance for any advice.
*** IMPORTANT
NOTE* The
Anyone? I'd also like to see this example...
-Ryan
-Original Message-
From: thogau [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 10:39 AM
To: user@struts.apache.org
Subject: dependant s:select updated with ajax : how?
Hi,
I know this has been asked several times on
Using displaytag defining a 1-column table, no borders, and the right
Decorator implementation you get your table-less Google.
But OK then you would risk having a Decorator producing HTML, though
this could be avoided by using some template-based framework e.g. velocity.
regards,
Giovanni
For s:textfield tag how to get value for title attribute from resource
bundle.
I tried using fmt:message but seems the struts2 is not recognising this
inside the title tag and considering it as plain text.
Please let me know if there exists a way to do the same
For eg i tried
td
Try this :
s:textfield theme=xhtml label= key=categoryName
cssClass=fieldGreen validate-alpha value=
title=%{getText('category.categoryName')} id=categoryName/
http://struts.apache.org/2.0.11/docs/localization.html
Julien
-Message d'origine-
De : VJ22 [mailto:[EMAIL PROTECTED]
Hi Giovanni,
I want the results to be dislayed as they are in the Google Search results
page,not in a table form.Any help please?
Thanks,
Aarthy
Giovanni Azua-3 wrote:
hi,
I use displaytag (http://displaytag.sourceforge.net). If you can live
without a natively AJAX-enabled pagination
hi,
As I said in the previous email. A straightforward way using displaytag
would be defining a one-column table and define a decorator that will
produce the free format you want to produce. If you configure displaytag
to not show borders (look in displaytag css) and also configure the
Is it possible to copy nested properties from one bean to another using
beanUtils?
-
Never miss a thing. Make Yahoo your homepage.
http://www.google.com/search?hl=enq=beanutils+copy+propertiesbtnG=Search
On Fri, Feb 22, 2008 at 11:05 AM, temp temp [EMAIL PROTECTED] wrote:
Is it possible to copy nested properties from one bean to another using
beanUtils?
-
Never miss a thing.
Our domain is http://www.example.com
Our app context is products, so URL for the app is
http://www.example.com/products
We have a package/namespace defined as follows,
package name=sub_product namespace=/sub_product
extends=tiles-default
action name=content
result
--- [EMAIL PROTECTED] wrote:
I need to perform database access for validation. Is the best place to do
this in my ActionSupport-derived class?
Probably, depending on how your business logic is designed. It's fairly
common (AFAIK, anyway) to do simple validation via annotation- or
--- Stanley, Eric [EMAIL PROTECTED] wrote:
Anyone? I'd also like to see this example...
Using Dojo?
Are there really no examples of that on the Dojo site?
Dave
-Original Message-
From: thogau [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 10:39 AM
To:
Hi,
I'm iterating over a collection of String, and for each of these String
I want to access the value inside a map with that String as a key.
I have tried:
s:iterator id=theKey value=allKeys
s:property value=map[[0]] /
/s:iterator
And
s:iterator id=theKey value=allKeys
I wrote a TypeConverter and configured S2 with xwork-conversion.properties to
use it so:
org.permacode.patternrepo.domain.Market=org.permacode.atomic.web.DomainObjectTypeConverter
as per the wiki.
However, from debugging it looks as though struts is completely ignoring the
TypeConverter and
--- David Loup [EMAIL PROTECTED] wrote:
s:iterator id=theKey value=allKeys
s:property value=map[theKey] /
/s:iterator
s:iterator value=theMap
s:property value=key/ = s:property value=value/
br/
/s:iterator
or
s:iterator value=theMap id=foo
s:property value=#foo.key/ = s:property
Hi Dave,
Thanks for your reply, but that's not exactly what I'm trying to do.
I don't want to iterate over the map, but over another collection (my
allKeys, which is for example a List).
For each value inside that list, I want to get the corresponding value
from the map.
E.g:
allKeys =
Oh, sorry.
--- David Loup [EMAIL PROTECTED] wrote:
Thanks for your reply, but that's not exactly what I'm trying to do.
I don't want to iterate over the map, but over another collection (my
allKeys, which is for example a List).
For each value inside that list, I want to get the
Dave Newton wrote:
--- Sanjeewa Saman [EMAIL PROTECTED] wrote:
I think it do not remove the data in the session after we invalidate it.
So do you have any idea of removing the data in the session.
((org.apache.struts2.dispatcher.SessionMap)
ActionContext.getContext().getSession()).clear();
See the section linking 2 autocompleters here:
http://struts.apache.org/2.x/docs/ajax-and-javascript-recipes.html
Same example is in the Showcase application.
musachy
On Fri, Feb 22, 2008 at 11:56 AM, Dave Newton [EMAIL PROTECTED] wrote:
--- Stanley, Eric [EMAIL PROTECTED] wrote:
Anyone?
Still not enough information to say for sure, but:
login otherwise redirect back that user to login page...
...
i am passing request_locale paramter in url
you realize that a redirect will lose the request parameter, right?
If that isn't the clue you're looking for, post some configuration:
mule_user wrote:
This is the scenario using Struts 1.1:
User Interface - MyAction1 (input is Form1)- MyAction 2 (input is Form2)
-User Interface
MyAction1 and MyAction2 are Action classes.
MyAction1 and MyAction1 are configured in struts-config.xmxl.
MyAction1 takes Form1 as input.
smart acer wrote:
Our domain is http://www.example.com
Our app context is products, so URL for the app is
http://www.example.com/products
We have a package/namespace defined as follows,
package name=sub_product namespace=/sub_product
extends=tiles-default
action name=content
result
Hi all,
In most web applications, it is unavoidable to have some codes/lookup
tables, for example, in a form we may need to display the country list. If
we were to hit the database per request to get this list for displaying in
the dropdown, it would be too expensive. If we load these values
More details to my previous posting...
I am building an app with Struts 1.x, which is dynamically rendered at
runtime to create html form elements. Because of the applications dynamic
nature, I am using map backed struts action form to dynamically capture the
values in a HashMap.
Unfortunately,
Hello everyone,
I have been researching on the web on how to call javascript from Struts
tag.
I am using struts 2 to develop JSP. Following is the piece of code in JSP,
which calls javascript
td class=nowrap
script type=text/javascript
I tried these and it is not working, it immediately brings up 404. I think I
put something after URL (asd.action) then the wildcard logic kicks in.
anyone using like below? help pls!
Thanks
VJ
On 2/22/08, Laurie Harper [EMAIL PROTECTED] wrote:
smart acer wrote:
Our domain is
Why not just put a redirect into a normal welcome file?
--- smart acer [EMAIL PROTECTED] wrote:
I tried these and it is not working, it immediately brings up 404. I think
I
put something after URL (asd.action) then the wildcard logic kicks in.
anyone using like below? help pls!
Thanks
VJ
Hi,
I'm using the Struts2 and trying to integrate it with AJAX. I've given
the following :
MyJSP File :
and when i submit my page, it gives me a javascript error saying dojo is
undefined. I tried to debug with Firebug and below is the error that i'm
getting. After the javascript errors
tnx Laurie it worked
Laurie Harper wrote:
Your Department class doesn't initialize its 'program' member when the
no-arg constructor is called so when BeanUtils tries to fill in the data
from the request, program will be null. I suspect that is your problem.
Two things to try:
1) turn
What does your filter mapping look like?
Dave
--- snehalkgandhi [EMAIL PROTECTED] wrote:
Hi,
I'm using the Struts2 and trying to integrate it with AJAX. I've given
the following :
MyJSP File :
and when i submit my page, it gives me a javascript error saying dojo is
undefined.
I've set up a login page for my site, and I've used the ValidationAware
interface on LoginAction in order to display errors on the login form
when the user name or password is incorrect. However, this has one
unintended result: the first time the user navigates to
server.com/webapp/login.action,
--- Allen, Daniel [EMAIL PROTECTED] wrote:
Is there a way to prevent the validation from firing unless the user is
coming back to it after attempting to log in?
By default the validation interceptor won't check a set of action methods,
including the input method. The easiest thing, IMO, is to
Hello,
Is there any way in Struts2 to display values from i=1 to n.
Any help on this please?
Thanks,
Aarthy
--
View this message in context:
http://www.nabble.com/Looping-in-Struts2-tp15641866p15641866.html
Sent from the Struts - User mailing list archive at Nabble.com.
Our app context is products, so URL for the app is
http://www.example.com/products
We want sub-directory like URL for each major feature, so we have package
for each section, like below
package name=sub_product namespace=/sub_product
extends=tiles-default
action name=content
result
Yeah, I know, my spelling is terrible in code. All I can say in my
defense is that I go back and fix it with Eclipse's refactoring tools at
the end, before anyone else at the company has to see it. That doesn't
save you poor souls on the user list who are subjected to my interim
incompetence,
--- Jaarthy [EMAIL PROTECTED] wrote:
Is there any way in Struts2 to display values from i=1 to n.
Any help on this please?
Not in the same way you can with, say, JSTL's c:forEach... tag.
Which is why I'd consider using JSTL's c:forEach... tag.
Dave
You mean in JSPs, using the Struts taglib? There's an example that I
think is similar to what you're looking for at the bottom of the
s:iterator page[1]. For large n, it would be sort of ugly, though, so
definitely look into c:foreach like Dave said if you're going past
single-digit n.
~Dan Allen
--- Allen, Daniel [EMAIL PROTECTED] wrote:
property name=loginCheckerref local=loginChecker
//property
I guess I could manually call Spring from Java code to fill in the
log-in checker class, but this way I can keep Spring entirely out of my
code's [direct] dependencies [...]
lets say you have some tag which has its base function called
updateReports()
assuming the div tag has theme=ajax referencing
http://struts.apache.org/2.0.11/docs/ajax-div-template.html
saf:head theme=ajax /
function doit(){ document.login_form.hidden_id.value=01420;}/script
script
I haven't tried it but I wonder if:
result name=success type=redirect${nextPage}/result
would do the job.
(*Chris*)
On Fri, Feb 22, 2008 at 3:03 PM, Allen, Daniel [EMAIL PROTECTED]
wrote:
Hi, all.
I want to redirect a user somewhere based on a parameter that came in
from a previous
Hi, all.
I want to redirect a user somewhere based on a parameter that came in
from a previous page's form. The basic flow should be:
1. StartPage.jsp, contains a form that points to an SomeAction, and that
form includes the parameter NextPage
2. SomeAction performs some work and then gives back
--- Chris Pratt [EMAIL PROTECTED] wrote:
I am seeing the most unexplainable results imaginable. I have the
following line of OGNL:
's:property value=%{#parameters.display}/' == 'dependent':
s:property value=%{#parameters.display == 'dependent'}/
Which is outputting:
'dependent' ==
On 2/22/08, Dave Newton [EMAIL PROTECTED] wrote:
--- Hoying, Ken [EMAIL PROTECTED] wrote:
I was able to resolve the issue by replacing the single backslash with a
double backslash.
Thank you!
Any time you need advice completely unrelated to how you solved the problem
I'm your
I am seeing the most unexplainable results imaginable. I have the
following line of OGNL:
's:property value=%{#parameters.display}/' == 'dependent':
s:property value=%{#parameters.display == 'dependent'}/
Which is outputting:
'dependent' == 'dependent': false
How is that even possible? I am
On Fri, Feb 22, 2008 at 4:10 PM, Dave Newton [EMAIL PROTECTED] wrote:
--- Chris Pratt [EMAIL PROTECTED] wrote:
I am seeing the most unexplainable results imaginable. I have the
following line of OGNL:
's:property value=%{#parameters.display}/' == 'dependent':
s:property
--- Wes Wannemacher [EMAIL PROTECTED] wrote:
On 2/22/08, Dave Newton [EMAIL PROTECTED] wrote:
--- Hoying, Ken [EMAIL PROTECTED] wrote:
I was able to resolve the issue by replacing the single backslash with
a double backslash.
Any time you need advice completely unrelated to how you
--- Chris Pratt [EMAIL PROTECTED] wrote:
On Fri, Feb 22, 2008 at 4:10 PM, Dave Newton [EMAIL PROTECTED] wrote:
--- Chris Pratt [EMAIL PROTECTED] wrote:
I am seeing the most unexplainable results imaginable. I have the
following line of OGNL:
's:property
It's returning an array of Strings (since this is a parameter). But
if it's used one way it is treated as a single value, if it is used a
slightly different way, it is treated as an array, that is not
developer friendly. In this case. If it is used as:
's:property
--- [EMAIL PROTECTED] wrote:
And he is buddying up with Microsoft!
I've offered to deploy a better browser on my client's 3-4k tablets; so far
they've declined.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
--- Chris Pratt [EMAIL PROTECTED] wrote:
It's returning an array of Strings (since this is a parameter). But
if it's used one way it is treated as a single value, if it is used a
slightly different way, it is treated as an array,
Guess so, although I have to admit I'd probably never use a
And he is buddying up with Microsoft! Dave did you stop taking the pretty
little orange pills?
On Fri, Feb 22, 2008 at 6:24 PM, Dave Newton [EMAIL PROTECTED] wrote:
--- Wes Wannemacher [EMAIL PROTECTED] wrote:
On 2/22/08, Dave Newton [EMAIL PROTECTED] wrote:
--- Hoying, Ken [EMAIL
JSF has a ConversationScope for extended series of requests/responses
dealing with the same topic, and usually the same data model. I'm thinking
of writing an interceptor to simulate ConversationScope, and I'm wondering
if this has not already been done, and if so, does anyone have details,
Hi
My login jsp file contains only form which includes the username and
password text field nothing else.
Here i am pasting of my stack for Interceptor...
I have struts.xml file in that i have included my authentication.xml
the content of authentication.xml file is following...
struts
Hi Friends
i am new to the struts .
i have one form where user enter his family details
for this i create on row of fields (like name,relationtype,occupation) if
user want to add one more relation, he click on addmore button then i
provied one more row and user need more, click on addmore and
77 matches
Mail list logo