bean:message/ tag is not working in tiles:insertAttribute/

I have a bean:message tag inside my tiles:insertAttribute as shown below.
<tiles:insertAttribute name='<bean:message="user.menu"/>'/>But <bean:message/> is not getting the value from resource bundle, my resource bundle is in correct place. If i hard code the value then it s working fine.
How to make it work? Any help?

sunish_jose wrote:
<tiles:insertAttribute><bean:message="user.menu"/></tiles:insertAttribute>this way it s not working. Could you pls tell how solve it by using EL. I was not able to find a similar sample evenafter searching for some time.
thanks in advance.I did say that I don't know if it will or not, I was just giving a sample of how it would work if the tag allowed the value for 'name' to be put in the body.
I'm not very familiar with the Struts bean tags and in any case, I believe you should use the JSTL tags where ever possible. So you'd pick the <fmt:message> tag from there. I don't think the <bean:message> tag allows you to get the value in to a variable.
<fmt:message var="tilesAttributeNameValue" key="user.menu" />
//create an EL variable named tilesAttributeNameValue with the value from the resource bundle
<tiles:insertAttribute name="${tilesAttributeNameValue}"></tiles:insertAttribute>
//use EL to put the valueTake a look here [1] for a JSTL introduction:
[1] http://www.ibm.com/developerworks/java/library/j-jstl0415/

