no no, sj:select is working perfectly in index.jsp but not in
searchResults.jsp (it's the same code)

why?


2012/11/20 Martin Gainty <mgai...@hotmail.com>

>
> Lukasz
> i assume this is what you are referring to:
> <sj:select
>         href="%{remoteurl}"
>         id="echo"
>         name="echo"
>         list="languageList"
>         emptyOption="true"
>         headerKey="-1"
>         headerValue="Please Select a Language"/> you will need to populate
> the remoteurl variable with a url tag that defines a 'registered' action
> e.g.
> <s:url var="remoteurl" action="jsonsample"/>
> does this help?
> Martin ______________________________________________
> Jogi és Bizalmassági kinyilatkoztatás/Verzicht und
> Vertraulichkeitanmerkung/Note de déni et de confidentialité
>  Ez az
> üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
> jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
> készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
> semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
> könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
> ezen üzenet tartalma miatt.
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> de ceci est interdite. Ce message sert à l'information seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>  > Date: Tue, 20 Nov 2012 14:46:49 +0100
> > Subject: Struts2-jQuery plugin
> > From: sr.ilus...@gmail.com
> > To: user@struts.apache.org
> >
> > Hi Struts users!
> >
> > I'm building a web app and I have a serious problem:
> >
> > index.jsp is a search form with 2 combo boxes which i populate with
> > sj:select (this works correctly)
> >
> > when the user clicks "search", the form sends the data to search.action
> and
> > the results are displayed in searchResult.jsp
> >
> > in this searchResult.jsp i have the same 2 como boxes (same code) but
> >
> > 1.- they dont work (they dont call the sj:select href action)
> > 2.- they dont get pre-selected with the value the user entered
> >
> > so the question is can i use sj:select after coming from search.action or
> > this just can be used in jsp without any previous struts processing (like
> > index.jsp)?
> >
> > thank you so much in advance!!
>
>

Reply via email to