tag attributes evaluation

2010-06-13 Thread Oleg Mikheev
quire 'force evaluation'. The only resource that mentioned it was Dave Newton's letter http://old.nabble.com/Re%3A-S2-tags---dynamic-attributes-p19292043.html I really think that this notation must be documented specifically on this page: http://struts.apache.org/2.1.8.1/

Re: [s2] saxon9-dom.jar ?? RESOLVED

2010-03-21 Thread Oleg Mikheev
Oleg Mikheev wrote: > Do I really need to have saxon9-dom.jar with it? That strange error message was caused by some other jars in Tomcat share lib folder, probably castor. Strange.... Oleg - To unsubscribe, e-mail: u

Re: [s2] struts2-core depends on Spring?

2010-03-21 Thread Oleg Mikheev
created an issue https://issues.apache.org/jira/browse/XW-379 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

[s2] struts2-core depends on Spring?

2010-03-21 Thread Oleg Mikheev
Hi, I don't like Spring and that's why I'm using Struts2. I thought that Struts2 Spring integration is optional, at least that's the official version. Unfortunately mvn dependency:tree tells me that struts2-core depends on Spring: [INFO] +- org.apache.struts:struts2-core:jar:2.1.8.1:compile [IN

[s2] saxon9-dom.jar ??

2010-03-20 Thread Oleg Mikheev
.. 36 more Oleg - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

[s2] archetypes

2010-03-20 Thread Oleg Mikheev
documentation to include a note about the workaround? Thanks, Oleg - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

S2: Adding global error with annotation field validation

2009-10-22 Thread Oleg T.
would really like to keep my annotation validation. Any ideas? Thanks, Oleg - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Problem moving from 2.0.14 to 2.1.6

2009-02-03 Thread Oleg T.
It eliminated the error, however, now field specific message defined for the Model does not get displayed. I am still testing and will try the same implementing ModelDriven. Thanks, Oleg On Mon, Jan 26, 2009 at 6:20 PM, Gustave Pheiffers wrote: > Thanks Peter. > > That fixed th

Re: Problem moving from 2.0.14 to 2.1.6

2009-01-26 Thread Oleg T.
gestions guys? Since Gus and I are the only ones seem to have this problem, I am wondering if anyone upgraded and was able to use VisitorFieldValidator without passing a message and without getting an error? Thanks, Oleg On Thu, Jan 22, 2009 at 11:56 AM, Gustave Pheiffers wrote: > Hi, > &

Problem moving from 2.0.14 to 2.1.6

2009-01-21 Thread Oleg T.
I am trying to upgrade to 2.1.6 and getting an error on Validation that I am having problems isolating. I followed migration guide at http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html and didn't actually have to change that much since application is in very

s:select problem with data conversion

2008-12-24 Thread Oleg T.
Hi, I am using Struts 2.0.12 and having a problem getting selected="" to work on s:select with my data converter. It seems that converter is called when I submit from the select box, but when its populated its never called. 1. My select is: 2. Converter is defined in xwork-conversion file 3. p

[S2] Adding dojoType to

2008-12-15 Thread Oleg T.
Hi, I am using Struts 2.0.14 without Ajax theme since its end-of-life now with 2.1 in the works. I still want to use Dojo but as a standalone. What work arounds are there to add dojoType to a Thanks, Oleg - To unsubscribe, e

[S2] submitting object from

2008-11-28 Thread Oleg Tim
; State { int id; String name; } and Any way to have struts 2 make the conversion so I don't to manually look up the State object via submitted key? Thanks a lot, Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

S2 AJAX validation article

2008-10-07 Thread Oleg Mikheev
e me to create a separate freemarker template per each web form. Thanks, Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts 2.1 release?

2008-08-28 Thread Oleg Mikheev
Hi guys! What are the plans for v2.1 release? Is there any roadmap available? Like this one but with dates: http://cwiki.apache.org/S2WIKI/21-to-25-roadmap.html Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: regex validator and BigDecimal

2008-08-25 Thread Oleg Mikheev
ndario wrote: Is there any way to validate the string before conversion to BigDecimal? The right (and default) way of handling conversion errors is to use the Conversion Error Interceptor: http://struts.apache.org/2.x/docs/conversion-error-interceptor.html There is no converter for BigDecimal,

Re: S2 Ajax validation & actionErrors

2008-08-22 Thread Oleg Mikheev
't display action errors it might be a good idea to implement that, I guess it's not hard to do - modify s:actionerror tag and add some code to addError JavaScript. I can't do that b/c of my defense in October :) Thanks Oleg --

S2 Ajax validation & actionErrors

2008-08-22 Thread Oleg Mikheev
Hello To put it straight: do I understand it right that S2 AJAX validation doesn't take care of action errors, only the field ones? So that action errors are displayed only on submit. Thanks - To unsubscribe, e-mail: [EMAIL PR

Re: URLEncoding a string

2008-08-19 Thread Oleg Mikheev
Dave Newton wrote: I'm pretty sure it's Struts 1, since there are both and tags. The answer, however, is probably the easiest. My bad :) I always keep forgetting that two Struts' share one mail list Oleg -

