Hi Problem in Struts2.
I have problem when using OGNL to set the Object directly on Model.
For e.g.
e.g. Final html which is rendered by struts2
Dermetology
Orthopedic_dept
Art of Fashion
MBA
here i am trying to set the Object of "Department" directly on Model
"CourseImple
It's simple dude use s:if and s:else like mentioned below
if part
else part
hope it will help u.!
Regards,
Jignesh
carmi_cd wrote:
>
> hi i'm new in struts 2..my question is how can i get a value from a
> member variable of my action class and
> evaluate it in my if-else-if
hi i'm new in struts 2..my question is how can i get a value from a member
variable of my action class and
evaluate it in my if-else-if statemet?
i try to code it but it doesn't evaluate properly..here is my exisiting
code.
Loading report... Ple
Giovanni Azua wrote:
hi all,
I have within a S2 self updating Ajax remote DIV a displaytag table
that flickers terribly. Is there any cheap way to get rid of the
flickering?
I think this is an interesting question. Its inevitable that for a
moment the content of the div will be replaced in t
That should work and you will get a validation error, the only problem
is that it won't show up on the xhtml theme, so you will have to use
musachy
On 10/23/07, chengas123 <[EMAIL PROTECTED]> wrote:
>
> Does anyone have any ideas on how the dojo ajax tags can be validated
> (autocompleter, datet
Does anyone have any ideas on how the dojo ajax tags can be validated
(autocompleter, datetimepicker, etc.)? I was told this was fixed in 2.1,
which I am using, but I cannot get it to work. I'd like to make my
autocompleter required and have it validate the same as my other fields.
Can I valida
Hi,
I have a currency input field (BigDecimal). In my location the decimal
point is comma, eg, 10,00(==10.00) must be permitted. Struts is throwing a
message error : Invalid field value for field "valor".
Thanks
Herrera
--
View this message in context:
http://www.nabble.com/-s2--number-
Hi,
I'm trying to perform some basic javascript validation using a form
with the simple theme.
I just added the onsubmit parameter in the form tag:
but the form is ALWAYS posted, so there might be an error somewhere.
Looking at the html source code, the form.ftl template generates
so this i
Interceptors don't go on the value stack. They're similar to filters -- the
intercept() method is executed before the action is run, and they can (say)
initialize your action, but they're not used as value objects.
You might be thinking of the Model Driven interceptor. The Object returned
by (you
Hi,
I have a problem running the exception handler in struts 1.3 .
I am using struts modules config/useraccount, config/blogdigest ..etc
defined in web.xml duly.
I have set an exception Handler for java.lang.Exception
And In the exception handler I wrote
public class GeneralExceptionHandl
Am Montag, 22. Oktober 2007 13:23:38 schrieb zul;jami:
> Still I am getting the error,
> my execute also fires update on load.
> There is no img tag with empty src attribute
execute() is triggered when the action is called, not only when you submit
your data.
Piero
-
Yes.
Fixed the problem.
I had the jar in the EAR and not in the WEB-INF/lib directory
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Paul Benedict
Sent: Monday, October 22, 2007 2:49 AM
To: Struts Users Mailing List
Subject: Re: Struts TLD Parse Error
A
Hello,
I am trying to submit my form but I have a validator problem on a texfield:
prixHT is a Double that I set to 19.99, and I validate data with annotations
:
@Validations(
requiredStrings = {
...,
@RequiredStringValidator(
Am Montag, 22. Oktober 2007 19:27:59 schrieb enthucoder:
> I have requirement where, i need to send session id of app2 to a listener
> page in app1 (i.e non jee based one and i am allowed to send this
> information as a 'get'), everytime the a new page loads or user goes to new
> page in app2, with
Whats wrong with the mailreader tutorial? It has been offline for quite a
while now..
http://www.planetstruts.org/struts2-mailreader/Tour.do
--
View this message in context:
http://www.nabble.com/Mailreader-tutorial-offline--tf4677083.html#a13363078
Sent from the Struts - User mailing list arch
hi all,
I have within a S2 self updating Ajax remote DIV a displaytag table that
flickers terribly. Is there any cheap way to get rid of the flickering?
The showcase example also flicker slightly but when there is more
content then it becomes really bothering.
TIA,
regards,
Giovanni
--
Just for the records ... I managed to have it working so displaytag
re-sorts the last user selection whenever the AJAX DIV refreshes. It
works using the includeParams option set to "get":
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="display" uri="http://displaytag.sf.n
Are there any examples of how to write Actions for the multiselect
tags such as documentation only explains how to use the tags themselves, but not
what the action or model should look like and whether any conversion
is required between the two.
I have already trawled through nabble to fi
18 matches
Mail list logo