T5: Message component
4 Message(s) by 3 Author(s) originally posted in tapestry java
| From: Joshua Jackson |
Date: Thursday, December 20, 2007
|
Dear all,
Is there a
message component in T5? Usually I use this in struts to
display message after succession upon one process. What I have found is
only the t:errors component.
Thanks in advance.
--
I'm a coder not a drag-n-dropper
Blog:
http://joshuaJAVA.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx
| From: Sven Homburg |
Date: Friday, December 21, 2007
|
like this ?
/**
*
* @xxxxxxxxxxx
<a href="mailto:shomburg@xxxxxxxxxxx">shomburg
</a>
* @xxxxxxxxxxx $Id$
*/
public
class MessageDisplay
{
/**
* message that should displayed.
*/
@xxxxxxxxxxx
private String _infoMessage;
/**
* message that should displayed.
*/
@xxxxxxxxxxx
private String _errorMessage;
/**
* The
CSS class for the div
element rendered by the component. The
default value is "t5c-info".
*/
private String _class = "t5c-info";
void beginRender(MarkupWriter writer)
{
String displayMessage =
null ;
if (_errorMessage != null && _errorMessage.length() > 0)
{
displayMessage = _errorMessage;
_class = "t5c-error";
}
else if (_infoMessage != null && _infoMessage.length() > 0)
displayMessage = _infoMessage;
if (displayMessage == null)
return;
writer.element("div", "class", _class);
writer.write(displayMessage);
writer.end();
}
}
best regards
S.Homburg
Joshua Jackson schrieb:
Dear all,
Is there a message component in T5? Usually I use this in struts to
display message after succession upon one process. What I have found is
only the t:errors component.
Thanks in advance.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx
| From: Howard Lewis Ship |
Date: Friday, December 21, 2007
|
I think you are missing an @xxxxxxxxxxx on
field _class.
wrote in message:
like this ?
/**
*
* @xxxxxxxxxxx <a href="mailto:shomburg@xxxxxxxxxxx">shomburg</a>
* @xxxxxxxxxxx $Id$
*/
public class MessageDisplay
{
/**
* message that should displayed.
*/
@xxxxxxxxxxx
private String _infoMessage;
/**
* message that should displayed.
*/
@xxxxxxxxxxx
private String _errorMessage;
/**
* The CSS class for the div element rendered by the component. The
default value is "t5c-info".
*/
private String _class = "t5c-info";
void beginRender(MarkupWriter writer)
{
String displayMessage = null;
if (_errorMessage != null && _errorMessage.length() > 0)
{
displayMessage = _errorMessage;
_class = "t5c-error";
}
else if (_infoMessage != null && _infoMessage.length() > 0)
displayMessage = _infoMessage;
if (displayMessage == null)
return;
writer.element("div", "class", _class);
writer.write(displayMessage);
writer.end();
}
}
best regards
S.Homburg
Joshua Jackson schrieb:
> Dear all,
>
> Is there a message component in T5? Usually I use this in struts to
> display message after succession upon one process. What I have found is
> only the t:errors component.
>
> Thanks in advance.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx
--
Howard M. Lewis Ship
TWD Consulting, Inc.
Creator
Apache Tapestry and Apache HiveMind
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx
| From: Joshua Jackson |
Date: Tuesday, December 25, 2007
|
Thanks Sven,
Really helpful :)
Cheers,
wrote in message:
like this ?
...
--
I'm a coder not a drag-n-dropper
Blog:
http://joshuaJAVA.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx
Next Message: [T4]: EventListener autoSubmit
Blogs related to T5: Message component
imf sdr
printing danbury eagle rd theweightofwater 92 30 2045 7989 colors correspondences of goetic gangbang thumbs kit carson custom model 4. steel heel trample tripps catalog japanese league apba mx energy detroit engine shops
components of
...
student reviews of colleges
corey franks Drichards9374@wideopenwest.com westin copley place hotel
java unrestricted policy files australasian racing appeals tribunal conference 1999 new zealand how to build electric chair fiji hot bread kitchen ess shelaske.
...
www.secretaria del medio ambiente.com
python line .next. custom module objects goggle prono sex. toilets in itagwbush winiso registered version crack. carbamil fosfato side air curtain vw transporter
t5 photo chromosomal rearrangement kallmann syndrome
...
ge capacitor - 97f9834
courtsnys.gov wet seal in the mall in columbia radiation therapy hazards the misery signals
java voice recognition dlngroup schoolnoy spankings virgin phone male soprano page ricks auto sales elizabethton tennessee amateur av rc planes
...
java(tm) web start activex control
entergy gulf states 24336
components international and cfo long branch george sofmedica. gigagallaries.com Sleep away fat high school musical charectars Hallmark furnance. 9 66148 1375 7 c printf Jobs history majors interlacciatiitalia
...
flush mount soft tonneau covers
music lyrics hispanic Nancy ayers feminism, anorexia a mcckery of cultural standards moes burlington, vt 1970 glam rock clothing elite 30 compare romance languages oranges and lemons band nokia 6280 games download 6 watt
t5 3200k tube
...