You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by torben <to...@frojonck.dk> on 2007/06/19 07:17:31 UTC
Bean problem
Struts 2 question.
In a jsp page I have a reference to a bean:
<s:bean name="dk.frojonck.pingtest.graphic.ResultsDetail" id="result">
<s:param name="jobIdText"><s:property value="jobId"/></s:param>
</s:bean>
My problem is to set the parameter jobIdText, which need the value from
the jobId attribute. Actually the jobId is a parameter in the http
request.
Above I am just trying to get the value from the Action class, which is
invoked, when the jsp-page (action) is called. But it does not work. I
get a null value.
My question is, how do I pass one parameter from one bean to another
bean in a jsp page.
Best regards
Torben Frøberg
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Bean problem
Posted by isharatbabu <sa...@fiserv.co.in>.
isharatbabu wrote:
>
>
>
> Hi,
>
> I am facing with similar problem. Did u get the solution? if yes please
> help me soon.
>
> Response will be appreciated.
>
>
> torben wrote:
>>
>> Struts 2 question.
>>
>> In a jsp page I have a reference to a bean:
>>
>> <s:bean name="dk.frojonck.pingtest.graphic.ResultsDetail" id="result">
>> <s:param name="jobIdText"><s:property value="jobId"/></s:param>
>> </s:bean>
>>
>> My problem is to set the parameter jobIdText, which need the value from
>> the jobId attribute. Actually the jobId is a parameter in the http
>> request.
>>
>> Above I am just trying to get the value from the Action class, which is
>> invoked, when the jsp-page (action) is called. But it does not work. I
>> get a null value.
>> My question is, how do I pass one parameter from one bean to another
>> bean in a jsp page.
>>
>>
>> Best regards
>> Torben Frøberg
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Bean-problem-tf3944343.html#a12233650
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
XWorkConversion of Date from string
Posted by vamsi <va...@gmail.com>.
Hi all,
In my aplication I need to String to Date, it is working only for
MM/dd/yyyy format only
I found strange that it is hardcode inside the XWorkConversion class.
Is there any other place where I can set this date format.
thanks to all
regards
Vamsi
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Bean problem
Posted by isharatbabu <sa...@fiserv.co.in>.
Hi,
I am facing with similar problem. Did u get the solution? if yes please help
me soon.
Response will be appreciated.
torben wrote:
>
> Struts 2 question.
>
> In a jsp page I have a reference to a bean:
>
> <s:bean name="dk.frojonck.pingtest.graphic.ResultsDetail" id="result">
> <s:param name="jobIdText"><s:property value="jobId"/></s:param>
> </s:bean>
>
> My problem is to set the parameter jobIdText, which need the value from
> the jobId attribute. Actually the jobId is a parameter in the http
> request.
>
> Above I am just trying to get the value from the Action class, which is
> invoked, when the jsp-page (action) is called. But it does not work. I
> get a null value.
> My question is, how do I pass one parameter from one bean to another
> bean in a jsp page.
>
>
> Best regards
> Torben Frøberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Bean-problem-tf3944343.html#a12233047
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org