How I can use struts with uix jsp

Hi,
I want to use struts with uix jsp but I don't know how to set value of uix tag attribut by struts tag
example :
I want to change:
<uix:globalHeader text="title" >
by
<uix:globalHeader>
<bean:message key="title" arg0="Browse"/>
</uix:globalHeader>
N.B: I tried to use the tag <boundAttribute> but doesn't works
Thanks in advance.

Hi Ghazouani,
From your sample code it looks like you are trying to use the Struts <bean:message> to provide internationalized text for the links in your globalHeader component. Couple of comments on this particular issue:
- You'll need to add a <link> element to your globalHeader for each item that you want to display. So, instead of:
<uix:globalHeader>
<bean:message key="title" arg0="Browse"/>
</uix:globalHeader>
You'll want something which looks like this:
<uix:globalHeader>
<uix:link text="Browse"/>
</uix:globalHeader>
- If you want to bind the text for each link to some internationalized value which is pulled from a ResourceBundle, you should use the UIX JSP <bundle> data provider:
<uix:bundle name="l10n" class="your.Bundle"/>
<uix:globalHeader>
<uix:link textBinding="title@l10n"/>
</uix:globalHeader>
In general when mixing JSP tags from different tag libraries, you need to be careful that you honor the semantics of each tag library. For example, in this particular case, the <uix:globalHeader> expects to have <uix:link> children - using any arbitrary tag (like <bean:message>) is not necessarily going to produce the desired results.
As far as general UIX/Struts integration goes, we recommend using uiXML as a view for your Struts application. Check out the "Using uiXML with Struts" section of the UIX Developer's Guide for more info.
Andy