Similar Messages

  • Using EL variable in struts bean:message tag(not struts EL tag)

    Is there any work around to use an EL variable inside struts bean:message tag as key:
    I have like this:
    <bean:message key="${bean.keyName}"/>
    which is throwing error , I know this can be resolved by using struts-el tags but i cannot use them for specific reasons.
    I dont want to use bean:define tag to define my 'bean' and then use like this:
    <bean:message key="<%=bean.getKeyName%>"/> (this actually works, but i want to use EL variable)
    Is there any work around to use EL variable and make the message display on the jsp.
    i tried multiple ways like scriplets and jsp:useBean but nothing worked, Please let me know..
    Thanks in advance

    Im pretty sure that EL does not work in the normal struts tag unless its struts-el tag.Have you tried it?
    As I said, in a properly configured JSP2.0 container you can use EL expressions anywhere you could traditionally use a standard runtime expression <%= expr %>.
    What server are you using? What JSP version?
    The Struts-el tags were written so that you could use EL with struts in JSP1.2 containers.
    The c_rt tags were written so you could use runtime expressions with JSTL tags in JSP1.2 containers. Their use was discouraged even then. Now I consider their use absolutely unnecessary.
    Please read this thread: http://forum.java.sun.com/thread.jspa?threadID=629437&tstart=0
    Cheers,
    evnafets

  • Text messages ringtones are not working in the Storm Two

    Device:  Storm Two running OS version 5.0.0.713 on the Verizon Wireless network.
    Recently, I upgraded from a Storm One to a Storm Two because of a multitude of issues with the Storm One; not enough memory, constant lock-ups; dropped calls, etc.  On the Storm One I had customer ringtones for contacts; so when a contact calls me the phone will sound a specific ringtone for that contact; the same for text messages from that contact. Now that I have the Storm Two the text message tones for the contacts are not working. In fact, even when I select a ringtone for text messages for a contact the phone will ring the generic ringtone that comes with the phone. If I go into the sound profile and change the generic ringtone to one of my own and the contact sends me a text/sms message the phone will ring the ringtone that I selected in the profile that is being used at the time. This is not the way it worked on the Storm One.  On the Storm One; if I have a specific ringtone for the contact and that contact sends me a text message it will sound the text messages tone for that contact. These ringtones have worked for previous devices including my Treo and Palm devices. The ringtone files worked well in the previous Storm One.
    So to make a long story short; I want to know why my text message ringtones are not working as designed/setup-up. If a contact calls me the phone will sound the ringtone for that contact; but if that same contact text me it will not ring the ringtone for the contact. This is annoying and I am at my wits end trying to find out why this is not working.
    Vernon

    Hi Jain....
    Field separator is for separating the fields.That means it will effect every field in the node.
    But end separator is not like that.It will apply at the end ofall fields of a node.It will effect node not a field.
    according to ur scenario if u use data.endseparator 'nl',output will come like this
    2008/0701$101
    2008/0701$102
    2008/0701$103
    2008/0702$105
    if u want new line for every field try to insert a separate node for second field.That means
    MT_DATATYPE:
    Data -
    1:UnBounded
    . .OrderDate----
    1:1
       <Data2>                   1:1
    . ....OrderNo -
    1:1
    now give data.endseparator  'nl'
                data2.endseparator 'nl'
    if possible try like this....
    Sreedhar Goud L

  • Why is my text messaging app is not working at all, is a blank screen? Help!!!

    My text messaging app is not working at all is a blank screen when I open it! Help!!!

    Abdussalam.A,
    you mentioned that Terminal does not work at all for your MacBook Pro. What currently happens when you run Terminal? In what way does it not work?

  • Video tag is not working in firefox how can we remove this error

    Video tag is not working in firefox. In this some kind of mmie type error Kindly remove this error .If you have any kind of solution,Please tell me how can it fix it?

    Can you post a link to a publicly accessible page that doesn't require authentication (signing on) where you see such a not working video tag?
    Do they work here?
    *Firefox Videos: http://www.mozilla.com/firefox/video/
    See also:
    * https://developer.mozilla.org/en/Media_formats_supported_by_the_audio_and_video_elements

  • I am using Windows 7 64-bit. After installing Photoshop Elements 13 and trying to run it I always get the message: Photoshop does not work anymore. And it doesn't.

    I am using Windows 7 64-bit. After installing Photoshop Elements 13 and trying to run it I always get the message: Photoshop does not work anymore. And it doesn't.

    Hi Hardy Tasso,
    Are you seeing this problem since first launch of PSE13 after installation or recently?
    Please try:
    Keep Ctrl + Alt + Shift keys pressed while launching PSE13 Editor and click OK on the dialog that comes next.
    Thanks,
    Anwesha

  • Every time I open a pdf file which includes a javascript, a dialogue box pops up. I have a question why 'Do not show this message again' is not working even I checked on the checkbox. It should block the dialogue next time when I open the same pdf file bu

    Every time I open a pdf file which includes a javascript, a dialogue box pops up. I have a question why 'Do not show this message again' is not working even I checked on the checkbox. It should block the dialogue next time when I open the same pdf file but not working. What is the matter and how can I deal with it?

    I am trying it on Adobe Acrobat Reader 9.2.1. Tried to fix Hex code, and also tried 'edit-preference-trust manager'. I focusing on Adobe registries but still couldn't fix the problem.

  • My text messaging app is not working PLEASE HELP!!!

    My text messaging app is not working at all is a blank screen when I open it! Help!!!

    No its a well known bug with iphones caused by their over complication of things and their complacency that their users will buy the phones on looks alone irrespective of its basic functionality.
    Suggestion 1 - The most common suggested solution seems to be: iMessage needs switched off on all your devices and switched back on after a rest. I found that this did NOT work.
    Suggestion 2 - Having a Wi Fi Signal seems to confuse iMessage to send an SMS as a text or as an iMessage. Turn off WiFi on your phone and manually send as text message. Slow, I lnow!!
    Suggestion 3 - Move away from any wifi source ie out of range.
    Suggestion 4 - Send an email, or a letter. Its more personal!!
    20 Minutes later - still not sent 2 short texts.
    Apple are very complacent and disdainful of their user community. Not what Id expect but this is a global corporation with the same business ethics as an Oil company or a car company. Profit not function.

  • HT201412 Message tones is not working sometimes

    1.My iPhone 5 message tones is not working sometimes suddenly, have to restart device or eventhought sometimes is not working too after restart my device. I have to reset my iPhone n restore again .
    2.Restore with iOS is not as good as last time coz I can't get back all my iOS photo stream photos n all the photo in my albums too. This is ***** n takes few days also not complete download all of my photos.
    3.some of my iPhone apps will suddenly not respond or will log out to home screen suddenly . Have to open the apps few times only its working as normal .

    Hi,
    I have nothing found regarding your issue. But maybe a look at SAP note 638058 will give you a hint.
    Regards,
    Klaus

  • Message.saver is not working under 10.6 - anybody know of an alternative?

    Message.saver 1.5.2 (http://www.apple.com/downloads/macosx/icons_screensavers/message.html ) is not working under 10.6. It is a screensaver that allows you to put a text on the screen as the saver kicks in. IMHO a excellent piece of software that worked fine under 10.5 but not under 10.6.
    Does anybody know if there is something like it? and that works under 10.6?
    Thanks.

    Hi
    i have the same messages on 10.6.4 and with the sonic xx170:
    28.06.10 11:39:04 racoon[489] IKE Packet: transmit success. (Phase2 Retransmit).
    28.06.10 11:39:07 racoon[489] IKE Packet: transmit success. (Phase2 Retransmit).
    28.06.10 11:39:08 racoon[489] IKE Packet: receive success. (Information message).
    28.06.10 11:39:10 pppd[488] IPSec connection failed
    28.06.10 11:39:10 racoon[489] IKE Packet: transmit success. (Information message).
    28.06.10 11:39:10 racoon[489] IKEv1 Information-Notice: transmit success. (Delete ISAKMP-SA).
    any ideas?
    waiting on 10.6.5, 10.6.6 ....?
    regards, Arthur

  • Everytime i close firefox, i get an error message about quicktime not working. 6 times.

    browsing normally, close firefox, i get an error message about quicktime not working. i click ok. then another comes up. i click ok. 6 times total this error message comes up, every time i close firefox. really annoying.

    If there are problems with updating or with the permissions then best is to download the full version and trash the currently installed version to do a clean install of the new version.
    *Trash the current Firefox application (open the Applications folder in the Finder and drag the Firefox application to the Trash) to do a clean (re)install
    *Install the new version that you have downloaded
    * http://kb.mozillazine.org/Installing_Firefox#Mac_OS_X
    Your personal data is stored elsewhere in the Firefox profile folder, so you won't lose your bookmarks and other personal data when you uninstall and (re)install Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    You can also try to repair the disk permissions:
    *http://thexlab.com/faqs/repairprocess.html

  • Yahoo mail message editor is not working in Firefox 3.6.9

    Hi
    Yahoo! main message editor is not working in latest firefox release 3.6.9
    I am unable to type any text in message body.

    Try changing privacy.clearonshutdown.history to false

  • Bean:message tag

    hi
    sup i wanna use bean:message tag for the image file which is definrd in properties file
    <img align="top" src="/assets/images/common/buttons/bt_bl_continue_v1_en.gif" border="0" style="vertical-align:top; _vertical-align:middle;"></a>
    like
    <bean:message key="com.something.continue_img">
    then how shud i provide the formatting to it like style etc

    All you need do is put the <bean:message> tag as the src attribute.
    In the message bundle the message is the file name to load.
    <img align="top" src="<bean:message key="com.something.continue_img">
    " border="0" style="vertical-align:top; _vertical-align:middle;"></a>

  • My message sounds are not working, and my game sounds... But my video sounds are. Not sure what to do?

    My message sounds are not working, or my game sounds...but my video is?

    Never mind. I fixed it. Silent switch was stuck

  • I have an phone 4s from cricket and when i text non iphone users such as android or and other phone brand they receive my text message but when they reply i wont get there message. send imessages is working its just my text message that is not working.

    i have an phone 4s from cricket and when i text non iphone users such as android or and other phone brand they receive my text message but when they reply i wont get there message. send imessages is working its just my text message that is not working.

    You use Restore to get the latest firmware build, not the Update button. You can only use the Update button, if there is an iOS update, say iOS 5.1.
    this link talks about updating to 9A406 to fix the "No Service" issue with iPhone 4S:
    http://iphone-and-i.blogspot.com/2011/12/fixing-iphone-4s-signal-problem.html

Maybe you are looking for

  • Creation of very large table

    Dear all, I need to create a table that will host about 40 GB of data with a very simple structure (varchar2(20), varchar2(10), VARCHAR2(4000)), thus there will be millions of records. The table should be indexed by the first two fields to allow onli

  • Creating Module in PI 7.1 (PROBLEM)

    Hi all, i'm having a problem that i could't resolved. I want to made a Module ti use in PI 7.1, but i always get the error: Error: java.lang.ClassCastException: class $Proxy3112:com.sap/AdapterModuleTlog_EAR @ com.sap.engine.boot.loader.ResourceMulti

  • Need Help onsome background music of a video of iCloud

    When Apple Introduced iphone4s on 5th,Oct , iCloud was launched as well.. I want to know the background music this video , which introduced iCloud Here is the Link: http://v.youku.com/v_show/id_XMzEwMTQ2MzEy.html  Begins at about 44:20    //Can't get

  • Should I shut down my computer when not in use

    should I shut down my computer when not in use, overnight for instance?

  • Security issue of using oaf

    Dear, We have used oaf to build the online payslip and we believe that oaf inherits all security applying to oracle ebs. We are concerned about issues related to sniffing, phishing etc- may happen can some one share any document/note or any material