Your best bet is to try your suggestion and see if it works. If it doesn't,
please post the code you're trying to make work and the error you're seeing.
On Jul 30, 2010, at 2:40 AM, zingi wrote:
> Hi everyone, I am a bit new to AppFuse. I am struggling to exclude decoration
> of the AutoComplet
Hi everyone,
I am a bit new to AppFuse.
I am struggling to exclude decoration of the AutoComplete component.
Below is my sitemash.xml file
decorators.xml
/login
/40*.jsp
THX, that was just what I needed.
mraible wrote:
>
> The problem is likely caused by your URL - I'd try something like
> href="".
>
> Matt
>
> On Thu, Jul 10, 2008 at 8:39 AM, wskent <[EMAIL PROTECTED]> wrote:
>>
>> I have sitemesh working the way I want on jsp's in my root directory, but
>>
The problem is likely caused by your URL - I'd try something like
href="".
Matt
On Thu, Jul 10, 2008 at 8:39 AM, wskent <[EMAIL PROTECTED]> wrote:
>
> I have sitemesh working the way I want on jsp's in my root directory, but am
> having a problem getting the style sheet applied to sub directories
I have sitemesh working the way I want on jsp's in my root directory, but am
having a problem getting the style sheet applied to sub directories. The
rest of the decorator is being applied to all of the pages as desired. Here
is the where the style sheet is defined in my decorator jsp -
<%@ inclu
Mike,
Thanks for the help! I got what you are saying now.
Cheers,
Doug
Michael Horwitz <[EMAIL PROTECTED]> wrote: Normally Dojo is installed by
expanding the content into a subdirectory in your webapp? You need to exclude
this subdir from being decorated.
Mike.
On 17/03/2008, Doug
Normally Dojo is installed by expanding the content into a subdirectory in
your webapp? You need to exclude this subdir from being decorated.
Mike.
On 17/03/2008, Doug Pham <[EMAIL PROTECTED]> wrote:
>
> Mike,
> Is there a pattern to do this or wherever I use dojo, I have to put it
> in a sep
Errors like 'can't GET http://localhost:8080/struts/dojo/ .js'?
Be sure to put before scriptaculous
in the default decorators head.
regards
Doug Pham schrieb:
Mike,
Is there a pattern to do this or wherever I use dojo, I have to
put it in a separate directory and include that in th
Mike,
Is there a pattern to do this or wherever I use dojo, I have to put it in a
separate directory and include that in the excude tag of the decotrators.xml
file? The code shows that everything is good, the dojo display shows an error
loading information.
Thanks,
Doug
Michael Horwitz <[
Dojo uses html templates for its widgets. You need to prevent Sitemesh from
decorating these or it all goes a little haywire
Mike
On 17/03/2008, Doug Pham <[EMAIL PROTECTED]> wrote:
>
> Matt,
> You worked a lot with Sitemesh, is there any affect it have with dojo
> or other ajax framewor
Matt,
You worked a lot with Sitemesh, is there any affect it have with dojo or
other ajax framework that I should be aware of? I have a basic example, after
I applied sitemesh to it, dojo is broke somewhere.
Thanks,
Doug
-
Never miss a thing. Make
rdr wrote:
So I just overrode, the getNamedDecorator method in ConfigDecoratorMapper.
If you believe this is a bug, I bet the folks at sitemesh would
appreciate the patch...
-Dale
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Although the decorator names I posted here are different, I did test with
same and different names for same request patterns.
I skimmed through the code. I do not understand how this could have worked
since the PathMapper always returns the last decorator for which the request
pattern matches. An
rdr wrote:
find another way of doing this.
It's amazing that a system with as many configuration options as
sitemesh and its decorator mappers is still hard to configure the way
you want.
I'm currently using the both ParameterDecoratorMapper and
ConfigDecoratorMapper, and I still don't get
Dale,
Thanks for the pointer. No the admin user does not have any other role. I
think I'll take your advice, ditch the sitemesh *role* approach and find
another way of doing this.
Thanks
Ram R
DNewfield wrote:
>
> I bet your admin users *also* have role user, so any mapping restricted
> to u
I bet your admin users *also* have role user, so any mapping restricted
to user will also catch admin.
There are a number of ways to select decorators:
http://www.opensymphony.com/sitemesh/dm.html
-Dale
-
To unsubscribe, e-ma
I noticed that Sitemesh is trying to apply the last decorator in the list
which matches the pattern. If that decorator has a role defined and the
current user has that role, the decorator is applied, else no decorator is
applied.
At this point I do not know if it is me or an issue with Sitemesh.
Thanks for the response Rob,
Actually, if I change the order or add the role to the default decorator, no
decorator is applied at all.
There might be a
> Hi,
>
> rdr wrote:
>> I am trying to apply different decorators based on user role when he/she
>> log's in. I am trying to use the solutio
Hi,
rdr wrote:
I am trying to apply different decorators based on user role when he/she
log's in. I am trying to use the solution mentioned in
http://jira.opensymphony.com/browse/SIM-37
I have these decorators defined.
/*
/*
But "user" decorator gets applied even if I login
I am trying to apply different decorators based on user role when he/she
log's in. I am trying to use the solution mentioned in
http://jira.opensymphony.com/browse/SIM-37
I have these decorators defined.
/*
/*
But "user" decorator gets applied even if I login with a user in role
Hope to see facelets someday when it comes to it. Well, but this does not
reply to my original question. I need to know if Sitemesh or Tiles as is,
can be used using JSF per se (no facelets --besides, I am newbie to JSF).
On Nov 16, 2007 3:51 PM, Ryan Scott <[EMAIL PROTECTED]> wrote:
> What func
What functionality are you seeking? If you are looking for templates
then you might look at facelets for that functionality rather than
tiles. We tried both and had a very hard time getting either sitemesh
or tiles to work in our faces implementation but facelets gave us
everything we nee
Does anyone know why Sitemesh doesn't work with JSF? Is Tiles better than
SiteMesh?
Are you trying to exclude /test/* from getting decorated? If so, you
should exclude the path to the JSP as well.
Matt
On 7/24/07, ChengJiaguo <[EMAIL PROTECTED]> wrote:
i add a package in stuct.xml
.
/WEB-INF/pages/test.jsp
and then i add The pattern in decorators.xml
/test/*
It seem
i add a package in stuct.xml
.
/WEB-INF/pages/test.jsp
and then i add The pattern in decorators.xml
/test/*
It seem The sitemesh cann't work when i visit
http://127.0.0.1:8080/test/test.html
-
To unsubscribe, e-ma
Dusty,
I'm not using any dojo object on my app.
dusty wrote:
>
> Do you have an tag? Are you using some of the
> built in dojo objects on this page? I have seen this flash occur with an
> iframe using dojo.
>
> -D
>
> Daniel.Rodriguez wrote:
>>
>> Some news :
>>
>> Just got a huuuge p
tibi, actually that is the "Flash of Unstyled Content". You can find the
explanation and the solution in http://www.bluerobot.com/web/css/fouc.asp
here
tibi-3 wrote:
>
> i'm not sure what a flash looks like but my site has a lot of css and
> sometime the data is loaded first and displayed
i'm not sure what a flash looks like but my site has a lot of css and
sometime the data is loaded first and displayed without css after a few
milliseconds the css files gets loaded and the site gets rendered.
tibi
Sanjiv Jivan wrote:
The entire sitemesh decoration of your pages takes place
Do you have an tag? Are you using some of the built
in dojo objects on this page? I have seen this flash occur with an iframe
using dojo.
-D
Daniel.Rodriguez wrote:
>
> Some news :
>
> Just got a huuuge project aproved by using Appfuse (and a Appfuse-based
> Stripes project). Matt & everyo
The entire sitemesh decoration of your pages takes place on the server and
only when its completed is the entire page content sent to the client
(browser). Its not like the decoration takes place as content is being
rendered in the browser. So the flash is not likely due to the decoration
process
Some news :
Just got a huuuge project aproved by using Appfuse (and a Appfuse-based
Stripes project). Matt & everyone, I can't thank you enough...
Now on to the issue at hand :
Yesterday I was reviewing a site concept with a client and he noticed that
my app (Appfuse 2.0.5 Struts-Basic) has an
a change in the sitemash to this makes it working... the order is impartant!
good luck
class="com.opensymphony.module.sitemesh.parser.HTMLPageParser"/>
class="com.opensymphony.module.sitemesh.parser.HTMLPageParser"/>
class="com.opensymphony.module.sitemesh.parser.HTMLP
still problems with the decorator.
i want to make a print option of pages. the same data with different
decoration.
i like the parameter option:
--|
ParameterDecoratorMapp
Yes. That worked as long as I didn"t include any request parameters. I
definantly need to pass in some paramters.
mraible wrote:
>
> Have you tried the following?
>
> /attributePicker.html*
>
> On 5/16/07, Will Berger <[EMAIL PROTECTED]> wrote:
>>
>> oops.
>>
>> My decorators.xml file look
Have you tried the following?
/attributePicker.html*
On 5/16/07, Will Berger <[EMAIL PROTECTED]> wrote:
oops.
My decorators.xml file looks as follows.
/attributePicker.html
/resources/*
/scripts/dojo/*
/*
Hi,
I a struts 2 action tha
oops.
My decorators.xml file looks as follows.
/attributePicker.html
/resources/*
/scripts/dojo/*
/*
Hi,
I a struts 2 action that is mapped to url /attributePicker.html and a
exclude entry in my decorator file. Since it is a popup, i d
Hi,
I a struts 2 action that is mapped to url /attributePicker.html and a
exclude entry in my decorator file. Since it is a popup, i don't want it
decorated. It needs to look different.
When i type in the url /attributePicker.html, it does what i expect does
not decorate the url
If I put re
There's a Tomcat Maven Plugin that you can use to do "tomcat:run" if
you'd prefer. However, it's an alpha release and not as actively
developed as the Jetty plugin. Also, Jetty typically starts up faster
and it monitors files for changes, whereas the Tomcat plugin does not.
Thanks a lot for the answer.
I have an other question. I see that Tomcat is used to execute the Canoo
tests, but Jetty to run the application.
Why is the difference?
Thanks.
Christian Giese wrote:
Hi Janos.
I'm assuming you are using appfuse 1.9(.4) because that's what I use.
In web\WEB-I
Hi Janos.
I'm assuming you are using appfuse 1.9(.4) because that's what I use.
In web\WEB-INF\decorators.xml you just add your page as a pattern to the
exclude list like this:
-8<-
/resources/*
/helloworld.jsp
->8-
and it will not be decorated.
HTH
Chris
Janos Muc
Hi
I created a jsp called helloworld.jsp in the document root. When I type
http://localhost:8080/helloworld.jsp in the browser, the text in the JSP
'Hello World!' shows up but it is decorated.
Is there an Appfuse-specific documentation I can use or I can just read
up on Sitemesh?
Thanks.
Too add to Matt's advice.
Put the popup pages in a separate directory and use the exclude as Matt
said.
On 2/25/07, Matt Raible <[EMAIL PROTECTED]> wrote:
You should be able to exclude decoration by adding more excludes to
src/main/webapp/WEB-INF/decorators.xml.
Here's an example from AppFus
You should be able to exclude decoration by adding more excludes to
src/main/webapp/WEB-INF/decorators.xml.
Here's an example from AppFuse:
/resources/*
/*
Another thing you might consider is using Lightbox JS to display your popups:
http://www.huddletogether.co
Hello,
I am using Equinox 1.7 and have created a large site with a main
default decorator that creates the most of the view except for the
body area.
Anyway, I am showing some images, and need to show them in popup
window. Problem is, when I display the popup, the page is decorated.
I really ne
Hello all,
I'm trying to integrate these two technologies but i can't, no matter what i
do, display correctly a datepicker when i turn sitemesh on. It seems my div
gets decorated somethow.
I tried to exclude with these params at my /WEB-INF/decorators.xml, and at
my sitemesh.xml i've setup this
You might be able to indicate which menu to use from your child pages.
This is what we do in AppFuse.
http://raibledesigns.com/page/rd?entry=dependency_injection_with_sitemesh
Matt
On 1/11/07, Scott Purcell <[EMAIL PROTECTED]> wrote:
Possibly the wrong forum here ... but I am in a bit of a
Possibly the wrong forum here ... but I am in a bit of a bind. I
switched from tiles to sitemesh on a live mission, and I am having some
trouble with the sitemesh only in one area. I am hoping someone here may
assist me a bit.
I have a "sitemesh decorator file" like so:
...
man
47 matches
Mail list logo