Re: Multiple select not rendered in browser with tiles

2007-02-12 Thread Simone Piva
Yes, it was a css issue, blocking the dimension of select input fields On 2/12/07, Laurie Harper <[EMAIL PROTECTED]> wrote: Simone Piva wrote: > Hi all, > I have a problem while rendering a jsp with a select multiple tag in a > Struts application using tiles. > If I forward directly to a JSP I

Struts Spring

2007-02-12 Thread 황성준
Hi, I don't have found the struts2-spring-plugin-2.0.5.jar. Where is it? Thanks in advance .

How to refreshOnShow in struts 2

2007-02-12 Thread Shuai Zheng
Dear All, I have submitted an issue ww-1730 to JIRA ( https://issues.apache.org/struts/browse/WW-1730). But I don't know whether there is a way to walk around it. It looks that this will not be solved in next version 2.0.6. I have several tabs in the page, each tab means a step of the process (

RE: Struts action call in a JS method returns blank page

2007-02-12 Thread Christopher Loschen
Thanks again for your help. I checked the innerHTML code and it does refer to innerHTML, not innerHtml as I mistakenly remembered. My code all does appear to be inside functions. What I've done at this point is reverted to the code that existed before, and the JS is now working (I think -- more

error Struts2.0.5-Blank - No mapping found for dependency

2007-02-12 Thread Pedro Herrera
I found this error when application starts : 22:30:18,500 INFO [STDOUT] 22:30:18,500 ERROR [[/Struts2.0.5-Blank]] Exception starting filter struts com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for de

[s2] problem with Tiles in 2.0.5 Showcase App

2007-02-12 Thread Sébastien LABEY
Hi, I can not make Tiles work with the 2.0.5, and I have the same problem with the Showcase app bundled with this version. It is exactly the same log : "org.apache.jasper.JasperException: /common/layoutTemplate.jsp(8,9) Aucun tag attribute dans la librairie de tag importée avec le préfixe tiles"

[s2] Multiple s:checkbox backed by array/list

2007-02-12 Thread Laurie Harper
I have a view with a table each row or which shows a single table record. Each row has a checkbox so you can select multiple items and click 'delete selected' to remove them in one go. This is implemented with an s:checkbox backed by a property in the action. What I want is for the property to

Re: [S2] Error with

2007-02-12 Thread puchacz
It's working!!! I copy anather c.tld file and it's started to work. Thanx all of You fo help! Musachy Barroso-2 wrote: > > Where did those pipes come from? weird. Good catch. > > musachy > > Michael Jouravlev wrote: >> It is "http://java.sun.com/jsp/jstl/core";, not >> "|http://java.sun.com/

Re: [S2] Error with

2007-02-12 Thread Musachy Barroso
Where did those pipes come from? weird. Good catch. musachy Michael Jouravlev wrote: It is "http://java.sun.com/jsp/jstl/core";, not "|http://java.sun.com/jsp/jstl/core|". Verify the URI in the TLD file. On 2/12/07, puchacz <[EMAIL PROTECTED]> wrote: I am using Tomcat 5.0 and jstl-1.1.1.jar

Re: [S2] Error with

2007-02-12 Thread Michael Jouravlev
It is "http://java.sun.com/jsp/jstl/core";, not "|http://java.sun.com/jsp/jstl/core|". Verify the URI in the TLD file. On 2/12/07, puchacz <[EMAIL PROTECTED]> wrote: I am using Tomcat 5.0 and jstl-1.1.1.jar and standard-1.1.1.jar. so it seems that everything should be fine..., but isn't... :(

Re: [S2] Error with

2007-02-12 Thread puchacz
I am using Tomcat 5.0 and jstl-1.1.1.jar and standard-1.1.1.jar. so it seems that everything should be fine..., but isn't... :( Laurie Harper wrote: > > What servlet container are you using? What version of the servlet spec > are you coding against? And what version of JSTL are you using? You

Re: [S2] Error with

2007-02-12 Thread Laurie Harper
What servlet container are you using? What version of the servlet spec are you coding against? And what version of JSTL are you using? You need to make sure you have the right version of JSTL for your container / servlet spec level. See [1] for more info. L. [1] http://jakarta.apache.org/tagl

Re: [S2] Error with

2007-02-12 Thread Musachy Barroso
humm...that's the right url according to: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSTL3.html#wp72409 musachy puchacz wrote: org.apache.jasper.JasperException: The absolute uri: |http://java.sun.com/jsp/jstl/core| cannot be resolved in either web.xml or the jar files deployed with this a

Re: [s2] Validation 'magic' on 'input'

2007-02-12 Thread Don Brown
Nah, there is a better way. Take a look at the struts-default.xml file and notice how the validation interceptor is configured to only skip validation on certain methods. Create a new base package that contains a default interceptor stack which has the validation interceptor configured different

Re: [s2] Validation 'magic' on 'input'

2007-02-12 Thread Musachy Barroso
Wait until somebody else confirms it, as I'm not 100% sure :) musachy On 2/12/07, Laurie Harper <[EMAIL PROTECTED]> wrote: Hmm, if that's true it'll mean I'm forced to split my user admin action into multiple actions (and same for every other master-detail view I have) :-( Does the same limita

Re: [S2] Error with

2007-02-12 Thread puchacz
org.apache.jasper.JasperException: The absolute uri: |http://java.sun.com/jsp/jstl/core| cannot be resolved in either web.xml or the jar files deployed with this application org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50) org.apache.jasper.compiler.ErrorDispa

Re: [s2] Validation 'magic' on 'input'

2007-02-12 Thread Laurie Harper
Hmm, if that's true it'll mean I'm forced to split my user admin action into multiple actions (and same for every other master-detail view I have) :-( Does the same limitation apply when using XML-based validation? L. Musachy Barroso wrote: I think when you annotate a class with @Validations,

Re: Error with

2007-02-12 Thread Musachy Barroso
use: <%@ taglib prefix="c" uri="|http://java.sun.com/jsp/jstl/core|" %> ||musachy puchacz wrote: If anybody can explain me why I get this error and how to repaire it. My view page : " <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> " And that's my error: " o

Re: Multiple select not rendered in browser with tiles

2007-02-12 Thread Laurie Harper
Simone Piva wrote: Hi all, I have a problem while rendering a jsp with a select multiple tag in a Struts application using tiles. If I forward directly to a JSP I have no problem and the select multiple is correctly showed by both browsers I tried (Firefox 2 and Internet Explorer 7), whilst if I

Error with

2007-02-12 Thread puchacz
If anybody can explain me why I get this error and how to repaire it. My view page : " <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> " And that's my error: " org.apache.jasper.JasperException: /info.jsp(13,0) According to TLD or attribute directive in tag file

Re: Equivalent logic:messagesPresent in JSTL

2007-02-12 Thread Laurie Harper
[EMAIL PROTECTED] wrote: Is there an equivalent in JSTL for the logic :messagesPresent ? I've looked on Google, but I can't find a decent example. Someone suggested but that doesn't work. JSTL has no direct equivalent, since message management is a Struts feature, which JSTL knows nothing

Re: [S2] Collecting data from few pages

2007-02-12 Thread puchacz
Thank You for Your answer! You know, I had finished my aplication using secod option few seconds before You answered me :). But still thank You very much for help. But I have to tell You that I am little disappointed of the strategy using in Struts. I was wating for some special controllers to

Re: [S2] Collecting data from few pages

2007-02-12 Thread Michael Jouravlev
Out of the two options outlined by Laurie the first is the proper one ;-) The second option works for sequence of pages, but not for a wizard. A wizard is a single stateful object with multiple views depending on wizard state. A page sequence is just sequence of web resources/pages not necessarily

