RE: Modules with Tiles Problem

2004-01-13 Thread C.Aussems
Hi Patrick,

I'm interested in this thread because it seems we have (had?) similar
problems regarding  in modules with "global" tiles;
But your last question remained unanswered??

> Thanks David, The multiconfig eliminates the error message.
> Another question is, the  is screwed up.
> In traditional webpages, we've got, Header, Navbar, Body, maybe Footer.
> The s on the Navbar adds the context in their href locations.
> EG, original link in root context: 
> now, the link after module switching: 

Did you continue this thread somewhere else?
Anyhow I start a new thread now "How to use html:link using modules and
tiles"

Greetings,
Corné

struts-user Digest of: thread.89126


RE : Seven Lessons from the Trenches: 4. Protect JSPs behind WEB-INF
89112 by: Laurent MARQUEZ
89119 by: Laurent MARQUEZ
89126 by: Laurent MARQUEZ
89149 by: Laurent MARQUEZ

Administrivia:


--- Administrative commands for the struts-user list ---

I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:

To subscribe to the list, send a message to:
   <[EMAIL PROTECTED]>

To remove your address from the list, send a message to:
   <[EMAIL PROTECTED]>

Send mail to the following for info and FAQ for this list:
   <[EMAIL PROTECTED]>
   <[EMAIL PROTECTED]>

Similar addresses exist for the digest list:
   <[EMAIL PROTECTED]>
   <[EMAIL PROTECTED]>

To get messages 123 through 145 (a maximum of 100 per request), mail:
   <[EMAIL PROTECTED]>

To get an index with subject and author for messages 123-456 , mail:
   <[EMAIL PROTECTED]>

They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.

To receive all messages with the same subject as message 12345,
send an empty message to:
   <[EMAIL PROTECTED]>

The messages do not really need to be empty, but I will ignore
their content. Only the ADDRESS you send to is important.

You can start a subscription for an alternate address,
for example "[EMAIL PROTECTED]", just add a hyphen and your
address (with '=' instead of '@') after the command word:
<[EMAIL PROTECTED]>

To stop subscription for this address, mail:
<[EMAIL PROTECTED]>

In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

If despite following these instructions, you do not get the
desired results, please contact my owner at
[EMAIL PROTECTED] Please be patient, my owner is a
lot slower than I am ;-)

--- Enclosed is a copy of the request I received.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 44317 invoked from network); 13 Jan 2004 14:42:35 -
Received: from unknown (HELO smtpzilla1.xs4all.nl) (194.109.127.137)
  by daedalus.apache.org with SMTP; 13 Jan 2004 14:42:35 -
Received: from PTWPC019 (213-84-177-228.adsl.xs4all.nl [213.84.177.228])
by smtpzilla1.xs4all.nl (8.12.10/8.12.10) with SMTP id i0DEgaDi034481
for <[EMAIL PROTECTED]>; Tue, 13 Jan 2004 15:42:36 +0100 (CET)
Message-ID: <[EMAIL PROTECTED]>
From: "C.Aussems" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: 
Date: Tue, 13 Jan 2004 15:42:25 +0100
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="=_NextPart_000_0097_01C3D9EB.D7C2B6B0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N

This is a multi-part message in MIME format.

--=_NextPart_000_0097_01C3D9EB.D7C2B6B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


--=_NextPart_000_0097_01C3D9EB.D7C2B6B0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable








 

--=_NextPart_000_0097_01C3D9EB.D7C2B6B0--


--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

How to use html:link using modules and tiles

2004-01-13 Thread C.Aussems
I started using modules in my struts application, but have difficulties with
links defined in a default tile.

In my default app tiles-defs.xml I have defined a base layout which is being
extended in my module tiles-defs.xml.

The base layout puts a header, menu , body & footer

 
 
 


The body put is defined in module tile def

 


My menu has a link to the catalog module 

To switch between module contexts I have to use a SwitchAction,
which I like to define as least as possible, so in default app's
struts-config.xml


 

 
 

In the default applications pages all goes well, but in any module page I
get the folowing error
[ServletException in:/common/pages/menu.jsp] Cannot create rewrite URL:
java.net.MalformedURLException: Cannot retrieve ActionForward named
/catalog'

I tried te resolve this using different Html:link attributes and so on,
but it seems I have to define all menu links as global-forwards in all
modules ??? with contextRelative="true"
and map those to the the switches in default app's struts-config.xml or even
worse define them also in all modules ??
I can't believe this because then somehow all the modules are coupled and we
dont't want that, so i'm missing something, but what ?

Corné

(prev posted on jguru)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Pagination Support

2004-01-13 Thread C.Aussems
The Pager Tag Library is the easy and flexible way to implement paging of
large data sets in JavaServer Pages (JSP). It can emulate all currently
known paging styles with minimal effort. It also includes re-usable index
styles that emulate the search result navigators of popular web sites such
as GoogleSM, AltaVista® and Yahoo!. The Pager Tag Library does most of the
work for you by dynamically organizing your data set into pages and
generating a browsable index with virtually any look desired.

http://jsptags.com/tags/navigation/pager/index.jsp

- Original Message - 
From: "Brice Ruth" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 13, 2004 3:54 PM
Subject: Re: Pagination Support


> You might want to check out iBATiS, specifically the
> "executeQueryForPaginatedList" methods ... quite useful!!
>
> http://www.ibatis.com/
>
> Enjoy!
>
> Viral_Thakkar wrote:
>
> > Hi all,
> >
> >
> >
> > Do struts have any support for *_pagination_* purpose?
> >
> >
> >
> > By pagination, I mean, displaying the data retrieved from database in
> > JSP page in fixed slots...
> >
> >
> >
> > Thanks & Regards,
> >
> > Viral
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> -- 
> Brice D. Ruth
> Sr. IT Analyst
> Fiskars Brands, Inc.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]