Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Is there some beautiful web pages using sitemesh?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
hao wang  
View profile  
 More options Jun 14 2011, 4:08 am
From: hao wang <f1v...@gmail.com>
Date: Tue, 14 Jun 2011 01:08:33 -0700 (PDT)
Local: Tues, Jun 14 2011 4:08 am
Subject: Is there some beautiful web pages using sitemesh?
I'd like learn some outstanding sitemesh examples for more
understanding, does anyone know?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
phamti  
View profile  
 More options Jun 19 2011, 1:24 am
From: phamti <tin.p...@gmail.com>
Date: Sat, 18 Jun 2011 22:24:56 -0700 (PDT)
Local: Sun, Jun 19 2011 1:24 am
Subject: Re: Is there some beautiful web pages using sitemesh?
Hi Hao,

Are you looking for end user websites or looking for code samples?

Regards,

Tin

On Jun 14, 4:08 am, hao wang <f1v...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hao wang  
View profile  
 More options Jun 20 2011, 5:23 am
From: hao wang <f1v...@gmail.com>
Date: Mon, 20 Jun 2011 17:23:56 +0800
Local: Mon, Jun 20 2011 5:23 am
Subject: Re: Is there some beautiful web pages using sitemesh?

Hi Tin,

Yeah, as your said. I want to see some really sitemesh examples, to decide
weather continue using sitemesh, because when I using sitemesh, struts2 tags
always be disabled, and I had to add some pages to excluded path.

Regards,
-Hao

2011/6/19 phamti <tin.p...@gmail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
phamti  
View profile  
 More options Jun 20 2011, 11:58 pm
From: phamti <tin.p...@gmail.com>
Date: Mon, 20 Jun 2011 20:58:31 -0700 (PDT)
Local: Mon, Jun 20 2011 11:58 pm
Subject: Re: Is there some beautiful web pages using sitemesh?

Hi Hao,

Here are two sites,
www.lemonbistro.com
http://opensource.adobe.com/wiki/display/blazeds/BlazeDS - is powered by
Confluence which uses SiteMesh

Regarding your Struts 2 and SiteMesh issue, I suggest starting a post with
some more details of what you are trying to accomplish and some examples.

Having said that, if I took a guess you might be interested in the Struts2
SiteMesh Plugin, http://struts.apache.org/2.2.1/docs/sitemesh-plugin.html

Tin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hao wang  
View profile  
 More options Jun 21 2011, 2:13 am
From: hao wang <f1v...@gmail.com>
Date: Tue, 21 Jun 2011 14:13:28 +0800
Local: Tues, Jun 21 2011 2:13 am
Subject: Re: Is there some beautiful web pages using sitemesh?

Hi Tin,

Thank you very much for your kindness.I just want to unify my project
styles, there are some pages contain struts2 tags, like:

<s:form  name="editForm" action="save"  method="post" >
<s:textfield name="task.memoname" maxlength="50"
label="memoname"></s:textfield>
<s:textfield name="task.taskname" maxlength="50"
label="taskname"></s:textfield>
<sx:datetimepicker name="task.date" label="date" ></sx:datetimepicker>
<s:submit value="submit"></s:submit>

but if I configure sitemesh on these pages, tags like <sx:datatimepicker/>
will not work. And tag <sx:tabbedpanel > can't work too. So I want to
someone can help me solve them, or I may use another frame instead of
struts2 or sitemesh.

Regards,
-Hao

2011/6/21 phamti <tin.p...@gmail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
phamti  
View profile  
 More options Jun 21 2011, 4:29 pm
From: phamti <tin.p...@gmail.com>
Date: Tue, 21 Jun 2011 13:29:23 -0700 (PDT)
Local: Tues, Jun 21 2011 4:29 pm
Subject: Re: Is there some beautiful web pages using sitemesh?
Hi Hao,

Based on my knowledge of Struts 1.2 I would guess that the
<sx:datatimepicker/> tag is most likely some javascript, images, html
and possibly using ajax calls to render a calendar menu item.

I think that the reason those Struts tags are not working is that
SiteMesh is setup to decorate the contents of what is rendered by
<sx:datatimepicker/>. Here is how I would solve the problem,
1.      Turn off sitemesh and use a tool like iewatch to determine
generally where the resources (css, html, js ect...) of the struts
tags are being pulled from
2.      Ensure that your excludes from decorator.xml covers the top level
paths of the resources of the struts tags
3.      Makes your decorator pattern and your view folder specific. For
example, in most of my applications I keep all my jsp and servlets in
specific location. For a simple Struts 1.2 application I might use the
following patterns,
1.      <pattern>/view/*.do</pattern>
2.      <pattern>/view/*.jsp</pattern>
I am not done writing the tutorials yet, but this might be helpful,
http://www.sitemesh.homeip.net/wiki/display/sitemesh/Learn+-+Getting+...

Note that this site is using a temporary domain name will change in
the future most likely to http://docs.sitemesh.org

Hope that helps.

Tin

On 21 June, 02:13, hao wang <f1v...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
SansunS  
View profile  
 More options Nov 26 2012, 12:52 pm
From: SansunS <sansuns...@gmail.com>
Date: Mon, 26 Nov 2012 09:52:01 -0800 (PST)
Local: Mon, Nov 26 2012 12:52 pm
Subject: Re: Is there some beautiful web pages using sitemesh?

Hi Tin,

Sorry to ressurect this link, I am also facing the same issue what Hao has
described here.
Following your suggestions, when I disable the sitemesh and look at the
resource that used for the Calendar Icon and other DOJO or JavaScripts, I
get something like this where SimpleEvents are my web context root name:
<script laguage="JavaScript" src="SimpleEvents/struts/dojo/struts_dojo.js"
type="text/javascript"></script>
<link href="/SimpleEvents/struts/xhtml/styles.css" rel="stylesheet"
type="text/css" />
<link href="/SimpleEvents/struts/ajax/dojoRequire.js" type="text/javascript
.
.
<img src="
http://localhost:8080/SimpleEvents/struts/dojo/src/widget/templates/i..."
..../>
.
.
So I had added in my excludes of the decorators.xml as:
<pattern>http://localhost:8080/SimpleEvents/struts/dojo/src/widget/templates/i...</pattern>
<pattern>/struts/xhtml/*</pattern>
<pattern>/struts/ajax/*</pattern>  (also I tried with
/SimpleEvents/struts/* , ../SimpleEvents/struts/*, and other various paths.)

but it still not showing the dateicon.gif or the input box. It only shows
the label of the datetimepicker.

I assume that either my exclude pattern is not correct or its not working
at all as intended.

I am using Struts2 2.2.3 and struts2-dojo-plugin 2.2.3.

Appreciate any help.

Tks.

Sansun


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
phamti  
View profile  
 More options Nov 26 2012, 3:48 pm
From: phamti <tin.p...@gmail.com>
Date: Mon, 26 Nov 2012 12:48:08 -0800 (PST)
Local: Mon, Nov 26 2012 3:48 pm
Subject: Re: Is there some beautiful web pages using sitemesh?

Hi SansunS,

No problems, I'm happy to help. If I understand correctly, you've posted
item #3. Can you also give the other items I listed? I really need them to
see the differences and understand how you used SiteMesh.

   1. Decorator file.
   2. The page being decorated.
   3. Rendered html source code of the working page. (provided below)
   4. Rendered html source code of the not working page.

Tin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »