OSIV is never suppose to flush/commit?
Gabriel Belingueres-2 wrote:
>
> I suspect that in case A) you are just creating a new POJO in memory
> (never linked to the Hibernate's Session), that's why the
> OpenSessionInViewFilter does nothing.
>
> In case B), you are loading into the Session the
You can split up the tiles xml file. In your web.xml just list the seperate
files csv style. e.g.
org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
/WEB-INF/tiles.xml,
/WEB-INF/tiles-proj.xml,
My Bad!!! Ok I got it, any way thanks, then it should work in 2.1.x.
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-Original Message-
From: Dave Newton [m
--- On Sat, 9/27/08, Jishnu Viswanath wrote:
> I have 2.1.2, any way could you grep it in webwork.tld? I
> don't have a single result in 2.1.2
You're doing it wrong; it's in 2.1.2 as well:
.../struts-2.1.2/lib/tmp $ grep -n tooltipIconPath META-INF/struts-tags.tld
295: tooltipIconPath
542:
I have 2.1.2, any way could you grep it in webwork.tld? I don't have a
single result in 2.1.2
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-Original Message---
--- On Sat, 9/27/08, Jishnu Viswanath wrote:
> Ok I misunderstood toolTipIcon for toolTipIconPath, any way
> I can not find tooltipIconPath in tlds (both 2.0.x and 2.1.x),
> so that means you can not set it.
We must have different versions then; grepping for "tooltipIconPath" in S2.1.3,
at least
Oops, Nope it will not work, it has not yet implemented I think.
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-Original Message-
From: Jishnu Viswanath [m
Ok I misunderstood toolTipIcon for toolTipIconPath, any way I can not
find tooltipIconPath in tlds (both 2.0.x and 2.1.x), so that means you
can not set it.
So the toolTipIconPath would never work,
And when looked in 2.1.x code I found this in UIBean
830 //TODO: this is to ke
--- On Sat, 9/27/08, Jishnu Viswanath wrote:
> By the way, in struts 2.0.x, the attribute toolTipConfig
> exists that what the documentation says, the link I gave
> was the doc of UIBean, I checked the code of UIBean, in
> which they split with = and add all parameter to the ftl.
Nobody's talkin
Martin,
I have not tried with form, but the textarea did not gave me any
error, but I did not find any code to use the tooltip in the ftl, so I
think they completely ignore the attribute, If you want you have to
override the ftl in another theme, I think.
PS: No idea on 2.1.x cos I have n
Hi,
That quite unusual, cos I have just tried it, it did not gave me
any error, by the way it wont work as the ftl was never given any
indication on what to do with it.
I can't test it now either, cos I have migrated whole code to dojo 1.0,
so we chucked things that we don't want one such
--- On Sat, 9/27/08, Martin Gainty wrote:
> what happens when you configure the tooltipIconPath
> attribute in the form beforehand ?
It creates an error a few microseconds earlier.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTE
--- On Sat, 9/27/08, Jishnu Viswanath wrote:
> I don't think its included it in 2.1 but it was there
> in 2.0.6 toolTipIcon does not come directly under but
> an attribute to toolTipConfig.
>
> Check UIBean, and tld you can find toolTipConfig.
Not sure what you're talking about.
"tooltipIcon
Dave,
I don't think its included it in 2.1 but it was there in 2.0.6
toolTipIcon does not come directly under but an attribute to
toolTipConfig.
Check UIBean, and tld you can find toolTipConfig.
http://struts.apache.org/2.0.6/struts2-core/apidocs/org/apache/struts2/c
omponents/UIBean.h
Hello Jishnu-
what happens when you configure the tooltipIconPath attribute in the form
beforehand ?
//tooltipIconPath should be inherited from form
?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments rel
--- On Sat, 9/27/08, Unmesh Kulkarni wrote:
> I need help on setting the tooltip images.
>
> tooltipIconPath attribute is defined in the tag
> documentation, so I used it as under:
>
> label="Comments" tooltip="my tooltip blah
> blah"
> tooltipIconPath="images/tooltip_question.gif"
> rows="
http://struts.apache.org/2.0.6/struts2-core/apidocs/org/apache/struts2/c
omponents/UIBean.html
Check examples
Regards,
Jishnu Viswanath
Software Engineer
*(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll
Tavant Technologies Inc.,
www.tavant.com
PEOPLE :: PASSION :: EXCELLENCE
-Or
Hi,
I need help on setting the tooltip images.
tooltipIconPath attribute is defined in the tag documentation, so I used it
as under:
But it's usage gives the following error:
Attribute tooltipIconPath invalid for tag textarea according to TLD
org.apache.struts2.dispatcher.Dispatcher.serviceAct
I think many developers slept through the Java Beans specification! Either
this, or they confused it with EJB!
On Sat, Sep 27, 2008 at 9:58 AM, Wes Wannemacher <[EMAIL PROTECTED]> wrote:
> I could be wrong, but I don't think EL can access static fields or
> methods. The easiest thing would be t
correctnone of this will work if the accessors/mutators are'nt in place
Thanks Wes
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a
I could be wrong, but I don't think EL can access static fields or
methods. The easiest thing would be to add a getter to a variable (maybe
your homeModel variable) that accesses this static field, then reference
it in your EL expression.
-Wes
On Sat, 2008-09-27 at 16:46 +0200, Gianluca Musella w
thank you Martin.
Last question on this topic.
I need to pass to my custom tag an attribute of boolean type.
The problem is that my expr involves enum. The OGNL expr for this is:
homeModel.chapterFilter == @[EMAIL PROTECTED]
So I need something like:
but it causes this error:
java.el.ELExce
I think what you want to do is wrap it in a hidden div tag.
That will hide the tag and the submit will work as expected.
Brian
2008/9/27 cpanon <[EMAIL PROTECTED]>:
> Hi Antonio
> I want Struts to render it, the browser to hide it and the post operation to
> deliver the name/value to the ac
2008/9/27 cpanon <[EMAIL PROTECTED]>:
> Hi Antonio
> I want Struts to render it, the browser to hide it and the post operation to
> deliver the name/value to the action. Is that possible with text and text
> area tags
I still cannot understand.
Do you want to render a:
or a:
/
that are invis
Hi Antonio
I want Struts to render it, the browser to hide it and the post operation to
deliver the name/value to the action. Is that possible with text and text area
tags
--- On Sat, 9/27/08, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
> From: Antonio Petrelli <[EMAIL PROTECTED]>
> Subject:
GianLuca
that attribute is in the tld
id
true
true
cannot use rtexprvalue for tiles tags or for specifying the id
http://issues.apache.org/struts/browse/STR-2527
Martin
__
Disclaimer and confidentiality note
Everything i
> You can change the tag's rtexprvalue attribute to "true" to allow EL
> expressions in S2 tags.
How to do this?
Thanks
Gianluca
2008/9/27 Gabriel Belingueres <[EMAIL PROTECTED]>:
> You can change the tag's rtexprvalue attribute to "true" to allow EL
> expressions in S2 tags.
>
> Or you can rep
2008/9/27 cpanon <[EMAIL PROTECTED]>:
> Is it possible to wrap a struts hidden tag around either a struts text or
> text area? tia
What exactly do you want to accomplish in terms of HTML?
Antonio
-
To unsubscribe, e-mail: [EMAI
You can change the tag's rtexprvalue attribute to "true" to allow EL
expressions in S2 tags.
Or you can replace with
2008/9/27 Gianluca Musella <[EMAIL PROTECTED]>:
> Thank you Dave, it's works using
>
>
>
> But if I change my tag' s definition in this way:
>
> <%@ taglib prefix="s" uri="/stru
If I understood it correctly, inside the custom tag you can evaluate
an expression like "getRandomString(#attr.lengthAttr)" against the
ValueStack that will call the getRandomString(int) method on your
action, then you can render that returned string.
2008/9/27 ManiKanta G <[EMAIL PROTECTED]>:
> I
Thank you Dave, it's works using
But if I change my tag' s definition in this way:
<%@ taglib prefix="s" uri="/struts-tags" %>
<[EMAIL PROTECTED] name="property"%>
incapsulating the use of the struts taglib into the tag, intending to
pass the property value as arguments, in this way:
I rec
--- On Sat, 9/27/08, Gianluca Musella wrote:
> Buf I if use it in this way:
>
>
You can't nest tags like that; that would imply double-evaluation of the page.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi Martin,
Interesting, I did not realize that the .action extension was not required for
the action property of s:form. I do see it now after revisiting the s:form tag
reference. I will give that change a go later today, although I am 110% the
correct action is being called despite including th
This is the sinple tag I wrote (dummy.tag), registered in the tag lib
almayer.tld:
<[EMAIL PROTECTED] name="message"%>
${message}
If I use it in this way, all work fine:
Buf I if use it in this way:
intended to resolve the value of message before of tag invocation, the
result in html is:
Hello
Is it possible to wrap a struts hidden tag around either a struts text or text
area? tia
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I've a custom tag's attribute. Based on that value, an action class need to
generate a random string (this string length will be specified as the custom
tag' attribute) which will be put in the cookie.
So as I need to generate the random string based on the length specified for
the attribute, is t
36 matches
Mail list logo