Re: URLEncoding a string

2008-08-19 Thread Oleg Mikheev
URL to a variable and then use it in your html:link (with an OGNL expression :) Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts 2.1 tags + JSTL EL?

2008-07-15 Thread Oleg Mikheev
Chris Pratt wrote: I proposed a method of enabling JSTL EL safely a while ago, but I haven't heard anything (or had any time to actually do anything about it myself). But if they had to get rid of one of two ELs why did they decide to keep OGNL? Isn't JSTL more popular and more stand

Struts 2.1 tags + JSTL EL?

2008-07-15 Thread Oleg Mikheev
Hi Are there any plans to re-enable JSTL EL in custom tags which was disabled starting from Struts 2.0.10? And, where can I find the changes between Struts 2 and 2.1? Any 2.1 documentation available yet? Thanks, Oleg - To

REST and JSON plugins

2008-07-14 Thread Oleg Mikheev
2 in Action book it seemed that he wasn't aware of JSON plugin at all - he devoted several pages to implementation of a custom JSON handlers instead of just dropping JSON plugin into Struts 2 stack.. Oleg - To unsubscri

Re: Expressions and migration from 2.0.9

2008-05-19 Thread Oleg Mikheev
Dave Newton wrote: Change the TLD? The combination of the two levels of EL is a security risk in some applications. If you're not worried about it or not affected by it then it's an easy, if annoying, workaround. Thanks Is repackaging struts jar the only way of doing that? --

Re: Upgrade from 2.06 to 2.011.1 Error

2008-05-19 Thread Oleg Mikheev
Hoying, Ken wrote: Editorial: I cannot help but wonder if these consecutive painful upgrades are going to have an adverse affect on Struts2 adoption, future user base and perception. I have been a big proponent of Struts2 up till now, but must admit that I am finding myself questioning if there

Expressions and migration from 2.0.9

2008-05-19 Thread Oleg Mikheev
I was trying to upgrade from 2.0.9 to the latest Struts 2 and encountered this issue: http://issues.apache.org/struts/browse/WW-2107 If I have a lot of code like this: fieldValue="${requestScope[tmpVar]}" value="${not empty renewaledId ? false : requestScope[tmpVar]}"

Re: [Struts2] Table pagination (paging)?

2008-05-19 Thread Oleg Mikheev
sol myr wrote: What's the Strut2 recommendation for Table Pagination (AKA Paging)? We're showing a large table (say, 500 records) and need to break it down to 25 pages (20 records per page). http://www.javaworld.com/javaworld/jw-08-2007/jw-08-ajaxtables.html -

Re: Datagrid in Struts2

2007-12-09 Thread Oleg Mikheev
quinquin2209 wrote: I am using Struts 2 and I wanna develop a datagrid as that provided in Struts Layout. I have couple of questions: I don't know what Struts layout is, but there is a nice grid in dojo 1.0 (in dojox). It's not included in Struts2 (I think), but it will be someday. --

