Hi, Expert,
I heavily used tag in my old S1 project but I cannot find its
equivalent in S2. Could someone tell me the workaround in S2 or whether the
future version of S2 will support it?
Thanks in advance
John
--
View this message in context:
http://www.nabble.com/%3Chtml%3Abase%3E-equivalen
Thanks, Dave. It works fine, but neither the cssClass nor cssStyle
attributes work.
- Ray Clough
[EMAIL PROTECTED]
Dave Newton wrote:
--- Ray Clough <[EMAIL PROTECTED]> wrote:
Could someone tell me what to retrieve to display
validation errors manually?
http://struts.apache.org/2.x
Hi There,
I have set the below property in my struts.properties
struts.enable.SlashesInActionNames = true
And in my struts.xml I have
/view/{0}.jsp
Now when I try to access the url "/app/user/profile.zm/ where "app" is my
namespace, I get the error
There is no Act
Pierre,
Download the example applications. One of them (I think the cookbook)
uses the actionId attribute. That should help you figure out what the
problem is. Unfortunately the stack trace doesn't tell me anything
important, so that's why I referring you to the example applications.
Paul
P
Hi,
It was my mistake I was refering to the wrong Action
class in my struts.xml
Please find my observations with regard to the portlet
session handling
1) I implemented the SessionAware interface and it's
method setSession and add the session attributes, This
works with no issues
2) in the Acti
2007/3/18, Paul Benedict <[EMAIL PROTECTED]>:
What version of the DTD are you using?
The heading of my struts-config.xml file reads as follows:
http://struts.apache.org/dtds/struts-config_1_3.dtd";>
I was wondering why the "struts-power.gif" image wasn't appearing in
struts2-mailreader-2.0.6. It won't display because the filename starts
with the word "struts". I requested the image directly but got a 404
resource() is not available error.
If you rename the image to "strut-power.gif" and chang
--- Ray Clough <[EMAIL PROTECTED]> wrote:
> Could someone tell me what to retrieve to display
> validation errors manually?
http://struts.apache.org/2.x/docs/fielderror.html
(Although... I vaguely recall a thread from last week
referring to but I can't test
right now :)
d.
__
The struts2 s:textfield tag will automatically display the validation
errors if you use the xhtml theme. I want to use the simple theme, and
don't see any examples of how to retrieve the error messages for a given
field. Could someone tell me what to retrieve to display validation
errors manu
--- [EMAIL PROTECTED] wrote:
> property="userID"
>styleClass="usertextbox"/>
> [...]
> Is there any reason for the userID to be null?
I don't really remember much about S1 ActionForms, but
do the properties have to be valid JavaBean fields,
i.e. it should be userId?
You do
This application uses
sitemesh 2.2.1
spring 2.0.3
struts 2.0.6
struts 1.2.9
struts-menu 2.4.2.1
If I put " in my header.jsp file I get a
Nullpointer exception. I found this link
http://forum.springframework.org/showthread.php?t=33874 talking about
the same error message which says the fix is in
assuming you have some manner of userForm extending actionForm
public class userForm extends ActionForm
{
//accessors
//mutators
//reset
//validate
};
//and then have an Action Class coded somthing like
public class userAction extends Action
{
//execute method
};
//struts-config.xml will need a def
--- "Kaushal, Anubhav" wrote:
> The user input is taken and then corresponding
> record is fetched from the database. Depending on
> the query result, I need to display appropriate
> message to the user. How can I achieve this?
It's not clear to me what this has to do with the
Validator framewor
What version of the DTD are you using?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I am using Struts Validator framework and DynaActionForm for performing
form data validations. The user input is taken and then corresponding
record is fetched from the database. Depending on the query result, I
need to display appropriate message to the user. How can I achieve this
?
It will
Hello,
I have a form called as UserForm(UserForm.java ) and a
UserAction(UserAction.java) configured in the struts config for the dispatch
action method named getUserDetails.The UserForm has a property called as
userID.
My JSP Code is
<%@ taglib uri="http://struts.apache.org/tags-html"; pre
Hello Martin,
I did not see the stacktrace and or exception?
Bon Chance,
Let me re-quote the full trace below.
I upgraded from 1.3.5. (Before this upgrade, I had never attempted to use
> in my action mappings.)
>
>> > I just upgraded to Struts 1.3.8. I was experimenting with adding
>> >
Hello,
I'm playing with converting an existing XML-configured
application to zero-config. We'll call it "Mailreader"
for the sake of discussion.
There's a property file called
MailreaderSupport.properties. I've converted a couple
of simplistic Actions (subclasses of
MailreaderSupport) to zero-con
Pierre-
I did not see the stacktrace and or exception?
Bon Chance,
Martin--
---
This e-mail message (including attachments, if any) is intended for the use of
the individual or entity to which it is addressed and may contai
Are you using the 1.3 DTD?
Pierre Thibaudeau wrote:
I upgraded from 1.3.5. (Before this upgrade, I had never attempted to
use in my action mappings.)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
20 matches
Mail list logo