Similar Messages

  • How I can use devepore6 with access 97 as database

    i need to use database in access97 so how
    i can connect it with developer 6
    thanks for help

    Create an ODBC connection to ur access database.
    Then in ON-LOGON specify the Connect string to your Access.
    Help is there in Form itself
    null

  • Plz help me. how i can use plugin with cs4

    I want to use,
    Carbon coder with adobe premiere cs4, how can i use it. it is not show in cs4.
    what can i do for it?
    Thanx in advance
    Regards
    Farrukh Shami
    Faisalabad Photographer

    It is actually export plugin in CS, CS2 and CS3 while it is not working with CS4.
    It has an excellent Quality with low size, like Blue ray video. And with this tool, video size become very low.
    In our country some photographers use it with Edius and premier pro. I dont know how to use edius etc.
    But in CS3 it makes many problems.
    Thanx for your help. I have seen your foto many times in many forums.Always your solutions are very good.

  • How do you use Struts with Jboss Portal

    I am trying to use strust with jboss portal but I am getting the following error:
    An error occured while rendering window 'default.MyPortlet2.myportlet2Window'
    org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71 68: List searchresult = (List) request.getAttribute("searchresult"); 69: %> 70: Stacktrace:
    I am getting this is in the log file
    Caused by: org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71
    68: List searchresult = (List) request.getAttribute("searchresult");
    69: %>
    70: <%
    71: for (Iterator itr=searchresult.iterator(); itr.hasNext(); )
    72: {
    73: testPackage.net.dao.hibernate.WorkList workList = (testPackage.net.dao.hibernate.WorkList)itr.next();
    74: %>
    Stacktrace:
    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.ja
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
    at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.ja
    ... 238 more
    Caused by: java.lang.NullPointerException
    at org.apache.jsp.WEB_002dINF.jsp.SearchResultPage_jsp._jspService(SearchResultPage_jsp.java:152)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
    ... 255 more

    I am trying to use strust with jboss portal but I am getting the following error:
    An error occured while rendering window 'default.MyPortlet2.myportlet2Window'
    org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71 68: List searchresult = (List) request.getAttribute("searchresult"); 69: %> 70: Stacktrace:
    I am getting this is in the log file
    Caused by: org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71
    68: List searchresult = (List) request.getAttribute("searchresult");
    69: %>
    70: <%
    71: for (Iterator itr=searchresult.iterator(); itr.hasNext(); )
    72: {
    73: testPackage.net.dao.hibernate.WorkList workList = (testPackage.net.dao.hibernate.WorkList)itr.next();
    74: %>
    Stacktrace:
    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.ja
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
    at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.ja
    ... 238 more
    Caused by: java.lang.NullPointerException
    at org.apache.jsp.WEB_002dINF.jsp.SearchResultPage_jsp._jspService(SearchResultPage_jsp.java:152)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
    ... 255 more

  • I have usb modem how i can use it with mac book pro 13inch

    i have usb modem but in my mac book pro 13inch 2.9 i can not use it by ethernet port how i can mak it
    this modem in Libya company(www.ltt.ly) modem name Wimax 325
    i want help

    And if it supports 802.11a or 802.11b it may not offer the full WPA2 encryption, in which case you want to be at least 1500 feet (500 meters) from the nearest neighbor to ensure a secure connection.  802.11g supports WPA2 as well, and is also supported by the MacBook Pro.  It just is slower at 33 Mbps.

  • UIX/JSP - How to use the UIX Controller with UIX/JSP

    After reading the UIX Developers Guide I am under the impression that I could use the UIX Controller with UIX/JSP pages. Is this correct and are there any available examples?
    Bill G...

    It's correct, but I'm afraid we don't have much (read as "any")
    documentation on how to do that - besides reading through the
    gobs of Javadoc and guessing how to put it together.
    Half of the problem is solved by registering JspPageDescriptions
    on a PageBroker (e.g., UIXPageBroker) to tell the UIX Controller
    to use a JSP to render a particular page, instead of a UIX XML
    document.
    The other half is getting the JSP to send requests back to
    the UIX Controller. Depending on how you've chosen to name
    your pages, create either a DefaultPageEncoder or ExtensionPageEncoder
    inside your JSP, and use that to create destination URLs.

  • HT202667 Hi - My daughter was using her Apple TV until recently when she got a Smart TV.  Now the Apple TV is not needed so she passed it on to me.  How do I get it transferred over from her Home Sharing account to mine so that I can use it with my PC?

    Hi - My daughter was using her Apple TV until recently when she got a Smart TV.  Now the Apple TV is not needed so she passed it on to me.  How do I get her Home Sharing account transferred over to mine so that I can use it with my PC? Thanks!

    As  Winston Churchill wrote, however you might want to do a factory reset on the Apple TV.
    This way all information pertaining to your daughter will be removed from the device. Specifically if see was sign into any of the streaming service, Netflix, Hulu, etc. her credentials will still be associated with this Apple TV, doing  a factory reset will remove all that and make it as if you purchased the device and just plugged it in.
    regards

  • How do i know if my macbook can use airplay with apple tv?

    how do i know if my macbook can use airplay with apple tv?

    AirPlay Mirroring needs an Early 2011 or newer MacBook Pro, so your computer supports AirPlay Mirroring. Make a backup, open App Store and purchase OS X Mountain Lion

  • How do I connect a 1 T time capsule to a new airport extreme so I can use it with time machine?

    How do I connect a 1 T time capsule to a new airport extreme so I can use it with time machine?

    Bridge the TC.. plug it into the AEBS with ethernet.

  • How can I unlock my old 3GS so my wife can use it with her sim card

    How can I unlock my old 3GS so my wife can use it with her sim card

    Check this article to find out if unlocking is supported by your carrier: Locating iPhone wireless carriers
    If supported, contact the carrier and he will pass this info to Apple/iTunes, and your phone can be used with another SIM.

  • How I can use bluetooth devices with my Satellite L650D-14L?

    Please can someone help me on how I can use bluetooth devices with my Satellite L650D-14L?
    I can't see a bluetooth icon to help manange bluetooth connections.
    Thanks for your help.
    Regards

    Hi
    You cannot connect any BT device to this notebook because this has not been equipped with any BT module.
    So BT is not available for this unit.

  • How  we can use forms HTML capabilities with Oracle Applications?

    Hi
    Could not find any specific doc how we can use forms HTML capabilities with Oracle Applications?
    Thanks

    I'm not sure that I understand exactly what you are asking?
    What are you trying to do? If you could give a detailed explanation then we can try and assist.
    Reagrds,
    Bren

  • How can use thunderbolt with a macbook air 2010

    how can use thunderbolt with a macbook air 2010

    You can't.  The MBA 2010 only has a MiniDisplay Port, which is not compatible with the Thunderbolt displays.

  • Can I use Struts with Oracle9i AS?

    I am not using Tomcat, so I am wondering can I use Struts with Oracle9i AS instead of Tomcat?
    Thanks for your help!

    Struts can be used with any J2EE compliant app server. It's not Tomcat specific in any way. You just have to deploy it properly.

  • Java Application [Java Bundler]: how I can use an image? Which path?

    Hi,
    how I can use an image in my Java Application when I create the jar bundle with Jar Bundler? Which is the path of the file? I don't know if I got it across...

    By image, do you mean an icon for your program?
    If so, then you need to create the image you want using any graphical drawing program, then use a utility such as Img2icns to put the image into the correct format (.icns). Once you have this, you can drag it into Jar Bundler and IIRC it just works.
    Bob

Maybe you are looking for

  • How do I use my airport extreme with my FIOS router?

    How do I use my AirPort Extreme base station with my FIOS Router to extend my network?  I have hard disks connected to my AirPort Extreme and would lik to access them.

  • Hi , I may be in the wrong forum here , but here goes ,

    I have CC and light room . I use a Mac , and not happy with the new photos on the Mac , is there an app  to store /organise my photos , in much the same way iPhoto did where I can edit using CC . The new photos on Mac does not allow this , very frust

  • How do you get your ipod 5 into dfu mode???? Please answer back with specific details

    I have restored it and it says in order to activate I have to have my brothers info to activate but he will be gone for some years and so I can't activate it without his info.......wat do i do????? Can I go back and try to restore it again.

  • IDOC to File - File Content Conversion Problem

    Hi, The scenario is IDOC to File. I am using file content conversion for my receiver adapter.  The receiver adapter parks the file in the receiver system but the file has no data.  In SXMB_MONI on checking the payload at every step, the data is trans

  • Photoshop freezes after 2-5 minutes of startup

    My photoshop CS6 is freezing after 2-5 minutes of starting it up. I have recently installed this to my computer earlier this week and it has been working fine up until this afternoon. I had no problems with it this morning. I am using a PC running wi