Re: OT, ajax form submission

2007-09-29 Thread Oleg Mikheev
Zarar Siddiqi wrote: I really recommend using something like Prototype to do your Ajax stuff. There's no need to reinvent the wheel and introduce countless Struts2 incorporates DoJo, so there's not much sense adding another Ajax framework -

Re: OT, ajax form submission

2007-09-28 Thread Oleg Mikheev
Henry Park wrote: I could not get the packaged struts2 ajax implementation to work, so I am trying to go at it with plain javascript. I have Struts2 ajax working fine. What was the problem? - To unsubscribe, e-mail: [EMAIL

Re: Slow Web Page, Speed Up?

2007-09-28 Thread Oleg Mikheev
Brian Trzupek wrote: value="[EMAIL PROTECTED]@getRequest().isUserInRole('Administrator')}"/> Both of the above constructs should execute in no time. I really think that there is something else that slows downs your page load time. You can always measure the time that your JSP page took

Re: struts 2.1 beta

2007-09-25 Thread Oleg Mikheev
Dave Newton wrote: I have just renamed it to struts2-core.jar and replaced in my application that was working with 2.0.9 version. You can't just randomly replace libraries. You can replace 2.0.8 with 2.0.9, but you can't replace 2.0.9 with 2.1.0 This is what they call a rule of thumb 8-) ht

Re: Newbie question about parameters for an Action

2007-09-23 Thread Oleg Mikheev
Phil404 wrote: I don't think this is the problem since if I view source the generate code says: <--img src='/surveytortoise-main/piechart.action?visual=10&auditory=15&kinesthetic=20' /> So, the code seems to be correct. Why are these parameters not being set by Struts2? Please help! Does an

Re: Newbie question about parameters for an Action

2007-09-23 Thread Oleg Mikheev
Phil404 wrote: I presume you mean org.apache.struts2.servlet.ParameterAware. If I implement setParameters(), it is not called before the execute() method. I'm still in the dark. I feel like I'm missing something really simple. Try this: http://www.nabble.com/-S2--Using-%3Cs:url%3E-t3884129.h

Re: setting the s:select label font-style

2007-09-23 Thread Oleg Mikheev
Session A Mwamufiya wrote: Any pointers as to which template file I should be modifying? Get Firebug and see what exactly makes it being italic. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: images not being displayed with struts 2

2007-09-23 Thread Oleg Mikheev
Session A Mwamufiya wrote: I ran a simple jsp page with the tag to add an image, and it ran fine. However, if I do the same in my struts 2 project, I don't get anything showingup. My image file is within the same folder as the jsp file and is referenced the same way in both cases. Any ideas

Re: Spring tutorial

2007-09-22 Thread Oleg Mikheev
Martin Gainty wrote: Im sorry.. what is the question? I think he is asking whether he needs to use Spring fw to connect to DB several times. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Question

2007-09-21 Thread Oleg Mikheev
Marc Eckart wrote: Any ideas? Or any other suggestions? http://www.javaworld.com/javaworld/jw-08-2007/jw-08-ajaxtables.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: s:submit tag question

2007-08-31 Thread Oleg Mikheev
N N wrote: And a JSP (fragment): ... ... It's a miracle. Empty JSPs don't usually result in any request parameters. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: S2 Ajax : Static files - what, where?

2007-08-29 Thread Oleg Mikheev
using a Firefox and Firebug w/o which getting the real HTML output is a nightmare. All you need to do is to substitute tag with HTML tag that is generated, and remove all tables/other layout and add yours. Then make sure JS function I mentioned work fine with your layout - me

Re: S2 Ajax : Static files - what, where?

2007-08-28 Thread Oleg Mikheev
emes seemed too complicated to me, so I just looked at the HTML output of ajax theme tags and copied them with my changes to JSP. Do you edit freemarker files to extend a theme? Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: 2 jsp files using the same form

