Sorry,
This working
I myself made little bug
And thanks!
Argo
page i use my own css file without @asset tapestry command.
> >
> > If i go directly to start page then css is working.
> >
> >
> > But if i go to start page from another page(becouse of login redirection)
> > then css file is not working.
> >
> > Generat
e from another page(becouse of login redirection)
> then css file is not working.
>
> Generated HTML files are identical:)
>
>
> Argo
>
>
--
View this message in context:
http://www.nabble.com/T5-css-problem-tp18808562p18808609.html
Sent from
hi
In Start page i use my own css file without @asset tapestry command.
If i go directly to start page then css is working.
But if i go to start page from another page(becouse of login redirection)
then css file is not working.
Generated HTML files are identical:)
Argo
on+Windows
>
> Which may be a more correct solution ...
>
>
>> -Original Message-
>> From: kace [mailto:[EMAIL PROTECTED]
>> Sent: 12 July 2008 22:00
>> To: users@tapestry.apache.org
>> Subject: Re: [T5] CSS
>>
>>
>>
this reply I've just found the following:
http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows
Which may be a more correct solution ...
> -Original Message-
> From: kace [mailto:[EMAIL PROTECTED]
> Sent: 12 July 2008 22:00
> To: users@tapestry.apache.org
> Sub
the jetty setup is nothing fancy :
org.mortbay.jetty
maven-jetty-plugin
6.1.9
/
src/main/resources/webdefault.xml
We keep all files under the /java/ directory.. *.java, *.tml, *.css,
*.js etc, etc. Just posing that as an option, because I'm not sure how
you have your jetty setup.. the resources directory usually has to be
copied over to the final location for things to work properly... but
maybe it's runn
no I haven't, I moved everthing out of /resources and now have the following
layout:
/java/../components/
Layout.tml
Layout.java
/java/../pages/
Index.java
/webapp/styles/
main.css
/webapp/
Index.tml
find the contents of Index.tml below..
did you try putting the css within the src/main/java/. directory?
kace wrote:
Hi, how can I get the jetty server to pick up the css changes I make
I've added this
src/main/resources/webdefault.xml to the
jetty plugin in the pom. Right now I need to run mvn clean then restart
jetty:run for
Hi, how can I get the jetty server to pick up the css changes I make
I've added this
src/main/resources/webdefault.xml to the
jetty plugin in the pom. Right now I need to run mvn clean then restart
jetty:run for it to pick up the changes. The css file is located in
/resources/org/example/myapp
I think I solved my own question.
For the sake of anyone else facing this same issue, I added this to my
stylesheet:
DIV.t-beandisplay DIV.t-beandisplay-value {
display: block;
float: left;
clear: right;
}
Thanks,
Andy
On Sat, 2008-04-05 at 22:27 -0400, Andy Huhn wrote:
> All,
>
>
All,
I hope this isn't too off-topic, but I'm posting here since default.css
is generated by Tapestry, and I'm hoping that someone else on the list
has solved the same problem.
I have a BeanDisplayForm. I have something like this in my CSS:
div.t-beandisplay-label{
width: 80px;
}
(I don't
I may reconsider it.
--
Kevin
-Original Message-
From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 17, 2008 2:34 PM
To: Tapestry users
Subject: Re: T5: CSS Injection and IE Conditional Comments
I think these comments are right on the money.
Perhaps it would be easi
I think these comments are right on the money.
Perhaps it would be easier if expansions were allowed inside comments?
That's entirely doable.
On Feb 15, 2008 11:55 AM, Robert Zeigler <[EMAIL PROTECTED]> wrote:
> Expansions won't work (directly) for the asset, b/c expansions inside
> of comments
Ahh, good to know. It's nothing I've ever tried, but I just assumed would
work. In that case, I'd go with Robert's suggestions (since they'll
actually work).
--
Kevin
On 2/15/08 2:55 PM, "Robert Zeigler" <[EMAIL PROTECTED]> wrote:
> Expansions won't work (directly) for the asset, b/c expansi
Expansions won't work (directly) for the asset, b/c expansions inside
of comments are ignored, so trying to do something like:
Isn't going to work.
What you /could/ do is to have the entire comment generated in java
code, and then have all of the comment spit out as an expanded string
in
You could just use an expansion in your template for the asset. Not quite
the same, but it would accomplish the same goal.
--
Kevin
On 2/15/08 12:28 PM, "lebenski" <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>
> Does anyone know of a mechanism of utilizing IE Conditional Comments for
> importin
Hi guys,
Does anyone know of a mechanism of utilizing IE Conditional Comments for
importing browser-specific CSS, but using the standard tapestry method of
css injection via the page class, i.e. something like:
private PageRenderSupport _pageRenderSupport;
@Inject
@Path("$path/t
X marks
=
img.t-error-icon{
border:0;
display: none;}
~evan
- Original Message -
From: "Daniel Jue" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Wednesday, August 01, 2007 5:01 PM
Subject: T5 CSS positioning of errors.
Not sure why this
Not sure why this is here in the default CSS:
div.t-error li {
margin-left: -20px;
}
For me (in Firefox) it makes my form validation errors appear outside
the pretty red box they come in.
I overrode it in my own CSS, to be
div.t-error li {
margin-left: 20px;
}
Now my disc (the
Just another way,
Layout.html:
with mystyles.css under src/main/webapp/assets/css/
;)
Marcus
Thank you guys,
Having default.css configurable will be nice, but I think, as you say
Howard, it's a low priority. (better have hibernate archetype done first
:-).
One remark which I figure out :
common place for .css files can be set in following way:
-webapp
-- ASSETS
---
Yes, that's the intention; Tapestry puts the default.css first, with
the expectation that any additional CSS links or
I'm not sure about shutting off the default.css, but the "C" in "CSS"
means cascading, which means you can override the styles set in
default.css. For a particular page, put your CSS files in
src/main/resources/org/example/myapp/pages/mystyles.css, where
org/example/myapp is your project package
Hi,
I'm new here.
Can anybody know how to replace
with my own stylesheet, and where it should be place?
Thanks
Adrian
26 matches
Mail list logo