Hi,
I have the following code that displays a list of page numbers that
all have links except for the current page (defined by the request
parameter 'page'):
However this doesn't work and the if condition is alway false. I tried
outputting the value of #it in each itterati
I think there is a type mismatch too.
Converting the array [pages] to strings should work,
can you post your code, show us how you convert it?
Or, you can try this:
see if it works.
2010/10/8 Darren Karstens :
> Hi,
> I have the following code that displays a list of page numbers that
> a
Another solution is:
Step1, In you Action class, add a property named "page"
with get/set method, which is int type. So this property
will capture the value of request parameter, and convert
it to [int]
Step2, In you jsp, reference the "page" property and compare
it to the variable [it] in the it
Hi,
I tried but still no luck.
Here is the code for generating the pages array inside the action:
private String pages[];
// inside execute...
pageSize = 15;
int numberCards = this.retrieveNumberCards(db,(String)user);
this.pages = new String[(numberCards/this.pageSize)+1];
for (int i = 0; i<(n
I tried putting the current page value into the action like you said
and it works!! Still not sure why the other method failed, but its
working now :)
Thanks for the help
Darren
On Fri, Oct 8, 2010 at 11:15 AM, Darren Karstens
wrote:
> Hi,
> I tried but still no luck.
>
> Here is the code for g
Hi, from http://tiles.apache.org site:
Warning! Tiles users that use Tiles 2.1.1 or 2.1.0 version should not
install it in a production environment, due to a discovered security
problem. Upgrade Tiles.
Tiles 2.0.x is not involved in this security bug.
El jue, 07-10-2010 a las 23:46 -0400, Marti
Hello,
I'm using Struts 2.1.8.1 with Tiles 2.1.4. I'm getting the following
error when I try to deploy the application in WL 10.3:
java.lang.NoClassDefFoundError: javax/portlet/PortletRequest
at
org.apache.tiles.portlet.context.PortletTilesRequestContextFactory.(PortletTilesRequestConte
Please ask the Tiles users mailing list:
http://tiles.apache.org/mail.html
Antonio
2010/10/5 Jose Luis Martinez Avial :
> Hello,
> I'm using Struts 2.1.8.1 with Tiles 2.1.4. I'm getting the following
> error when I try to deploy the application in WL 10.3:
> java.lang.NoClassDefFoundError: jav
I am having trouble validating a form where it requires preloading
lists for some of the fields. I'm not sure how to configure the
struts.xml entry for the INPUT return type.
I am getting this error, which is indicating it's not getting to the
prepare method of createCharacterAction:
tag 'rad
Are you implementing Preparable, or overriding the input() method?
Dave
On Friday, October 8, 2010, Joshua Tennent wrote:
> I am having trouble validating a form where it requires preloading lists for
> some of the fields. I'm not sure how to configure the struts.xml entry for
> the INPUT ret
That was it, thanks! I forgot to implement Preparable.
On 10/8/2010 7:45 PM, Dave Newton wrote:
Are you implementing Preparable, or overriding the input() method?
Dave
On Friday, October 8, 2010, Joshua Tennent wrote:
I am having trouble validating a form where it requires preloading list
No sweat :)
On Friday, October 8, 2010, Joshua Tennent wrote:
> That was it, thanks! I forgot to implement Preparable.
>
> On 10/8/2010 7:45 PM, Dave Newton wrote:
>
> Are you implementing Preparable, or overriding the input() method?
>
> Dave
>
> On Friday, October 8, 2010, Joshua Tennent wrot
Whenever the validation procedure returns to the "input" result, any
Also posted in stackoverflow:
http://stackoverflow.com/questions/3895961/nasty-java-lang-numberformatexception-in-struts2-ognl
Any help appreciated!
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional com
14 matches
Mail list logo