2007-08-28 Thread Oleg Mikheev
Anna Simbirtsev wrote: Hello I have 2 screens that use the same form. The form class has a validate function. To distinguish which screen(jsp file) is using the form I do the following in jsp files: <% session.setAttribute("page", "add") %> <% session.setAttribute("page", "add_2") %> Then in th

Re: S2 Ajax : Static files - what, where?

2007-08-28 Thread Oleg Mikheev
that I've mentioned. I don't think there is any documentation about that, just my debugging experience. Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: S2 Ajax : Static files - what, where?

2007-08-28 Thread Oleg Mikheev
t function function addError(e, errorText) {...} and it will substitute the one called by validation fw. Same about function clearErrorLabels(form) {...} and function clearErrorMessages(form) {...} Concerning WebSphere - this sucks :) Is it a known issue with

Re: S2 Ajax : Static files - what, where?

2007-08-28 Thread Oleg Mikheev
the steps to do this ? . I need to know : Alex, Please keep in mind that AJAX Validation doesn't effect the Performance. Performance should be considered with AJAX as a whole, and its validation part doesn't take much resources. Oleg --

Struts 2 and AJAX tables

2007-08-28 Thread Oleg Mikheev
Hi! I wrote an article on AJAX tables with Struts 2: http://www.javaworld.com/javaworld/jw-08-2007/jw-08-ajaxtables.html Should a module be created based on that concept? Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Passing variables in url

2007-08-27 Thread Oleg Mikheev
ion context: <% request.setAttribute("value_", duf1.getValue()); %> In JSTL syntax the same would look like: Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Passing variables in url

2007-08-27 Thread Oleg Mikheev
are calling it a JSP bean, which is not a JavaBean. Although this is just my guess. Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts 2 and DWR

2007-08-24 Thread Oleg Mikheev
object. Hope somebody finds it useful. Did you take a look at Struts 2 JSON Plugin? Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Fw: Date problem

2007-08-18 Thread Oleg Mikheev
outputted by DataFormat.getDateInstance(DataFormat.SHORT).format(yourDate) What value do you enter? Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: guice and custom converters

2007-08-16 Thread Oleg Mikheev
Oleg Mikheev wrote: Anyone fought a problem with guice plugin not working with custom converters? I'm working it around by using per field converters instead of global ones, but it's no good. Oleg - To unsubscri

Re: debugging tag syntax problems

2007-08-16 Thread Oleg Mikheev
ogged? Syntax errors should be caught on stage of editing your JSP by your favorite editor. Idea validates tag syntax, and I'm sure other IDEs have this functionality too. Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Fw: Date problem

2007-08-16 Thread Oleg Mikheev
. You don't have to do anything to do that. Default conversion for date is SHORT format, to override - write your own converter. Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

guice and custom converters

2007-08-16 Thread Oleg Mikheev
Hi! Anyone fought a problem with guice plugin not working with custom converters? Thanks, Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Re: Passing value from Struts tag in JSP to Action class

2007-08-14 Thread Oleg Konovalov
That worked for me: <% String str="form.action='action.do?command=notify&rowId="; %> onclick="<%= str%>'" /> And in Action: String rowId = request.getParameter("rowId"); Thank you all, Oleg. On 8/13/07, Frank W. Zammetti <[EMA

Re: [OT] Re: Passing value from Struts tag in JSP to Action class

2007-08-13 Thread Oleg Konovalov
vascript will get screwed up - will complain. And I will have to make all inside a scriplet, something like: onClick="<% form.rowId.value=<*c:out* *value=*'${list.rowId}/>; form.action='action.do?command=notify' %>" Is that better ? On 8/13/07, Frank W. Zammet

Re: [OT] Re: Passing value from Struts tag in JSP to Action class

2007-08-13 Thread Oleg Konovalov
x27;t want to coexist with any Javascript. I would not like to have multiple forms on one JSP page. So which of your suggestions would you recommend in my case ? And how do I get a value of rowId in Action class (notify action), via request.getSession().getAttribute("rowId") ? Thank you

Re: [OT] Re: Passing value from Struts tag in JSP to Action class

2007-08-12 Thread Oleg Konovalov
Value] in Action class ? TIA, Oleg. On 8/11/07, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > What is rowId? That's not a standard attribute of the tag, > hence the error makes sense I think, assuming it's being interpreted > equivalent to this.rowId... also,