Re: [S2] Collecting data from few pages

2007-02-12 Thread Laurie Harper
There are basically two options: retain the data from each page on the server side, or maintain it client-side as part of each request/response. For the first option, you can use a single form bean to aggregate the data from all the pages in your wizard and place it in session scope. You could

usage of constant in validation-rules in custom validator

2007-02-12 Thread fea jabi
Created a custom validator. I have created a constant in validation-rules.xml alpha_num ^[a-zA-Z0-9]*$ Is it possible to use the this constant in my custom validator I created. If so, how to use it? Also, Is it possible to get message from the MessageResource.properties. If

Re: [s2] Validation 'magic' on 'input'

2007-02-12 Thread Musachy Barroso
I think when you annotate a class with @Validations, "input" is the only method that will be called without invoking the validation first. musachy Laurie Harper wrote: I'm trying to get validation working (using annotations) in a Struts2 project and I can't seem to get it to quite cooperate :-

[s2] Validation 'magic' on 'input'

2007-02-12 Thread Laurie Harper
I'm trying to get validation working (using annotations) in a Struts2 project and I can't seem to get it to quite cooperate :-) I'm using the Zero Configuration and Code Behind plugins, so this may be a result of some unintended interaction between those and the validation framework. The use c

Multiple select not rendered in browser with tiles

2007-02-12 Thread Simone Piva
Hi all, I have a problem while rendering a jsp with a select multiple tag in a Struts application using tiles. If I forward directly to a JSP I have no problem and the select multiple is correctly showed by both browsers I tried (Firefox 2 and Internet Explorer 7), whilst if I forward to a tile, t

Re: Binding Java 5 Enums..

2007-02-12 Thread Daniel Amadei
Hi Sami, There is an example in the showcase webapp which shows how to convert to/from enums. Give a look, that it might help you. []s Daniel 2007/2/11, Sami Dalouche <[EMAIL PROTECTED]>: Hi, I've been trying to bind Java 5 enums, but I get some weird problem xwork-conversion.properties

Equivalent logic:messagesPresent in JSTL

2007-02-12 Thread bjorn.de.bakker
Is there an equivalent in JSTL for the logic :messagesPresent ? I've looked on Google, but I can't find a decent example. Someone suggested but that doesn't work. I also need to test if a certain property is added, so I can put certain labels in red (read, add a css-class to a span if a spec

Re: [S2] Collecting data from few pages

2007-02-12 Thread puchacz
They could... I am searching right now idea how to do this, So I am open for everything! Martin Gainty wrote: > > are the forms toy are using ActionForm? > > dziekuje/ > M- > --- > This e-mail message (including attachm