Thank you Toni! It worked!
Only adding
display:column titleKey=global.roles
s:iterator value=#attr.row.roles
s:property value=roleBaseVO.name /
/s:iterator
and all is shown ok.
Thank you again ;)
S2
S1 or S2?
I'd like to bind an enumeration directly to a select tag,
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Could it be because http://google isn't a valid URL?
Many browsers add .com, .net etc to the end of what you type and look for
the first thing that gets a response, but that is browser behaviour, and the
url validator should reject http://google because it isn't a valid URL.
-Original
Hi Nils,
thank you very much for your reply. I really appreciate it.
I will try your solution and see what will come out.
Best Regards,
Leonidas
Nils-Helge Garli wrote:
Hi!
Jasper reports is, as far as I know, not tested in the portlet
framework. I'm not too familiar with Jasper, but if
Does anybody know if I can use Struts Url Validator for intranet url?
For exampe: http://intranet or http://localhost:8080
I'm pretty sure it doesn't try to resolve the machine, or do a DNS
lookup in order to determine if the url is valid. One could conceive of
building something that
well, I'm pretty sure after checking the rfc's (1738 section3.4 and
3.1, 1034 section 3.5 adn 1123 section 2.1) that you are building
vaild url's under the http scheme. So either the validator is doing
something wrong or you are. Mind a URL is deffined as:
scheme:scheme-specific-part
so it
Following http://struts.apache.org/2.0.9/docs/cssxhtml-theme.html document
states that the css_xhtml uses 2 column layout.
How come all the .flt files in the css_xhtml directory keep referring to
labelposition?default(top) == 'top' ? And by default I get a 1 column
layout.
Even though the
Hi. I've just started using struts 2 and I need a little help from you guys.
I tried to integrate tiles with struts but I don't have all the info. I
added the struts-tiles plugin, the listener
org.apache.struts2.tiles.StrutsTilesListener and I added the
result-types
result-type
2007/8/9, George Dadulescu [EMAIL PROTECTED]:
Hi. I've just started using struts 2 and I need a little help from you guys.
I tried to integrate tiles with struts but I don't have all the info. I
added the struts-tiles plugin, the listener
org.apache.struts2.tiles.StrutsTilesListener and I
I have following scenario.
I have getExSummary() method in exForm which returns a arraylist of A
object. How to use logic:iterate tag to print all the values which methods in
A object.
getACount(),getBCount() are methods in A object.
I tried following tag, which is not
Following is my actual code
nested:notEmpty property=completeItems
nested:iterate property=completeItems id=complete
indexId=completeIdx
nested:write property=paymentAmount /
nested:greaterEqual property=paymentAmount value=1000.00
tr
b
Can someone please tell me how I use an ognl expression to set a param
value in a field validator.
Thanks
Dave.
__
Ufi Limited
Registered in England No. 3980770
Registered Office: Dearing House, 1 Young Street, Sheffield,
Would it be possible to add ognl evaluation of param values in field
validators.
Thanks
Dave.
__
Ufi Limited
Registered in England No. 3980770
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
I have following scenario.
I have getExSummary() method in exForm which returns a arraylist
of A object. How to use logic:iterate tag to print all the values
which methods in A object.
getACount(),getBCount() are methods in A object.
I tried following tag, which is not
Is there something special about getting TabbedPanel to work in 2.0.9?
--
Scott
[EMAIL PROTECTED]
Hi, I'm trying to use client-side validation with annotations in my action
methods. But for all methods executes the same javascript validation. I want
different validations for different methods.
How can I do that?
I put @SkipValidation in some methods.
thanks, Veronica
Also, if you dont specify any path for the tiles def ; it default to
WEB-INF/tiles.xml (Tiles 2.0.4 onwards i guess)
On 8/9/07, Antonio Petrelli [EMAIL PROTECTED] wrote:
2007/8/9, George Dadulescu [EMAIL PROTECTED]:
Hi. I've just started using struts 2 and I need a little help from you
guys.
On 8/8/07, Asthana, Rahul [EMAIL PROTECTED] wrote:
Besides,I was also interested in how things like workflow are handled in an
AJAX based
framework, as opposed to a webapp that happens to use AJAX .
Conventional web applications tend to use a different page for each
top-level view. If we are
2007/8/9, j alex [EMAIL PROTECTED]:
Also, if you dont specify any path for the tiles def ; it default to
WEB-INF/tiles.xml (Tiles 2.0.4 onwards i guess)
It's the default even on Struts-Tiles
Antonio
you seems to have problems with logging configuration.
apparently your weblogic server isn't properly configured which log to
use with commons-logging adaptor.
On 8/9/07, Mad Shop [EMAIL PROTECTED] wrote:
I have following scenario.
I have getExSummary() method in exForm which returns a
have you tried to use double instead?
Leon
On 8/9/07, Mad Shop [EMAIL PROTECTED] wrote:
Following is my actual code
nested:notEmpty property=completeItems
nested:iterate property=completeItems id=complete
indexId=completeIdx
nested:write property=paymentAmount /
Thanks Leon,
Big Decimal is our project requirement. Looks like the tld files under my
WEB-INF directory are not correct. Can you please let me know the compatable
nested tld files for struts1.2.7 version.
Regards
Leon Rosenberg [EMAIL PROTECTED] wrote:
have you tried to use
Thanks Leon,
We are using log4j for logging. Existing project is working fine and I added
the following block for new requirement. when I remove bean:write tags then
it won't give any error!!!
Leon Rosenberg [EMAIL PROTECTED] wrote:
you seems to have problems with logging
How is the BigDecimal a requirement for a jsp page?
You know that you can (and often should) use different formats for
storage and computations and for presentation?
regards
Leon
On 8/9/07, Mad Shop [EMAIL PROTECTED] wrote:
Thanks Leon,
Big Decimal is our project requirement. Looks like
Hi Leon,
I just now verified that the tld files i.e., struts-nested.tld,
struts-nested.tld in struts.jar and tld files under WEB-INF are different.
Does this make any difference! When I extracted these two tld's from
struts.jar and replaced with exisiting tld files under WEB-INF
Following are the differences Will this make any difference
struts-logic.tld file in struts.jar file
tlibversion1.0/tlibversion
jspversion1.1/jspversion
struts-logic.tld file under WEB-INF folder
tlibversion1.2/tlibversion
jspversion1.1/jspversion
Mad Shop [EMAIL
Hi,
Can anyone tell me,
whether we can access database in the interceptor?
--
View this message in context:
http://www.nabble.com/can-we-access-database-in-the-interceptor---tf4242652.html#a12072518
Sent from the Struts - User mailing list archive at Nabble.com.
This is what I need in validation.xml file
field property=website page=2 depends=url
arg position=0 key=label.supplier.website/
var
var-nameallowallschemes/var-name
var-valuetrue/var-value
/var
/field
All urls ending with .com or .net is
Hi,
Is there a way to declaratively restrict validations depending on the method
within the Action? - this could be useful for wizard-like forms where each
step of the wizard has a set of fields ; corresponds to a different method
but all of them share the same Action.
I can think of having an
On Thu, August 9, 2007 8:24 am, Ted Husted wrote:
IMHO, if we had today's JavaScript/CSS/HTML environment available to
us in 1998, then JSP, ASP, JSF, PHP, and all the rest of it, would not
exist. We did all these things to make up for the shortcomings of the
client-side environment, and,
Hi,
I posted this a few days ago but have had no response as yet. I will
probably raise this as an issue/bug soon unless it is obvious to someone on
here that I have a mistake in my approach.
I have a data bean which a jsp links into through an action. This bean
contains a
You should check the Javadoc of the
com.opensymphony.xwork2.validator.annotations.Validation annotation.
Syntax example:
@Validations(
requiredFields =
[EMAIL PROTECTED](type = ValidatorType.SIMPLE,
fieldName = customfield, message = You must enter a value for
you can do anything you want in an interceptor.
musachy
On 8/9/07, urshari7 [EMAIL PROTECTED] wrote:
Hi,
Can anyone tell me,
whether we can access database in the interceptor?
--
View this message in context:
On a related note, the only way to override
xwork.default.invalid.fieldvalue seems to be to specify a global resource
bundle with struts.custom.i18n.resources in struts.xml and then put the
value in there. Is this correct?
The following page seems to imply that I should be able to override this
Someone know the best way to use Display Table in Struts 2. I have in my
page a lot of Div and TabbedPane, in one div inside the tabbedpane I
have my table, the problem is the sort, the pagination and export
settings didn't work properly.
What is the best tag for tables using struts ?
Would it be possible to add ognl evaluation of param values in field
validators.
Thanks
Dave.
__
Ufi Limited
Registered in England No. 3980770
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
I use displaytag too. All works fine.
Did you set the requestUri param ?
display:table name=myListInStack decorator=
org.myorg.DecoratorOfMyList requestURI=myAction.action
Regards,
Manuel Correa [EMAIL PROTECTED]
09/08/2007 17:54
Veuillez répondre à
Struts Users Mailing List
Hi,
I need to store the label values in the resource bundle ; and to support
screenreaders these values may have some span tags
ex : label.primaryapp.firstName=First namespan class=screaderstyle of
applicant/span
Now, in s:label tag ; i'm using using it as :
s:label
Turns out OC4J had a bug. They fixed it; we now have 10.1.3.3, and it works
fine. /story
JBL wrote:
We have a link to a Struts 2 action that includes a URL parameter
(.../something_method.action?name=NAME), and the URL parameter is getting
lost -- it doesn't show up in the action, the
I'm trying to add a file upload to my web app.
When I submit the file, I get:
java.lang.RuntimeException: Unable to load bean
org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta) -
[unknown location]
Is there a line I'm missing from my JSP or a lib/jar I need to add or
a setting
Display table works fine, the problem is : I have the table immerse in s:div
component and a s:tabbedpane component, so when I click in order some column
or next results, the page reload and show me single page without the tabpanes
and div.
Thanks,
Manuel Correa.
-Original
By setting the requestURI=myAction.action pointing to your current
action (which you used to come to this page), you will have no problem.
DisplayTag will just add some parameters (page, sort, ...). You just have
to map this action method to this div/tab/... (so one action or method for
each
Hi,
Add enctype property as form attribute
html:form action=someAction.do enctype=multipart/form-data
Hafeez
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of yitzle
Sent: Thursday, August 09, 2007 8:23 AM
To: Struts Users Mailing List
Subject:
On 8/9/07, Hafeez-ur Rehman [EMAIL PROTECTED] wrote:
Hi,
Add enctype property as form attribute
html:form action=someAction.do enctype=multipart/form-data
Hafeez
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of yitzle
Sent: Thursday, August 09,
--- yitzle [EMAIL PROTECTED] wrote:
I had
s:form action=CertificateImport method=POST
enctype=multipart/form-data
and tried with
form action=CertificateImport.action
method=POST
enctype=multipart/form-data
When I tried
html:form ... I got
No tag form defined in tag library imported
I remember hearing a rumor that dojo was being pulled out of S2 and being
made available via a plug-in. Did this happen? Are there steps someplace
for installing the plug-in?
--
Scott
[EMAIL PROTECTED]
Dojo will be available as a plugin in 2.1, not the 2.0.x family.
musachy
On 8/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I remember hearing a rumor that dojo was being pulled out of S2 and being
made available via a plug-in. Did this happen? Are there steps someplace
for installing
Which, of course, does not necessarily mean that we SHOULD!
- Original Message -
From: Musachy Barroso [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Subject: Re: can we access database in the interceptor??
Date: Thu, 9 Aug 2007 11:31:23 -0400
you can do
Another alternative would be to put those definitions into a resource
bundle (properties file). As long as all references are indirected
through some collection of definitions, it doesn't really matter where
those definitions are stored / setup :=)
L.
Paul Benedict wrote:
If you want to
Hello
I'm going crazy trying to use the s:iterator tag.
I have an action that generates an ArrayList of the files in a given directory.
In my JSP I'd like to show this files as a list.
Here's my action's code:
File dir = new File(props.getProperty(files.saveDir));
FileFilter fileFilter = new
--- Marcos Mendonça wrote:
I have an action that generates an ArrayList of the
files in a given directory.
Do you know that it's generating a list with any files
in it (determine via logging for the most complete
information or put something else in the
s:iterator.../ loop as a quick sanity
Yes, I did. ArrayList has something in it.
I managed to print it's size and log the file name, the one I'd like
to print with the JSP.
On 8/9/07, Dave Newton [EMAIL PROTECTED] wrote:
--- Marcos Mendonça wrote:
I have an action that generates an ArrayList of the
files in a given directory.
I have the following validation XML that suites my needs perfectly:
field name=startYear
field-validator type=required
messageStart year is required./message
/field-validator
field-validator type=int
1900
messagePlease enter a date after 1900./message
Hello
Hope someone can help me with this:
I have a TabbedPane with some tabs in it, each calling an url for
their content.
Now I have several problems:
- I noticed that the selected tab calls the url two times before displaying.
- I reload a specific tab by publishing a dojo-topic. In this
the way to construct a map in ognl is
%{ key : value , key : vale }
http://www.opensymphony.com/ognl/html/LanguageGuide/collectionConstruction.html#mapConstruction
hth,
-a
Hartrich, James CTR USTRANSCOM J6 wrote:
I'm iterating a collection (keys) from s:action to get corresponding
Specify your validation rules in a file called
MyActionClass-myAction-validation.xml where MyActionClass is the
action class and myAction is the name of the action being executed.
So your struts.xml would look something like:
action name=myAction class=MyActionClass method=myMethod.../action
Hi
I have a program which creates permutations for 10 letters, so the values i
get is 10 ^10 which is more then 3 million
Now i have to go through all 3 million records and do some calculations to
determine the best possible combination .
Any ideas what i should use, LinkedList, ArrayList,
please unsubscribe my id from this user mail group.
i had tried lot but its not working.
-
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel
and lay it on us.
please unsubscribe my id from this user mail group.
i had tried lot but its not working.
-
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.
please unsubscribe my id from this user mail group.
i had tried lot but its not working.
-
Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV.
please unsubscribe my id from this user mail group.
i had tried lot but its not working.
-
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news,
photos more.
please unsubscribe my id from this user mail group.
i had tried lot but its not working.
-
Got a little couch potato?
Check out fun summer activities for kids.
please unsubscribe my id from this user mail group.
i had tried lot but its not working.
-
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news,
photos more.
please unsubscribe my id from this user mail group.
i had tried lot but its not working.
-
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
please unsubscribe my id from this user mail group.
i had tried lot but its not working.
-
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.
please unsubscribe my id from this user mail group.
i had tried lot but its not working.
-
Got a little couch potato?
Check out fun summer activities for kids.
please unsubscribe my id from this user mail group.
i had tried lot but its not working.
-
Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on,
when.
please unsubscribe my id from this user mail group.
i had tried lot but its not working.
-
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.
please unsubscribe my id from this user mail group.
i had tried lot but its not working.
-
Looking for a deal? Find great prices on flights and hotels with Yahoo!
FareChase.
please unsubscribe my id from this user mail group.
i had tried lot but its not working.
-
Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.
please unsubscribe my id from this user mail group.
i had tried lot but its not working.
-
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
71 matches
Mail list logo