; >
> > 2017-03-14 10:13 GMT+01:00 Christian Grobmeier :
> >> Yes, actually I think you are right: LocaleProvider and TextProvider
> >> have both the same issue. It's just popping up for me with
> >> LocaleProvider first, but TextProvider will surely follow.
>
ar 14, 2017, at 06:57, Lukasz Lenart wrote:
> https://issues.apache.org/jira/browse/WW-4756
>
> I know that this is for TextProvider but the same approach I can use
> for LocaleProvider
>
> 2017-03-14 6:53 GMT+01:00 Lukasz Lenart :
> > 2017-03-13 21:51 GMT+01:00 Christi
:44, Christian Grobmeier wrote:
>
>
> On Mon, Mar 13, 2017, at 19:08, Lukasz Lenart wrote:
> > 2017-03-13 19:03 GMT+01:00 Christian Grobmeier :
> > > Wether @Service was right or not, I need to somehow tell Spring how to
> > > find my beans (i.e. @Component
On Mon, Mar 13, 2017, at 19:08, Lukasz Lenart wrote:
> 2017-03-13 19:03 GMT+01:00 Christian Grobmeier :
> > Wether @Service was right or not, I need to somehow tell Spring how to
> > find my beans (i.e. @Component).
> > I can understand Springs confusion, when it reali
, Christian Grobmeier wrote:
>
>
> On Mon, Mar 13, 2017, at 18:26, Lukasz Lenart wrote:
> > 2017-03-13 17:55 GMT+01:00 Christian Grobmeier :
> > > Removing @Service helped. In addition I had to remove the remaining
> > > Actions from applicationContext.xml (I am in
On Mon, Mar 13, 2017, at 18:26, Lukasz Lenart wrote:
> 2017-03-13 17:55 GMT+01:00 Christian Grobmeier :
> > Removing @Service helped. In addition I had to remove the remaining
> > Actions from applicationContext.xml (I am in the middle of a
> > transition).
> >
> &
e yet, but still, I would love to know.
Thanks Lukasz!
On Mon, Mar 13, 2017, at 16:44, Christian Grobmeier wrote:
>
>
> On Mon, Mar 13, 2017, at 16:31, Lukasz Lenart wrote:
> > 2017-03-13 16:25 GMT+01:00 Christian Grobmeier :
> > > @Service
> > > @Scope(value = C
On Mon, Mar 13, 2017, at 16:31, Lukasz Lenart wrote:
> 2017-03-13 16:25 GMT+01:00 Christian Grobmeier :
> > @Service
> > @Scope(value = ConfigurableBeanFactory.SCOPE_PROTOTYPE)
> > public class EmptyAction extends AbstractAction {
>
> Looks like you have turned eac
/mysite.jsp
It worked with 2.5.1, but no more with 2.5.10.1.
Spring version is 4.1.6.RELEASE
Thanks Lukasz!
Christian
On Mon, Mar 13, 2017, at 16:12, Lukasz Lenart wrote:
> 2017-03-13 16:02 GMT+01:00 Christian Grobmeier :
> > Hello all,
> >
> > I trying to upgrade my Str
Hello all,
I trying to upgrade my Struts app from 2.5.1 to 2.5.10.1.
I saw there are some changes in I18nInterceptor like that:
https://github.com/apache/struts/commit/ea92e95461386f1ddfda37bb09ec170b8e306ae7#diff-f9eff9d34d35d47f349c7fa0531e51bdR130
My actions extend from ActionSupport, which i
Hey folks,
if you live near Munich, you are welcome to join the talk of Struts
Committer Christoph Nenning on 25.08.!
He is usually a bit a shy guy so i am posting this so nobody misses it.
Here is the full address of the location and the sponsor of this talk:
mgm technology partners - Frankfur
On Fri, Aug 2, 2013 at 7:01 AM, Jim Macalister wrote:
> To get to my point. Struts2 is a great framework and we do use it for
> production systems. I think we should all contribute at least by donating
> directly to the struts2 developers. This will ensure the life of the
> project as well. I sugg
I read that. I don't think we should do anything.
The blog post is speculative. Nobody from Apple did tell us if it was
really a Struts problem or not. If it is, then well, we can't do
anything. This doesn't make Struts a dangerous framework at all, it
just highlights you should update when your f
I am not familiar with the "Run As" options of the IDE as I use
command line for such tasks, but basically you are expected to create
a war file and deploy it to your container when something changes.
Personally I am using the mvn jetty plugin and Jrebel (when doing open
source work) for that.
Can
Have you tried "request only" for these links?
See: http://struts.apache.org/release/2.3.x/docs/i18n-interceptor.html
basically using foo.action?request_only_locale=en_US
your locale would not be stored in the session, it's just for this request
On Thu, Jul 25, 2013 at 10:15 AM, Antonio Sánche
Hello all,
I would like to invite you to a Struts Hackathon in Augsburg, Germany.
The Hackathon is free, thanks to our sponsor of GFU. GFU provides a
lot of great trainings.
Please see more information here:
http://strutsathon.opensource.io/
If you would like to join us, please let us know. Ther
appen,
but it does.
I am going to read the interceptor code...
>
>
> On Mon, Jul 8, 2013 at 2:38 PM, Lukasz Lenart wrote:
>
>> 2013/7/5 Christian Grobmeier :
>> > I am implementing the ServletResponseAware interface and found out
>> > that sometimes the
Hi,
I am implementing the ServletResponseAware interface and found out
that sometimes the HttpServletResponse is null when I execute() the
action.
ServletConfigInterceptor is definitely executed before. Actually often
the HttpServletResponse is not null and my code seems to work.
Not sure if I s
On Thu, Feb 21, 2013 at 8:03 AM, Lukasz Lenart wrote:
> 2013/2/20 Frans Thamura :
>> anyone working with struts2 action result (#name etc) and integrate
>> with angularjs
>
> AngularJS expects JSON via REST so everything is already supported by Struts2
I did that recently with my own app and it w
On Wed, Jan 16, 2013 at 11:12 PM, Emi Lu wrote:
> On 01/16/2013 05:02 PM, Chris Pratt wrote:
>>
>> I believe the description says it all.
>>
>> This Security Alert addresses security issues CVE-2013-0422 (US-CERT
>> Alert TA13-010A - Oracle Java 7 Security Manager Bypass Vulnerability)
>> and anot
I have tried Eclipse and Netbeans and finally found out that life is
so freaking easy with IntelliJ and the Struts 2 plugin.
I could not believe it first, because it was the Struts-guys who
recommended it to me and I was previously using Eclipse for 10 years
or so.
My advice: do exactly what Lukas
without pain. You have only a serious chance if struts delivers
business data (facts, user data whatever) and Drupal manages the CMS
stuff. But then you have two databases
Guess you'll have a lot of fun pretty soon.
>
> Thanks for you help.
>
> --
> Tony
>
> -Orig
On Thu, Mar 29, 2012 at 8:32 PM, Santinello, Anthony
wrote:
> The only way I see it possibly working is having PHP making calls to the
> back-end logic via some web-service? And try to re-use the code/business
> logic we used for Struts?
Thats possible, if you don't use tools like Quercus.
Y
Tony,
can Drupal consume json data easily? You probably can use Struts as
some kind of "data layer" which delivers only json data.
You might want to look at Quercus:
http://quercus.caucho.com/
Quercus is a Java implementation of PHP. It might serve Drupal, and
this way you might have a chance to
2012/3/20 Łukasz Lenart :
> As I see there is a small mess with the test classes. Struts 2 has
> three StrutsTestCase classes, in core in junit plugin and in testng
> plugin. It would be nice to clean them up. Remove StrutsTestCase from
> core and two other StrutsTestCase classes rename accordingly
On Thu, Mar 15, 2012 at 9:44 PM, Brian Thompson wrote:
> Another option that might work for you is an Adobe AIR app. There's a
> sample AIR web browser app [1]; install that demo and test your S2 app in
> it. If it works out properly, you can embed your Tomcat stack in the AIR
> app [2] and cust
On Thu, Mar 15, 2012 at 8:49 PM, Wes Wannemacher wrote:
> Christian, have you considered using XWork? Struts2 is basically a web
> implementation of the command pattern framework implemented by XWork.
> I worked on a project where I embedded XWork in a non-web-app and was
> very happy with it.
Ac
s logic. I think it is what you meant with service
layer. My current plan is actually to let the Struts stuff go and
replace the UI with JavaFX. It seems you are advising the same (or
similar) :-)
Cheers
Christian
> M
>
> -Original Message-
> From: Christian Grobmeier [mailto
e, try it, installer with encrypted
>> mysql, struts2 app
>>
>> F
>>
>>
>>
>> On Thu, Mar 15, 2012 at 10:35 PM, Christian Grobmeier
>> wrote:
>>>
>>> thanks - i will evaluate that
>>>
>>> On Thu, Mar 15, 2012 at
thanks - i will evaluate that
On Thu, Mar 15, 2012 at 4:33 PM, Frans Thamura wrote:
> you can use izpack
>
> F
>
>
>
> On Thu, Mar 15, 2012 at 10:31 PM, Christian Grobmeier
> wrote:
>> the customers for my apps are mostly non-techies... I am afraid they
>>
localhost
>
> that is the way i use it here
>
> F
>
>
>
> On Thu, Mar 15, 2012 at 10:25 PM, Christian Grobmeier
> wrote:
>> Hi,
>>
>> yes I know Struts 2 is a web framework. But recently somebody told me
>> he would love to see a desktop version
Hi,
yes I know Struts 2 is a web framework. But recently somebody told me
he would love to see a desktop version of my app instead of a cloud
based version. I think this would be great for me too. Now I am
considering different ways... not sure, probably somebody here already
did the same in the p
I can agree on what has been said about IntelliJ.
It took me one week to move over from Eclipse (speaking of getting
your workflow back). But then I have improved my speed a lots. not
only the S2 plugin is great, there are many other cool things, like
for Android dev. And I was a long time eclipse
wrong list, use u...@poi.apache.org instead
Cheers
Christian
On Fri, Jan 20, 2012 at 1:10 PM, Felipe Issa wrote:
> Hi. I'm using apache poi 3.8 beta 5 (20111217) and i can't get it to insert
> a picture on a XSSFWorkbook. It works just fine when i try to insert it on a
> HSSFWorkbook, but when i
Look at responsive CSS frameworks. Actually I would not put anything
for this into struts code if possible, you should make it just a
css/javascript only trick:
http://idesignow.com/css/7-css-grid-layout-frameworks-for-responsive-web-design.html
I am a bootstrap fan, 2.0 is supporting responsive d
>
>> Dear Grobmeier,
>> I also missed the webminar,Can you please send a review of it?
>>
>> -----Original Message-
>> From: Christian Grobmeier [mailto:grobme...@gmail.com]
>> Sent: Friday, December 23, 2011 12:23 AM
>> To: Struts Users Mailing List
I was there, it is pretty cool
You can interview me on chat, if you need some info. I installed it
for my struts-dev env
Cheers
On Thu, Dec 22, 2011 at 7:18 PM, Maurizio Cucchiara
wrote:
> Unfortunately I missed the webinar, is there an offline version?
>
> Twitter :http://www.twitter.com/m_
Hello,
On Tue, Dec 13, 2011 at 10:46 AM, AlexCross wrote:
> How can i read data from DB and display using Jsp with Struts?
> What's the correct logic of struts(1.3)?
Not sure what you expecting as an answer. Basics are: create a
struts.xml and tie a view and an action together. The action should
Not sure what BlueOxygen should do, but when I try to login with the
credentials below:
org.springframework.transaction.CannotCreateTransactionException:
Could not open Hibernate Session for transaction; nested exception is
org.hibernate.TransactionException: JDBC begin failed:
org.spring
ght be a good idea to
write an own interceptor which catches something like that or to
extend the throwing interceptor to put a correct value into the
object.
cheers
Christian
> Thanks & Regards,
> Rohan
>
> ____
> From: Christian Grobmeier
> To
Hello Rohan,
On Sat, Nov 19, 2011 at 8:44 AM, rohan jamkhedkar
wrote:
>
> %{nextPage}
try to add these results too:
%{nextPage}
%{nextPage}
Input is what is returned when some input is missing, error in case an
error happens.
Please also see the class ActionSupport, were these String constants
eed to use it.
>
> Twitter :http://www.twitter.com/m_cucchiara
> G+ :https://plus.google.com/107903711540963855921
> Linkedin :http://www.linkedin.com/in/mauriziocucchiara
>
> Maurizio Cucchiara
>
>
>
> On 13 November 2011 17:35, Christian Grobmeier
Hi guys,
I am searching for a utf-8 problem in my app. I have struts 2 with
sitemesh 2.x bundled. backoffice is apache cayenne which connects to
mysql with:
&useUnicode=true&characterEncoding=utf8
Now I suspect sitemesh somehow. Any ideas were I could look appreciated
Is sitemesh still recommend
maven repos? And why can't I choose
a version number myself?
What I not like at the moment (more related to IDEA) is the fact it
creates an lib folder in my project folder and creates an out folder.
Try to figure that out
>
> Regards,
> Yann
>
> On 29 September 2011 10:50,
, Maurizio Cucchiara
wrote:
> Ok, as I suspected: idea is free for apache (and generally for OS developer)
> committers.
>
> Maurizio Cucchiara
>
> Il giorno 29/set/2011 11.12, "Christian Grobmeier" ha
> scritto:
> Hi,
>
>
>> In the meanwhile that Yann answ
y slow internet connection I try to
save every mb I can.
Are you IDEA user? Happy?
Cheers
Christian
> Maurizio Cucchiara
>
>
> On 29 September 2011 10:50, Christian Grobmeier wrote:
>
>> Looks pretty nice.
>>
>> Are the changes available in the community ed
Looks pretty nice.
Are the changes available in the community edition or is is ultimate
version only?
Cheers
Christian
On Wed, Sep 28, 2011 at 8:04 PM, Yann Cébron wrote:
> Early Access Preview has started for the next major version of JetBrains
> IntelliJ IDEA, and Struts 2 Plugin already has
which might help you:
http://www.vaannila.com/struts/struts-example/struts-html-select-tag-example-1.html
Cheers
Christian
>
>
> On 9/28/2011 12:14 PM, Christian Grobmeier wrote:
>>
>> Ajib,
>>
>> I am using jQuery, which makes an json object out of the json string
>> you
> var data = req.responseText;
> alert(data);
> document.getElementById("characters").innerHTML = data;
> } else {
> alert("Problem: " + req.statusText);
> }
> }
>
Hi Ajib,
> public ActionForward execute(ActionMapping mapping, ActionForm inForm,
> HttpServletRequest request, HttpServletResponse response) throws Exception {
>
> // Get a list of characters associated with the select TV show
> String tvShow = (String) request.getParameter("tvShow"
On Mon, Aug 29, 2011 at 3:02 AM, chengas123 wrote:
> Got it working. I needed to set the constants below in my struts.xml. Could
> be good to add this to the docs for other people using Jetty in embedded
> mode.
> value="jar,code-source" />
> />
I added it to the wiki, thanks for coming bac
> can share how deploy the .war to the Ec2?
>
> i still dont get it, as us said it more virtual server, do u mean, u
> install OS/Linux first in the virtual rather deploy directly
you have to install an os image first (i have choosen debian). Then
usual process: install Tomcat/Jetty and all other
Out of curiosity.
What are the criteria which speak for Dojo, in your opinion?
On Tue, Aug 16, 2011 at 7:07 PM, Dave Newton wrote:
> jQuery.
>
> Dave
> On Aug 16, 2011 1:01 PM, "Balwinder" wrote:
>> Dave,
>>
>> My criteria is:
>>
>> Able to ajaxify my app seamlessly.
>> Quick in implementation.
> Can any one suggest, for ajax which framework is better?
Every answer is highly subjective, but I have made great experiences
with jQuery.
In addition, I was able to use jQuery mobile without pain later and
there seems to be a huge community around jQuery.
My current js combination is jQuery +
oh :-)) I am sorry
On Thu, Aug 11, 2011 at 7:31 PM, Dave Newton wrote:
> wrong version of struts.
> On Aug 11, 2011 1:23 PM, "Christian Grobmeier" wrote:
>> Hi,
>>
>> I do not know a text tag in struts:
>> http://struts.apache.org/2.2.3/docs/ui-tag-re
Hi,
I do not know a text tag in struts:
http://struts.apache.org/2.2.3/docs/ui-tag-reference.html
And the texfield tags renders correct with closing /> (at least in my app)
Might it be related to the tag itself?
What doctype do you use?
Cheers
On Thu, Aug 11, 2011 at 7:18 PM, Anjib Mulepati w
> Or someone could provide more info will "sj:select" help satisfy the
> following requirement?
>
> (1)
> (2)
> (3)
>
> Actually, I prefer not to use complex javascript code to do change select1,
> select2 is updated, change select2, and select3 is updated.
No chance without javascript. There i
izio Cucchiara
>
>
> On 9 August 2011 17:07, Christian Grobmeier wrote:
>
>> On Tue, Aug 9, 2011 at 4:23 PM, Dave Newton wrote:
>> > On Tue, Aug 9, 2011 at 10:20 AM, Christian Grobmeier wrote:
>> >> Shouldn't at least the message text come out of it?
>
Of course, I should use when i try to print field errors.
Btw, actionerror is doing stuff in simple theme, like field error does
too. I have finally digged the code
Cheers + Thanks!
On Tue, Aug 9, 2011 at 5:07 PM, Christian Grobmeier wrote:
> On Tue, Aug 9, 2011 at 4:23 PM, Dave Newton wr
On Tue, Aug 9, 2011 at 4:23 PM, Dave Newton wrote:
> On Tue, Aug 9, 2011 at 10:20 AM, Christian Grobmeier wrote:
>> Shouldn't at least the message text come out of it?
>
> No, the plain theme doesn't do much for you.
Just to make sure.. I am using "simple" th
Shouldn't at least the message text come out of it?
On Tue, Aug 9, 2011 at 4:16 PM, Dave Newton wrote:
> On Tue, Aug 9, 2011 at 10:14 AM, Christian Grobmeier wrote:
>> Is it probably related when i switched to the plain theme?
>
> Yes; the "plain" templates d
Using worked fine so far. But now it appears not to
show my action errors anymore.
For example with:
@RequiredFieldValidator(
type = ValidatorType.SIMPLE, fieldName
= "username", key =
"errors.usernamemissing")
Or:
this.addActionError(getText("err
ara
>
>
> On 8 August 2011 10:35, Christian Grobmeier wrote:
>
>> Hello Maurizio,
>>
>> > I do some change on the S2 Junit4 plugin, now it should be simpler run a
>> > test with or without spring.
>> > Could you test the latest version of the afore
and is part of the struts 2 project. But I will watch your
project from now on.
Cheers!
Christian
On Wed, Aug 3, 2011 at 9:12 PM, Gabriel Belingueres
wrote:
> There you go:
>
> http://code.google.com/p/struts2-junit/
>
> Regards,
> Gabriel
>
> 2011/8/3 Christian Grobmeier :
apache.org/job/Struts2/334/org.apache.struts$struts2-junit-plugin/
> [2]
> https://issues.apache.org/jira/browse/WW-3667?focusedCommentId=13079421&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13079421
> On 3 August 2011 20:16, Christian Grobmeier wrote:
g our Struts
> 2 integration testing utility, which is based on StrutsJUnit4TestCase
> (only tested it on Struts 2.2.3 I'm afraid), so if you can hold on a
> few minutes, you may download it from google code.
>
> Regards,
> Gabriel
>
> 2011/8/3 Christian Grobmeier :
>
cases on the web.
>> Anyway it would not be difficult to add the executeAction method.
>> I'm going to open a new issue.
>>
>> [1] https://issues.apache.org/jira/browse/WW-3403
>>
>> On 3 August 2011 13:56, Christian Grobmeier wrote:
>>
>>> Hell
Hello all,
today I tried to figure out how one can use StrutsJUnit4TestCase. I am
currently puzzled. I found docs for the older implementation for
Junit3 of course, but nothing on the StrutsJUnit4TestCase class. Any
pointers?
With the old stuff i simply did: this.executeAction() and all was
well.
>> is logging out to the login screen, so I have to give links like
>>
>> http://localhost:8080/UNOT/User/ViewProfile.action?id=1&passwd
> =643def90&app_login=Login
>>
>> So, is there any way to encrypt the url?
>
> Bad idea. But yes, and it is not a struts issue. So I will ask why can't you
> use
a look at
> http://struts.1045723.n5.nabble.com/S2-OgnlValueStack-Error-setting-expression-warnings-after-upgrade-from-struts-2-to-struts-2-1-7-td3495667.html
>
> On 26 July 2011 14:58, Christian Grobmeier wrote:
>
>> > @Christian
>> > Good workaround,
>> > i
en in development mode ,-)
>
> Maurizio Cucchiara
>
> Il giorno 26/lug/2011 12.26, "Christian Grobmeier" ha
> scritto:
>> Thanks Maurizio.
>>
>> I don't want to reduce my error level, now I created something weird.
>> Not nice, but it w
t should not be a warning message)
>
>
>
>
>
>
> On 26 July 2011 11:27, Christian Grobmeier wrote:
>
>> Hi,
>>
>> using:
>> > name="submit" />
>>
>> Sends the following to my action:
>> submit => [ Submit ] su
Hi,
using:
Sends the following to my action:
submit => [ Submit ] submit.x => [ 40 ] submit.y => [ 7 ]
x / y are coordinates of my click, defined by w3c. Now they are sent
to my action, and OGNL tries to set it. Which leads to:
> Error setting expression 'submit.x' with value '[Ljava.lang.Stri
g like this in your interceptors:
>
>
>
>
> true
> ERROR
>
>
>
>
>
>
> Then, to make sure Struts handles all exceptions, add this below your
> interceptor section:
>
>
> /your_error_page.
Hi,
given this Action:
public class MyAction {
public String execute() throws Exception {
// throws IllegalArgumentException
}
}
I do not get a log output or anything else indicating that error.
I have struts dev mode = true. Report page shows:
"Struts has detected an unhandled exce
Forget this. I found out that I do not need a setter for MyBean only,
I do necessary need a getter.
As I found out, getMyBean is always called before setting a property
Cheers
On Sun, May 1, 2011 at 10:41 AM, Christian Grobmeier
wrote:
> Hi,
>
> given the following:
>
>
> a
Hi,
given the following:
and the fact MyBean contains a method with this signature:
MyBean.setActive(Boolean value) {}
I always receive null for this field in my Action.
I guess it is because the conversion does not apply to hidden fields - right?
Any chance i can make this work?
Cheers
Chr
> Can a Struts 2 interceptor change/add a request or session parameter?
Yes, and you can look at an example when you have the source and open:
com.opensymphony.xwork2.interceptor.ParametersInterceptor
> I'm trying to write a Struts 2 Exception Handler which is executed whenever
> there is an unca
Truly an excellent answer from both of you guys.
It helped me recognize validation goes down to method level and I
learned about the wildcard methods.
In my example case, I will keep the two forms in one class. For future
development i will create more classes as I like this approach more
Cheers
Hi,
this is question on best practice. It is: is it ok too let one Struts
Action handle two different forms?
For example:
Assume an Action called RegistrationAction. Its intention is to use it
for user registration.
The first form is a set of three properties for the registration itself;
the sec
(i.e. /WEB-INF/classes/com.package...) it should work, but
> normally the .java files don't get included in the .war file.
> (*Chris*)
>
> On Mon, Apr 18, 2011 at 9:01 AM, Christian Grobmeier
> wrote:
>
>> Oh wow, is it true?
>>
>> It seem ProjectsAction-conversi
the class is?
Cheers
Christian
On Mon, Apr 18, 2011 at 5:40 PM, Christian Grobmeier
wrote:
> Hi,
>
>> It appears to be trying to set an Array of Strings to your setDeadlineTime
>> method, is it typed to take an Array of Strings?
>
> no arrays anywhere.
>
> But I fou
ation as ProjectsAction.
Content is as follows:
deadlineTime = de.converter.DateConverter
or in the actions case:
project.deadlineTime = de.converter.DateConverter
Any ideas why this is not drawn by Struts?
Thanks!
Christian
> (*Chris*)
>
> On Mon, Apr 18, 2011 at 7:59
Hi all,
i have a form with only 6 values.
4 Dates, 1 int, one string.
I created 2 different conversion classes for the 4 dates. One is for
creating a good date from a string like 13:30, one is for the actual
date. I don't know why, but the ones for dates work and the one for
time does not work.
>> Yeah
>
> Actually, you added a spelling mistake (+e on Privileg). However, the
> previous example would work fine. So a hybrid of the two:
Actually I had the spelling typo before, but now saw that in english
it is with +e
> Yeah
You are right, this works.
After all I am not sure why I hav
> Login
The correct syntax is:
Yeah
I really would enjoy some more debugging help in this area
Cheers
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
> you could do something like this:
> ... where (bool)
> hasPrivilege(List,...) is a function in your action.
sounds good.
I actually have now that signature in an AbstractAction from which all
the other extend:
public boolean hasPrivileg(String role) { ... }
In my JSP:
Login
I did not unders
Hi all,
this is probably a trivial question, but I am unsure how to solve it best.
I have an object User user. It has the properties name, password and
List roles.
Now I would like to create a navigation bar in my struts 2.2.1 jsp pages.
I wanted to avoid huge chunks of logic in my code. Theref
my sub-template.
Probably it doesn't know about the other templates... i have tried
the import-tag, but this doesnt work.
Well, it worx now, despite it's uglyness :)
If someone can correct me, i am eager to hear. I believe i will have
this problem again sooner or later.
Thank
Hello Rüdiger
You could pass the name of the forwarding as a hidden field into the
form. The value of the field is defined in the tile definition of the
actual page template.
You might put into the page
templates to have access to that page attribute (not sure about this).
Does this work?
This so
logical name.
Thanks in advance,
Christian
--
take a look --> www.pfister.de
~~~~~~~~
Christian Grobmeier
-->> mailto:[EMAIL PROTECTED]
AMAN Media GmbH
network & media
Dorfstras
Hello all,
i have written an small application with struts. Now i have a problem,
which is easily to solve with such languages as PHP.
But with Struts it seems not to be such easy. I have read all the
documentation and what i could find in the archives nor in google.
I have this pages (Tiles):
92 matches
Mail list logo