You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Hoying, Ken" <Ke...@PremierInc.com> on 2007/07/16 18:02:49 UTC

[S2] TabbedPanel with Remote DIVs

I have a tabbed panel with divs that retrieve their content remotely.
Basically the control is acting like a tabbed address book with each tab
showing a subset of names broken out alphabetically (i.e. Tabs: A-B,
C-D, etc..)  

When specifying the URL for the remote div to call, I am having
difficulty determining how to pass in my parameter (i.e.
?startLetter=A&endLetter=B).  I tried to use an s:url tag with
parameters and pass it to the div via its id. However, this is not
working.  It appears that the DIV is ignoring the parameters.  The only
way that I have been able to get this to work is to create a dummy form
for each tab which contains fields with the desired param names and
values and then reference the form in each tab.  

This is obviously a very ugly implementation as it results in a lot of
unneeded forms whose sole purpose is for the div remote calls.  I am new
to tabbedPanels and remote div calls and am certain I am missing
something here.  Can anyone perhaps enlighten me with a better solution?

Thanks in advance,
Ken



-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer. Thank you. Premier Inc.  

RE: [S2] TabbedPanel with Remote DIVs

Posted by "Hoying, Ken" <Ke...@PremierInc.com>.
I must have had my syntax wrong or something else before.  It is working
for me now.  Thank you for the follow up. 

Take care,
Ken
-----Original Message-----
From: Musachy Barroso [mailto:musachy@gmail.com] 
Sent: Tuesday, July 17, 2007 11:45 AM
To: Struts Users Mailing List
Subject: Re: [S2] TabbedPanel with Remote DIVs

Using any tool like firebug, and building the url with the "url" tag, do
you see the parameters in the request?

musachy

On 7/16/07, Hoying, Ken <Ke...@premierinc.com> wrote:
>
> I have a tabbed panel with divs that retrieve their content remotely.
> Basically the control is acting like a tabbed address book with each 
> tab showing a subset of names broken out alphabetically (i.e. Tabs: 
> A-B, C-D, etc..)
>
> When specifying the URL for the remote div to call, I am having 
> difficulty determining how to pass in my parameter (i.e.
> ?startLetter=A&endLetter=B).  I tried to use an s:url tag with 
> parameters and pass it to the div via its id. However, this is not 
> working.  It appears that the DIV is ignoring the parameters.  The 
> only way that I have been able to get this to work is to create a 
> dummy form for each tab which contains fields with the desired param 
> names and values and then reference the form in each tab.
>
> This is obviously a very ugly implementation as it results in a lot of

> unneeded forms whose sole purpose is for the div remote calls.  I am 
> new to tabbedPanels and remote div calls and am certain I am missing 
> something here.  Can anyone perhaps enlighten me with a better
solution?
>
> Thanks in advance,
> Ken
>
>
>
> -----------------------------------------
> ***Note:The information contained in this message may be privileged 
> and confidential and protected from disclosure. If the reader of this 
> message is not the intended recipient, or an employee or agent 
> responsible for delivering this message to the intended recipient, you

> are hereby notified that any dissemination, distribution or copying of

> this communication is strictly prohibited. If you have received this 
> communication in error, please notify the Sender immediately by 
> replying to the message and deleting it from your computer. Thank you.

> Premier Inc.




--
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: [S2] TabbedPanel with Remote DIVs

Posted by Musachy Barroso <mu...@gmail.com>.
Using any tool like firebug, and building the url with the "url" tag, do you
see the parameters in the request?

musachy

On 7/16/07, Hoying, Ken <Ke...@premierinc.com> wrote:
>
> I have a tabbed panel with divs that retrieve their content remotely.
> Basically the control is acting like a tabbed address book with each tab
> showing a subset of names broken out alphabetically (i.e. Tabs: A-B,
> C-D, etc..)
>
> When specifying the URL for the remote div to call, I am having
> difficulty determining how to pass in my parameter (i.e.
> ?startLetter=A&endLetter=B).  I tried to use an s:url tag with
> parameters and pass it to the div via its id. However, this is not
> working.  It appears that the DIV is ignoring the parameters.  The only
> way that I have been able to get this to work is to create a dummy form
> for each tab which contains fields with the desired param names and
> values and then reference the form in each tab.
>
> This is obviously a very ugly implementation as it results in a lot of
> unneeded forms whose sole purpose is for the div remote calls.  I am new
> to tabbedPanels and remote div calls and am certain I am missing
> something here.  Can anyone perhaps enlighten me with a better solution?
>
> Thanks in advance,
> Ken
>
>
>
> -----------------------------------------
> ***Note:The information contained in this message may be privileged
> and confidential and protected from disclosure. If the reader of
> this message is not the intended recipient, or an employee or agent
> responsible for delivering this message to the intended recipient,
> you are hereby notified that any dissemination, distribution or
> copying of this communication is strictly prohibited. If you have
> received this communication in error, please notify the Sender
> immediately by replying to the message and deleting it from your
> computer. Thank you. Premier Inc.




-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

[S2] TabbedPanel with Remote DIVs

Posted by "Hoying, Ken" <Ke...@PremierInc.com>.
 
I have a tabbed panel with divs that retrieve their content remotely.
Basically the control is acting like a tabbed address book with each tab
showing a subset of names broken out alphabetically (i.e. Tabs: A-B,
C-D, etc..)  

When specifying the URL for the remote div to call, I am having
difficulty determining how to pass in my parameter (i.e.
?startLetter=A&endLetter=B).  I tried to use an s:url tag with
parameters and pass it to the div via its id. However, this is not
working.  It appears that the DIV is ignoring the parameters.  The only
way that I have been able to get this to work is to create a dummy form
for each tab which contains fields with the desired param names and
values and then reference the form in each tab.  

This is obviously a very ugly implementation as it results in a lot of
unneeded forms whose sole purpose is for the div remote calls.  I am new
to tabbedPanels and remote div calls and am certain I am missing
something here.  Can anyone perhaps enlighten me with a better solution?

Thanks in advance,
Ken

-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer. Thank you. Premier Inc.  

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org