Re: [OT] Re: Passing value from Struts tag in JSP to Action class

2007-08-11 Thread Oleg Konovalov
Dave, What am I doing wrong in that Javascript ? Honestly, I don't see it. Please help ! Thank you, Oleg. On 8/10/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > --- Oleg Konovalov <[EMAIL PROTECTED]> wrote: > > > As of now I am getting Javascript error

Passing value from Struts tag in JSP to Action class

2007-08-10 Thread Oleg Konovalov
completed] Now how do I pass it , is that the right way of doing it with calling request.getSession().getAttribute(rowId) in the Action class ? As of now I am getting Javascript error "Object doesn't support this property or method", complaining about *rowId=value;* Using Struts 1.3 Please help ! TIA, Oleg.

Re: Accessing ActionForm from JSP

2007-08-08 Thread Oleg Konovalov
How can I do that from the Scriplet ? TIA, Oleg. On 8/2/07, Aram Mkhitaryan <[EMAIL PROTECTED]> wrote: > > Try this > > ${actionFormName.propertyName} > > Best, > Aram > > Aram Mkhitaryan > > 52, 25 Lvovyan, Yerevan 375

Re: reloading a tree at a certain level of expension

2007-08-07 Thread Oleg Mikheev
and if it's not included there yet - sometimes S2 code changes faster than its documentation). Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: reloading a tree at a certain level of expension

2007-08-07 Thread Oleg Mikheev
, but I'm not sure how to get it or set the tree to it, or if it's even possible. You don't need to be an expert to see that s:tree doesn't have support for auto expanding trees. You will have to do it programaticaly: http://dojotoolkit.org/pipermail/dojo-interest/20

Access Form property from JSP

2007-08-07 Thread Oleg Konovalov
Hi, I would like to access a Struts [1.3] Form property from the JSP page via scriplet. Is there a simple way of doing that ? TIA, Oleg.

Re: Ajax submit button executeScripts="true" evaluates javascript before DOM elements are defined

2007-08-07 Thread Oleg Mikheev
rrecoba wrote: i have an ajax submit button that replaces the div specified by the targets attribute with the result from an action, and the result returned by the action has some javascript to be executed that uses the document.getElementById(). I´ve read that this is a known issue (WW-1951)

Re: Ajax submit button executeScripts="true" evaluates javascript before DOM elements are defined

2007-08-07 Thread Oleg Mikheev
rrecoba wrote: i have an ajax submit button that replaces the div specified by the targets attribute with the result from an action, and the result returned by the action has some javascript to be executed that uses the document.getElementById(). I´ve read that this is a known issue (WW-1951)

Re: [S2] validation continue even if there is an error

2007-08-07 Thread Oleg Mikheev
alidity check is a task of DTD attached. Please put DTD (or Schema) to the XMLs and it will cure your issues. (In 2.0.9 DTDs became required for validator XMLs I think) Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: executeScript not working?

2007-08-07 Thread Oleg Mikheev
loaded. Try putting smth like _container_.addOnLoad(function() {alert('hi');}); inside the result. Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [struts2]: maturity / production experience ?

2007-08-07 Thread Oleg Mikheev
sol myr wrote: 1. Have you used struts2 in production, and did you feel it was mature and stable? We used it. It's AJAX theme is not very mature, the rest is. If you know how to use DOJO manually - you're pretty s

Re: executeScript not working?

2007-08-06 Thread Oleg Mikheev
s that the scripts in the reoladed content is not being executed, any idea? Alta persona Doesn't s:a have a parameter telling to execute scripts? Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Access control with roles

2007-08-06 Thread Oleg Mikheev
.4/docs/tutorial/doc/index.html and read Chapter 32, web-tier in particular. Other security mechanisms are available too, but that's another story. Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Access control with roles

