I don't know if it works and/or it what you're looking for, but it
worths at least a try:
${m.dispName}
Please let me know if it works.
On 10 May 2011 17:44, Scott Koenig wrote:
> Hello,
>
> This may fall under nested EL expressions, which to my understanding are
> intentionally d
On Tue, May 10, 2011 at 11:44 AM, Scott Koenig wrote:
> This may fall under nested EL expressions, which to my understanding are
> intentionally disallowed, but I was wondering if there was EL syntax that
> would support what I am trying to do, namely, set a URL based on a
> conditional, or if I sh
Hello,
This may fall under nested EL expressions, which to my understanding are
intentionally disallowed, but I was wondering if there was EL syntax that
would support what I am trying to do, namely, set a URL based on a
conditional, or if I should stick with .
Currently I have
${m.dispName
Antonio Petrelli on 05/11/07 08:14, wrote:
2007/11/4, Adam Hardy <[EMAIL PROTECTED]>:
Antonio Petrelli on 04/11/07 16:17, wrote:
2007/11/4, Adam Hardy <[EMAIL PROTECTED]>:
I want to concatenate 2 vars into a string in EL but since one is a
Long, EL
can't do it, and throws a NumberFormatExcep
Would this work?
href="${pc:url('/category/edit.html?category.id=')}${category.id}"
> -Original Message-
> From: Adam Hardy [mailto:[EMAIL PROTECTED]
> Sent: Sunday, November 04, 2007 8:07 AM
> To: Struts Users Mailing List
> Subject: EL expressions an
2007/11/4, Adam Hardy <[EMAIL PROTECTED]>:
>
> Antonio Petrelli on 04/11/07 16:17, wrote:
> > 2007/11/4, Adam Hardy <[EMAIL PROTECTED]>:
> >> I want to concatenate 2 vars into a string in EL but since one is a
> Long, EL
> >> can't do it, and throws a NumberFormatException because it wants them
> b
Antonio Petrelli on 04/11/07 16:17, wrote:
2007/11/4, Adam Hardy <[EMAIL PROTECTED]>:
I want to concatenate 2 vars into a string in EL but since one is a Long, EL
can't do it, and throws a NumberFormatException because it wants them both to be
Longs so it can do arithmetic addition instead.
Yo
2007/11/4, Adam Hardy <[EMAIL PROTECTED]>:
> I want to concatenate 2 vars into a string in EL but since one is a Long, EL
> can't do it, and throws a NumberFormatException because it wants them both to
> be
> Longs so it can do arithmetic addition instead.
You could set a string variable this way
This is slightly off-topic but I hope not too much, and there is a reference to
struts here because I used to do this with struts1 taglibs!
I want to concatenate 2 vars into a string in EL but since one is a Long, EL
can't do it, and throws a NumberFormatException because it wants them both to
Laurie Harper wrote:
Konrad Billewicz wrote:
I unfortunately don't know anything about JSTL. My project is so
urgent that currently I am not able to experience and use this
technology. But I'll look at it closely. Thank you for advice.
Invest an hour on some learning and you'll be repaid w
Konrad Billewicz wrote:
I unfortunately don't know anything about JSTL. My project is so urgent that
currently I am not able to experience and use this technology. But I'll look at
it closely. Thank you for advice.
Invest an hour on some learning and you'll be repaid within a day ;-)
--
Laurie
Konrad Billewicz a écrit :
do you need to put dictionaryId to querystring?
i come up with
">
as an alternative
It is a good idea. But... shouldn't I avoid using non-Struts HTML form tags in
Struts-driven applications? I am quite new in Struts and I don't want to get bad
habits. :-)
In
Laurie Harper holoweb.net> writes:
> Firstly, you can combine get with forms; if you use method="GET" the hidden
> parameter Dave suggested will show up in the URL. Either way, you wouldn't
> have to 'check the request and secondly the form' since GET and POST
> parameters are both accessed th
Konrad Billewicz wrote:
Dave Newton pingsite.com> writes:
I've never put a parameter in a form's action attribute--why would you
want to do that? Wouldn't it be much cleaner to use a hidden form field
with the appropriate parameter name?
So your original example would be (minus whatever sill
Dave Newton pingsite.com> writes:
> I've never put a parameter in a form's action attribute--why would you
> want to do that? Wouldn't it be much cleaner to use a hidden form field
> with the appropriate parameter name?
>
> So your original example would be (minus whatever silly syntax mistake
Konrad Billewicz wrote:
value="<%= SomeConstantsHolderClass.CONSTANT_STRING +
SomeConstantsHolderClass.CONSTANT_STRING %>" />
It's not exactly what I expected, but it's better solution than mine. Ideally I thought
about complete aviodance of <% and %> tags. I wish to use only Struts
> do you need to put dictionaryId to querystring?
> i come up with
>
> ">
> as an alternative
It is a good idea. But... shouldn't I avoid using non-Struts HTML form tags in
Struts-driven applications? I am quite new in Struts and I don't want to get
bad
habits. :-)
Best regards,
Konrad B
> I'm not sure I've understood correctly what you want to do, but here's
> what I would do :
>
> id="myBean"
>value="<%= SomeConstantsHolderClass.CONSTANT_STRING +
> SomeConstantsHolderClass.CONSTANT_STRING %>" />
>
>
> ...
It's not exactly what I expected, but it's better solution th
hi, Konrad.
do you need to put dictionaryId to querystring?
i come up with
">
as an alternative
regards
ichy
Hello Konrad,
I'm not sure I've understood correctly what you want to do, but here's
what I would do :
value="<%= SomeConstantsHolderClass.CONSTANT_STRING +
SomeConstantsHolderClass.CONSTANT_STRING %>" />
...
Don't forget that you can still use an action _before_ you go to your
JSP to
Hi,
I would like to use Struts tags in JSP file in order to dynamically merge two
beans. First is constant String, second is an Integer. The current, very dirty :
-(, version is as follows (I present it in order to give you a better view of
what I'm trying to do):
...
<% String action = "cr
For reference, here's a snippet from the JSTL 1.0 Spec., Section 3.1 Expressions
and Attribute Values:
It is also possible for an attribute to contain more than one EL expression,
mixed with static text. For example, the following would display "Price of
productName is productPrice" for a list of
>
>
> a href= XX >
>
>
>
> where XX is the problem bit. I want to concatenate "/" + path +
> "${sound.fileName}" so that the href gets the full path and but only the
> filename is displayed.
Hi,
Please look at this article maybe it helps you some way:
http://www.samspublishing
Quoting andy wix <[EMAIL PROTECTED]>:
> Hi,
>
> I have been trying for about 4 hours to get something to work that would
> take about 4 minutes using scriplets! (and I can find no reference to this
> in my Core Jstl book).
>
> Basically, I have an arraylist of sound objects in the session an
Hi,
I have been trying for about 4 hours to get something to work that would
take about 4 minutes using scriplets! (and I can find no reference to this
in my Core Jstl book).
Basically, I have an arraylist of sound objects in the session and when the
user clicks one - it should play. The obje
25 matches
Mail list logo