solve a problem).
>>
>>
>> On Tue, Feb 1, 2011 at 12:56 PM, Dave Newton
>> wrote:
>> > Interceptor w/ pre-result listener?
>> >
>> > Dave
>> >
>> > On Tue, Feb 1, 2011 at 12:50 PM, Richard Sayre > >wrote:
>> >
>
I am making a mobile site for my current web application. I have a
huge number of actions that return to JSP pages. I have a mobile
detection class written.
Is there a way that I can change the result page if the user is on a
mobile device?
I want to avoid having to write this in all my actions
Due to the deprecation of the DOJO plugin I have been trying to
recreate all of my web site GUI without using Struts 2 tags.
When I create a Tabbed Pane, the web site loads, then the Tabbed Pane
renders in view of the user. Before the UI renders it looks like a
mess. When I used the struts 2 tag
I should have also mentioned that there are security issues with
persisting to the hard drive.
I would recommend saving to the database and loading the images as
needed. Do not save them to session. I do not think you will have a
performance problem.
Rich
--
>Thanks, Rich,
I''m happy to help.
> If I use BLOB, I have to make a lot of change to my code. Therefore, I have
> to persist it as String. I used base64 to encode and decode the byte[] into
> String. Because I resize the images to small ones. I use a VARCHAR length
> about 10k~20k to persist the
You need to set hte requestURI attribute
see
http://displaytag.sourceforge.net/1.2/displaytag/tagreference.html#display-el:table
On Mon, Jun 8, 2009 at 12:11 PM, Bhaarat Sharma wrote:
> Hi guys,
> I'm starting displaytag for the first time.
>
> I have a simple Struts2 action that is returning a
You should persist the images as bytes, in a binary field or something similar.
> 1. Because the image is large, it's not efficient to store it in
> objects(beans).
Well this depends on the Bean. Is the bean stored in session? If yes
then it will take up some memory. If you dont have alot of m
I have some global properties in my application that I need to access
from several of my JSP pages.
In my application I have a base action which all of my actions use. I
was thinking of putting a getGlobalProperties method in that action
that return an instance of an Singleton that holds my prope
I have a String array and I am trying to see if there is a value in it.
Using: works.
I want to use the value of an enum in place of foo.
I tried
which didn't work. Using the String literal works:
Is it possible to do this using @my.package.mye...@enum_value?
Thanks
Rich
---
Is it possible to specify all action properties in session param tag
using regex or wildcards?
On Mon, May 25, 2009 at 8:39 AM, Nils-Helge Garli Hegvik
wrote:
> Yes, the ScopeInterceptor should be able to handle this case.
>
> Nils-H
>
> On Mon, May 25, 2009 at 1:02 PM, Richa
I have an action that does some server side logic, based on that logic
I want to present the user with a Yes/No message. If they click yes I
want to save the data the user filled out before the Yes/No message.
Is it possible to carry action properties over multiple requests? I
found the ScopeInt
I want to have all of s:url tags use forceAddSchemeHostAndPort="true"
Is there a way to set this property globaly? I couldn;t find anything
in struts.properties.
Thanks,
Rich
-
To unsubscribe, e-mail: user-unsubscr...@struts.a
Hi,
I have the following defined:
application/pdf
fileStream
filename="Report.pdf"
1024
My action lookks like this
public String generateReport() {
//use api to build PDF
//the api takes an output stream
//so at th
:01 PM, Richard Sayre wrote:
> It is also happening in a Date field I have. If no dates are entered
> in the text box then I get the same error. If I provide a date then
> the conversion works.
>
> I am currently moving through the XWork and OGNL source to see what is
> causing
gt; I bet it has something to do with a null not being assignable to an int.
> Chris
>
>
>
>
>
>
>
> -----Original Message-
> From: Richard Sayre
> To: Struts Users Mailing List
> Sent: Mon, 11 May 2009 11:44 am
> Subject: Re: Converter trying to set St
e has any suggestions on how to handle this it would be
greatly appreciated
Thanks
Rich
On Mon, May 11, 2009 at 11:10 AM, Richard Sayre wrote:
> I have a bunch of check boxes called userId. In my action I have int
> userId[] and setUserId(int[] ids)
>
> When I select a checkbox the
I have a bunch of check boxes called userId. In my action I have int
userId[] and setUserId(int[] ids)
When I select a checkbox the conversion works normally. When I dont
check any boxes on the form and submit, I get the following:
2009-05-11 10:54:28,606 [http-8080-6] DEBUG []: - Property: user
I think the HTTP_USER_AGENT header should be similar to:
Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+
(KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3
If a request comes from the IPhone browser
On Fri, May 1, 2009 at 3:06 PM, Andy wrote:
>
> Hi, is there an easy way
(getStartTime_Day, getStartTime_Month,
> getStartTime_Year). The interceptor uses reflection when it encounters a
> Date setter (with a suitable annotation) in the action to look up these
> fields and parse them into a Date for setting. Lets me do validation at the
> same time.
>
> Andy.
for the Locale associated with
>> the
>> current request"
>>
>> May be this will help.
>>
>> Thank you.
>> Regards,
>> Kishan.G
>>
>> Senior Software Engineer.
>> www.spansystems.com
>>
>>
>>
>>
>>
try cssStyle="display:none"
On Fri, May 1, 2009 at 4:23 AM, taj uddin wrote:
> Hi
>
> In my application there is a need to hide a link. I have used the tag
> to generate a link and the necessity is to hide this link.
> can any one pls help out in this regard
>
>
>
>
-
@return the converted String
> */
> public String convertToString(Map context, Object o) {
>
> Date date = (Date) o;
> String formatedDate = DateUtil.dateFormater(date, PATTERN);
> return formatedDate;
> }
> }
>
>
>
> On Thu, Apr 30, 2009 at 1:19 AM, Richard Sayre wro
fied object to a String.
>> *
>> * @param context the action context
>> * @param o the object to be converted
>> * @return the converted String
>> */
>> public String convertToString(Map context, Object o) {
>>
>> Date date
I have an Action with a date attribute
private Date myDate;
public void setMyDate(Date myDate) {
this.myDate = myDate;
}
I have a form that has a date picker (not the struts 2 date picker)
that populates a text field. When I submitt the form to my action the
property does not get set because St
I have a form in my web application that can be accessd from different
places (Namespaces) in the web app.
It looks something like this
/Admin/EditSchedule.action
/MySchedules/NewSchedule.action
/Create/NewSchedule.action
/Create/EditSchedule.action
The are subtle differences in how the data is
d), it will not get
added since the name is already there from a check box that has been
submitted. I will have to find another way to achieve this since my
check box list is dynamic and can be any size. I will post some code
when I finish.
Rich
On Wed, Apr 15, 2009 at 9:05 AM, Richard Sayre wr
After reading some more documentation I tried :
-1
completeDefault is a stack I created which includes the checkbox interceptor.
This is still not setting the value in my int array.
On Wed, Apr 15, 2009 at 8:29 AM, Richard Sayre wrote:
> The Struts 2 docs says
The Struts 2 docs says the following about the Checkbox Interceptor:
setUncheckedValue - The default value of an unchecked box can be
overridden by setting the 'uncheckedValue' property.
Where in code can I call the setUncheckedValue(String uncheckedValue) from?
The problem I am facing is the f
I have encountered the same problem. While I have not fixed it with
Ajax yet, the reason it does not work is because you can not submit a
file through Ajax. You need to use an iFrame to submit file uploads.
On Tue, Feb 17, 2009 at 7:14 PM, Jon Wilmoth wrote:
> I'm curious to know why the s:file
On Thu, Jan 22, 2009 at 11:12 AM, Dave Newton wrote:
> Richard Sayre wrote:
>>
>> First I wrote a method called validate. At this point I found out
>> that I was overriding the ActionSupport method. When I tried to find
>> more information on this method I couldn&
Here is a solution I came up with so far. I wrote an action to
validate. This calls my validateData() method.
I Used the JSON plug in to return the fieldsErrors collection to dojo.
Here is some javascript:
Please note when looking at this that I have modified the original
template that displa
I am following this article to get Ajax validation working.
http://www.javaworld.com/javaworld/jw-10-2008/jw-10-struts2validation.html?page=1
I was wondering if it is nessessary to use the XML for validation with
Ajax? I was hoping to use some validation on the server side action
to do this. Is
I'm trying to call the String replace method from OGNL. I can't find
any specific examples on how to do this.
I tried the following as a test: [EMAIL PROTECTED]@toString()
This worked ok. My problem is I don't know how to pass string
literals to the method.
Here is my current code:
'
Here i
AIL PROTECTED]> wrote:
> Richard Sayre wrote:
>>
>> I have a form containing text areas. When I copy a bunch of character
>> data such as:
>> 2öÂnJ1ÈÏúÄp8éÎdìåmðh4uæEÍÉieÔWán2ÅìbØÉÅÀ1JÎZÏôsC5LòÚAPúÜaÃÙPC5üÆCJWCOzùÙtÒQqùét
>>
>> into the text are, it displays nor
I have a form containing text areas. When I copy a bunch of character
data such as:
2öÂnJ1ÈÏúÄp8éÎdìåmðh4uæEÍÉieÔWán2ÅìbØÉÅÀ1JÎZÏôsC5LòÚAPúÜaÃÙPC5üÆCJWCOzùÙtÒQqùét
into the text are, it displays normally. When I save the data, the
database stores the characters properly, when the data returns t
enerated code
> with your own.
>
> Dave
>
> --- On Mon, 6/9/08, Richard Sayre <[EMAIL PROTECTED]> wrote:
>
>> From: Richard Sayre <[EMAIL PROTECTED]>
>> Subject: Re: Struts 2 Performance
>> To: "Struts Users Mailing List"
>> Date:
self. I'm not sure what to search
for to find information on this. Can you point me to any articles or
documentation?
Thank you,
Rich
On Fri, May 30, 2008 at 5:05 PM, Laurie Harper <[EMAIL PROTECTED]> wrote:
> Richard Sayre wrote:
>>
>> Hi,
>>
>> I have a
Could you use s:hidden on the form to store your params?
On Wed, May 7, 2008 at 10:47 PM, Eduardo Dela Rosa
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was trying to use the and invoke it with *some *parameters
> using .
>
> i.e.,
>
> *
>
>
>
> *
>
> However, the parameters don't seem t
I have an Action that could display several pages based on some info
passed to it.
Basically, its a preview action that will show the proper preview page
based on some input.
The way I am think of doing it is to use custom results to redirect to
the proper preview page:
if (preview1) {
retur
No it doesn't
On Wed, Mar 19, 2008 at 2:14 PM, Lukasz Lenart
<[EMAIL PROTECTED]> wrote:
> Does your action implements ValidationAware interface?
>
>
>
>
>
> Regards
> --
> Lukasz
>
> http://www.linkedin.com/in/lukaszlenart
>
> --
oad is too big. I checked the source and I could not find
where this is being implemented. I have on my page
which i return input to, but as I said earlier my upload action is
hanging.
On Wed, Mar 19, 2008 at 1:12 PM, Richard Sayre <[EMAIL PROTECTED]> wrote:
> I set the file upl
I set the file upload max size in the struts.properties to 15MB. When
I upload a file over 15MB my action returns input. Is there any way I
can check to see if the file is over the max size set in the
properties file and handle what result I want to happen myself? I
seems that it returns input b
public String getYesOrNo() {
>return yesOrNo;
>}
>public void setYesOrNo(String yesOrNo) {
>this.yesOrNo = yesOrNo;
>}
> }
>
> (2) The JSP:
>
> Is Struts2 good?: value="Yes, it is..">
>
> regards,
> Rushikesh
try:
">Copy
if id is on the stack, you can get it with OGNL
On Thu, Mar 13, 2008 at 10:49 AM, matthieu martin <[EMAIL PROTECTED]> wrote:
> Hi all !
>
> I have a little issue and I find no clues on the web, so i'm turning myself
> to you.
>
> I have a piece of code like this :
>
>
>
>
>
I made a slight error
readonly="%{fullAccess}" with s:textfield does not work but
readonly="true" />
works.
On Thu, Mar 13, 2008 at 10:48 AM, Richard Sayre <[EMAIL PROTECTED]> wrote:
> If the disable attribute is present in a HTML tag it will be disable,
&g
If the disable attribute is present in a HTML tag it will be disable,
no matter what the value of the attribute is.
So if I have a s:select and I say disabled="false" it will be
disabled (renders disabled="disabled").
But if we have a text, and we set readonly="false" it will not be editable.
O
you can say, document.location.href = '?myId=' + myId;
This will cause the whole page to refresh, so you should probably have
a prepare method if you have any data that needs to be populated on
that page (ie your table).
I personally would use Ajax to make the call, having a full page
refresh on
I have a select that populates with a int,string id/value combo. To
get the s:select to select the proper option I had to crate another
value in my action (int myId). This would be set to the id of the
option to select. Then I had to set the name attribute of my select
to myId (name="myId").
On
I think what you are looking for is caled bread crumbs.
There is a plug in to help with this
http://cwiki.apache.org/S2PLUGINS/breadcrumbs-plugin.html
On Fri, Feb 29, 2008 at 5:04 AM, Sanjeewa Saman <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi all,
>
>
>
> I want to add my page links in the top of
Thank you everyone for your input. I will research a little further
to see how I am going to do this.
On Tue, Feb 26, 2008 at 5:17 PM, Randy Burgess <[EMAIL PROTECTED]> wrote:
> > From: Richard Sayre <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List
> >
pose the POJO as the web service?
Thank you for your input,
Rich
On Tue, Feb 26, 2008 at 3:05 PM, Randy Burgess <[EMAIL PROTECTED]> wrote:
> > From: Richard Sayre <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List
> > Date: Tue, 26 Feb 2008 14:08:18 -0330
Sorry this posted too early... I updated the code so it submits the
form fields with the ajax request:
let me know if it helps.
Rich
> function submitFunctionA() {
>
> var kw = {
> url:'',
> load:function(type, data, evt) {
>
If I understand you correctly, You could write you own submit
function(s) that does its own ajax with dojo
function submitFunctionA() {
var kw = {
url:'',
load:function(type, data, evt) {
//up to you what happens here
> > I dont see any need for .NET interoperability in the
> > future, but it would hurt to have that option.
>
> I like your typo more than what you actually meant ;)
Ha ha, that is quite funny.
> Another thing to look at is the RESTful plugin. It allows the same action to
> serve back data
When is you page disappearing? After you click "Submit"? You submit
is not using Ajax. If you want to update your div when you submit the
form then you could write a function that notifies your listen topic
rather than submitting the form.
Rich
On Tue, Feb 26, 2008 at 7:22 AM, Prashant Khana
I'm not sure if I understand you correctly but...
> I want to display editable dates in textfields.
This should be as simple as using a textfield (input type=text) as
your date field
>I cannot use JavaScript, so
> datetimepicker isn't an option.
So the user will have to manually enter the da
> expose your business logic as a web service.
>
> Regards,
> Randy Burgess
> Sr. Web Applications Developer
> Nuvox Communications
>
>
>
> > From: Richard Sayre <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List
> > Date: Tue, 2
Could you elaborate a bit. Would the POJO contain the Business logic
for calling My DAO and other classes? Would the POJO replace the
action functionality? Then my action would use a POJO to do all of
the work? So any logic in MyAction.save() would go into POJO.save()
which would then be called
If I have a struts application, is it posssible to expose some of the
functionality as a Web Service? After reading some SOA documents on
the Sun website, it is possible to expose servlets as web services.
Is this possible with Strus and J2EE? Is there a document that I can
read on it? Are there
Hi All,
I am getting the following error in my Struts 2 application. "class
java.lang.reflect.InvocationTargetException : null"
None of my classes are showing up in the stack trace. But it is
happening at the same spot in my application.
Has anyone encountered this before? Any suggestons on
g for ACCOR Hotels)
<[EMAIL PROTECTED]> wrote:
> Did you try :
>
> MyObject theObject;
> (geter and setter on theObject)
>
> execute () {
>
> theObject = myDAO.getRecord(id);
> }
>
> And in the JSP :
>
> -Message d'origine-
> De : Ric
Struts 2 allows us to automatically populate our forms if we name our
fields correctly, which is wonderful.
My actions usually go something like this
execute () {
MyObject o = myDAO.getRecord(id);
member1 = o.getMember1();
member2 = o.getMember2();
}
MyObject is a JO for hold a row
Is the $resources$ directory WEB-INF?
On Oct 6, 2007 8:51 AM, Jeromy Evans <[EMAIL PROTECTED]> wrote:
> I thought I'd share the instructions I prepared for creating a dojo
> 0.4.2 custom profile for Struts 2.0.9. The objective is to bundle all
> the required dojo resources into dojo.js to avoid t
You have to make your own decorator:
I assume your table is populated with a 'Member' list or something
similar. In your table decorator create a method that returns the
image based on the condition:
public class MemberListDecorator extends TableDecorator {
public String getType() {
I don't see any javascript in your post but if you are creating an
imput element this should work as long as the javascript is on your
jsp page in
I noticed while developing my application that Struts 2 (I think) will
recreate your session when it times out.
I have several name spaces used in my packages such as:
1. /Admin
2. /Design
3. /
While I am hitting actions in the /Admin or /Design area of my
application, if the session times out
gt; form field.
>
> d.
>
> --- Richard Sayre <[EMAIL PROTECTED]> wrote:
>
> > I have a variable amount of check boxes with the
> > same name. I want to
> > submit all of the check boxes weather they are
> > checked or not. Right
> > now I only get an of
I have a variable amount of check boxes with the same name. I want to
submit all of the check boxes weather they are checked or not. Right
now I only get an of array for the ones that are checked.
My form has x number of 'Name' text fields x number of 'Activate'
check boxes for another.
The use
or
> other information to a file.
>
> I use a similar fragment in the JSP to email a copy of the stacktrace to
> the administrator if the exception page is ever displayed.
>
> Hope that helps,
> Jeromy Evans
>
> Richard Sayre wrote:
> > I am trying to log the excepti
I thought I would add this part of the stack trace in case it helps:
SEVERE: Error finishing response
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:689)
I am trying to log the exception that get cought by the struts
exception handler.
So far I have .jsp page that shows the exception:
An Exception Has occured!
=
I am going to change this page to display a generic error message. I
want to write the valu
Hi,
You can use
to get that information.
Rich
On 10/11/07, jignesh(india) <[EMAIL PROTECTED]> wrote:
>
> Hello,
> Thanks in advanced.!
> Do anyone help me,how can i get exception message,StackTrace into my
> user defined class ?
> My code is looks like this:-
>
>
>
atever you want -- including the user -- in the handler.
>
> Paul
>
> Richard Sayre wrote:
> > After reading the Mail Reader walk through, it would seem the best
> > practice for handling exceptions is throwing them back to your Action
> > and having a result mapped to ha
I use the prepare method to populate my lists. See the Prepareable
interface.I also would put this in Action B. Is there a specific
reason why you are using 2 actions?
On 9/6/07, Al Sutton <[EMAIL PROTECTED]> wrote:
> Here's a problem I've come across a couple of times and the solution I hav
I was wondering what the best approach would be for taking form data
passed to an Action and removing 'special characters' from the data.
I am having issues with users pasting text from word docs etc. We
only support ISO-8859-1 as of now and there are some characters that
Word will replace such as
Hi You need to use a different result type:
anotherAction
On 8/21/07, Sawan <[EMAIL PROTECTED]> wrote:
>
> Hello Experts,
>
> I want to call an Action within the Action result and I am trying following
> Struts XML.
>
>
> /Action2.actio
That worked perfect, thanks.
On 8/17/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
> you can specify a form to be sumitted when the div refreshes, using formId.
>
> musachy
>
> On 8/17/07, Richard Sayre <[EMAIL PROTECTED]> wrote:
> > I have my div refreshin
to do is reload the div content, you can set it's href
> to the url that returns the html, set it's listeninTopics to a topic
> that you can publish, and the div will reload its content
> automagically. (check showcase and documentation for examples)
>
> musachy
>
> On
};
dojo.io.bind(kw);
});
On 8/16/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
> so you are saying that the tabs work fine before clicking on the link,
> but they don't work after that? What are you doing in editUdf()? Is
> there any error when you set debug=&
I have a tabbed panel set up as follows
Static Content...
Static link Edit UDF
Static content
When I click the link in the UDF tab, the /editUdfs gets published
and the edit gui displays in the tab, the problem is if I click on
another tab after this happens, the conten
I am new to regular expressions and I am trying to have my XSLT result
only show certain elements that are in the XML.
here is some if the XML:
...
...
...
I only want the result/questionTree node to be return to my page.
I tried doing this:
/result/questionTree
But all the XML
I asked this same question and got this answer:
There are several threads on this topic. You need to set the
"templateCssPath" to the url of the css file. You will have to take a look
at the current css to know what you have to overwrite:
http://svn.apache.org/viewvc/struts/struts2/branches/STRU
addFieldError. I would like to see more information on writing
validators and how a include the javascript to generate for that
validator
On 8/6/07, Richard Sayre <[EMAIL PROTECTED]> wrote:
> addFieldError("fieldName","message"); will add a specific field
> error.
addFieldError("fieldName","message"); will add a specific field
error. If you are using the XHTML theme, the error will appear above
the field.
This should set and clear the validation message for you. If you are
using the simple theme you have to add the s:fielderror tag.
On 8/6/07, Session
same with filter is it possible?
> I am using DispatchAction alot is it possible to allow a function action
> like list and to deny create
>
> tnx but i have never work with interceptor
>
> Richard Sayre wrote:
> > I wrote a "LoadApplication" action that execute
I wrote a "LoadApplication" action that executes after my user has
logged in. It checks the database to see what roes they have and it
fills the session with a few variables such as
admin = true;
designer = false; etc.
by default they are all false.
Then I wrote an interceptor that checked th
In my interceptor stack i added this parameter:
true
I assume it is using either commons logging or log4j but I'm not sure
where the log file is or how to manipulate what information goes into
the log file.
On 8/6/07, Dave Newton <[EMAIL PROTECTED]> wrote:
&g
information?
On 8/2/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
> My applications do not catch any errors. I let them bubble out of the
> Action and into an ExceptionHandler object for logging. You can log
> whatever you want -- including the user -- in the handler.
>
> Paul
&g
The following jsp is a Result in an action called 'listTypes'.
<%@ include file="/includes/header.jsp"%>
<%@ include file="/includes/footer.jsp"%>
getTypeParamTree result is xslt and is configured as follows:
/xsl/TypeListParam.xsl
When the lis
Use the tag
On 8/2/07, Pedro Herrera <[EMAIL PROTECTED]> wrote:
>
> Hi,
>How I show the erros(validation) when using simple theme ?
>
> Herrera
>
> --
> View this message in context:
> http://www.nabble.com/display-validation-error-to-simple-theme-tf4208443.html#a11971725
> Sent from the Str
Is it possible to add a checkbox to each node of the Tree?
Is it possible to add a different icon for each node of the tree?
Perhaps something similar to the Display Tag table decorator?
Thank you,
Rich
-
To unsubscribe, e-mai
gt; min18
> max65
>
>
>
> integer checks if the field value can be converted into an integer, i didn't
> check the code but i supose something like that:
>
> Integer.parseInt(...)
>
> maybe you are using intRange instead
>
>
> El lun, 3
Is there a way to use the XML validation to check to see if a field is
a number? I used integer to check for min and max but if I enter any
text into the field it passes the validation.
Thanks,
Rich
-
To unsubscribe, e-mail: [E
After reading the Mail Reader walk through, it would seem the best
practice for handling exceptions is throwing them back to your Action
and having a result mapped to handle each specific exception.
Is this the best way to do this?
If I use this method how can I log the stack of each exception th
I have a form that can have 1 to many 'Name' text fields. In struts
2 how do I set up the action so it can automatically grab the values
that are in those fields?
If I had 1 name field I would just put a name variable in the Action
Class and create a setter and getter for it. How do I do this w
For clarification the following line:
<#include "/${parameters.templateDir}/xhtml/validationarea.ftl" />
was added to the first line of form.ftl
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
Hi,
I had the same problem. I did not like the way the error were being
displayed (In a new row above the field that has the error) To do
this I have to chenge the XHTML template
First I removed the validation from the controlheader-core
<#--
REMOVED
We have our own Error area
<#if hasFieldEr
I'm not sure if this is what your are looking for, it is doing the
control logic on the client side. Instead of using s:submit to submit
the form you could make 3 input buttons:
and the write the following javascript:
function doAction1() {
document.getElementById("formId").action = ';
I am using the tre tag to display a tree of items. I got a very basic
tree showing. Is it possible to have the tree node do something when
you click it? I tried onclick but it didnt seem to render that
attribute into the HTML. Is it possible to add some extra html to
each node (for example a c
How do you change the look of the tabbed panel? I assume you have to
override some css or something similar but I can not find any
information on it.
Thank you
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
1 - 100 of 112 matches
Mail list logo