2007-08-06 Thread Oleg Mikheev
eptor/RolesInterceptor.html the beauty of it is that unlike standard J2EE security constraint is can reference roles not described in web.xml Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: performing multiple things with a single button

2007-08-02 Thread Oleg Mikheev
-conditional and doesn't depend on logic of 1 or 2 (validation for instance). Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Accessing ActionForm from JSP

2007-08-01 Thread Oleg Konovalov
Hi, How can I access an ActionForm from my JSP in Struts 1.2-1.3 ? Thank you, Oleg.

Re: Struts 2 URL parameters lost

2007-07-31 Thread Oleg Mikheev
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 request map (when we implement RequestAware), the parameter map (when we implement ParameterAware),

Re: [S2] How to disable/hide ui components with javascript

2007-07-31 Thread Oleg Mikheev
setecastronomy wrote: Hello, I'm moving the first steps with S2. I'm going to build a form with many input components. Some of them should be disabled or hidden based upon the selection of a radio button. In a pure jsp scenario where html tags are used I can link some javascript function which us

Re: Converting OptionsCollection to Options

2007-07-30 Thread Oleg Konovalov
JSP: <%--html:select property='selectedFromIds' multiple="true"-->

Converting OptionsCollection to Options

2007-07-30 Thread Oleg Konovalov
Hi, I wrote a simple screen with 2 html:selects [fromList, toList] and 2 buttons Add & Remove using html:optionscollection tag and now need to rework the code using "html:options collection=" to something like [that is a piece of my existing application which I have to follow]: wher

Re: Struts tags help

2007-07-30 Thread Oleg Mikheev
t.println("Welcome " + user.getUsername() + "!"); %> Just try this: ${user.username} Depending on JSP version you're running it might work. (I know it's not struts tags but no need to complicate things) Oleg -

Re: IoC and Guice 1.0 Struts 2.0.8

2007-07-27 Thread Oleg Mikheev
ce-struts2-plugin-1.0.1.jar) to WEB-INF/lib, and put this line to struts.xml: That's all I had to do to be able to use @Inject in actions. Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Manipulating Collection in Struts Tag libs (options)

2007-07-25 Thread Oleg Konovalov
Any other useful Struts tag for that [and to do Collection synchronization with DB]? Code snippets ? Sorry for the newbie question. Thank you in advance, Oleg. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Using Struts tag libs

2007-07-23 Thread Oleg Konovalov
cially to do DB synchronization]? Code snippets ? Sorry for the newbie question. Thank you in advance, Oleg. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[s2] Error setting 'dojo.transport'

2006-11-07 Thread Oleg Galkin
The resulting query string for the div href action indeed includes 'dojo.transport=xmlhttp' parameter. Does dojo toolkit add it? If so is it possible to ignore it in Parameters interceptor? Thanks, Oleg _ FREE pop-up blocki

[s2] UrlHelper bug

2006-10-30 Thread Oleg Galkin
UrlHelper uses & to add GET parameters. This results in wrong hrefs in anchor tags like /.../...?id=1&index=1. Besides, UrlHelper.parseQueryString uses plain & to separate parameters and merges parameters incorrectly for url tag when includeParams is get or all. See also http://forums.opens

Re: Posting from 1JSP to 2Actions and 2Forms

2005-11-17 Thread Oleg
Michael, I tried that, however it seems to work only if actions are using same ActionForm if lets say each action uses its own form, the second action gets the form with its original values (from session) without any changes taken from the JSP page. Any ideas? Thanks Oleg On 11/16/05, Oleg

Re: Posting from 1JSP to 2Actions and 2Forms

2005-11-16 Thread Oleg
it is Oleg On 11/15/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > If I remember correctly, when you either forward or redirect from one > action to another, Struts performs the reset/populate/validate > sequence again. If you redirect, the request is empty, so nothing to >

Re: Posting from 1JSP to 2Actions and 2Forms

