Let me summarize this issue..
Goal: J2 supports multiple mediatype handling
Problems:
"guest" user does not have the proper profiling rule to handle the multiple
media type right now.
o j1 profiling rule: country -> language -> mediatype -> group.role.user ->
default-page. But the fallback type of country, language,
mediatype is 1.
o j2 profiling rule: mediatype -> group.role.user -> default-page. But the
fallback type of mediatype is 1.
IMO, in a limited device, such mobile phone, since it's difficult to display
the contents for "html" mediatype, the fallback type of mediatype is a
problem. So, I think the fallback type of mediatype should be 0, and then
the profiling rule for "guest" user has to have the mediatype fallback
rule(0).
(ex. change the mediatype fallback to 0 in j1 profiling rule, and apply j1
to "guest" user)
If we keep the fallback type of mediatype as 1, I think we have to move the
current PSML files to /_mediatype/html directory. Because the current PSML
files are for html mediatype. PSML file in / needs to be able to be shared
in all mediatype.
Points:
1) Which profiling rule do we use for multiple mediatype handling? and does
the profiling rule have a proper mediatype fallback?
2) What profiling rule does "guest" user have?
3) What is PSML structure?
Any comments are appreciated.
David,
What profiling rule does "guest" user have? j1 rule?
and what do you think about the fallback type of mediatype?
Regards,
shinsuke
David Sean Taylor wrote:
> Shinsuke SUGAYA wrote:
>
>>>Shinsuke SUGAYA (JIRA) wrote:
>>>
>>>
>>>>[
>>>>http://issues.apache.org/jira/browse/JS2-351?page=comments#action_12322828
>>>>]
>>>>
>>>>Shinsuke SUGAYA commented on JS2-351:
>>>>-------------------------------------
>>>>
>>>>We may need more discussion.. I summarized the option:
>>>>
>>>>[ ] Change existing PSML structure and j2 profiling rule(ex. the above
>>>>Option 1)
>>>>[ ] Switch portal type in j2:portal.genapp goal(apply genapp_type.patch)
>>>>[X] Others?
>>>
>>>I like 1, but I would prefer to see a PSML layout as:
>>>
>>>/folder/subfolder/_mediatype/wml/page.psml
>>>
>>>NOT
>>>
>>>_/mediatype/wml/folder/subfolder/page.psml
>>
>>
>>Thanks for your reply.
>>
>>Is your j2 profiling rule the following?
>>
>> insert into RULE_CRITERION values (18, 'j2', 0, 'path.session', 'page',
>> 'default-page', 0);
>> insert into RULE_CRITERION values (19, 'j2', 1, 'group.role.user', 'user',
>> null, 0);
>> insert into RULE_CRITERION values (20, 'j2', 2, 'mediatype', 'mediatype',
>> null, 0);
>>
>
>
> The profiling rule described above is basically the j1 rule, which comes
> out of the box.
> Check the db population scripts
>
> I was just saying that if I were to choose an option, I would choose
> option 1, but using the default j1 rule
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
__________________________________
Take an action against poverty
http://pr.mail.yahoo.co.jp/whiteband/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]