Yes, you are right.
After searching online a while, I have the following conversion class:
http://old.nabble.com/file/p30437359/DateTypeConverter.java
DateTypeConverter.java
However, when I convert a date, I get the following error. Note that the
class is found and loaded as "test" in class co
Dear All,
I am using struts textfield tag with a date field with date format
"-MM-dd."
I have seen the following link which also can display what I want.
http://struts.apache.org/2.x/docs/formatting-dates-and-numbers.html
http://struts.apache.org/2.x/docs/formatting-dates-and-numbers.html
>
> That said, I'm not a fan of mixing layers like that: * possibly* get
> something business- oriented from the action and use CSS to style it...
> but
> a color from the action is poor design.
>
> Dave
> On Nov 6, 2010 12:46 AM, "cellterry" wrote:
>>
Dear all,
I want to set a table row with a color retrieved from an action class, could
I do that?
If yes, how to do that?
Terry.
--
View this message in context:
http://old.nabble.com/Setting-css-of-a-row-tp30146983p30146983.html
Sent from the Struts - User mailing list archive at Nabble.com
Dear all,
I have a question about s:textfield or s:select with a command button just
following it.
For example, I have tried this:
I found that the button "..." is not following the selection box but is on
the next line.
Do anyone know how to correct the position so that it is just beside t
Dear all,
I encountered LazyInitializationException today in my SSH project today as
follows.
>>>LOG4J<<< 1 2010-10-29 17:37:42,454 [http-8080-2] ERROR
org.hibernate.LazyInitializationException -
#org.hibernate.LazyInitializationException.(LazyInitializationException.java:19)#
- failed
Thanks all,
It is my fault. During rewriting the jsp, I found that I forgot to delete
the hidden field:
Terry.
Li Ying wrote:
>
> You may need check:
> (1)Which jsp pages is executed when you submit your page?
> (2)Before the tag reference the list which named "prices",
> are you sure you
l button...
>
> http://www.useit.com/alertbox/2416.html
>
> Dave
>
> On Thursday, October 28, 2010, cellterry wrote:
>>
>> Hello all,
>>
>> I encountered a strange problem today:
>>
>> so.detail.jsp:
>> …
>>
>> …
>>
Yes, sure, here in below:
package action;
import java.util.*;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts2.ServletActionContext;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
@SuppressWarnings("serial")
public cl
Yes, I create it inside the action but the error happened before running the
first sentence of the "soDetail" action.
Li Ying wrote:
>
> Did you create the list which is referenced in your JSP?
>
>
> 2010/10/28 cellterry :
>>
>> Hello all,
>&g
Hello all,
I encountered a strange problem today:
so.detail.jsp:
…
…
…
…
…
The selection box got what I wanted when loading at first.
When I pressed cancel button in so.detail.jsp, the following error occurred:
org.apache.jasper.JasperExcept
Hello,
Could anyone tell me that could I manually run a validation xml rather than
being intercepted when an user click OK button in my jsp?
Terry.
--
View this message in context:
http://old.nabble.com/Manually-run-the-validation-xml-tp30033907p30033907.html
Sent from the Struts - User mai
Here is my code:
function formatLink(cellvalue, options, rowObject) {
return "";
}
Terry.
Johannes Geppert wrote:
>
> great!
>
> can you contribute the sources?
> if possible i add this to the wiki.
>
>
> J
FormatGrid
>
> Johannes
>
>
> cellterry wrote:
>>
>> Dear all,
>>
>> For Struts2 jQuery Plugin,
>>
>> could I add edit and delete buttons on each row of the table using sjg
>> tag?
>>
>> If not, how do I implement edit & delet
t wrote:
>> The only things I can think of to check would be, do you have the
>> struts2-spring-plugin.jar file in your WEB-INF/lib directory? And have
>> you
>> set the struts.objectFactory property to "spring"?
>>
>>
>>
>> (*Chris*)
&g
Dear all,
For Struts2 jQuery Plugin,
could I add edit and delete buttons on each row of the table using sjg tag?
If not, how do I implement edit & delete functions using this grid?
Terry.
--
View this message in context:
http://old.nabble.com/Implement-Edit-and-Delete-function-in-Struts-jQ
Finally I find out what happens by comparing showcase of the plugin with my
codes:
In web.xml, change
org.apache.struts2.dispatcher.FilterDispatcher
to
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
and then the datepicker work normally.
Terry.
--
View this message
Dear all,
I find that accept attribute of struts file tag (s:file) seems to be not
working.
My code is:
:
:
:
:
A file dialog is prompted, but there is no filter to image types jpeg.
My struts core version is 2.1.8.1.
Terry.
--
View this message in context:
http://old.nabble.com/struts-f
Hello all,
Is it a normal way to create jrxml file for jasperreport dynamically?
I ask this because I want to skip all fields with null values so that the
report looks more tight. Especially for the page header, which contains
company information, for example, if the company has no web site or f
turns the inputnresult name.
>
> Dave
>
> On Tuesday, October 12, 2010, cellterry wrote:
>>
>> Thank you.
>>
>> This helps to solve the problem,, Li Ying.
>>
>> Terry.
>>
>>
>> Li Ying-2 wrote:
>>>
>>> Hi cellterry:
&
Thank you.
This helps to solve the problem,, Li Ying.
Terry.
Li Ying-2 wrote:
>
> Hi cellterry:
>
> I think your problem is very general.
>
> What you need is a chance to reload some data, when the
> validation get failed and the page is displayed again.
>
> I t
Dear All,
I have a form which is master-detail type containing customer information as
master and also warehouse information as detail. For one customer it may
contain more than one warehouse.
The Customer model class is as follows:
package model;
:
:
public class Customer {
ny errors in the JavaScript console? It's important
> to tell the details, otherwise it's really difficult to help.
>
> Dave
>
> On Sun, Oct 10, 2010 at 1:47 PM, cellterry wrote:
>
>>
>> Dear all,
>>
>> So unlucky I encountered another pr
Dear all,
So unlucky I encountered another problem to use struts-jquery-plugin
(2.4.1).
I found that the datepicker field looks the same as a textfield without any
button beside it.
My JSP is:
:
:
<%...@taglib prefix="s" uri="/struts-tags"%>
<%...@taglib prefix="sj" uri="/struts-jquery-tags"%
Thanks, Dave.
It seems that I should turn to study jquery plugin.
Terry.
--
View this message in context:
http://old.nabble.com/sx%3Adatetimepicker-tp29927463p29927727.html
Sent from the Struts - User mailing list archive at Nabble.com.
Hello,
sx tag lib is deprecated? I do not think so.
It is newly introduced since 2.1.x version.
Dave Newton-6 wrote:
>
> Any errors in the JavaScript console?
>
> (Also, bear in mind that these tags are deprecated for a reason!)
>
> Dave
>
> On Sun, Oct 10, 20
Dear all,
Recently I am trying to use dojo compnent sx:datetimepicker in struts
2.1.8.1 with dojo plugin.
I found even the render of field box cannot be obtained but the label
appears.
Actually I have done the following in my JSP file.
1. Include tag lib:
<%...@taglib prefix="sx" uri="/struts
27 matches
Mail list logo