2005-11-15 Thread Oleg
I read through the documentation and it seems like a nice add-on, however, I did not see any examples on submitting two action forms with one jsp page at the same time. Can you show me a code sample? Thanks Oleg On 11/15/05, Oleg <[EMAIL PROTECTED]> wrote: > Cool. I will check it out.

Re: Posting from 1JSP to 2Actions and 2Forms

2005-11-15 Thread Oleg
Cool. I will check it out. Any other ideas on how to do it without extra libraries, with just struts? Thanks, Oleg On 11/15/05, Danny Lee <[EMAIL PROTECTED]> wrote: > Yeap I had similar problem too, > perfectly solved with Struts Dialogs Framework. > > Just check this s

Posting from 1JSP to 2Actions and 2Forms

2005-11-14 Thread Oleg
orm C) - > Action A(ActionForm A) What do you think guys? Whats the best way to go about it. Thanks, Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Dynamically sized Form problem: getting String[] from multiple select

2005-10-14 Thread Oleg
cast exception. What can I do? thanks, Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Dynamicly sized Form problem: cant keep order

2005-10-14 Thread Oleg
Ok, this is embarrassing, of course HashMap doesnt guarantee the order, TreeMap did the trick, sorry :) Oleg On 10/14/05, Oleg <[EMAIL PROTECTED]> wrote: > I have been hours at this, going crazy. I am setting up Dynamicly sized form. > > st

Dynamicly sized Form problem: cant keep order

2005-10-14 Thread Oleg
size 16 with array[0] record placed at map[6] and array[1] record placed at [1]. So when I display records with c:forEach loop: It all our of order! Any ideas guys as to how to keep it ordered? Thanks Oleg - To unsubsc

Dynamicform field type

2005-09-26 Thread Oleg
I found a bunch of posts and articles on dynamic forms but I havent found any tips on how one can dynamically define wheter the field will be html-el:text, html-el:img, .. Bascially something like: Of course a dirty way would be printing out plain html like

override a tile set by UrlController

2005-03-15 Thread Oleg
work. Any ideas why it does not work and what I can do to fix it? Thank you Oleg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problem submiting List-Backed Indexed ActionForm

2005-01-17 Thread Oleg
Thank you everyone for your help. This page http://wiki.apache.org/struts/StrutsCatalogLazyList explained the process very clearly, perfect! Thank you, it works now. Oleg On Sun, 16 Jan 2005 10:03:32 -0800, Richard Yee <[EMAIL PROTECTED]> wrote: > Why don't you send the code

Re: problem submiting List-Backed Indexed ActionForm

2005-01-15 Thread Oleg
u should initialize it while declaring or in the > reset() > > > On Sat, 15 Jan 2005 17:06:33 -0800, Oleg <[EMAIL PROTECTED]> wrote: > > I finally got it to display, no problem, however there is an error > > w

problem submiting List-Backed Indexed ActionForm

2005-01-15 Thread Oleg
String type; ... with all getters and setters .. ... JSP (displays no problem!!): Hit the wall here, big time. Thanks, Oleg

Re: problem with List-Backed Form

2005-01-15 Thread Oleg
ou have a select, you don't want an ArrayList from request scope. > You want the value selected to be the value of the option name. > Right? > > Also, you can do indexed properties with JSTL. > > Jack > > > On Sat, 15 Jan 2005 14:31:27 -0800, Oleg <[EMAIL PROTECTED]&

Re: problem with List-Backed Form

2005-01-15 Thread Oleg
ArrayList from request scope. Any ideas how would I get the ArrayList of fields after from is posted and populate ActionForm manually? Oleg On Sat, 15 Jan 2005 02:37:28 -0600, Kishore Senji <[EMAIL PROTECTED]> wrote: > Sorry forgot to tack on the actual property >

Re: problem with List-Backed Form

2005-01-15 Thread Oleg
/setter for a hole List but getters and setters for the label,type, are within the Bean rather than ActonForm. Still stuck guys, what else can I try? Thanks, Oleg On Sat, 15 Jan 2005 04:26:21 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote: > I don't know what Kishore is talking abou

  1   2   >