-
1. Re: Seam sources - html tags
pmuir Nov 9, 2007 11:01 AM (in response to adamw)run ant jarui and it will be generated in ui/target/generated-component.
-
2. Re: Seam sources - html tags
adamw Nov 11, 2007 1:18 PM (in response to adamw)Hello,
found it - thanks :)
Though it wasn't of course what I was looking for.
However making seam work with urlrewritefilter's outbound-rules is quite simple; I'll post a feature request for that :).
--
Cheers,
Adam -
-
4. Re: Seam sources - html tags
skanky78 Dec 18, 2007 8:00 AM (in response to adamw)hi :)
is this fix in 2.0.1 CR1??? i defined an outboud-rule but it does'nt affect any link in the facelet...(see http://www.jboss.com/index.html?module=bb&op=viewtopic&t=126102)
@adamw:
can you give an example where you use an s:link which outputs an rewritten link?
cheers,
sven -
5. Re: Seam sources - html tags
adamw Dec 18, 2007 12:11 PM (in response to adamw)Hello,
I just downloaded the 2.0.1CR1 and it work for me.
Here's an example of a link:<s:link view="/view/feed.xhtml" value="#{feed.title}" propagation="none"> <f:param name="name" value="#{feed.name}"/> </s:link>
and a rule for it:<outbound-rule> <from>^/blog/view/feed.seam\?(cid=\d+&)?(from=\d+)&name=([a-z0-9_]+)(.*)$</from> <to>/blog/view/$3?$1$2$4</to> </outbound-rule>
(note that you have to include the context path in the outbound-rule for some reason).
--
Adam -
6. Re: Seam sources - html tags
fredespi Dec 20, 2007 3:16 AM (in response to adamw)Hello,
I am having problems using a urlrewrite rule in seam. I have a rule like:<rule> <from>^/(.*)$</from> <to last="true">/resultsPage.seam?searchString=$1</to> </rule>
This works fine unless the string that is caught by (.*) contains %26, i.e. ampersand. So if the incoming url looks like this:http://localhost:8080/a+%26+b
The urlrewriter logs this:
09:08:56,632 INFO [[/]:log] org.tuckey.web.filters.urlrewrite.RuleBase DEBUG: Rule 1 run called with /a & b
09:08:56,632 INFO [[/]:log] org.tuckey.web.filters.urlrewrite.RuleBase DEBUG: matched "from"
09:08:56,640 INFO [[/]:log] org.tuckey.web.filters.urlrewrite.RuleExecutionOutput DEBUG: needs to be forwarded to /resultsPage.seam?searchString=a & b
09:08:56,641 INFO [[/]:log] org.tuckey.web.filters.urlrewrite.UrlRewriter DEBUG: rule is last
but the parameter searchString is set to
a
and nota & b
I suppose I am doing something wrong. Can someone help me out?
Regards,
Fredrik -
7. Re: Seam sources - html tags
adamw Dec 20, 2007 4:35 AM (in response to adamw)Hello,
I think it's an issue of urlrewrite not of seam, so maybe check their website.
--
Adam